Communication system, related device and communication method
By introducing indicator parameters into the communication system and adaptively selecting cryptographic algorithms, the problem of the AKMA protocol being incompatible with commercial cryptographic algorithms is solved, the flexibility and interconnection of the protocol are achieved, and the data security of the network information system is guaranteed.
Patent Information
- Application Number
- CN202310947298.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-28
- Publication Date
- 2024-10-22
AI Technical Summary
The AKMA protocol defined by 3GPP only supports international cryptographic algorithms and is incompatible with commercial cryptographic algorithms, making it difficult to meet the needs of interconnection.
By introducing indicator parameters into terminals, AUSF network elements and AAnF network elements, the cryptographic algorithm is adaptively selected to make the protocol compatible with commercial cryptographic and international cryptographic algorithms, ensuring that the corresponding algorithm is used to derive the AKMA anchor cryptographic algorithm when commercial cryptographic algorithms are supported. key and application key.
It realizes the flexibility and compatibility of the AKMA protocol, ensures the normal operation and interconnection of the protocol in different scenarios, and ensures the data security of the network information system.
Smart Images

Figure CN118828480A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communication technology, and in particular, to a communication system and related devices and a communication method. Background Art
[0002] With the rapid development of Internet technology, the network security risks of information systems continue to increase, and the threat challenges are becoming increasingly severe. Cryptographic security is an important foundation for information security and can be used to effectively protect the data security of network information systems. my country's commercial cryptographic algorithm, referred to as commercial cryptographic algorithm, is the core technology and important means to protect network information systems.
[0003] Authentication and Key Management for Applications (AKMA) is an application layer authentication and key management method based on 5G mobile communication network defined by 3GPP, which can provide complete security authentication and application layer session channel encryption services for application layer services.
[0004] Currently, the AKMA protocol defined by 3GPP only supports the use of international cryptographic algorithms and is incompatible with commercial cryptographic algorithms, making it difficult to meet interoperability requirements. Summary of the invention
[0005] The embodiments of the present application provide a communication system and related devices, as well as a communication method. By introducing parameters respectively used to indicate whether a terminal, an AUSF network element, and an AAnF network element support commercial cryptographic algorithms, each network element can adaptively adopt a corresponding cryptographic algorithm based on these parameters, so that the protocol can be compatible with commercial cryptographic and international cryptographic algorithms.
[0006] The technical solution of the embodiment of the present application is implemented as follows:
[0007] The embodiment of the present application provides a communication system, the communication system comprising: a terminal, an authentication server function AUSF network element and an application layer authentication and key management AKMA anchor function AAnF network element;
[0008] The terminal is configured with a terminal parameter, and the terminal parameter is used to indicate whether the terminal supports a commercial secret algorithm, so that the AUSF network element determines the cryptographic algorithm used to derive the AKMA anchor key when the commercial secret algorithm is supported, and the AAnF network element determines the cryptographic algorithm used to derive the AKMA application key when the commercial secret algorithm is supported;
[0009] The AUSF network element is configured with a first parameter, where the first parameter is used to indicate whether the AUSF network element supports a commercial cryptographic algorithm, so that the terminal can determine a cryptographic algorithm used to derive the AKMA anchor key when the commercial cryptographic algorithm is supported;
[0010] The AAnF network element is configured with a second parameter, where the second parameter is used to indicate whether the AAnF network element supports a commercial secret algorithm, so that the terminal can determine a cryptographic algorithm used to derive the AKMA application key when the commercial secret algorithm is supported;
[0011] Among them, the AKMA anchor key is a shared key between the terminal and the AUSF network element, the AKMA application key is a shared key between the terminal and the AAnF network element, and the AKMA anchor key is key information used to generate the AKMA application key.
[0012] In the above communication system, the terminal is used to obtain the first parameter from the AUSF network element when the commercial encryption algorithm is supported and the terminal is in the derivation and acquisition stage of the AKMA anchor key;
[0013] The terminal is used to determine to use the commercial encryption algorithm to derive the AKMA anchor key if the first parameter indicates that the AUSF network element supports the commercial encryption algorithm; if the first parameter indicates that the AUSF network element does not support the commercial encryption algorithm, determine to use the international algorithm to derive the AKMA anchor key.
[0014] In the above communication system, the AUSF network element is used to obtain the terminal parameters from the terminal when the AUSF network element supports a commercial encryption algorithm and is in the derivation and acquisition stage of the AKMA anchor key;
[0015] The AUSF network element is used to determine to use the commercial encryption algorithm to derive the AKMA anchor key if the terminal parameters indicate that the terminal supports the commercial encryption algorithm; if the terminal parameters indicate that the terminal does not support the commercial encryption algorithm, determine to use the international algorithm to derive the AKMA anchor key.
[0016] In the above communication system, it also includes: an application function AF network element;
[0017] The AF network element is used to communicate and interact with the terminal and the AAnF network element.
[0018] In the above communication system, the terminal is used to send the terminal parameter to the AF network element when the commercial encryption algorithm is supported and the terminal is in the derivation and acquisition stage of the AKMA application key;
[0019] The AF network element is configured to, when supporting a commercial encryption algorithm, send the terminal parameter to the AAnF network element if the terminal parameter is received and the terminal parameter indicates that the terminal supports the commercial encryption algorithm;
[0020] The AAnF network element is used to determine to use the commercial encryption algorithm to derive the AKMA application key if the terminal parameter is received and the terminal parameter indicates that the terminal supports the commercial encryption algorithm.
[0021] In the above communication system, the AF network element is further configured to not support providing the terminal parameters to the AAnF network element if the commercial secret algorithm is not supported or the terminal parameters are not received;
[0022] The AAnF network element is further used to determine to use an international algorithm to derive the AKMA application key if the terminal parameters are not received when the commercial encryption algorithm is supported.
[0023] In the above communication system, the AF network element is configured with a third parameter, and the third parameter is used to indicate whether the AF network element supports a commercial secret algorithm;
[0024] The AF network element is configured to, when supporting a commercial encryption algorithm, send the third parameter to the terminal if the terminal parameter is received and the terminal parameter indicates that the terminal supports the commercial encryption algorithm;
[0025] The terminal is used to, when supporting the commercial encryption algorithm, if receiving the third parameter, determine to use the commercial encryption algorithm to communicate and interact with the AF network element when the third parameter indicates that the AF network element supports the commercial encryption algorithm, and determine to use the international algorithm to communicate and interact with the AF network element when the third parameter indicates that the AF network element does not support the commercial encryption algorithm.
[0026] In the above communication system, the AF network element is used to prohibit sending the third parameter to the terminal when the commercial encryption algorithm is not supported;
[0027] The terminal is used for, when supporting a commercial encryption algorithm, determining to use an international algorithm to communicate and interact with the AF network element if the third parameter is not received.
[0028] In the above communication system, the AAnF network element is used to derive the AKMA application key, send the AKMA application key to the AF network element, and send the second parameter to the AF network element when supporting the commercial secret algorithm;
[0029] The AF network element is configured to, when supporting a commercial encryption algorithm, send the second parameter to the terminal if the second parameter is received and the second parameter indicates that the AF network element supports the commercial encryption algorithm;
[0030] The terminal is used to, when supporting a commercial encryption algorithm, determine to use the commercial encryption algorithm to derive the AKMA application key if the second parameter is received, and the second parameter indicates that the AAnF network element supports the commercial encryption algorithm.
[0031] In the above communication system, the AF network element is further configured to, if the commercial secret algorithm is not supported or the second parameter is not received, not support providing the second parameter to the terminal;
[0032] The terminal is further configured to, when supporting a commercial encryption algorithm, determine to use an international algorithm to derive the AKMA application key if the second parameter is not received.
[0033] The embodiment of the present application provides a terminal, the terminal is configured with a terminal parameter, the terminal parameter is used to indicate whether the terminal supports a commercial secret algorithm, so that the AUSF network element, when supporting the commercial secret algorithm, determines the cryptographic algorithm used to derive the AKMA anchor key, and the AAnF network element, when supporting the commercial secret algorithm, determines the cryptographic algorithm used to derive the AKMA application key;
[0034] The AKMA anchor key is key information used to generate the AKMA application key.
[0035] The embodiment of the present application provides an AUSF network element, the AUSF network element is configured with a first parameter, the first parameter is used to indicate whether the AUSF network element supports a commercial secret algorithm, so that the terminal can determine the cryptographic algorithm used to derive the AKMA anchor key when the commercial secret algorithm is supported;
[0036] Among them, the AKMA anchor key is a shared key between the terminal and the AUSF network element.
[0037] The embodiment of the present application provides an AAnF network element, the AAnF network element is configured with a second parameter, the second parameter is used to indicate whether the AAnF network element supports a commercial secret algorithm, so that the terminal can determine the cryptographic algorithm used to derive the AKMA application key when the commercial secret algorithm is supported;
[0038] The AKMA application key is a shared key between the terminal and the AAnF network element.
[0039] The embodiment of the present application provides a communication method, which is applied to a communication system, wherein the communication system includes: a terminal, an AUSF network element and an AAnF network element, and the method includes:
[0040] configuring a terminal parameter for the terminal, the terminal parameter being used to indicate whether the terminal supports a commercial secret algorithm, so that the AUSF network element, when supporting the commercial secret algorithm, determines the cryptographic algorithm used to derive the AKMA anchor key, and the AAnF network element, when supporting the commercial secret algorithm, determines the cryptographic algorithm used to derive the AKMA application key;
[0041] Configuring a first parameter for the AUSF network element, where the first parameter is used to indicate whether the AUSF network element supports a commercial secret algorithm, so that the terminal can determine a cryptographic algorithm used to derive the AKMA anchor key when the commercial secret algorithm is supported;
[0042] Configuring a second parameter for the AAnF network element, where the second parameter is used to indicate whether the AAnF network element supports a commercial secret algorithm, so that the terminal can determine a cryptographic algorithm used to derive the AKMA application key when the commercial secret algorithm is supported;
[0043] The AKMA anchor key is key information used to generate the AKMA application key.
[0044] An embodiment of the present application provides a communication system, which includes: a terminal, an AUSF network element and an AAnF network element; the terminal is configured with a terminal parameter, the terminal parameter is used to indicate whether the terminal supports a commercial secret algorithm, so that the AUSF network element can determine the cryptographic algorithm used to derive an AKMA anchor key when the commercial secret algorithm is supported, and the AAnF network element can determine the cryptographic algorithm used to derive an AKMA application key when the commercial secret algorithm is supported; the AUSF network element is configured with a first parameter, the first parameter is used to indicate whether the AUSF network element supports the commercial secret algorithm, so that the terminal can determine the cryptographic algorithm used to derive the AKMA anchor key when the commercial secret algorithm is supported; the AAnF network element is configured with a second parameter, the second parameter is used to indicate whether the AAnF network element supports the commercial secret algorithm, so that the terminal can determine the cryptographic algorithm used to derive the AKMA application key when the commercial secret algorithm is supported; wherein the AKMA anchor key is a shared key between the terminal and the AUSF network element, the AKMA application key is a shared key between the terminal and the AAnF network element, and the AKMA anchor key is key information used to generate the AKMA application key. The communication system provided in the embodiment of the present application introduces various parameters for indicating whether the terminal, AUSF network element, and AAnF network element support commercial cryptographic algorithms, so that each network element can adaptively adopt the corresponding cryptographic algorithm based on these parameters, so that the protocol can be compatible with commercial cryptographic and international cryptographic algorithms. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 A schematic diagram of the structure of a communication system provided in an embodiment of the present application;
[0046] Figure 2 A schematic diagram of a process for deriving an AKMA anchor key provided in an embodiment of the present application;
[0047] Figure 3 A schematic diagram of a process for deriving an AKMA application key provided in an embodiment of the present application;
[0048] Figure 4 A schematic diagram of a process of requesting an AKMA application key through a NEF network element provided in an embodiment of the present application;
[0049] Figure 5 A schematic diagram of the structure of a terminal provided in an embodiment of the present application;
[0050] Figure 6 A schematic diagram of the structure of an AUSF network element provided in an embodiment of the present application;
[0051] Figure 7 A schematic diagram of the structure of an AAnF network element provided in an embodiment of the present application;
[0052] Figure 8 A flow chart of a communication method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0053] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0054] The following will specifically describe the technical solution of the present application and how the technical solution of the present application solves the above technical problems through embodiments and in conjunction with the accompanying drawings. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0055] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.
[0056] Definitions and descriptions of relevant terms in the embodiments of this application:
[0057] Terminal: A general term for mobile devices and user identification modules.
[0058] Authentication Server Function (AUSF) network element: The home network authenticates the terminal.
[0059] Unified Data Management (UDM) network element: stores user contract information, authentication data, etc.
[0060] Application layer authentication and key management AKMA Anchor Function (AAnF) network element: The core network element of AKMA, generally in the same home network as the terminal, is used for terminal authentication and key distribution.
[0061] Application Function (AF) network element: provides business services for terminals and authenticates terminals through AanF network elements.
[0062] In addition, the relevant process may also involve access and mobility management function (AMF) network elements and network exposure function (NEF) network elements.
[0063] Definitions and descriptions of relevant algorithms in the embodiments of this application:
[0064] Devices that support commercial encryption algorithms (including but not limited to terminals, AUSF network elements, UDM network elements, AAnF network elements, AF network elements) need to support international algorithms (such as AES, SHA256, etc.) and commercial encryption algorithms (mainly domestic commercial encryption algorithms, such as SM4, SM3, etc.).
[0065] Definition of key derivation functions (KDF): Refer to the definition of KDF in TS 33.220: KDF = HMAC (Key, S), where S is the input parameter and Key is the key used. The specific format of HMAC can refer to the definition in TS 33.220. If a commercial algorithm is used, HMAC can use SM3-HMAC, etc.; if an international algorithm is used, HMAC can use HMAC-SHA-256, etc. The algorithm replacement uses the same length key, input and output.
[0066] Definition of HASH: If a commercial algorithm is used, SM3 or the like can be used; if an international algorithm is used, SHA-256 or the like can be used. Algorithm replacement uses keys of the same length, input, and output.
[0067] The method for generating the authentication vector (AV(RAND,AUTN,XRES,CK,IK)) is defined in TS 33.102. If a commercial algorithm is used, SM4 or the like can be used; if an international algorithm is used, AES or the like can be used. Algorithm replacement uses keys of the same length, input, and output.
[0068] An embodiment of the present application provides a communication system. Figure 1 This is a schematic diagram of the structure of a communication system provided in an embodiment of the present application. Figure 1 As shown, in an embodiment of the present application, the communication system includes: a terminal, an AUSF network element and an AAnF network element;
[0069] The terminal is configured with a terminal parameter, which is used to indicate whether the terminal supports a commercial cryptographic algorithm, so that the AUSF network element determines the cryptographic algorithm used to derive the AKMA anchor key when the commercial cryptographic algorithm is supported, and the AAnF network element determines the cryptographic algorithm used to derive the AKMA application key when the commercial cryptographic algorithm is supported;
[0070] The AUSF network element is configured with a first parameter, and the first parameter is used to indicate whether the AUSF network element supports a commercial secret algorithm, so that the terminal can determine the cryptographic algorithm used to derive the AKMA anchor key when the commercial secret algorithm is supported;
[0071] The AAnF network element is configured with a second parameter, and the second parameter is used to indicate whether the AAnF network element supports a commercial secret algorithm, so that the terminal can determine the cryptographic algorithm used to derive the AKMA application key when the commercial secret algorithm is supported;
[0072] Among them, the AKMA anchor key is the shared key between the terminal and the AUSF network element, the AKMA application key is the shared key between the terminal and the AAnF network element, and the AKMA anchor key is the key information used to generate the AKMA application key.
[0073] In an embodiment of the present application, the terminal, AUSF network element and AAnF network element are respectively configured with parameters indicating whether they support commercial cryptographic algorithms. These parameters can be used by each network element to select a suitable cryptographic algorithm to derive a specific key when cooperating with the terminal AKMA authentication, thereby realizing adaptive selection of the cryptographic algorithm and improving the flexibility of AKMA authentication.
[0074] In an embodiment of the present application, the terminal parameters and the first parameter used to indicate whether the terminal and the AUSF network element support the commercial encryption algorithm involve the derivation and anchoring of the AKMA anchor key after the main authentication.
[0075] In an embodiment of the present application, the terminal is used to obtain the first parameter from the AUSF network element when the commercial encryption algorithm is supported and the terminal is in the derivation and acquisition stage of the AKMA anchor key;
[0076] The terminal is used to determine to use the commercial encryption algorithm to derive the AKMA anchor key if the first parameter indicates that the AUSF network element supports the commercial encryption algorithm; if the first parameter indicates that the AUSF network element does not support the commercial encryption algorithm, determine to use the international algorithm to derive the AKMA anchor key.
[0077] In an embodiment of the present application, the AUSF network element is used to obtain terminal parameters from the terminal when the commercial encryption algorithm is supported and the AUSF network element is in the derivation and acquisition stage of the AKMA anchor key;
[0078] The AUSF network element is used to determine the use of the commercial encryption algorithm to derive the AKMA anchor key if the terminal parameters indicate that the terminal supports the commercial encryption algorithm; if the terminal parameters indicate that the terminal does not support the commercial encryption algorithm, determine the use of the international algorithm to derive the AKMA anchor key.
[0079] In an embodiment of the present application, AKMA authentication can reuse 5G main authentication to authenticate the terminal, for example, performing a 5G main authentication process during terminal registration. After a successful 5G main authentication, the AKMA anchor key should be stored in the AUSF network element and the terminal. Among them, if the AUSF network element and the terminal support a commercial secret algorithm, the AUSF network element determines the cryptographic algorithm used to derive the AKMA anchor key based on the parameters configured by the terminal, and the terminal determines the cryptographic algorithm used to derive the AKMA anchor key based on the first parameter configured by the AUSF network element. The specific steps are described in detail below in conjunction with the relevant drawings.
[0080] Figure 2 A schematic diagram of a process for deriving an AKMA anchor key provided in an embodiment of the present application. Figure 2 As shown, in an embodiment of the present application, deriving the AKMA anchor key mainly involves the following steps:
[0081] S101. The AUSF network element sends a Nudm_UEAuthentication_Get request to the UDM network element to obtain a subscription credential and an authentication method; wherein the subscription credential may be an AKA authentication vector.
[0082] It should be noted that in the embodiments of the present application, see Figure 2 ,AUSF sends a Nudm_UEAuthentication_Get request to the UDM network element during the primary authentication process.
[0083] After the main authentication of the terminal and AUSF network element is completed, the terminal and AUSF network element mainly involve the following new contents:
[0084] The terminal supporting the commercial encryption algorithm saves AUSF_AS, which is the first parameter used to indicate whether the AUSF network element supports the commercial encryption algorithm. Otherwise, there is no such parameter.
[0085] The AUSF network element that supports the commercial encryption algorithm saves UE_AS, which is the terminal parameter used to indicate whether the terminal supports the commercial encryption algorithm. Otherwise, there is no such parameter.
[0086] S102. The UDM network element sends a Nudm_UEAuthentication_Get response to the AUSF network element.
[0087] It should be noted that in the embodiment of the present application, in the Nudm_UEAuthentication_Get response, the UDM network element can also indicate to the AUSF network element whether it is necessary to generate an AKMA anchor key for the terminal. If the message carries an AKMA indication, the UDM network element should also carry and send the RID information of the terminal.
[0088] S103, AUSF network element according to K AUSF Generate K AKMA , generate A-KID.
[0089] It should be noted that, in the embodiment of the present application, when the AUSF network element receives the AKMA indication, the AUSF network element should store K AUSF , and after the primary authentication process is successfully completed by K AUSF Derived K AKMA and AKMA key identification A-KID, where K AUSF That is, K AKMA This is the AKMA anchor key mentioned above.
[0090] In this step, the following new contents are mainly involved:
[0091] AUSF network elements that do not support commercial encryption algorithms use international encryption algorithms through K AUSF Calculate K AKMA and A-KID;
[0092] AUSF network elements that support commercial encryption algorithms perform the following processing according to UE_AS: If UE_AS indicates that the terminal supports commercial encryption algorithms, the commercial encryption algorithm is used to pass K AUSF Calculate K AKMA and A-KID, otherwise the international password is used for calculation.
[0093] S104, the terminal according to K AUSF Generate K AKMA , generate A-KID.
[0094] It should be noted that, in the embodiment of the present application, the terminal should obtain the K AUSF Derived K AKMA and A-KID.
[0095] In this step, the following new contents are mainly involved:
[0096] Terminals that do not support commercial encryption algorithms use international encryption algorithms through K AUSF Calculate K AKMA and A-KID;
[0097] Terminals that support commercial encryption algorithms perform the following processing according to AUSF_AS: If AUSF_AS indicates that the AUSF network element supports commercial encryption, the commercial encryption algorithm is used to pass K AUSF Calculate K AKMA and A-KID, otherwise the international password is used for calculation.
[0098] S105. The AUSF network element sends a Naanf_AKMA_AnchorKey_Register request to the AAnF network element.
[0099] It should be noted that, in the embodiment of the present application, after the AUSF network element generates the AKMA key material, the AUSF network element selects the AAnF network element and uses the Naanf_AKMA_AnchorKey_Register request service operation to register the generated A-KID, K AKMA The AKMA context is sent to the AAnF network element together with the terminal's Subscriber Permanent Identifier (SUPI). The AAnF network element shall store the latest AKMA context sent by the AUSF network element.
[0100] S106. The AAnF network element sends a Naanf_AKMA_AnchorKey_Register response to the AUSF network element.
[0101] It should be noted that, in the embodiment of the present application, A-KID identifies the K AKMA , A-KID shall adopt the NAI format specified in Article 2.2 of IETF RFC 7542, namely username@realm. The username part shall include the routing identifier and A-TID (AKMA temporary terminal identifier), and the realm part shall include the home network identifier. A-TID is an AKMA temporary terminal identifier and shall be generated by K AKMA The key derivation function (KDF) specified in 3GPP TS 33.220 shall be used to derive K from AUSF Derived K AKMAand A-KID.
[0102] In the embodiments of the present application, the terminal parameters and the second parameter used to indicate whether the terminal and the AAnF network element support the commercial encryption algorithm also involve the derivation and acquisition of the AKMA application key.
[0103] In an embodiment of the present application, the communication system further includes: an AF network element; the AF network element is used to communicate and interact with the terminal and the AAnF network element.
[0104] In an embodiment of the present application, the terminal is used to send terminal parameters to the AF network element when the commercial secret algorithm is supported and the terminal is in the derivation and acquisition stage of the AKMA application key;
[0105] The AF network element is used to send the terminal parameters to the AAnF network element when the terminal parameter indicates that the terminal supports the commercial encryption algorithm if the terminal parameter is received.
[0106] The AAnF network element is used to determine the use of the commercial encryption algorithm to derive the AKMA application key when a terminal parameter is received and the terminal parameter indicates that the terminal supports the commercial encryption algorithm.
[0107] The AF network element is also used to not support providing terminal parameters to the AAnF network element when the commercial encryption algorithm is not supported or the terminal parameters are not received;
[0108] The AAnF network element is also used to determine the use of an international algorithm to derive an AKMA application key if no terminal parameters are received when the commercial encryption algorithm is supported.
[0109] In an embodiment of the present application, the AAnF network element is used to derive an AKMA application key, and while sending the AKMA application key to the AF network element, sends a second parameter to the AF network element when supporting a commercial secret algorithm;
[0110] The AF network element is used to send the second parameter to the terminal when the second parameter is received and indicates that the AF network element supports the commercial encryption algorithm.
[0111] The terminal is used to support the commercial encryption algorithm, and if the second parameter is received, the second parameter indicates that the AAnF network element supports the commercial encryption algorithm, determine to use the commercial encryption algorithm to derive the AKMA application key.
[0112] The AF network element is further configured to not support providing the second parameter to the terminal when the commercial encryption algorithm is not supported or the second parameter is not received;
[0113] The terminal is further configured to, when supporting a commercial encryption algorithm, determine to use an international algorithm to derive an AKMA application key if the second parameter is not received.
[0114] In an embodiment of the present application, the AKMA application key is derived by the AAnF network element and the terminal, wherein, if the AAnF network element and the terminal support a commercial secret algorithm, the AAnF network element determines the cryptographic algorithm used to derive the AKMA application key based on parameters configured by the terminal, and the terminal determines the cryptographic algorithm used to derive the AKMA application key based on a second parameter configured by the AAnF network element.
[0115] Furthermore, in an embodiment of the present application, during the AKMA application key derivation and acquisition phase, the AF network element and the terminal may also determine the cryptographic algorithm to be used for communication and interaction between them based on whether the other party supports the commercial secret algorithm.
[0116] In an embodiment of the present application, the AF network element is configured with a third parameter, and the third parameter is used to indicate whether the AF network element supports a commercial secret algorithm;
[0117] The AF network element is used to send a third parameter to the terminal if a terminal parameter is received and the terminal parameter indicates that the terminal supports the commercial encryption algorithm when the commercial encryption algorithm is supported;
[0118] The terminal is used to support the commercial encryption algorithm. If the third parameter is received, the terminal determines to use the commercial encryption algorithm to communicate and interact with the AF network element when the third parameter indicates that the AF network element supports the commercial encryption algorithm; when the third parameter indicates that the AF network element does not support the commercial encryption algorithm, determine to use the international algorithm to communicate and interact with the AF network element.
[0119] In an embodiment of the present application, the AF network element is further configured to prohibit sending the third parameter to the terminal when the commercial encryption algorithm is not supported;
[0120] The terminal is used to determine to use the international algorithm to communicate and interact with the AF network element if the third parameter is not received when the commercial encryption algorithm is supported.
[0121] The following, in conjunction with the relevant drawings, describes in detail the specific steps for the derivation of the above-mentioned AKMA application key and the method for determining the cryptographic algorithm used for communication and interaction between the AF network element and the terminal.
[0122] Figure 3 A schematic diagram of a process for deriving an AKMA application key provided in an embodiment of the present application. Figure 3 As shown, in the embodiment of the present application, when the AF network element is located inside the operator network, the AF network element directly requests the AKMA application key, that is, K AF Before the communication between the terminal and the AF network element begins, the terminal and the AF network element need to know whether AKMA can be used. In the embodiment of the present application, deriving the AKMA application key mainly involves the following steps:
[0123] S201. The terminal sends an application session establishment request to the AF network element.
[0124] It should be noted that, in the embodiment of the present application, when the terminal initiates communication with the AF network element, it should include the A-KID in the application session establishment request. After receiving the application session establishment response, the terminal derives the K AF , where K AF This is the AKMA application key mentioned above.
[0125] In this step, the following new contents are mainly involved: the terminal that supports the commercial encryption algorithm should include UE_AS in the request, otherwise this parameter may not be included.
[0126] S202. The AF network element sends a Naanf_AKMA_ApplicationKey_Get request to the AAnF network element.
[0127] It should be noted that in the embodiment of the present application, if the AF network element does not have the activation context and key associated with the A-KID, the AF network element sends a Naanf_AKMA_ApplicationKey_Get message to the AAnF network element to request the KID of the terminal. AF The message carries the A-KID and the AF network element identifier, namely, AF_ID. The AF_ID includes the FQDN of the AF network element and the Ua* protocol identifier, where the Ua* protocol identifier is used to identify the security protocol used between the AF network element and the terminal.
[0128] In this step, the following new contents are mainly involved:
[0129] If the AF network element supports the commercial encryption algorithm: the AF network element shall identify and save the UE_AS. If the UE_AS indicates that the terminal supports the commercial encryption algorithm, the UE_AS shall be included in the Naanf_AKMA_ApplicationKey_Get message, otherwise the parameter may not be included;
[0130] If the AF network element does not support the commercial encryption algorithm: UE_AS, etc. can be ignored.
[0131] S203, AAnF network element according to K AKMA Derived K AF .
[0132] It should be noted that, in the embodiment of the present application, if the AAnF network element does not have K AF , then the AAnF network element consists of K AKMA Derived K AF .
[0133] In this step, the following new contents are mainly involved:
[0134] If the AAnF network element supports the commercial encryption algorithm: The AAnF network element shall identify and save the UE_AS. If the UE_AS indicates that the terminal supports the commercial encryption algorithm, the commercial encryption algorithm shall be used to generate the K AKMA Derived K AF , otherwise the international algorithm is used for derivation;
[0135] If the AAnF network element does not support the commercial encryption algorithm: UE_AS can be ignored and the international algorithm can be used for derivation.
[0136] S204, the AAnF network element sends a Naanf_AKMA_ApplicationKey_Get response to the AF network element, in which the response carries K AF , K AF Life cycle and SUPI.
[0137] In this step, the following new contents are mainly involved:
[0138] If the AAnF network element supports the commercial encryption algorithm: the AAnF network element shall include AAnF_AS in the Naanf_AKMA_ApplicationKey_GetResponse message, where AAnF_AS is the second parameter used to indicate whether the AAnF network element supports the commercial encryption algorithm;
[0139] If the AAnF network element does not support the commercial encryption algorithm: it can be executed according to the original protocol.
[0140] S205. The AF network element sends an application session establishment response to the terminal.
[0141] In this step, the following new contents are mainly involved:
[0142] If the AF network element supports the commercial encryption algorithm: the AF network element shall include the obtained AAnF_AS and AF_AS in the application session establishment response; wherein AF_AS is the third parameter used to indicate whether the AF network element supports the commercial encryption algorithm;
[0143] If the AF network element does not support the commercial encryption algorithm: it can be executed according to the original protocol.
[0144] After the terminal receives the application session establishment response, if the terminal supports the commercial encryption algorithm: the terminal shall identify and save AAnF_AS and AF_AS, determine whether the AAnF network element supports the commercial encryption algorithm, and if the AAnF network element supports the commercial encryption algorithm, the commercial encryption algorithm shall be used by K AKMA Derived K AF If AF supports the commercial algorithm, the subsequent communication process should be calculated using the commercial algorithm, otherwise the international algorithm should be used;
[0145] If the terminal does not support commercial encryption: use the international algorithm to derive KAF, and use the international algorithm in subsequent communication processes.
[0146] In the examples of this application, see Figure 3 When the AF network element is located inside the operator network, the AF network element directly requests the AKMA application key from the AAnF network element. In addition, when the AF network element is located outside the operator network, the AF network element can request the AKMA application key from the 5G core network through the NEF network element. See Figure 4 As shown, the specific steps include:
[0147] S301. The AF network element sends a Nnef_AKMA_AFKey request to the AAnF network element.
[0148] It should be noted that in an embodiment of the present application, when the AF network element requests the AKMA application key from the AAnF network element, for example, when the terminal initiates an application layer session establishment request, the AF network element uses the A-KID to discover the home network HPLMN to which the current terminal belongs, and then initiates a request to the AAnF network element through the service interface of the NEF network element, wherein the request should carry the A-KID and AF_ID.
[0149] In this step, the following new contents are mainly involved:
[0150] If the terminal supports the commercial encryption algorithm, UE_AS should be included in the application layer session establishment request, otherwise the original protocol can be executed.
[0151] If the AF network element supports the commercial encryption algorithm: the AF network element shall identify and save the UE_AS. If the UE_AS indicates that the terminal supports the commercial encryption algorithm, the UE_AS and AF_AS shall be included in the Nnef_AKMA_AFKey request, otherwise the parameter may not be included;
[0152] If the AF network element does not support the commercial encryption algorithm: UE_AS, etc. can be ignored.
[0153] S302. The NEF network element selects the AAnF network element. Specifically, the NEF network element discovers and selects the AAnF network element according to local configuration.
[0154] S303. The NEF network element sends a Nnef_AKMA_AFKey request to the AAnF.
[0155] S304, the AAnF network element sends a Naanf_AKMA_AFKey response to the NEF network element, which carries K AF , K AF The validity period and SUPI.
[0156] In this step, the following new contents are mainly involved:
[0157] If the AAnF network element supports the commercial encryption algorithm: The AAnF network element shall identify and save the UE_AS and AF_AS. If the UE_AS indicates that the terminal supports the commercial encryption algorithm, the commercial encryption algorithm shall be used to generate K AKMA Derived K AF , otherwise the international algorithm is used for derivation. The AAnF network element includes AAnF_AS in the response message;
[0158] If the AAnF network element does not support the commercial encryption algorithm: UE_AS and AF_AS can be ignored, and K can be derived using the international algorithm AF .
[0159] S305, the NEF network element sends a Naanf_AKMA_AFKey response to the AF network element, which carries K AF , K AF life cycle.
[0160] After this step, the AF network element sends an application session establishment response to the terminal, which mainly involves the following new contents:
[0161] After the terminal receives the return message from the AF network element, if the terminal supports the commercial encryption algorithm: the terminal shall identify and save AAnF_AS and AF_AS, determine whether the AAnF network element supports the commercial encryption algorithm, and if the AAnF network element supports the commercial encryption algorithm, the commercial encryption algorithm shall be used by K AKMA Derived K AF If AF supports the commercial algorithm, the subsequent communication process should be calculated using the commercial algorithm, otherwise the international algorithm should be used;
[0162] If the terminal does not support commercial encryption: use the international algorithm to derive K AF , the subsequent communication process uses the international algorithm.
[0163] It should be noted that, in the embodiments of the present application, Figure 3 and Figure 4 The processes shown correspond to the AKMA application key acquisition methods of the AF network element in the scenarios where the AF network element is located inside and outside the operator network, respectively. The contents of the algorithm negotiation are similar. The main difference is that in the scenario where the AF network element is located outside the operator network, communication forwarding is achieved by introducing the NEF network element.
[0164] In the embodiments of the present application, first, it is compatible with the original AKMA protocol, and is adaptively compatible with commercial encryption algorithms and international encryption algorithms; second, it supports various scenarios, and the AKMA authentication protocol can also operate normally when any of the network elements do not support commercial encryption, ensuring the interconnection and interoperability of the protocols in various scenarios. For example: the UE does not support the commercial encryption algorithm, and the AKMA authentication protocol can operate normally; third, the parameters used to indicate whether the terminal, AUSF network element, and AAnF network element support the commercial encryption algorithm can be reflected in the form of newly added parameters, or by using the extended fields of the original protocol, without much modification to the original protocol, and the equipment is easy to modify.
[0165] The embodiment of the present application provides a terminal, Figure 5 A schematic diagram of the structure of a terminal provided in an embodiment of the present application. Figure 5 As shown, the terminal includes: a first processor 11, a first memory 12 and a first communication bus 13; the terminal is configured with terminal parameters, the terminal parameters are used to indicate whether the terminal supports the commercial secret algorithm, so that the AUSF network element determines the cryptographic algorithm used to derive the AKMA anchor key when the commercial secret algorithm is supported, and the AAnF network element determines the cryptographic algorithm used to derive the AKMA application key when the commercial secret algorithm is supported; wherein the AKMA anchor key is the key information used to generate the AKMA application key;
[0166] A first communication bus 13, used to realize a communication connection between the first processor 11 and the first memory 12;
[0167] The first processor 11 is used to execute one or more computer programs stored in the first memory 12 to perform related operations of the terminal in the communication system.
[0168] The embodiment of the present application provides an AUSF network element, Figure 6 A schematic diagram of the structure of an AUSF network element provided in an embodiment of the present application. Figure 6 As shown, the AUSF network element includes: a second processor 21, a second memory 22 and a second communication bus 23; the AUSF network element is configured with a first parameter, the first parameter is used to indicate whether the AUSF network element supports a commercial secret algorithm, so that the terminal can determine the cryptographic algorithm used to derive the AKMA anchor key when the commercial secret algorithm is supported; wherein the AKMA anchor key is a shared key between the terminal and the AUSF network element;
[0169] A second communication bus 23, used to realize the communication connection between the second processor 21 and the second memory 22;
[0170] The second processor 21 is used to execute one or more computer programs stored in the second memory 22 to implement related operations of the AUSF network element in the communication system.
[0171] The embodiment of the present application provides an AAnF network element, Figure 7 A schematic diagram of the structure of an AAnF network element provided in an embodiment of the present application. Figure 7 As shown, the AAnF network element includes: a third processor 31, a third memory 32 and a third communication bus 33; the AAnF network element is configured with a second parameter, and the second parameter is used to indicate whether the AAnF network element supports a commercial secret algorithm, so that the terminal can determine the cryptographic algorithm used to derive the AKMA application key when the commercial secret algorithm is supported; wherein the AKMA application key is a shared key between the terminal and the AAnF network element;
[0172] A third communication bus 33, used to realize the communication connection between the third processor 31 and the second memory 32;
[0173] The third processor 31 is used to execute one or more computer programs stored in the third memory 32 to implement related operations of the AAnF network element in the communication system.
[0174] An embodiment of the present application provides a communication method, which is applied to a communication system, wherein the communication system includes: a terminal, an AUSF network element and an AAnF network element. Figure 8 A flow chart of a communication method provided in an embodiment of the present application. Figure 8 As shown, the method includes:
[0175] S401. Configure terminal parameters for the terminal, where the terminal parameters are used to indicate whether the terminal supports a commercial secret algorithm, so that the AUSF network element, when supporting the commercial secret algorithm, determines the cryptographic algorithm used to derive the AKMA anchor key, and the AAnF network element, when supporting the commercial secret algorithm, determines the cryptographic algorithm used to derive the AKMA application key;
[0176] S402, configuring a first parameter for the AUSF network element, where the first parameter is used to indicate whether the AUSF network element supports a commercial secret algorithm, so that the terminal can determine the cryptographic algorithm used to derive the AKMA anchor key when the commercial secret algorithm is supported;
[0177] S403, configuring a second parameter for the AAnF network element, where the second parameter is used to indicate whether the AAnF network element supports a commercial secret algorithm, so that the terminal can determine the cryptographic algorithm used to derive the AKMA application key when the commercial secret algorithm is supported;
[0178] The AKMA anchor key is the key information used to generate the AKMA application key.
[0179] The embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and the computer program implements the above method when executed by a processor. The computer-readable storage medium may be a volatile memory (volatile memory), such as a random access memory (Random-Access Memory, RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory (Read-Only Memory, ROM), a flash memory (flash memory), a hard disk (Hard Disk Drive, HDD) or a solid-state drive (Solid-State Drive, SSD); or may be a respective device including one or any combination of the above memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc.
[0180] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.
[0181] The present application is described with reference to implementation flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0182] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which is implemented in the implementation flow diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0183] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing the steps in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0184] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed in the utility application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A communication system, characterized in that: The communication system comprises: a terminal, an authentication server function AUSF network element and an application layer authentication and key management AKMA anchor function AAnF network element; The terminal is configured with a terminal parameter, and the terminal parameter is used to indicate whether the terminal supports a commercial secret algorithm, so that the AUSF network element determines the cryptographic algorithm used to derive the AKMA anchor key when the commercial secret algorithm is supported, and the AAnF network element determines the cryptographic algorithm used to derive the AKMA application key when the commercial secret algorithm is supported; The AUSF network element is configured with a first parameter, where the first parameter is used to indicate whether the AUSF network element supports a commercial cryptographic algorithm, so that the terminal can determine a cryptographic algorithm used to derive the AKMA anchor key when the commercial cryptographic algorithm is supported; The AAnF network element is configured with a second parameter, where the second parameter is used to indicate whether the AAnF network element supports a commercial secret algorithm, so that the terminal can determine a cryptographic algorithm used to derive the AKMA application key when the commercial secret algorithm is supported; Among them, the AKMA anchor key is a shared key between the terminal and the AUSF network element, the AKMA application key is a shared key between the terminal and the AAnF network element, and the AKMA anchor key is key information used to generate the AKMA application key.
2. The communication system according to claim 1, characterized in that The terminal is configured to obtain the first parameter from the AUSF network element when the commercial encryption algorithm is supported and the terminal is in the derivation and acquisition stage of the AKMA anchor key; The terminal is used to determine to use the commercial encryption algorithm to derive the AKMA anchor key if the first parameter indicates that the AUSF network element supports the commercial encryption algorithm; if the first parameter indicates that the AUSF network element does not support the commercial encryption algorithm, determine to use the international algorithm to derive the AKMA anchor key.
3. The communication system according to claim 1, characterized in that: The AUSF network element is used to obtain the terminal parameter from the terminal when the AUSF network element supports a commercial encryption algorithm and is in the derivation and acquisition phase of the AKMA anchor key; The AUSF network element is used to determine to use the commercial encryption algorithm to derive the AKMA anchor key if the terminal parameters indicate that the terminal supports the commercial encryption algorithm; if the terminal parameters indicate that the terminal does not support the commercial encryption algorithm, determine to use the international algorithm to derive the AKMA anchor key.
4. The communication system according to claim 1, characterized in that: The communication system further comprises: an application function AF network element; The AF network element is used to communicate and interact with the terminal and the AAnF network element.
5. The communication system according to claim 4, characterized in that: The terminal is used to send the terminal parameter to the AF network element when the commercial secret algorithm is supported and the terminal is in the derivation and acquisition stage of the AKMA application key; The AF network element is configured to, when supporting a commercial encryption algorithm, send the terminal parameter to the AAnF network element if the terminal parameter is received and the terminal parameter indicates that the terminal supports the commercial encryption algorithm; The AAnF network element is used to determine to use the commercial encryption algorithm to derive the AKMA application key if the terminal parameter is received and the terminal parameter indicates that the terminal supports the commercial encryption algorithm.
6. The communication system according to claim 5, characterized in that: The AF network element is further configured to, when not supporting a commercial encryption algorithm or not receiving the terminal parameters, not support providing the terminal parameters to the AAnF network element; The AAnF network element is further used to determine to use an international algorithm to derive the AKMA application key if the terminal parameters are not received when the commercial encryption algorithm is supported.
7. The communication system according to claim 5, characterized in that: The AF network element is configured with a third parameter, and the third parameter is used to indicate whether the AF network element supports a commercial encryption algorithm; The AF network element is configured to, when supporting a commercial encryption algorithm, send the third parameter to the terminal if the terminal parameter is received and the terminal parameter indicates that the terminal supports the commercial encryption algorithm; The terminal is used to, when supporting the commercial encryption algorithm, if receiving the third parameter, determine to use the commercial encryption algorithm to communicate and interact with the AF network element when the third parameter indicates that the AF network element supports the commercial encryption algorithm, and determine to use the international algorithm to communicate and interact with the AF network element when the third parameter indicates that the AF network element does not support the commercial encryption algorithm.
8. The communication system according to claim 7, characterized in that: The AF network element is used to prohibit sending the third parameter to the terminal when the commercial encryption algorithm is not supported; The terminal is used for, when supporting a commercial encryption algorithm, determining to use an international algorithm to communicate and interact with the AF network element if the third parameter is not received.
9. The communication system according to claim 5, characterized in that: The AAnF network element is used to derive the AKMA application key, send the AKMA application key to the AF network element, and send the second parameter to the AF network element when supporting the commercial secret algorithm; The AF network element is configured to, when supporting a commercial encryption algorithm, send the second parameter to the terminal if the second parameter is received and the second parameter indicates that the AF network element supports the commercial encryption algorithm; The terminal is used to, when supporting a commercial encryption algorithm, determine to use the commercial encryption algorithm to derive the AKMA application key if the second parameter is received, and the second parameter indicates that the AAnF network element supports the commercial encryption algorithm.
10. The communication system according to claim 9, characterized in that: The AF network element is further configured to, when not supporting the commercial encryption algorithm or not receiving the second parameter, not support providing the second parameter to the terminal; The terminal is further configured to, when supporting a commercial encryption algorithm, determine to use an international algorithm to derive the AKMA application key if the second parameter is not received.
11. A terminal, characterized in that: The terminal is configured with a terminal parameter, the terminal parameter is used to indicate whether the terminal supports a commercial secret algorithm, so that the AUSF network element determines the cryptographic algorithm used to derive the AKMA anchor key when the commercial secret algorithm is supported, and the AAnF network element determines the cryptographic algorithm used to derive the AKMA application key when the commercial secret algorithm is supported; The AKMA anchor key is key information used to generate the AKMA application key.
12. An AUSF network element, characterized in that: The AUSF network element is configured with a first parameter, where the first parameter is used to indicate whether the AUSF network element supports a commercial cryptographic algorithm, so that the terminal determines a cryptographic algorithm used to derive an AKMA anchor key when the commercial cryptographic algorithm is supported; Among them, the AKMA anchor key is a shared key between the terminal and the AUSF network element.
13. An AAnF network element, characterized in that: The AAnF network element is configured with a second parameter, where the second parameter is used to indicate whether the AAnF network element supports a commercial secret algorithm, so that the terminal can determine the cryptographic algorithm used to derive the AKMA application key when the commercial secret algorithm is supported; The AKMA application key is a shared key between the terminal and the AAnF network element.
14. A communication method, characterized in that: Applied to a communication system, the communication system comprising: a terminal, an AUSF network element and an AAnF network element, the method comprising: configuring a terminal parameter for the terminal, the terminal parameter being used to indicate whether the terminal supports a commercial secret algorithm, so that the AUSF network element, when supporting the commercial secret algorithm, determines the cryptographic algorithm used to derive the AKMA anchor key, and the AAnF network element, when supporting the commercial secret algorithm, determines the cryptographic algorithm used to derive the AKMA application key; Configuring a first parameter for the AUSF network element, where the first parameter is used to indicate whether the AUSF network element supports a commercial secret algorithm, so that the terminal can determine a cryptographic algorithm used to derive the AKMA anchor key when the commercial secret algorithm is supported; Configuring a second parameter for the AAnF network element, where the second parameter is used to indicate whether the AAnF network element supports a commercial secret algorithm, so that the terminal can determine a cryptographic algorithm used to derive the AKMA application key when the commercial secret algorithm is supported; The AKMA anchor key is key information used to generate the AKMA application key.
