Authorization method and device, communication equipment and storage medium
Patent Information
- Application Number
- CN202380008083.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-06
- Publication Date
- 2024-09-06
AI Technical Summary
In the core network, application function (AF) resource management requests require permission from the resource owner. How to improve the authorization mechanism to ensure management security.
The application function (AF) sends token request information to the authorization function to obtain an access token. The authorization function sends the access token after verification. After receiving the token, the AF can be authorized to manage the corresponding resources.
Through this method, AF can safely perform management operations after receiving the access token. Compared with the method that does not use token requests, the authorization mechanism of resource management is improved, making resource management more secure.
Smart Images

Figure CN118614101A
Abstract
Description
Authorization method, device, communication equipment and storage medium Technical Field
[0001] The present disclosure relates to the field of wireless communication technology but is not limited to the field of wireless communication technology, and in particular to an authorization method, apparatus, communication device, and storage medium. Background Art
[0002] Certain resources in the core network can be managed by the Application Function (AF) through the Network Exposure Function (NEF). For example, these resources may include Quality of Service (QoS) for Personal IoT Networks (PINs), connection information related to PIN elements and / or User Route Selection Policy (URSP) rules related to PIN elements, and core network auxiliary information related to specific terminals. From a security perspective, authorized AF management requests for core network resources should be limited to specific permitted resources and require the permission of the resource owner. How to improve the authorization mechanism is an issue that needs to be considered.
[0003] Summary of the Invention
[0004] The embodiments of the present disclosure disclose an authorization method, apparatus, communication device, and storage medium.
[0005] According to a first aspect of an embodiment of the present disclosure, an authorization method is provided, wherein the method is performed by an application function AF, and the method includes:
[0006] Send a token request message to the authorization function;
[0007] The token request information is used to request an access token, and the access token is used for the AF to be authorized to manage a first resource.
[0008] According to a second aspect of an embodiment of the present disclosure, an authorization method is provided, wherein the method is performed by an authorization function, and the method includes:
[0009] Receive token request information sent by AF;
[0010] The token request information is used to request an access token, and the access token is used for the AF to be authorized to manage the first resource.
[0011] According to a third aspect of an embodiment of the present disclosure, an authorization method is provided, wherein the method is performed by an NEF and includes:
[0012] Receive resource management request information sent by AF;
[0013] The PIN management request information carries the access token; the PIN management request information is used to request the AF to be authorized to manage the first resource.
[0014] According to a fourth aspect of an embodiment of the present disclosure, an authorization device is provided, wherein the device includes:
[0015] a sending module configured to send token request information to the authorization function;
[0016] The token request information is used to request an access token, and the access token is used for the AF to be authorized to manage the first resource.
[0017] According to a fifth aspect of an embodiment of the present disclosure, an authorization device is provided, wherein the device includes:
[0018] A receiving module configured to receive token request information sent by AF;
[0019] The token request information is used to request an access token, and the access token is used for the AF to be authorized to manage the first resource.
[0020] According to a sixth aspect of an embodiment of the present disclosure, a private Internet of Things PIN authentication and authorization device is provided, wherein the device includes:
[0021] A receiving module configured to receive PIN management request information sent by the AF;
[0022] The PIN management request information carries the access token; and the PIN management request information is used to request the AF to be authorized to manage the first PIN resource.
[0023] According to the seventh aspect of an embodiment of the present disclosure, an authorization system is provided, wherein the authorization system includes an AF, an authorization function and an NEF, wherein the AF is used to implement a method implemented by the AF as described in any one of the present disclosures; the authorization function is used to implement a method implemented by the authorization function as described in any one of the present disclosures; and the NEF is used to implement a method implemented by the NEF as described in any one of the present disclosures.
[0024] According to an eighth aspect of an embodiment of the present disclosure, a communication device is provided, including:
[0025] processor;
[0026] a memory for storing instructions executable by the processor;
[0027] The processor is configured to implement the method described in any embodiment of the present disclosure when running the executable instructions.
[0028] According to a ninth aspect of an embodiment of the present disclosure, a computer storage medium is provided, wherein the computer storage medium stores a computer executable program, and when the executable program is executed by a processor, the method described in any embodiment of the present disclosure is implemented.
[0029] In an embodiment of the present disclosure, a token request message is sent to the authorization function; wherein the token request message is used to request an access token, and the access token is used for the AF to be authorized to manage the first resource. In this way, after the application function AF sends the token request message for requesting an access token to the authorization function, the authorization function can send the access token to the application function AF. After receiving the access token, the application function AF can perform the operation authorized to manage the first resource based on the access token. Compared with not requesting an access token, this improves the authorization mechanism for the application function AF to manage the first resource, making the management of the first resource more secure. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Fig. 1 is a schematic structural diagram of a wireless communication system according to an exemplary embodiment.
[0031] Fig. 2 is a schematic flow chart showing an authorization method according to an exemplary embodiment.
[0032] Fig. 3 is a schematic flow chart showing an authorization method according to an exemplary embodiment.
[0033] Fig. 4 is a schematic flow chart showing an authorization method according to an exemplary embodiment.
[0034] Fig. 5 is a schematic flow chart showing an authorization method according to an exemplary embodiment.
[0035] Fig. 6 is a schematic flow chart showing an authorization method according to an exemplary embodiment.
[0036] Fig. 7 is a schematic flow chart showing an authorization method according to an exemplary embodiment.
[0037] Fig. 8 is a schematic flow chart showing an authorization method according to an exemplary embodiment.
[0038] Fig. 9 is a schematic flow chart showing an authorization method according to an exemplary embodiment.
[0039] Fig. 10 is a schematic flow chart showing an authorization method according to an exemplary embodiment.
[0040] Fig. 11 is a schematic flow chart showing an authorization method according to an exemplary embodiment.
[0041] Fig. 12 is a schematic flow chart showing an authorization method according to an exemplary embodiment.
[0042] Fig. 13 is a schematic diagram showing a flow chart of an authorization device according to an exemplary embodiment.
[0043] Fig. 14 is a schematic diagram showing a flow chart of an authorization device according to an exemplary embodiment.
[0044] Fig. 15 is a schematic diagram showing a flow chart of an authorization device according to an exemplary embodiment.
[0045] Fig. 16 is a schematic diagram showing a flow chart of an authorization system according to an exemplary embodiment.
[0046] Fig. 17 is a schematic structural diagram of a terminal according to an exemplary embodiment.
[0047] Fig. 18 is a block diagram of a base station according to an exemplary embodiment.
[0048] Fig. 19 is a schematic diagram showing a network architecture according to an exemplary embodiment. DETAILED DESCRIPTION
[0049] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
[0050] The terms used in the embodiments of the present disclosure are for the purpose of describing specific embodiments only and are not intended to limit the embodiments of the present disclosure. The singular forms "a," "an," and "the" used in the embodiments of the present disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0051] It should be understood that although the terms first, second, third, etc. may be used to describe various information in the embodiments of the present disclosure, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of the embodiments of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0052] For the purpose of brevity and ease of understanding, the terms "greater than" or "less than" are used herein to describe magnitude relationships. However, those skilled in the art will understand that the term "greater than" also encompasses the meaning of "greater than or equal to," and "less than" also encompasses the meaning of "less than or equal to."
[0053] Please refer to Figure 1, which shows a structural diagram of a wireless communication system provided by an embodiment of the present disclosure. As shown in Figure 1, the wireless communication system is a communication system based on mobile communication technology, and the wireless communication system may include: at least one user device 110 and at least one access network node. Exemplarily, the access network node may be a base station 120. The user device 110 may be a terminal. Here, the terminal involved in the present disclosure may be, but is not limited to, a mobile phone, a wearable device, a vehicle-mounted terminal, a road side unit (RSU, Road Side Unit), a smart home terminal, an industrial sensor device and / or a medical device, etc. In some examples, the terminal may be a Redcap terminal or a predetermined version of a new air interface NR terminal (for example, an R17 NR terminal).
[0054] The user equipment 110 may refer to a device that provides voice and / or data connectivity to a user. The user equipment 110 may communicate with one or more core networks via a radio access network (RAN). The user equipment 110 may be an Internet of Things user device, such as a sensor device, a mobile phone, and a computer with an Internet of Things user device. For example, the user equipment 110 may be a fixed, portable, pocket-sized, handheld, computer-built-in, or vehicle-mounted device. For example, a station (STA), a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, an access point, a remote user device, an access terminal, a user terminal, a user agent, a user device, or user equipment. Alternatively, the user equipment 110 may be a device of an unmanned aerial vehicle. Alternatively, the user equipment 110 may be an in-vehicle device, such as a vehicle-mounted computer with wireless communication capabilities, or a wireless user device connected to an external vehicle-mounted computer. Alternatively, the user equipment 110 may also be a roadside device, for example, a street lamp, a traffic light, or other roadside device with a wireless communication function.
[0055] The base station 120 may be a network-side device in a wireless communication system. The wireless communication system may be a fourth generation mobile communication technology (4G) system, also known as a long term evolution (LTE) system; or, the wireless communication system may be a 5G system, also known as a new air interface system or a 5G NR system. Alternatively, the wireless communication system may be a next generation system of the 5G system or other future wireless communication systems. The access network in the 5G system may be referred to as a New Generation-Radio Access Network (NG-RAN).
[0056] Among them, the base station 120 can be an evolved base station (eNB) adopted in a 4G system. Alternatively, the base station 120 can also be a base station (gNB) adopting a centralized distributed architecture in a 5G system. When the base station 120 adopts a centralized distributed architecture, it usually includes a centralized unit (CU) and at least two distributed units (DU). The centralized unit is provided with a protocol stack of a packet data convergence protocol (PDCP) layer, a radio link layer control protocol (RLC) layer, and a media access control (MAC) layer; the distributed unit is provided with a physical (PHY) layer protocol stack. The embodiment of the present disclosure does not limit the specific implementation method of the base station 120.
[0057] A wireless connection can be established between the base station 120 and the user equipment 110 via a wireless air interface. In various implementations, the wireless air interface is a wireless air interface based on the fourth generation mobile communication network technology (4G) standard; or, the wireless air interface is a wireless air interface based on the fifth generation mobile communication network technology (5G) standard, for example, the wireless air interface is a new air interface; or, the wireless air interface can also be a wireless air interface based on the 5G next generation mobile communication network technology standard or other future wireless communication technology standards.
[0058] In some examples, an E2E (End to End) connection may be established between user devices 110, such as in scenarios such as V2V (vehicle to vehicle) communication, V2I (vehicle to infrastructure) communication, and V2P (vehicle to pedestrian) communication in vehicle-to-everything (V2X) communication.
[0059] Here, the above user equipment can be considered as the terminal equipment in the following embodiments.
[0060] In some examples, the wireless communication system may also include a core network device 130 .
[0061] Base station 120 is connected to core network device 130. Core network device 130 may be a core network device in a wireless communication system. Here, the core network device may correspond to network functions, such as access and mobility management functions (AMF), user plane functions (UPF), and session management functions (SMF). The present disclosure does not limit the implementation of core network device 130.
[0062] In some embodiments of the present application, the core network device 130 includes a network function that provides a positioning function. For example, in a 5G network, a location management function (LMF) is a network element, module, or component that provides a positioning function. For another example, in a 4G network, an evolved serving mobile location center (ESMLC) is a network element, module, or component that provides a positioning function. It is understood that in other networks, it may be other functional network elements.
[0063] It should be noted that, in some other embodiments, the access network node may also integrate a module or component with a positioning function. In this example, the access network node is a network element, module or component that provides a positioning function.
[0064] To facilitate understanding by those skilled in the art, the embodiments of the present disclosure list multiple implementation methods to clearly illustrate the technical solutions of the embodiments of the present disclosure. Of course, those skilled in the art will understand that the multiple embodiments provided in the embodiments of the present disclosure can be implemented individually, or can be implemented together with the methods of other embodiments in the embodiments of the present disclosure, or can be implemented together with some methods in other related technologies individually or in combination; the embodiments of the present disclosure do not limit this.
[0065] The application scenarios involved in this disclosure are described as follows:
[0066] In one embodiment, certain aspects of the PIN network can be configured by the AF through the 5G NEF. For example, PIN resources include the PIN's QoS, PIN-related connection information, or URSP rules related to PIN elements. From a security perspective, authorized AF access should be limited to specific permitted PINs and require permission from the resource owner (e.g., operator, terminal). Therefore, it is necessary to study how the 5G core network can authorize the AF to request configuration operations for specific PINs based on the permission of the resource owner.
[0067] It can be understood that the network architecture and application scenarios described in the embodiments of the present disclosure are intended to more clearly illustrate the technical solutions of the embodiments of the present disclosure, and do not constitute a limitation on the technical solutions provided by the embodiments of the present disclosure. Ordinary technicians in this field can know that with the evolution of system architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present disclosure are also applicable to similar technical problems.
[0068] As shown in FIG2 , this embodiment provides an authorization method, wherein the method is performed by an application function AF and includes:
[0069] Step 21: Send token request information to the authorization function;
[0070] The token request information is used to request an access token, and the access token is used for the AF to be authorized to manage the first resource.
[0071] Here, the terminal involved in the present disclosure may be, but is not limited to, a mobile phone, a wearable device, a vehicle-mounted terminal, a road side unit (RSU), a smart home terminal, an industrial sensor device and / or a medical device. In some examples, the terminal may be a Redcap terminal or a predetermined version of a new air interface NR terminal (for example, an R17 NR terminal). In the present disclosure, the authorization function includes one of the following:
[0072] Common API Framework (CAPIF) core functions;
[0073] Network Open Function (NEF);
[0074] Network storage function (NRF, Common API Framework).
[0075] It should be noted that the authorization function may be a network element with an authorization function. For example, the authorization function may be a function of issuing an access token. The network element may be an existing network element in the 5G architecture, such as CAPIF, NEF, and NRF network elements, that is, the authorization function may be integrated into the above-mentioned existing network elements. Of course, the network element may also be a newly added network element in the 5G architecture, and the newly added network element has an authorization function, such as the first network element, which is not limited here. The network elements involved in the present disclosure may be base stations or other evolved network elements of the fifth generation mobile communication (5G) network, which are not limited here. The network elements may be various physical network unit entities or logical network units.
[0076] In the embodiment of the present disclosure, the first resource may be a resource associated with the PIN network, such as hardware resources and software resources.
[0077] In one embodiment, in response to determining that management of the first resource needs to be performed, a token request message is sent to the authorization function; wherein the token request message is used to request an access token, and the access token is used for the AF to be authorized to manage the first resource.
[0078] In one embodiment, a token request message is sent to an authorization function; wherein the token request message is used to request an access token, and the access token is used for the AF to be authorized to manage a first resource. The token request message includes at least one of the following: the identity of the AF; the identifier of the terminal; the identifier of the first resource. Here, the identity of the AF is used to uniquely identify an AF. After the authorization function receives the identity of the AF, it can be determined that the token request message is sent by the AF indicated by the identity of the AF. Here, the identifier of the terminal is used to uniquely identify a terminal. After the authorization function receives the identity of the terminal, whether to send the access token to the AF requires the consent of the terminal indicated by the identity of the terminal. Here, the identifier of the first resource uniquely identifies the first resource. After the authorization function receives the identifier of the first resource, it can be determined that the resource that the AF needs to manage is the resource indicated by the identifier of the first resource. Exemplarily, the token request message includes the identity of the AF; the identifier of the terminal; the identifier of the first resource.
[0079] In one embodiment, the identifier of the first resource includes at least one of the following: an identifier of a private IoT PIN; an identifier of 5GC assistance information. The identifier of the 5GC assistance information may include a data type of the 5GC assistance information and configuration information (or detailed information) of the 5GC assistance information.
[0080] Please refer to Table 1, which shows the mapping relationship between the data source, the data type of the core network auxiliary information, and the detailed information of the core network auxiliary information:
[0081] Table 1:
[0082]
[0083] In one embodiment, a token request message is sent to an authorization function, wherein the token request message is used to request an access token for the AF to be authorized to manage a first resource. The access token sent by the authorization function is received, wherein the access token indicates the first resource. In this way, upon receiving the access token, the AF can determine that the access token is an access token for managing the first resource.
[0084] In one embodiment, a token request message is sent to an authorization function, wherein the token request message is used to request an access token for authorizing the AF to manage a first resource. The access token sent by the authorization function is received based on a predetermined authorization schema, wherein the access token indicates the first resource. Exemplarily, the predetermined authorization schema may be OAuth 2.0.
[0085] It should be noted that the predetermined authorization architecture is an authorization framework for issuing tokens based on a predetermined authorization protocol and / or a secure transmission protocol, for example, OAuth 2.0.
[0086] In one embodiment, a token request message is sent to an authorization function, wherein the token request message is used to request an access token for authorizing the AF to manage a first resource. In response to the authorization function authorizing the AF based on a predetermined service agreement, the access token sent by the authorization function is received based on a predetermined authorization architecture, wherein the access token indicates the first resource; and the predetermined service agreement is a service agreement between the AF and an operator.
[0087] In one embodiment, a token request message is sent to an authorization function, wherein the token request message is used to request an access token for the AF to be authorized to manage a first resource. In response to the authorization function authorizing the AF based on a determination result of the terminal, the access token sent by the authorization function is received based on a predetermined authorization architecture, wherein the access token indicates the first resource.
[0088] In one embodiment, a token request message is sent to an authorization function, wherein the token request message is used to request an access token for the AF to be authorized to manage a first resource. In response to the authorization function authorizing the AF based on a local policy, the access token sent by the authorization function is received based on a predetermined authorization schema, wherein the access token indicates the first resource.
[0089] In one embodiment, a token request message is sent to an authorization function; wherein the token request message is used to request an access token, and the access token is used for the AF to be authorized to manage a first resource. The access token sent by the authorization function is received, and the access token indicates at least one of the following: an identifier of the first resource; an identity identifier of the AF; an expected service name, wherein the expected service name indicates a service authorized to process the first resource; and an expected service operation name, wherein the expected service operation name indicates a service operation authorized to process the first resource. Here, the expected service can be a service that can be executed when authorizing the management of the first resource. The field corresponding to the expected service name can be "Nnef_ParameterProvision", and the field corresponding to the expected service operation name can be at least one of the following: "Nnef_ParameterProvision_Create", "Nnef_ParameterProvision_Update", "Nnef_ParameterProvision_Delete", and "Nnef_ParameterProvision_Get".
[0090] In one embodiment, a token request message is sent to an authorization function; wherein the token request message is used to request an access token for the AF to be authorized to manage a first resource. Identity authentication is performed between the AF, the authorization function, the network exposure function (NEF), and / or the terminal. Here, after identity authentication is performed between the AF, the authorization function, the network exposure function (NEF), and / or the terminal, the AF, the authorization function, the network exposure function (NEF), and / or the terminal can communicate with each other.
[0091] In one embodiment, identity authentication is performed between the AF, the authorization function and the network opening function NEF; or, identity authentication is performed between the AF, the authorization function and the terminal; or, identity authentication is performed between the AF, the authorization function, the network opening function NEF and the terminal.
[0092] In one embodiment, a token request message is sent to an authorization function, wherein the token request message is used to request an access token, and the access token is used to authorize the AF to manage a first resource. The access token sent by the authorization function is received, wherein the access token indicates the first resource. A resource management request message is sent to a network exposure function (NEF), wherein the resource management request message carries the access token and is used to request that the AF be authorized to manage the first resource.
[0093] In one embodiment, the resource management request information further includes at least one of the following:
[0094] The identity of the AF;
[0095] The terminal's identification;
[0096] an identifier of the first resource;
[0097] a service name indicating a service requested for processing the first resource;
[0098] a service operation name, the service operation name indicating a service operation requested for processing the first resource;
[0099] PIN-related information.
[0100] In one embodiment, a token request message is sent to an authorization function; wherein the token request message is used to request an access token, and the access token is used for the AF to be authorized to manage a first resource. The access token sent by the authorization function is received; wherein the access token indicates the first resource. A resource management request message is sent to a network exposure function NEF; wherein the resource management request message carries the access token; the resource management request message is used to request the AF to be authorized to manage the first resource. A resource management response message is received from the NEF; wherein the resource management response message indicates reception or rejection of the resource management request message. In response to the resource management response message indicating reception of the resource management request message, the AF is authorized to manage the first resource; or, in response to the resource management response message indicating rejection of the resource management request message, the AF is not authorized to manage the first resource.
[0101] In an embodiment of the present disclosure, a token request message is sent to the authorization function; wherein the token request message is used to request an access token, and the access token is used for the AF to be authorized to manage the first resource. In this way, after the application function AF sends the token request message for requesting an access token to the authorization function, the authorization function can send the access token to the application function AF. After receiving the access token, the application function AF can perform the operation authorized to manage the first resource based on the access token. Compared with not requesting an access token, this improves the authorization mechanism for the application function AF to manage the first resource, making the management of the first resource more secure.
[0102] In some examples, those skilled in the art may understand that the methods provided in the embodiments of the present disclosure may be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
[0103] As shown in FIG3 , this embodiment provides an authorization method, wherein the method is performed by an application function AF and includes:
[0104] Step 31: Receive the access token sent by the authorization function;
[0105] The access token is used for the AF to be authorized to manage the first resource; the access token indicates the first resource.
[0106] In one embodiment, a token request message is sent to an authorization function, wherein the token request message is used to request an access token for the AF to be authorized to manage a first resource. The access token sent by the authorization function is received, wherein the access token indicates the first resource. In this way, upon receiving the access token, the AF can determine that the access token is an access token for managing the first resource.
[0107] In one embodiment, a token request message is sent to an authorization function, wherein the token request message is used to request an access token for authorizing the AF to manage a first resource. The access token sent by the authorization function is received based on a predetermined authorization schema, wherein the access token indicates the first resource. Exemplarily, the predetermined authorization schema may be OAuth 2.0.
[0108] In one embodiment, a token request message is sent to an authorization function, wherein the token request message is used to request an access token, wherein the access token is used to authorize the AF to manage a first resource. The access token sent by the authorization function is received, wherein the access token indicates the first resource and indicates at least one of the following: an identifier of the first resource; an identity identifier of the AF; an expected service name, wherein the expected service name indicates a service authorized to process the first resource; and an expected service operation name, wherein the expected service operation name indicates a service operation authorized to process the first resource.
[0109] In one embodiment, a token request message is sent to an authorization function, wherein the token request message is used to request an access token, and the access token is used to authorize the AF to manage a first resource. The access token sent by the authorization function is received, wherein the access token indicates the first resource. A resource management request message is sent to a network exposure function (NEF), wherein the resource management request message carries the access token and is used to request that the AF be authorized to manage the first resource.
[0110] In one embodiment, the resource management request information further includes at least one of the following:
[0111] The identity of the AF;
[0112] The terminal's identification;
[0113] an identifier of the first resource;
[0114] Service name;
[0115] a service operation name, the service name indicating a service requested for processing the first resource;
[0116] PIN-related information, the service operation name indicates a service operation requested for processing the first resource.
[0117] In one embodiment, a token request message is sent to an authorization function; wherein the token request message is used to request an access token, and the access token is used for the AF to be authorized to manage a first resource. The access token sent by the authorization function is received; wherein the access token indicates the first resource. A resource management request message is sent to a network exposure function NEF; wherein the resource management request message carries the access token; the resource management request message is used to request the AF to be authorized to manage the first resource. A resource management response message is received from the NEF; wherein the resource management response message indicates reception or rejection of the resource management request message. In response to the resource management response message indicating reception of the resource management request message, the AF is authorized to manage the first resource; or, in response to the resource management response message indicating rejection of the resource management request message, the AF is not authorized to manage the first resource.
[0118] In some examples, those skilled in the art may understand that the methods provided in the embodiments of the present disclosure may be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
[0119] As shown in FIG4 , this embodiment provides an authorization method, wherein the method is performed by an application function AF and includes:
[0120] Step 41: Send resource management request information to the network open function NEF;
[0121] The resource management request information carries an access token; the access token is used for the AF to be authorized to manage the first resource; and the resource management request information is used to request the AF to be authorized to manage the first resource.
[0122] In one embodiment, the resource management request information further includes at least one of the following:
[0123] The identity of the AF;
[0124] The terminal's identification;
[0125] an identifier of the first resource;
[0126] a service name indicating a service requested for processing the first resource;
[0127] a service operation name, the service operation name indicating a service operation requested for processing the first resource;
[0128] PIN-related information.
[0129] In one embodiment, an access token sent by an authorization function is received, wherein the access token is used for the AF to be authorized to manage a first resource. A resource management request message is sent to a network exposure function (NEF); wherein the resource management request message carries the access token; and the resource management request message is used to request the AF to be authorized to manage the first resource.
[0130] In one embodiment, a token request message is sent to an authorization function, wherein the token request message is used to request an access token, and the access token is used to authorize the AF to manage a first resource. The access token sent by the authorization function is received. A resource management request message is sent to a network exposure function (NEF), wherein the resource management request message carries the access token and is used to request that the AF be authorized to manage the first resource.
[0131] In one embodiment, a token request message is sent to an authorization function; wherein the token request message is used to request an access token, and the access token is used for the AF to be authorized to manage a first resource. The access token sent by the authorization function is received; wherein the access token indicates the first resource. A resource management request message is sent to a network exposure function NEF; wherein the resource management request message carries the access token; the resource management request message is used to request the AF to be authorized to manage the first resource. A resource management response message is received from the NEF; wherein the resource management response message indicates reception or rejection of the resource management request message. In response to the resource management response message indicating reception of the resource management request message, the AF is authorized to manage the first resource; or, in response to the resource management response message indicating rejection of the resource management request message, the AF is not authorized to manage the first resource.
[0132] In some examples, those skilled in the art may understand that the methods provided in the embodiments of the present disclosure may be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
[0133] As shown in FIG5 , this embodiment provides an authorization method, wherein the method is performed by an application function AF and includes:
[0134] Step 51: Receive resource management response information sent by NEF;
[0135] The resource management response information indicates whether to accept or reject the resource management request information.
[0136] In one embodiment, a token request message is sent to an authorization function; wherein the token request message is used to request an access token, and the access token is used for the AF to be authorized to manage a first resource. The access token sent by the authorization function is received; wherein the access token indicates the first resource. A resource management request message is sent to a network exposure function NEF; wherein the resource management request message carries the access token; the resource management request message is used to request the AF to be authorized to manage the first resource. A resource management response message is received from the NEF; wherein the resource management response message indicates reception or rejection of the resource management request message. In response to the resource management response message indicating reception of the resource management request message, the AF is authorized to manage the first resource; or, in response to the resource management response message indicating rejection of the resource management request message, the AF is not authorized to manage the first resource.
[0137] In one embodiment, the access token indicates at least one of the following: an identifier of the first resource; an identity identifier of the AF; an expected service name; and an expected service operation name.
[0138] In one embodiment, the resource management request information further includes at least one of the following:
[0139] The identity of the AF;
[0140] The terminal's identification;
[0141] an identifier of the first resource;
[0142] a service name indicating a service requested for processing the first resource;
[0143] a service operation name, the service operation name indicating a service operation requested for processing the first resource;
[0144] PIN-related information.
[0145] In some examples, those skilled in the art may understand that the methods provided in the embodiments of the present disclosure may be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
[0146] As shown in FIG6 , this embodiment provides an authorization method, wherein the method is performed by an authorization function and includes:
[0147] Step 61: Receive token request information sent by AF;
[0148] The token request information is used to request an access token, and the access token is used for the AF to be authorized to manage the first resource.
[0149] Here, the terminal involved in the present disclosure may be, but is not limited to, a mobile phone, a wearable device, a vehicle-mounted terminal, a road side unit (RSU), a smart home terminal, an industrial sensor device and / or a medical device, etc. In some examples, the terminal may be a Redcap terminal or a predetermined version of a new air interface NR terminal (for example, an R17 NR terminal).
[0150] In this disclosure, the authorization function includes one of the following:
[0151] Common API Framework (CAPIF) core functions;
[0152] Network Open Function (NEF);
[0153] Network storage function (NRF, Common API Framework).
[0154] It should be noted that the authorization function may be a network element with an authorization function. For example, the authorization function may be a function of issuing an access token. The network element may be an existing network element in the 5G architecture, such as CAPIF, NEF, and NRF network elements, that is, the authorization function may be integrated into the above-mentioned existing network elements. Of course, the network element may also be a newly added independent network element in the 5G architecture, and the newly added network element has an authorization function, such as the first network element, which is not limited here. The network elements involved in the present disclosure may be base stations or other evolved network elements of the fifth generation mobile communication (5G) network, which are not limited here. The network elements may be various physical network unit entities or logical network units. In an embodiment of the present disclosure, the first resource may be a resource associated with the PIN network, such as hardware resources and software resources.
[0155] In one embodiment, a token request message sent by an AF is received; wherein the token request message is used to request an access token, and the access token is used for the AF to be authorized to manage a first resource. The token request message includes at least one of the following: the identity of the AF; the identifier of the terminal; the identifier of the first resource. Here, the identity of the AF is used to uniquely identify an AF. After the authorization function receives the identity of the AF, it can be determined that the token request message is sent by the AF indicated by the identity of the AF. Here, the identifier of the terminal is used to uniquely identify a terminal. After the authorization function receives the identity of the terminal, whether to send the access token to the AF requires the consent of the terminal indicated by the identity of the terminal. Here, the identifier of the first resource uniquely identifies the first resource. After the authorization function receives the identifier of the first resource, it can be determined that the resource that the AF needs to manage is the resource indicated by the identifier of the first resource. Exemplarily, the token request message includes the identity of the AF; the identifier of the terminal; the identifier of the first resource.
[0156] In one embodiment, the identifier of the first resource includes at least one of the following: an identifier of a private IoT PIN; an identifier of core network auxiliary information. The identifier of the core network auxiliary information may include a data type of the core network auxiliary information and configuration information (or detailed information) of the core network auxiliary information.
[0157] Please refer to Table 1, which shows the mapping relationship between the data source, the data type of the core network auxiliary information and the detailed information of the core network auxiliary information.
[0158] In one embodiment, a token request message is received from an AF, wherein the token request message is used to request an access token for authorizing the AF to manage a first resource. The access token is sent to the AF, wherein the access token indicates the first resource. Upon receiving the access token, the AF can determine that the access token is an access token for managing the first resource.
[0159] In one embodiment, a token request message is received from an AF, wherein the token request message is used to request an access token for authorizing the AF to manage a first resource. The access token is sent to the AF based on a predetermined authorization schema, wherein the access token indicates the first resource. Exemplarily, the predetermined authorization schema may be OAuth 2.0.
[0160] In one embodiment, a token request message is received from an AF, wherein the token request message is used to request an access token for authorizing the AF to manage a first resource. In response to determining that the AF is authorized based on a predetermined service agreement, the access token is sent to the AF, wherein the access token indicates the first resource; and the predetermined service agreement is a service agreement between the AF and a carrier.
[0161] In one embodiment, a token request message is received from an AF, wherein the token request message is used to request an access token for authorizing the AF to manage a first resource. In response to determining that the AF is authorized based on a determination result of a terminal, the access token is sent to the AF, wherein the access token indicates the first resource. Here, the determination result of the terminal indicates consent to authorize the AF.
[0162] In one embodiment, a token request message is received from an AF, wherein the token request message is used to request an access token for authorizing the AF to manage a first resource. In response to an authorization function determining based on a local policy that the AF is authorized, the access token is sent to the AF, wherein the access token indicates the first resource.
[0163] In one embodiment, a token request message sent by an AF is received; wherein the token request message is used to request an access token, and the access token is used for the AF to be authorized to manage a first resource. The access token is sent to the AF, and the access token indicates at least one of the following: an identifier of the first resource; an identity identifier of the AF; an expected service name, the expected service name indicates a service authorized to process the first resource; an expected service operation name, the expected service operation name indicates a service operation authorized to process the first resource. Here, the expected service can be a service that can be executed when the management of the first resource is authorized. The field corresponding to the expected service name can be "Nnef_ParameterProvision", and the field corresponding to the expected service operation name can be at least one of the following: "Nnef_ParameterProvision_Create", "Nnef_ParameterProvision_Update", "Nnef_ParameterProvision_Delete" and "Nnef_ParameterProvision_Get".
[0164] In one embodiment, a token request message is received from an AF, wherein the token request message is used to request an access token for authorizing the AF to manage a first resource. Identity authentication is performed between the AF, the authorization function, the network exposure function (NEF), and / or the terminal. After identity authentication is performed between the AF, the authorization function, the network exposure function (NEF), and / or the terminal, the AF, the authorization function, the network exposure function (NEF), and / or the terminal can communicate with each other.
[0165] In one embodiment, identity authentication is performed between the AF, the authorization function and the network opening function NEF; or, identity authentication is performed between the AF, the authorization function and the terminal; or, identity authentication is performed between the AF, the authorization function, the network opening function NEF and the terminal.
[0166] In one embodiment, the authorization function receives token request information sent by the AF; wherein the token request information is used to request an access token, and the access token is used for the AF to be authorized to manage a first resource. The authorization function sends the access token to the AF; wherein the access token indicates the first resource. The AF sends resource management request information to the network exposure function NEF; wherein the resource management request information carries the access token; the resource management request information is used to request that the AF be authorized to manage the first resource. The AF receives resource management response information sent by the NEF; wherein the resource management response information indicates reception or rejection of the resource management request information. In response to the resource management response information indicating reception of the resource management request information, the AF is authorized to manage the first resource; or, in response to the resource management response information indicating rejection of the resource management request information, the AF is not authorized to manage the first resource.
[0167] In some examples, those skilled in the art may understand that the methods provided in the embodiments of the present disclosure may be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
[0168] As shown in FIG7 , this embodiment provides an authorization method, wherein the method is performed by an authorization function and includes:
[0169] Step 71: Send access token to AF;
[0170] The access token is used for the AF to be authorized to manage the first resource; the access token indicates the first resource.
[0171] In one embodiment, a token request message is received from an AF, wherein the token request message is used to request an access token for authorizing the AF to manage a first resource. The access token is sent to the AF, wherein the access token indicates the first resource. Upon receiving the access token, the AF can determine that the access token is an access token for managing the first resource.
[0172] In one embodiment, a token request message is received from an AF, wherein the token request message is used to request an access token for authorizing the AF to manage a first resource. The access token is sent to the AF based on a predetermined authorization schema, wherein the access token indicates the first resource. Exemplarily, the predetermined authorization schema may be OAuth 2.0.
[0173] In one embodiment, a token request message is received from an AF, wherein the token request message is used to request an access token for authorizing the AF to manage a first resource. In response to determining that the AF is authorized based on a predetermined service agreement, the access token is sent to the AF, wherein the access token indicates the first resource; and the predetermined service agreement is a service agreement between the AF and a carrier.
[0174] In one embodiment, a token request message is received from an AF, wherein the token request message is used to request an access token for authorizing the AF to manage a first resource. In response to determining that the AF is authorized based on a determination result of a terminal, the access token is sent to the AF, wherein the access token indicates the first resource. Here, the determination result of the terminal indicates consent to authorize the AF.
[0175] In one embodiment, a token request message is received from an AF, wherein the token request message is used to request an access token for authorizing the AF to manage a first resource. In response to an authorization function determining based on a local policy that the AF is authorized, the access token is sent to the AF, wherein the access token indicates the first resource.
[0176] In one embodiment, a token request message is received from an AF, wherein the token request message is used to request an access token, and the access token is used to authorize the AF to manage a first resource. The access token is sent to the AF, and the access token indicates at least one of the following: an identifier of the first resource; an identity identifier of the AF; an expected service name, wherein the expected service name indicates a service authorized for processing the first resource; and an expected service operation name, wherein the expected service operation name indicates a service operation authorized for processing the first resource. Here, the expected service can be a service that can be executed when the first resource is authorized to be managed.
[0177] In one embodiment, the authorization function receives token request information sent by the AF; wherein the token request information is used to request an access token, and the access token is used for the AF to be authorized to manage a first resource. The authorization function sends the access token to the AF; wherein the access token indicates the first resource. The AF sends resource management request information to the network exposure function NEF; wherein the resource management request information carries the access token; the resource management request information is used to request that the AF be authorized to manage the first resource. The AF receives resource management response information sent by the NEF; wherein the resource management response information indicates reception or rejection of the resource management request information. In response to the resource management response information indicating reception of the resource management request information, the AF is authorized to manage the first resource; or, in response to the resource management response information indicating rejection of the resource management request information, the AF is not authorized to manage the first resource.
[0178] In some examples, those skilled in the art may understand that the methods provided in the embodiments of the present disclosure may be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
[0179] As shown in FIG8 , this embodiment provides an authorization method, wherein the method is performed by the NEF and includes:
[0180] Step 81: Receive resource management request information sent by AF;
[0181] The resource management request information carries the access token; the resource management request information is used to request the AF to be authorized to manage the first resource.
[0182] Here, the terminal involved in the present disclosure may be, but is not limited to, a mobile phone, a wearable device, a vehicle-mounted terminal, a road side unit (RSU), a smart home terminal, an industrial sensor device and / or a medical device, etc. In some examples, the terminal may be a Redcap terminal or a predetermined version of a new air interface NR terminal (for example, an R17 NR terminal).
[0183] In this disclosure, the authorization function includes one of the following:
[0184] Common API Framework (CAPIF) core functions;
[0185] Network Open Function (NEF);
[0186] Network storage function (NRF, Common API Framework).
[0187] It should be noted that the authorization function may be a network element with an authorization function. For example, the authorization function may be a function of issuing an access token. The network element may be an existing network element in the 5G architecture, such as CAPIF, NEF, and NRF network elements, that is, the authorization function may be integrated into the above-mentioned existing network elements. Of course, the network element may also be a newly added network element in the 5G architecture, and the newly added network element has an authorization function, such as the first network element, which is not limited here. The network elements involved in the present disclosure may be base stations or other evolved network elements of the fifth generation mobile communication (5G) network, which are not limited here. The network elements may be various physical network unit entities or logical network units. In an embodiment of the present disclosure, the first resource may be a resource associated with the PIN network, such as hardware resources and software resources.
[0188] In one embodiment, a resource management request message sent by an AF is received, wherein the resource management request message carries the access token; the resource management request message is used to request the AF to be authorized to manage the first resource. The access token indicates at least one of the following: an identifier of the first resource; an identifier of the terminal; an identity identifier of the AF; an expected service name, the expected service name indicating the service authorized for processing the first resource; an expected service operation name, the expected service operation name indicating the service operation authorized for processing the first resource. The resource management request message also includes at least one of the following: an identity identifier of the AF; an identifier of the terminal; an identifier of the first resource; a service name, the service name indicating the service requested for processing the first resource; a service operation name, the service operation name indicating the service operation requested for processing the first resource; and PIN-related information.
[0189] In one embodiment, the identifier of the first resource includes at least one of the following: an identifier of a private IoT PIN; an identifier of core network auxiliary information. The identifier of the core network auxiliary information may include a data type of the core network auxiliary information and configuration information (or detailed information) of the core network auxiliary information.
[0190] Please refer to Table 1 again, which shows the mapping relationship between the data source, the data type of the core network auxiliary information, and the detailed information of the core network auxiliary information.
[0191] In one embodiment, a resource management request message sent by an AF is received, wherein the resource management request message carries the access token, and the resource management request message is used to request the AF to be authorized to manage the first resource. In response to receiving the resource management request message, integrity verification of the access token is performed.
[0192] In one embodiment, a resource management request message is received from an AF, wherein the resource management request message carries the access token, and the resource management request message is used to request that the AF be authorized to manage the first resource. In response to receiving the resource management request message, an integrity verification of the access token is performed. In response to a failure in the integrity verification of the access token, the resource management request message is rejected. In response to a success in the integrity verification of the access token, the resource management request message is verified based on the access token.
[0193] In one embodiment, a resource management request message sent by an AF is received; wherein the resource management request message carries the access token; and the resource management request message is used to request that the AF be authorized to manage the first resource. In response to receiving the resource management request message, integrity verification of the access token is performed. In response to successful integrity verification of the access token, the resource management request message is verified based on the access token. Determine whether the identifier of the first resource in the access token matches the identifier of the first resource contained in the PIN management request message; and / or, determine whether the expected service identifier in the access token matches the service identifier contained in the PIN management request message; and / or, determine whether the expected service operation identifier in the access token matches the service operation identifier contained in the PIN management request message. If any of the above three items does not match, the resource management request message verification fails.
[0194] In one embodiment, a resource management request message sent by an AF is received; wherein the resource management request message carries the access token; and the resource management request message is used to request that the AF be authorized to manage the first resource. In response to receiving the resource management request message, integrity verification of the access token is performed. In response to success in integrity verification of the access token, the resource management request message is verified based on the access token. In response to failure in verifying the resource management request message, the resource management request message is rejected, or in response to success in verifying the resource management request message, the resource management request message is accepted.
[0195] In one embodiment, a resource management request message is received from an AF, wherein the PIN management request message carries the access token, and the PIN management request message is used to request the AF to be authorized to manage the first resource. In response to accepting the resource management request message, the PIN-related information and the identifier of the first resource contained in the resource management request message are sent to a unified data repository (UDR) function.
[0196] In one embodiment, a resource management request message sent by an AF is received, wherein the resource management request message carries the access token, and the resource management request message is used to request that the AF be authorized to manage the first resource. In response to accepting the resource management request message, a resource management response message is sent to the AF, wherein the resource management response message indicates acceptance of the resource management request message; or, in response to rejecting the resource management request message, a resource management response message is sent to the AF, wherein the resource management response message indicates rejection of the resource management request message.
[0197] In some examples, those skilled in the art may understand that the methods provided in the embodiments of the present disclosure may be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
[0198] As shown in FIG9 , this embodiment provides an authorization method, wherein the method is performed by the NEF and includes:
[0199] Step 91: In response to receiving the resource management request information, perform integrity verification of the access token;
[0200] The resource management request information carries the access token; the resource management request information is used to request the AF to be authorized to manage the first resource.
[0201] In one embodiment, a resource management request message sent by an AF is received; wherein the resource management request message carries the access token; and the resource management request message is used to request that the AF be authorized to manage the first resource. In response to receiving the resource management request message, integrity verification of the access token is performed. In response to success in integrity verification of the access token, the resource management request message is verified based on the access token. In response to failure in verifying the resource management request message, the resource management request message is rejected, or in response to success in verifying the resource management request message, the resource management request message is accepted.
[0202] In one embodiment, a resource management request message sent by an AF is received; wherein the resource management request message carries the access token; and the resource management request message is used to request that the AF be authorized to manage the first resource. In response to receiving the resource management request message, integrity verification of the access token is performed. In response to successful integrity verification of the access token, the resource management request message is verified based on the access token. Determine whether the identifier of the first resource in the access token matches the identifier of the first resource contained in the PIN management request message; and / or, determine whether the expected service identifier in the access token matches the service identifier contained in the PIN management request message; and / or, determine whether the expected service operation identifier in the access token matches the service operation identifier contained in the PIN management request message. If any of the above three items does not match, the resource management request message verification fails.
[0203] In some examples, those skilled in the art may understand that the methods provided in the embodiments of the present disclosure may be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
[0204] As shown in FIG10 , this embodiment provides an authorization method, wherein the method is performed by the NEF and includes:
[0205] Step 101: Send resource management response information to AF;
[0206] The resource management response information indicates acceptance or rejection of the resource management request information, and the resource management request information carries the access token; the resource management request information is used to request the AF to be authorized to manage the first resource.
[0207] In one embodiment, a resource management request message sent by an AF is received, wherein the resource management request message carries the access token, and the resource management request message is used to request that the AF be authorized to manage the first resource. In response to accepting the resource management request message, a resource management response message is sent to the AF, wherein the resource management response message indicates acceptance of the resource management request message; or, in response to rejecting the resource management request message, a resource management response message is sent to the AF, wherein the resource management response message indicates rejection of the resource management request message.
[0208] In one embodiment, a resource management request message sent by an AF is received; wherein the resource management request message carries the access token; and the resource management request message is used to request that the AF be authorized to manage the first resource. In response to receiving the resource management request message, integrity verification of the access token is performed. In response to success in integrity verification of the access token, the resource management request message is verified based on the access token. In response to failure in verifying the resource management request message, the resource management request message is rejected, or in response to success in verifying the resource management request message, the resource management request message is accepted.
[0209] In one embodiment, a resource management request message sent by an AF is received; wherein the resource management request message carries the access token; and the resource management request message is used to request that the AF be authorized to manage the first resource. In response to receiving the resource management request message, integrity verification of the access token is performed. In response to successful integrity verification of the access token, the resource management request message is verified based on the access token. Determine whether the identifier of the first resource in the access token matches the identifier of the first resource contained in the PIN management request message; and / or, determine whether the expected service identifier in the access token matches the service identifier contained in the PIN management request message; and / or, determine whether the expected service operation identifier in the access token matches the service operation identifier contained in the PIN management request message. If any of the above three items does not match, the resource management request message verification fails.
[0210] In some examples, those skilled in the art may understand that the methods provided in the embodiments of the present disclosure may be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
[0211] In order to better understand the embodiments of the present disclosure, the technical solution of the present disclosure is further described below through an exemplary embodiment:
[0212] Example 1:
[0213] As shown in FIG11 , this embodiment provides an authorization method, wherein the method includes:
[0214] Step 110: Send a token request message. To obtain authorization to manage a specific PIN (corresponding to the first resource in this disclosure), the AF sends a token request message to the authorization function. The token request message includes the AF's identity (e.g., AF ID and Fully Qualified Domain Name (FQDN)) and the PIN's identity.
[0215] Step 111: Authorization based on OAuth 2.0. The AF obtains an access token from the authorization function via OAuth 2.0. Authorization is based on the service agreement between the AF and the 3GPP operator. The service agreement may specify the identity of the PIN that can be managed by the AF. The access token includes the identity of the PIN. The access token may also include the identity of the AF, the service name (e.g., Nnef_ParameterProvision), and the service operation name (e.g., Nnef_ParameterProvision_Create, Nnef_ParameterProvision_Update, Nnef_ParameterProvision_Delete, and Nnef_ParameterProvision_Get) for use by the AF.
[0216] Step 112: Mutual authentication: The AF, terminal, authorization function, and NEF perform mutual authentication.
[0217] Step 113: Send a PIN management request (corresponding to a resource management request in this disclosure) and an access token. To manage a specific PIN (first resource), the AF sends the PIN management request and access token to the NEF. The PIN management request may include the AF's identity, the PIN's identity, the service name, the service operation name, and related PIN information.
[0218] Step 114: PIN management information configuration. The NEF authorizes the PIN management request information based on the access token. Specifically, the NEF first checks the integrity of the access token. If the token has been tampered with, the NEF needs to reject the PIN management request information. Otherwise, the NEF checks the PIN management request information based on the access token. In particular, the NEF checks whether the PIN identity included in the PIN management request information matches the PIN identity in the access token. If the AF is authorized to make the PIN management request information, the NEF provides the relevant PIN information in the PIN management request information together with the PIN identity information to the UDR or Unified Data Management (UDM) function. Otherwise, the NEF needs to reject the PIN management request information.
[0219] Step 115: NEF sends PIN management response information to AF (corresponding to resource management response information in this disclosure).
[0220] Example 2:
[0221] As shown in FIG12 , this embodiment provides an authorization method, wherein the method includes:
[0222] Step 120: The AF sends a token request message to the terminal; or Step 121: The AF sends a token request message to the authorization function; wherein the token request message includes a 5GC auxiliary information identifier and / or a terminal identifier;
[0223] Step 122: Authorization based on OAuth 2.0. The AF, terminal, and authorization function complete authorization based on OAuth 2.0. The authorization function sends an access token to the AF. The access token includes the 5GC auxiliary information identifier and / or the terminal identifier.
[0224] Step 123: Mutual authentication. The AF, terminal, authorization function, and NEF perform mutual authentication.
[0225] Step 124: Send a core network auxiliary information management request message and an access token. The core network auxiliary information management request may include identifiers related to services or service operations such as configuration, opening, obtaining, deleting, updating, and creating.
[0226] Step 125: 5GC auxiliary information management. The NEF performs authorization based on the access token. If the NEF authorizes the AF's 5GC auxiliary information management request, the NEF executes the 5GC auxiliary information management request. For example, the NEF may, based on the AF's request, request the 5GC to expose the 5GC auxiliary information related to the terminal identifier.
[0227] Step 126: The NEF sends a response message (corresponding to the resource management response message in this disclosure) to the AF.
[0228] In one embodiment, based on Example 2, corresponding to steps 120 to 123, this embodiment provides an authorization method, wherein the method includes:
[0229] Step 130: The AF sends a token request message to the terminal; or Step 131: The AF sends a token request message to the authorization function; wherein the token request message includes a resource identifier and / or a terminal identifier;
[0230] Step 132: Authorization based on OAuth 2.0. The AF, the terminal, and the authorization function complete authorization based on OAuth 2.0. The authorization function sends an access token to the AF. The access token includes a resource identifier and / or a terminal identifier.
[0231] Step 133: Mutual authentication: The AF, terminal, authorization function, and NEF perform mutual authentication.
[0232] As shown in FIG13 , an embodiment of the present disclosure provides an authorization device, wherein the device includes:
[0233] The sending module 131 is configured to send token request information to the authorization function;
[0234] The token request information is used to request an access token, and the access token is used for the AF to be authorized to manage the first resource.
[0235] In some examples, those skilled in the art may understand that the methods provided in the embodiments of the present disclosure may be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
[0236] As shown in FIG14 , an embodiment of the present disclosure provides an authorization device, wherein the device includes:
[0237] The receiving module 141 is configured to receive token request information sent by the AF;
[0238] The token request information is used to request an access token, and the access token is used for the AF to be authorized to manage the first resource.
[0239] In some examples, those skilled in the art may understand that the methods provided in the embodiments of the present disclosure may be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
[0240] As shown in FIG15 , an embodiment of the present disclosure provides an authorization device, wherein the device includes:
[0241] The receiving module 151 is configured to receive PIN management request information sent by the AF;
[0242] The PIN management request information carries the access token; the PIN management request information is used to request the AF to be authorized to manage the first resource.
[0243] In some examples, those skilled in the art may understand that the methods provided in the embodiments of the present disclosure may be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
[0244] As shown in Figure 16, an authorization system is provided in an embodiment of the present disclosure, wherein the authorization system includes AF161, authorization function 162 and NEF163, wherein the AF is used to implement the method implemented by the AF as described in any of the present disclosures; the authorization function is used to implement the method implemented by the authorization function as described in any of the present disclosures; and the NEF is used to implement the method implemented by the NEF as described in any of the present disclosures.
[0245] In some examples, those skilled in the art may understand that the methods provided in the embodiments of the present disclosure may be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
[0246] An embodiment of the present disclosure provides a communication device, the communication device including:
[0247] processor;
[0248] a memory for storing processor-executable instructions;
[0249] The processor is configured to implement the method applied to any embodiment of the present disclosure when running the executable instructions.
[0250] The processor may include various types of storage media, which are non-temporary computer storage media that can continue to memorize information stored thereon after the communication device loses power.
[0251] The processor may be connected to the memory via a bus or the like to read the executable program stored in the memory.
[0252] An embodiment of the present disclosure further provides a computer storage medium, wherein the computer storage medium stores a computer executable program, and when the executable program is executed by a processor, the method of any embodiment of the present disclosure is implemented.
[0253] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0254] As shown in FIG17 , an embodiment of the present disclosure provides a structure of a terminal.
[0255] 17 , this embodiment provides a terminal 800 , which may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
[0256] 17 , terminal 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0257] The processing component 802 generally controls the overall operation of the terminal 800, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 802 may include one or more modules to facilitate interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
[0258] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the terminal 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0259] Power supply component 806 provides power to various components of terminal 800. Power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to terminal 800.
[0260] The multimedia component 808 includes a screen that provides an output interface between the terminal 800 and the user. In some examples, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some examples, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
[0261] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), which is configured to receive external audio signals when the terminal 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 804 or transmitted via the communication component 816. In some examples, the audio component 810 also includes a speaker for outputting audio signals.
[0262] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as a keyboard, click wheel, buttons, etc. These buttons may include but are not limited to: a home button, volume buttons, a start button, and a lock button.
[0263] The sensor assembly 814 includes one or more sensors for providing various aspects of the terminal 800's status assessment. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the terminal 800. The sensor assembly 814 can also detect changes in the position of the terminal 800 or a component of the terminal 800, the presence or absence of user contact with the terminal 800, the orientation or acceleration / deceleration of the terminal 800, and changes in the temperature of the terminal 800. The sensor assembly 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some examples, the sensor assembly 814 can also include an accelerometer, a gyroscope, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0264] The communication component 816 is configured to facilitate wired or wireless communication between the terminal 800 and other devices. The terminal 800 can access a wireless network based on a communication standard, such as Wi-Fi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0265] In an exemplary embodiment, the terminal 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0266] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, which can be executed by the processor 820 of the terminal 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0267] As shown in Figure 18, an embodiment of the present disclosure illustrates the structure of a base station. For example, base station 900 can be provided as a network-side device. Referring to Figure 18, base station 900 includes a processing component 922, which further includes one or more processors, and a memory resource represented by a memory 932 for storing instructions that can be executed by the processing component 922, such as an application. The application stored in the memory 932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 922 is configured to execute instructions to perform any of the aforementioned methods applied to the base station.
[0268] The base station 900 may also include a power supply component 926 configured to perform power management for the base station 900, a wired or wireless network interface 950 configured to connect the base station 900 to a network, and an input / output (I / O) interface 958. The base station 900 may operate based on an operating system stored in the memory 932, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or the like.
[0269] As shown in Figure 19, an embodiment of the present disclosure illustrates a 5G system network architecture, including a core network 291 and an access network 292. The core network includes core network equipment, primarily including communication nodes such as the Access and Mobility Management Function (AMF), User Plane Function (UPF), Network Exposure Function (NEF), User Data Repository (UDR), and Session Management Function (SMF). The access network includes base stations. The AMF is primarily responsible for various functions including registration management, connection management, accessibility management, mobility management, and security and access management and authorization. The UPF is primarily responsible for various functions related to the data plane anchor point, PDU session point connecting to the data network, packet routing and forwarding, traffic usage reporting, and lawful interception. The NEF is primarily responsible for providing a secure path for exposing the services and capabilities of 3GPP network functions to the AF and for enabling the AF to provide information to 3GPP network functions. The UDR is primarily responsible for storing important process data during wireless communications. SMF is mainly responsible for various functions related to session management, billing and QoS policy control, lawful monitoring, billing data collection and downlink data notification.
[0270] Other embodiments of the present invention will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the invention that follow from the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the invention being indicated by the following claims.
[0271] It should be understood that the present invention is not limited to the exact construction described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. An authorization method, in, The method is performed by an application function AF, and the method includes: Send a token request message to the authorization function; The token request information is used to request an access token, and the access token is used for the AF to be authorized to manage the first resource.
2. The method according to claim 1, in, The token request information includes at least one of the following: The identity of the AF; The terminal's identification; An identifier of the first resource.
3. The method according to claim 2, in, The identifier of the first resource includes at least one of the following: Identification of private IoT PIN; Identifier of core network auxiliary information.
4. The method according to any one of claims 1 to 3, in, The method further comprises: receiving the access token sent by the authorization function; The access token indicates the first resource.
5. The method according to claim 4, in, The receiving the access token sent by the authorization function comprises: Based on a predetermined authorization framework, the access token sent by the authorization function is received.
6. The method according to any one of claims 1 to 5, in, The access token indicates at least one of the following: an identifier of the first resource; The identity of the AF; an expected service name, the expected service name indicating a service authorized to process the first resource; An expected service operation name indicating a service operation authorized for processing the first resource.
7. The method according to any one of claims 1 to 6, in, The method further comprises: Performing identity authentication between the AF, the authorization function and the network opening function NEF; or, Performing identity authentication between the AF, the authorization function and the terminal; or, Perform identity authentication between the AF, the authorization function, the network opening function NEF and the terminal.
8. The method according to any one of claims 1 to 7, in, The method further comprises: Send resource management request information to the network open function NEF; The resource management request information carries the access token; the resource management request information is used to request the AF to be authorized to manage the first resource.
9. The method according to claim 8, in, The resource management request information also includes at least one of the following: The identity of the AF; The terminal's identification; an identifier of the first resource; a service name indicating a service requested for processing the first resource; a service operation name indicating a service operation requested for processing the first resource; PIN related information.
10. The method according to claim 8 or 9, in, The method further comprises: Receiving resource management response information sent by the NEF; The resource management response information indicates acceptance or rejection of the resource management request information.
11. An authorization method, in, The method is performed by an authorization function, and the method comprises: Receive token request information sent by AF; The token request information is used to request an access token, and the access token is used for the AF to be authorized to manage the first resource.
12. The method according to claim 11, in, The token request information includes at least one of the following: The identity of the AF; The terminal's identification; An identifier of the first resource.
13. The method according to claim 12, in, The identifier of the first resource includes at least one of the following: Identification of private IoT PIN; Identifier of core network auxiliary information.
14. The method according to any one of claims 11 to 13, in, The method further comprises: Sending the access token to the AF; The access token indicates the first resource.
15. The method according to claim 14, in, The sending the access token to the AF includes: Based on a predetermined authorization framework, the access token is sent to the AF.
16. The method according to claim 14, in, The sending the access token to the AF includes: Based on a predetermined service agreement, the access token is sent to the AF; wherein the predetermined service agreement is a service agreement between the AF and an operator. or, In response to a confirmation result of the terminal, the access token is sent to the AF; the confirmation result indicates whether the terminal agrees or refuses to send the access token. or, Based on the local policy of the authorization function, the access token is sent to the AF.
17. The method according to any one of claims 11 to 16, in, The access token indicates at least one of the following: an identifier of the first resource; The terminal's identification; The identity of the AF; an expected service name, the expected service name indicating a service authorized to process the first resource; An expected service operation name, where the expected service operation name is used to indicate a service operation authorized to process the first resource.
18. The method according to any one of claims 11 to 16, in, The method further comprises: Performing identity authentication between the AF, the authorization function and the network opening function NEF; or, Performing identity authentication between the AF, the authorization function and the terminal; or, Perform identity authentication between the AF, the authorization function, the network opening function NEF and the terminal.
19. The method according to any one of claims 11 to 16, in, The authorization function includes one of the following: The core functions of the common application programming interface framework CAPIF; Network open function NEF; Network storage function NRF.
20. An authorization method, in, The method is performed by NEF, and the method comprises: Receive resource management request information sent by AF; The resource management request information carries the access token; the resource management request information is used to request the AF to be authorized to manage the first resource.
21. The method according to claim 20, in, The access token indicates at least one of the following: an identifier of the first resource; The terminal's identification; The identity of the AF; an expected service name, the expected service name indicating a service authorized to process the first resource; An expected service operation name indicating a service operation authorized for processing the first resource.
22. The method according to claim 20, in, The resource management request information also includes at least one of the following: The identity of the AF; The terminal's identification; an identifier of the first resource; a service name indicating a service requested for processing the first resource; a service operation name indicating a service operation requested for processing the first resource; PIN related information.
23. The method according to claim 21 or 22, in, The identifier of the first resource includes at least one of the following: Identification of the private IoT PIN; and Identifier of core network auxiliary information.
24. The method according to any one of claims 20 to 23, in, The method further comprises: In response to receiving the resource management request information, integrity verification of the access token is performed.
25. The method according to claim 24, in, The method further comprises: In response to failure of integrity verification of the access token, rejecting the resource management request information.
26. The method according to claim 24, in, The method further comprises: In response to success of integrity verification of the access token, verifying the resource management request information based on the access token.
27. The method according to claim 26, in, The verifying the resource management request information based on the access token includes: determining whether the identifier of the first resource in the access token matches the identifier of the first resource included in the PIN management request information; and / or, determining whether the expected service identifier in the access token matches the service identifier included in the PIN management request information; and / or, Determine whether the expected service operation identifier in the access token matches the service operation identifier included in the PIN management request information.
28. The method according to claim 26, further comprising: include: In response to a failure in validating the resource management request information, rejecting the resource management request information.
29. The method according to any one of claims 20 to 28, in, The method further comprises: In response to accepting the resource management request information, the PIN-related information and the identifier of the first resource contained in the resource management request information are sent to the unified data warehouse UDR function.
30. The method according to any one of claims 20 to 28, in, The method further comprises: Send resource management response information to AF; The resource management response information indicates acceptance or rejection of the resource management request information.
31. An authorization device, in, The device comprises: a sending module configured to send a token request message to the authorization function; The token request information is used to request an access token, and the access token is used for the AF to be authorized to manage the first resource.
32. An authorization device, in, The device comprises: A receiving module, configured to receive token request information sent by AF; The token request information is used to request an access token, and the access token is used for the AF to be authorized to manage the first resource.
33. An authorization device, in, The device comprises: A receiving module, configured to receive PIN management request information sent by the AF; The PIN management request information carries the access token; the PIN management request information is used to request the AF to be authorized to manage the first resource.
34. An authorization system, in, The authorization system includes an AF, an authorization function and a NEF, wherein the AF is used to implement the method according to any one of claims 1 to 10; the authorization function is used to implement the method according to any one of claims 11 to 19; and the NEF is used to implement the method according to any one of claims 20 to 30.
35. A communication device, in, include: antenna; Memory; A processor is connected to the antenna and the memory, respectively, and is configured to control the transmission and reception of the antenna by executing computer executable instructions stored in the memory, and can implement the method provided in any one of claims 1 to 10, 11 to 19 or 20 to 30.
36. A computer storage medium storing computer executable instructions, wherein the computer executable instructions, after being executed by a processor, can implement the method provided in any one of claims 1 to 10, 11 to 19, or 20 to 30.
Citation Information
Cited By
Information processing method, communication device, and storage medium
WO2026055998A1
