Communication method and communication device

By using the certificate information of the terminal device to determine the user's permanent identity during the EAP-TLS authentication process, the problem of user identity leakage in EAP-TLS authentication is solved, and anonymous identity authentication and communication security guarantee of the terminal device are achieved.

CN118611892APending Publication Date: 2024-09-06HUAWEI TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310245856.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-06
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

During the EAP-TLS authentication process, user identities may be leaked, resulting in compromised communication security. Existing technologies are difficult to effectively protect the anonymity and identity privacy of terminal devices.

Method used

By using the certificate information of the terminal device to determine the user's permanent identity in the communication between the authentication service function and the unified data management function, anonymous identity authentication of the terminal device is achieved during the EAP-TLS authentication process, avoiding user identity leakage, and Ensure communication security.

Benefits of technology

It effectively protects the anonymity and identity privacy of the terminal device, prevents user identity leakage, ensures communication security between the terminal device and the network side, and improves authentication efficiency and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118611892A
    Figure CN118611892A
Patent Text Reader

Abstract

The invention provides a communication method and a communication device, and the method comprises the steps that an authentication service function receives an authentication request message of terminal equipment, and the authentication request message comprises a user hidden identifier of the terminal equipment; the authentication service function sends a first request message to a unified data management function according to the authentication request message, the first request message is used for acquiring a user permanent identifier of the terminal device, and the first request message carries a certificate of the UE or carries information in the certificate of the UE; the authentication service function receives a response message sent by the unified data management function, the response message comprises a user permanent identifier, and the user permanent identifier corresponds to information in a certificate of the terminal equipment; the authentication service function determines a secure anchor function key based on the user permanent identity. According to the method provided by the invention, the permanent identifier of the user can be determined by using the information in the certificate of the terminal equipment, and the communication security of the terminal equipment and the network side is ensured on the basis of ensuring the security of the UE.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and more specifically, to a communication method and a communication device. Background Art

[0002] In order to ensure the security of communication between terminal devices, access networks and core networks, authentication is required between terminal devices and core networks to ensure that the network is not used by illegal users and that users do not access illegal networks.

[0003] The transport layer security (TLS) protocol is a widely used authentication and secure transmission protocol. The TLS protocol obtains a shared session key between the two parties through identity authentication, which is used for encryption and authentication of subsequent communication content, that is, confidentiality and integrity protection. In general, the TLS protocol completes the server authentication, and other authentication protocols complete the client authentication, such as the extensible authentication protocol (EAP).

[0004] EAP-TLS authentication is based on mutual verification of digital certificates between the client and the server. It is a two-way authentication method. First, the server provides a certificate to the client. After the client verifies the server's certificate, it submits the client's digital certificate to the server. When using EAP-TLS authentication, there may be a risk of leaking the user's identity. Summary of the invention

[0005] The present application provides a communication method and a communication device.

[0006] In a first aspect, a communication method is provided. The method provided in the first aspect can be executed by an authentication service function, or can be executed by a chip configured in the authentication service function, and this application does not limit this.

[0007] Specifically, the method includes: an authentication service function receives an authentication request message of a terminal device, the authentication request message includes a hidden user identifier of the terminal device; the authentication service function sends a first request message to a unified data management function based on the authentication request message, the first request message is used to obtain a permanent user identifier of the terminal device, the first request message carries a certificate of the terminal device, or carries information in a certificate of the terminal device; the authentication service function receives a response message sent by the unified data management function, the response message includes a permanent user identifier, and the permanent user identifier corresponds to information in the certificate of the terminal device; the authentication service function determines a security anchor function key based on the permanent user identifier.

[0008] The communication method provided in the first aspect, in order to ensure that the identity of the user terminal is not disclosed, when the terminal device sends a registration request message to the authentication service function, it carries an anonymous user hidden identifier, that is, the user hidden identifier of the terminal device includes the domain name of the terminal device, but does not include the user name of the terminal device. In order to complete the security authentication of the terminal device and the authentication service function, the authentication service function can send a first request message to the unified data management function, and the first request message carries the certificate of the terminal device or the information in the certificate, and the first request message is used to obtain the user permanent identifier of the terminal device. Then, the authentication service function receives a response message sent by the unified data management function, and the response message includes the user permanent identifier of the terminal device, and the user permanent identifier corresponds to the information in the certificate of the terminal device. Therefore, the authentication service function can obtain the user permanent identifier of the UE through the response message, that is, the authentication service function can know which terminal device initiated the authentication request, so that the security anchor function key can be determined according to the user permanent identifier, and finally the identity authentication of the terminal device and the authentication service function is completed. The method provided by the present application can use the information in the certificate of the terminal device to determine the user permanent identification of the terminal device when the terminal device carries an anonymous user hidden identification during the EAP-TLS authentication process, thereby ensuring the security of the terminal device, avoiding the disclosure of the user identity, and ensuring the communication security between the terminal device and the network side.

[0009] It should be noted that the response message also includes the contract information of the terminal device. The authentication service can obtain the contract information of the terminal device through the response message, so as to provide corresponding services for the terminal device.

[0010] Optionally, the contract signing information may include AKMA service indication information.

[0011] It should also be noted that the information in the certificate of the terminal device can be understood as the information contained in the certificate of the terminal device. For example, the name, serial number, subject ID, subject name, or subject alternative name contained in the certificate. Of course, the information in the certificate of the terminal device may also include other information that can identify the terminal device. The embodiments of the present application do not specifically limit the information contained in the certificate.

[0012] In a possible implementation of the first aspect, before the authentication service function sends the first request message to the unified data management function according to the authentication request message, the method further includes: the authentication service function sends a second request message to the unified data management function, the second request message carries a user hidden identifier; the authentication service function receives the indication information sent by the unified data management function, the indication information is used to indicate the authentication method of the terminal device; the authentication service function sends the authentication method of the terminal device to the terminal device; the authentication service function receives the certificate of the terminal device sent by the terminal device, the certificate of the terminal device carries the information in the certificate of the terminal device. In this implementation, the authentication service function sends a message requesting authentication to the unified data management, the message carries the user hidden identifier, and then the authentication service function receives the indication information sent by the unified data management function. Since the second request message only carries an anonymous user hidden identifier, the indication information only includes the authentication method of the terminal device. Then the terminal device sends the certificate of the terminal device to the authentication service function according to the authentication method, and the authentication service function can obtain the user permanent identifier of the terminal device by carrying the certificate of the terminal device.

[0013] In a second aspect, a communication method is provided. The method provided in the second aspect can be executed by a unified data management function, or can be executed by a chip configured with the unified data management function, and this application does not limit this.

[0014] Specifically, the method includes: a unified data management function receives a first request message sent by an authentication service function, the first request message is used to obtain a user permanent identification of a terminal device, the first request message carries a certificate of the terminal device or information in the certificate of the terminal device; the unified data management function determines the user permanent identification of the terminal device based on the information in the certificate of the terminal device; the unified data management function sends a response message to the authentication service function, the response message includes the user permanent identification.

[0015] The communication method provided in the second aspect is that when the UE carries an anonymous SUCI to initiate authentication, in order to complete the security authentication of the terminal device and the authentication service function, the unified data management function can determine the user permanent identification of the terminal device according to the certificate of the terminal device carried in the first request message sent by the authentication service function or the information in the certificate of the terminal device, and then the unified data management function can send the user permanent identification to the authentication service function, so that the authentication service function can know which terminal device initiated the authentication request, and the authentication service function can also determine the security anchor key according to the user permanent identification, and finally complete the identity authentication of the UE and the AUSF. The method provided in the present application is that when the terminal device carries an anonymous user hidden identification during the EAP-TLS authentication process, the unified data management function can use the information in the certificate of the terminal device to determine the user permanent identification of the terminal device, thereby ensuring the security of the terminal device, avoiding the disclosure of the user identity, and ensuring the communication security between the terminal device and the network side.

[0016] In a possible implementation of the second aspect, before the unified data management function determines the user permanent identification of the terminal device according to the information in the certificate of the terminal device or the information in the certificate of the terminal device, the method further includes: the unified data management function presets the correspondence between the information in the certificate of the terminal device and the user permanent identification of the terminal device. In this implementation, the unified data management function network can preset the correspondence between the information in the certificate of the terminal device and the permanent identification of the terminal device in advance, and then when the unified data management function receives the first request message, it can determine the user permanent identification of the terminal device according to the information in the certificate of the terminal device carried in the first request message, thereby providing the terminal device user permanent identification for the authentication service function.

[0017] In a possible implementation of the second aspect, the method further includes: the unified data management function determines the contract information of the terminal device according to the information in the certificate of the terminal device, and the response message also includes the contract information of the terminal device. In this implementation, the unified data management function can determine the user permanent identification of the terminal device according to the information in the certificate of the terminal device, and then determine the contract information of the terminal device using the user permanent identification of the terminal device. After the unified data management function determines the contract information of the terminal device, the response message sent by the unified data management function to the authentication service function includes the contract information of the terminal device.

[0018] In a third aspect, a communication method is provided. The method provided in the third aspect can be executed by an authentication service function or by a chip configured in the authentication service function, and this application does not limit this.

[0019] Specifically, the method includes: an authentication service function receives an authentication request message of a terminal device, the authentication request message includes a hidden user identifier of the terminal device; the authentication service function receives a certificate of the terminal device sent by the terminal device, the certificate of the terminal device carries information in the certificate of the terminal device; the authentication service function determines a permanent user identifier of the terminal device based on the information in the certificate of the terminal device; the authentication service function determines a security anchor function key based on the permanent user identifier.

[0020] The communication method provided in the third aspect, in order to ensure that the identity of the user terminal is not disclosed, when the terminal device sends a registration request message to the authentication service function, it carries an anonymous user hidden identifier, that is, the user hidden identifier includes the domain name of the terminal device, but does not include the user name of the terminal device. In order to complete the security authentication of the terminal device and the authentication service function, after the authentication service function receives the authentication request of the terminal device, it determines the user permanent identifier of the terminal device according to the information in the certificate carried by the terminal device, that is, the authentication service function can directly know which terminal device initiated the authentication request according to the information in the certificate carried by the terminal device, so as to determine the security anchor function key according to the user permanent identifier, and finally complete the identity authentication of the terminal device and the authentication service function.

[0021] In a possible implementation of the third aspect, the method further includes: the authentication service function sends a contract request message to the unified data management function, the contract request message carries the user permanent identifier; the authentication service function receives the contract response message sent by the unified data management function, the contract response message carries the contract information of the terminal device; the authentication service function provides the contract service of the terminal device according to the contract information of the terminal device. In this implementation, since the authentication service function can directly use the information in the terminal device as the user permanent identifier of the terminal device, the unified data management function cannot send the contract information of the terminal device to the authentication service function without knowing the user permanent identifier of the terminal device, and then the authentication service function cannot provide the contract service to the terminal device. Therefore, the authentication service function sends a contract request message to the unified data management with the user permanent identifier, the unified data management determines the contract information of the terminal device based on the user permanent identifier, and sends the contract information to the authentication service function through the contract response message, and finally the authentication service function can provide the contract service for the terminal device based on the contract information.

[0022] Exemplarily, the contract information may include AKMA service indication information. Of course, the contract information may also be other information, which is not limited in the embodiments of the present application.

[0023] It should be understood that when the contract information is AKMA service indication information, the authentication service function provides AKMA service to the terminal device.

[0024] In a possible implementation of the third aspect, the authentication service function determines the user permanent identification of the terminal device based on the information in the certificate of the terminal device, including: the authentication service function determines the user permanent identification of the terminal device based on the information in the certificate of the terminal device and the information in the public land mobile network of the terminal device.

[0025] In a fourth aspect, a communication method is provided. The method provided in the fourth aspect can be executed by a terminal device or by a chip configured in the terminal device, and this application does not limit this.

[0026] Specifically, the method includes: the terminal device sends a registration request message to the access and mobility management function, the registration request message includes the user hidden identification of the terminal device; the terminal device receives an authentication success message sent by the authentication service function; the terminal device determines the user permanent identification of the terminal device based on the information in the certificate of the terminal device; the terminal device calculates the security function key based on the user permanent identification.

[0027] The communication method provided in the fourth aspect, in order to ensure that the identity of the user terminal is not disclosed, the registration request message sent by the terminal device to the authentication service function carries an anonymous user hidden identifier, that is, the user hidden identifier includes the domain name of the terminal device, but does not include the user name of the terminal device. When the terminal device receives the authentication success message sent by the authentication service function, the terminal device can determine the user permanent identifier of the terminal device according to the information in the certificate of the terminal device, and finally the terminal device can determine the security anchor function key according to the user permanent identifier, thereby ensuring the communication security between the terminal device and the network side on the basis of avoiding the disclosure of the user identity.

[0028] In some embodiments, the terminal device determines the user permanent identification of the terminal device according to information in the certificate of the terminal device, including: the terminal device determines the user permanent identification according to information in the certificate of the terminal device and the public land mobile network identification of the terminal device.

[0029] In a possible implementation of the fourth aspect, before the terminal device receives an authentication success message sent by the authentication service function, the method also includes: the terminal device receives indication information sent by the authentication service function, the indication information is used to indicate the authentication method of the terminal device; the terminal device sends the certificate of the terminal device to the authentication service function, and the certificate of the terminal device carries the information in the certificate of the terminal device.

[0030] In the fifth aspect, a communication method is provided. The method provided in the fifth aspect can be executed by a unified data management function, or can be executed by a chip configured with the unified data management function, and this application does not limit this.

[0031] Specifically, the method includes: a unified data management function receives a contract signing request message sent by an authentication service function, the contract signing request message carries a user permanent identifier of a terminal device, and the user permanent identifier corresponds to information in a certificate of the terminal device; the unified data management function determines contract signing information of the terminal device based on the user permanent identifier; the unified data management function sends a contract signing response message to the authentication service function, and the contract signing response message includes the contract signing information of the terminal device.

[0032] The communication method provided in the fifth aspect is that the unified data management function cannot send the contract information of the terminal device to the authentication service function without knowing the user's permanent identification of the terminal device. In this case, the unified data management function can receive the contract request message sent by the authentication service function, and the unified data management determines the contract information of the terminal device based on the user's permanent identification carried in the contract request message, and sends the contract information to the authentication service function through a contract response message. Finally, the authentication service function can provide contract services for the terminal device based on the contract information.

[0033] Exemplarily, the contract information may include AKMA service indication information. Of course, the contract information may also be other information, which is not limited in the embodiments of the present application.

[0034] It should be understood that when the contract information is AKMA service indication information, the authentication service function provides AKMA service to the terminal device.

[0035] In the sixth aspect, a communication system is provided, which includes an authentication service function and a unified data management function. The authentication service function is used to execute the method in the above first aspect or any possible implementation of the first aspect, and the unified data management function is used to execute the method in the above second aspect or any possible implementation of the second aspect.

[0036] In the seventh aspect, a communication system is provided, which includes a terminal device, an authentication service function and a unified data management function, the terminal device is used to execute the method in the third aspect or any possible implementation of the third aspect, the authentication service function is used to execute the method in the fourth aspect or any possible implementation of the fourth aspect, and the unified data management function is used to execute the method in the fifth aspect.

[0037] In the eighth aspect, a communication device is provided, which includes a unit for executing each step in the first aspect or any possible implementation of the first aspect, or a unit for executing each step in the second aspect or any possible implementation of the second aspect, or a unit for executing each step in the third aspect or any possible implementation of the third aspect, or a unit for executing each step in the fourth aspect or any possible implementation of the fourth aspect, or a unit for executing each step in the fifth aspect.

[0038] In a ninth aspect, a communication device is provided, comprising at least one processor and a memory, wherein the processor and the memory are coupled, and the memory stores program instructions, and when the program instructions stored in the memory are executed by the processor, the method in the first aspect or any possible implementation of the first aspect, or the method in the second aspect or any possible implementation of the second aspect, or the method in the third aspect or any possible implementation of the third aspect, or the method in the fourth aspect or any possible implementation of the fourth aspect, or the method in the fifth aspect is executed.

[0039] In the tenth aspect, a communication device is provided, which includes at least one processor and an interface circuit, and the at least one processor is used to execute the method in the first aspect or any possible implementation of the first aspect, or the method in the second aspect or any possible implementation of the second aspect, or the method in the third aspect or any possible implementation of the third aspect, or the method in the fourth aspect or any possible implementation of the fourth aspect, or the method in the fifth aspect.

[0040] In the eleventh aspect, a computer program product is provided, which includes a computer program, which, when executed by a processor, is used to execute the method in the first aspect or any possible implementation of the first aspect, or the method in the second aspect or any possible implementation of the second aspect, or the method in the third aspect or any possible implementation of the third aspect, or the method in the fourth aspect or any possible implementation of the fourth aspect, or the method in the fifth aspect.

[0041] In the twelfth aspect, an authentication service function is provided, which authentication service function includes the communication device provided in the eighth aspect, or the authentication service function includes the communication device provided in the ninth aspect, or the authentication service function includes the communication device provided in the tenth aspect.

[0042] In the thirteenth aspect, a unified data management function is provided, which includes the communication device provided in the eighth aspect, or the unified data management function includes the communication device provided in the ninth aspect, or the authentication service function includes the communication device provided in the tenth aspect.

[0043] In a fourteenth aspect, a terminal device is provided, which includes the communication device provided in the eighth aspect, or the terminal device includes the communication device provided in the ninth aspect, or the terminal device includes the communication device provided in the tenth aspect.

[0044] In the fifteenth aspect, a computer-readable storage medium is provided, which stores a computer program. When the computer program is executed, it is used to execute the method in the first aspect or any possible implementation of the first aspect, or the method in the second aspect or any possible implementation of the second aspect, or the method in the third aspect or any possible implementation of the third aspect, or the method in the fourth aspect or any possible implementation of the fourth aspect, or the method in the fifth aspect.

[0045] In the sixteenth aspect, a chip is provided, comprising: a processor, for calling and running a computer program from a memory, so that a communication device equipped with the chip executes a method for executing the first aspect or any possible implementation of the first aspect, or the second aspect or any possible implementation of the second aspect, or the third aspect or any possible implementation of the third aspect, or the fourth aspect or any possible implementation of the fourth aspect, or the fifth aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 A schematic diagram of a network architecture suitable for the communication method provided in an embodiment of the present application is shown.

[0047] Figure 2 The EAP-TLS flow chart defined in the standard protocol 33.501 is shown.

[0048] Figure 3 A schematic interaction diagram of an example communication method provided in an embodiment of the present application is shown.

[0049] Figure 4 A schematic interaction diagram of another communication method provided in an embodiment of the present application is shown.

[0050] Figure 5A schematic block diagram of a communication device 500 provided in an embodiment of the present application is shown.

[0051] Figure 6 A schematic block diagram of another communication device 600 provided in an embodiment of the present application is shown.

[0052] Figure 7 A schematic block diagram of a communication device 700 provided in an embodiment of the present application is shown.

[0053] Figure 8 A schematic block diagram of another communication device 800 provided in an embodiment of the present application is shown.

[0054] Fig. 9 A schematic block diagram of a communication device 900 according to an embodiment of the present application is shown.

[0055] Fig.10 A schematic block diagram of another communication device 1000 provided in an embodiment of the present application is shown.

[0056] Fig.11 A schematic structural diagram of a terminal device 1100 provided in the present application is shown. DETAILED DESCRIPTION

[0057] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0058] The terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and appended claims of the present application, the singular expressions "one", "a kind", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the embodiments of the present application, "one or more" refers to one or more (including two); "and / or" describes the association relationship of associated objects, indicating that three relationships may exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0059] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0060] The multiple involved in the embodiments of the present application means greater than or equal to two. It should be noted that in the description of the embodiments of the present application, the words "first", "second", etc. are only used for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying an order.

[0061] Figure 1 Schematic diagram of a network architecture applicable to the communication method provided in the embodiment of the present application. Figure 1 As shown, the network architecture of the embodiment of the present application may include the following:

[0062] 1. User equipment (UE): can be called terminal equipment, terminal, access terminal, handheld terminal, laptop, subscriber unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, wireless communication equipment, user agent or user device. UE can also be a cellular phone, smart phone, wireless data card, tablet computer, wireless modem, handheld device, laptop computer, cordless phone, session initiation protocol (SIP) phone, wireless local loop (WLL) station, personal digital assistant (PDA), machine type communication (MTC) terminal, a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a 5G network or a terminal device in a future communication system, etc. UE can also be an end device, a logical entity, an intelligent device, such as a mobile phone, an intelligent terminal and other terminal devices, or a server, a gateway, a base station, a controller and other communication devices, or an Internet of Things device, such as a sensor, an electric meter, a water meter and other Internet of Things (IoT) devices. UE can also be a wired device, such as a computer, a laptop, etc. The embodiment of the present application is not limited to this. The embodiment of the present application is described below by taking UE as a terminal device as an example. Or other devices that can access the network.

[0063] 2. Access network (AN) equipment: For a terminal device to access the operator's network, it must first pass through the access network equipment, and then connect to the service node of the operator's network through the access network equipment.

[0064] 3. Access and mobility management function (AMF) entity: It is a control plane network function provided by the operator network, responsible for the access control and mobility management of terminal devices accessing the operator network, such as mobility status management, allocation of user temporary identity, authentication and authorization of users, etc.

[0065] 4. Security anchor function (SEAF), SEAF is connected to AMF as a node of security authentication function. In specific implementation, AMF and SEAF can be deployed together in physical location, or AMF and SEAF can be set up separately. In addition, in possible implementation, the functions of AMF and SEAF can be deployed separately, or the functions of AMF and SEAF can be set up in the same one (for example, AMF has the function of SEAF).

[0066] 5. Authentication server function (AUSF) entity: used for authentication. For the home network AUSF, after receiving the initial authentication request from the service network AMF, it sends an authentication request message to the home network UDM to apply for an authentication vector.

[0067] 6. Unified data management (UDM) entity: It can also be called UDM network function or UDM network function entity. It is a control plane function provided by the operator, responsible for storing information such as subscriber permanent identifier (SUPI), credential, security context, contract data, etc. of the subscribers in the operator network. Among them, SUPI will be encrypted first during transmission, and the encrypted SUPI is called hidden user subscription identifier (SUCI). The information stored by the UDM entity can be used for authentication and authorization of terminal equipment to access the operator network. Among them, the subscribers of the above-mentioned operator network can specifically be users who use the services provided by the operator network, such as users who use China Telecom's mobile phone SIM cards, or users who use China Mobile's mobile phone SIM cards, etc. The permanent subscription identification SUPI of the above-mentioned subscribers can be the number of the mobile phone SIM card, etc. The credential and security context of the above-mentioned subscribers can be small files storing the encryption key of the mobile phone SIM card or information related to the encryption of the mobile phone SIM card, which are used for authentication and / or authorization. The security context may be data (cookie) or token stored on the user's local terminal (such as a mobile phone). The contract data of the contracted user may be the supporting services of the mobile phone chip card, such as the traffic package of the mobile phone chip card or the network allowed to be accessed by the contracted user.

[0068] Optional, such as Figure 1As shown, the network architecture of the embodiment of the present application may also include one or more of a network exposure function (NEF) entity, a network storage function (NRF) entity, a policy control function (PCF) entity, an application function (AF) entity, a session management function (SMF) entity or a user plane function (UPF) entity. Figure 1 For other functions not introduced in the specification, please refer to the functions defined in the 3GPP standard protocol, which will not be described in detail here.

[0069] The above naming is only used to distinguish different functions and does not mean that these are independent physical devices. This application does not limit the specific forms of the above. For example, they can be integrated in the same physical device or they can be different physical devices. In addition, the above naming is only for the convenience of distinguishing different functions and should not constitute any limitation to this application. This application does not exclude the possibility of adopting other naming in other networks in the future. For example, in a 6G network, some or all of the above may use the terminology in 5G, or other names may be used. A unified explanation is given here, and no further details are given below.

[0070] In this network architecture, the N1 interface is the reference point between the terminal device and the AMF entity; the N2 interface is the reference point between the AN and AMF entities, used for sending non-access stratum (NAS) messages, etc.; the N3 interface is the reference point between the (R)AN and UPF entities, used for transmitting user plane data, etc.; the N4 interface is the reference point between the SMF entity and the UPF entity, used for transmitting information such as tunnel identification information of the N3 connection, data cache indication information, and downlink data notification messages. Figure 1 The interface names between the various ones are just examples. The names of the interfaces in the specific implementation may be other names, and this application does not make specific limitations on this.

[0071] It should be understood that the above-mentioned network architecture applied to the embodiments of the present application is only an example of the network architecture described from the perspective of the service-oriented architecture, and the network architecture applicable to the embodiments of the present application is not limited to this. Any network architecture that can realize the above-mentioned functions is applicable to the embodiments of the present application.

[0072] When a terminal device accesses the network, authentication is required between the terminal device and the core network to ensure the security of communications between the terminal device, the access network, and the core network, thereby ensuring that resources in the network are not used by illegal users and preventing the terminal device from accessing illegal networks.

[0073] It should be noted that the TLS protocol is a widely used identity authentication and secure transmission protocol. The TLS protocol obtains a session key shared by both parties through identity authentication, which is used for encryption and authentication of subsequent communication content, that is, confidentiality and integrity protection. The TLS protocol is usually combined with other authentication protocols for authentication. As the outer tunnel of these authentication protocols, the TLS protocol completes the server authentication, and then other authentication protocols complete the client authentication, such as the extensible authentication protocol (EAP), protected EAP (PEAP), challenge handshake authentication protocol (CHAP), and authentication and key agreement (AKA).

[0074] For security reasons, it is usually recommended to use access authentication methods with a higher security level, such as the Institute of Electrical and Electronics Engineers (IEEE) 802.1X extensible authentication protocol-transportlayer security (EAP-TLS) certificate authentication, to control the access of mobile terminals to the enterprise wireless network.

[0075] Combine the following Figure 2 The EAP-TLS authentication process is described in detail. Figure 2 The EAP-TLS flow chart defined in the standard protocol 33.501 is shown.

[0076] like Figure 2 As shown, in step 1, the UE sends a registration request message to the SEAF. To ensure the security of the UE, the registration request message carries a subscription concealed identifier (SUCI).

[0077] In step 2, SEAF initiates the authentication process after receiving the registration request message from the UE. SEAF sends a UE authentication request (nausf_UE authentication_authenticate request) message to AUSF, where the message contains the serving network name (SNN) and SUCI.

[0078] In step 3, after AUSF receives the authentication request message from SEAF, AUSF sends a UE authentication request message (nudm_UE authentication_get request) to UDM, where the message includes SUCI and SNN.

[0079] In step 4, after receiving the authentication request message, the UDM selects the authentication method to be used according to the SUCI and SNN and determines the subscription permanent identifier (SUPI) of the terminal device according to the SUCI.

[0080] In step 5, UDM sends a UE authentication response (nudm_UE authentication_getresponse) message to AUSF, where the message includes SUPI and indication information for identity authentication using the EAP-TLS method.

[0081] In step 6, AUSF sends an EAP Request / EAP_type=EAP_TLS (TLS start) message in a UE authentication response (nausf-UE authentication_authenticateresponse) message to SEAF, indicating the start of the EAP-TLS authentication process.

[0082] In step 7, SEAF forwards the EAP Request / EAP_type=EAP_TLS(TLS Start) message to the UE in the authentication request message (auth-req.). The message includes the ngKSI and ABBA parameters. ABBA (anti-bidding downbetween architectures) provides protection against the application of high-version security features in low-version systems and indicates that the security feature is enabled in the current network. The UE and AMF will use ngKSI to identify the partial local security context created when the authentication is successful.

[0083] In step 8, the UE sends an EAP-Response / EAP_type=EAP_TLS (TLS client_hello) message in an authentication response message (auth-resp.) to the SEAF.

[0084] In step 9, SEAF forwards the EAP-Response / EAP_type=EAP_TLS (TLS client_hello) message to AUSF in the UE authentication request message (nausf_UE authentication_authenticaterequest) message.

[0085] In step 10, after AUSF receives the EAP-Response / EAP_type=EAP_TLS (TLS client_hello) message, it determines that TLS authentication has been established. It sends a UE authentication response (nausf_UE authentication_authenticate response) message to the UE by encapsulating the EAP Response / EAP_type=EAP-TLS message containing multiple TLS records, where the TLS record contains TLS Certificate, TLS certificate_request, TLS server_hello, TLS server_key_exchange and TLS server_hello_done. Among them, TLS Certificate is the digital certificate of AUSF, TLS certificate_request is the client digital certificate request, TLS server_key_exchange is a fixed-length random string encrypted using the public key of the authentication server, and TLS server_hello_done determines the algorithm required for this communication.

[0086] In step 11, SEAF sends an authentication request message (auth-req.) to the UE, which carries TLS server_hello, TLS server_key_exchange, TLS Certificate, TLS certificate_request, and TLSserver_hello_done.

[0087] In step 12, after receiving the authentication request message sent by SEAF, UE verifies whether the digital certificate of AUSF is legal.

[0088] In step 13, if the digital certificate of AUSF is legal, the UE sends an authentication response (auth-resp.) message to AUSF, which carries TLS Certificate, TLS client_key_exchange, TLS certificate_verify, TLS change_cipher_spec, and TLS finished messages. Among them, TLS Certificate is the digital certificate of the UE, TLS client_key_exchange is a fixed-length random string encrypted with the public key of the authentication server, and TLSchange_cipher_spec is the encryption type that the applicant can support.

[0089] In step 14, SEAF sends TLS Certificate, TLS client_key_exchange, TLScertificate_verify, TLS change_cipher_spec, and TLS finished messages to AUSF through the UE authentication request message (nausf_UE authentication_authenticate request).

[0090] In step 15, after receiving the authentication request message sent by SEAF, AUSF verifies whether the digital certificate of UE is legal.

[0091] In step 16, if the UE certificate is valid, AUSF replies to the UE with TLS change_cipher_spec and TLSfinished messages via the UE authentication response (nausf_UEauthentication_authenticate response) message, where TLS change_cipher_spec contains the encryption type specified by the authentication server.

[0092] In step 17, SEAF forwards the TLS change_cipher_spec and TLS finished messages to the UE via the authentication request message (auth-req.).

[0093] In step 18, after receiving the TLS finished message, the UE responds to the AUSF via an authentication response message (auth-resp.) with EAP Request / EAP-type=EAP-TLS.

[0094] In step 19, SEAF sends EAP Request / EAP-type=EAP-TLS to AUSF via a UE authentication request message (nausf_UE authentication_authenticate request).

[0095] At step 20, AUSF derives K SEAF When AUSF and UE are successfully authenticated, AUSF sends an EAP Success message to SEAF via a UE authentication response (nausf_UE authentication_authenticate response) message, and the nausf_UE authentication_authenticate response message also contains K SEAF , since the AUSF receives SUCI from SEAF at startup, the AUSF also includes SUPI in the response message.

[0096] In step 21, SEAF sends an EAP Success message to the UE via the N1 message. The message also includes the ngKSI and ABBA parameters. After receiving the EAP Success message, the UE calculates K SEAF , the K SEAF Used to ensure the communication security between UE and AUSF. At this point, the EAP-TLS authentication process is completed.

[0097] It should be understood that in the 5G network, in order to protect the UE's SUPI from being visible on the air interface, SUCI is introduced to protect the UE's SUPI. When the UE initiates the 5G network registration process, the UE encrypts the SUPI to obtain the SUCI, and sends the SUCI to the SEAF on the core network side. The SEAF initiates an authentication request to the AUSF based on the SUCI to request identity authentication of the UE. The AUSF requests the UDM for an authentication vector for UE identity authentication. The UDM decrypts the SUCI to obtain the SUPI, and generates an authentication vector for UE identity authentication, and feeds back the authentication vector and SUPI to the AUSF, so that the AUSF authenticates the UE's identity based on the authentication vector. After the UE is successfully authenticated, the UE's SUPI is returned to the SEAF. Thereafter, the user's session management and mobility management processes involving interactions in the 5G core network all use the SUPI as the user identifier.

[0098] Continue to see Figure 2In step 1 of the flowchart, the SUCI carried by the UE includes the username part and the domain name (realm). Then in step 5, the UDM can determine the SUPI of the UE based on the SUCI of the UE. Then the UE-related contract data can be found based on the SUPI of the UE. And AUSF can also calculate the key based on the SUPI to finally complete the authentication of the UE and the core network. However, one disadvantage of EAP-TLS is that the username is transmitted in plain text when TLS, which means that the plain text username of EAP-Identity can be seen by packet capture. Therefore, there may be a risk of leaking the user identity when using EAP-TLS authentication.

[0099] Therefore, in the related art, in order to ensure that the identity of the UE is not disclosed, when the UE sends a registration request message to the SEAF, it can carry anonymized SUCI, that is, the SUCI does not include the user's username part, but only carries the user's domain name (realm) part. Since the SUCI only carries the domain name but not the username, the SUCI is only used to address the AUSF / UDM. Then, Figure 2 In step 5, UDM cannot confirm which UE initiated the authentication request, so it cannot obtain the user's real identity, that is, UDM cannot directly use the SUCI to determine the UE's SUPI. Ultimately, UDM can only return the UE's authentication method to AUSF, but not the UE's SUPI. Then, AUSF cannot deduce the user identity-related keys for subsequent communication protection. In addition, since UDM cannot determine the UE's SUPI, it cannot search for UE-related contract data based on the UE's SUPI, and AUSF cannot provide users with related specific services.

[0100] It can be seen that how to complete the identity authentication of terminal devices and the network side while ensuring the security of UE and ensuring the security of terminal devices and the network side are issues that need to be paid attention to in network security in the 5G era.

[0101] In view of this, the present application provides a communication method, when AUSF receives an authentication request message from a terminal device, the registration request message includes the SUCI of the UE, and AUSF sends a first request message to the UDM, the first request message is used to obtain the SUPI of the UE, and the first request message carries the UE's certificate or the information in the UE's certificate. Then, the UDM determines the SUPI of the UE based on the information in the UE's certificate in the first request message, and sends the SUPI of the UE to the AUSF through a response message. The AUSF can determine the security anchor function key based on the SUPI, and finally complete the identity authentication of the UE and the AUSF. In the method provided by the present application, during the EAP-TLS authentication process, the UDM can use the information in the certificate of the terminal device to determine the user permanent identification of the terminal device, so that the AUSF can know which terminal device initiated the authentication request, and then determine the security anchor function key based on the user permanent identification to complete the identity authentication of the terminal device, that is, on the basis of ensuring the security of the terminal device, the communication security between the terminal device and the network side is guaranteed.

[0102] Combine the following Figure 3 Describe in detail the communication method provided by this application, Figure 3 A schematic interaction diagram of a communication method provided in an embodiment of the present application is shown, and the method can be applied in the above Figure 1 The scenario shown can of course also be applied to other communication scenarios, and the embodiments of the present application are not limited here.

[0103] like Figure 3 As shown, Figure 3 The method 300 shown in FIG. 3 may include S310 to S395a, S395b. Figure 3 Each step in method 300 is described in detail.

[0104] S310. The terminal device sends a registration request message to the security anchor function.

[0105] In the embodiment of the present application, in order to ensure that the identity of the UE is not disclosed, the registration request message sent by the UE to the SEAF carries the SUCI of the UE. The SUCI includes the domain name of the UE but does not include the user name of the UE.

[0106] S320: The security anchor function sends a first authentication request message to the authentication service.

[0107] In the embodiment of the present application, after SEAF receives the registration request message sent by UE, SEAF initiates the primary authentication, that is, SEAF sends the first authentication request message to AUSF. The first authentication request message is used to request to call the authentication service provided by AUSF, and the primary authentication is used to implement two-way authentication on the terminal device side and the network side and generate a key.

[0108] Exemplarily, the first authentication request message may be a nausf_UE authentication_authenticaterequest message.

[0109] It should be understood that the first authentication request message carries the service network identifier SNN and SUCI of the terminal device.

[0110] It should be noted that the serving network identifier is an identifier of a serving network of the UE, and is used to identify the serving network of the UE.

[0111] S330: The authentication service sends a second request message to the unified data management, where the second request message carries a hidden user identifier.

[0112] In the embodiment of the present application, the second request message is used to request to call the authentication service (or authentication vector service, or to request an authentication vector) provided by the UDM.

[0113] Exemplarily, the second request message may be a nudm_UE authentication_get request message.

[0114] It should be understood that the second request message carries the service network identifier SNN and SUCI of the terminal device.

[0115] S340: The unified data management determines an authentication method of the terminal device according to the second request message.

[0116] In an embodiment of the present application, when the UDM receives the second request message sent by the AUSF, it determines the authentication method of the UE according to the second request message. Exemplarily, the authentication method is EAP-TLS.

[0117] It should be understood that when the SUCI of the UE carried in the second request message received by the UDM does not include the user name of the UE but only includes the domain name of the UE, the UDM cannot determine the SUPI of the UE according to the SUCI of the UE, and cannot determine the subscription information of the UE according to the SUPI of the UE. Therefore, the UDM can only determine the authentication mode of the UE according to the second request message.

[0118] S350. The unified data management sends a first authentication response message to the authentication service function. The first authentication response message includes an authentication method of the terminal device.

[0119] In an embodiment of the present application, the UDM sends a first authentication vector response message to the AUSF, and the first authentication vector response message carries the authentication method of the UE. In other words, the UDM sends the authentication method of the terminal device to the AUSF through the first authentication response message.

[0120] Exemplarily, the first authentication response message may be a nudm_UE authentication_get response message.

[0121] S360 and the terminal device authenticate AUSF and establish a TLS channel.

[0122] In the embodiment of the present application, when the terminal device performs identity authentication according to the EAP-TLS authentication method, since the EAP-TLS authentication method is based on a two-way authentication method in which the client (UE) and the server (AUSF) mutually verify the digital certificate, AUSF first provides the certificate to the UE. After the UE verifies the AUSF certificate, it means that the terminal device has successfully authenticated the network, indicating that the TLS secure channel has been established. After the first stage of the TLS channel is established, the second stage is for AUSF to authenticate the UE's certificate.

[0123] S370. The terminal device sends an authentication response message to the security anchor function. The authentication response message carries the certificate of the terminal device.

[0124] In an embodiment of the present application, after the UE successfully authenticates the AUSF, the UE needs to send the UE certificate to the AUSF for authentication. Exemplarily, the UE can send the UE certificate to the SEAF via an authentication response message.

[0125] It should be understood that the certificate of the UE includes information that can identify the UE, for example, the information in the certificate of the UE may include a name, a serial number, a subject ID, a subject name, or an alternative subject name, etc. Of course, the information in the certificate of the terminal device may also include other information that can identify the terminal device. The embodiments of the present application do not specifically limit the information contained in the certificate.

[0126] S380. The security anchor function sends a second authentication request message to the authentication service function, where the second authentication request message carries the UE's certificate.

[0127] When SEAF receives the UE certificate sent by the UE, SEAF sends a second authentication request message to the AUSF, where the second authentication request message carries the UE certificate.

[0128] Exemplarily, the second authentication request message may be a nausf_UE authentication_authenticaterequest message.

[0129] S390. AUSF authenticates the UE based on the certificate of the terminal device.

[0130] In an embodiment of the present application, when the AUSF receives the UE's certificate, it authenticates the legitimacy of the UE's certificate.

[0131] S391. The authentication service function sends a first request message to the unified data management function. The first request message is used to obtain the SUPI of the terminal device. The first request message carries the certificate of the UE or information in the certificate of the UE.

[0132] In an embodiment of the present application, when the UE requests identity authentication, the SUCI carried by the UE does not include a user name but only a domain name, so the AUSF does not know which terminal device initiated the authentication request. Then, in an embodiment of the present application, the AUSF can send a first request message to the UDM to obtain the user permanent identification of the terminal device.

[0133] In an embodiment of the present application, the first request message may carry a certificate of the terminal device, or the first request message may carry information in a certificate of the terminal device.

[0134] Exemplarily, the first request message may be a nudm_UE authentication_get request message.

[0135] Optionally, as a possible implementation method, in order to improve authentication efficiency, after AUSF receives the certificate of the terminal device, it sends a first request message to the UDM, and then AUSF authenticates the UE's certificate.

[0136] Optionally, as another possible implementation method, after AUSF receives the certificate of the terminal device, AUSF first authenticates the certificate of the UE, and then sends a first request message to the UDM when the certificate is authenticated to be legal.

[0137] Of course, after receiving the certificate of the UE, AUSF can send a first request message to the UDM at any time. The embodiment of the present application does not specifically limit the timing when AUSF sends the first request message.

[0138] S392: The unified data management function determines the SUPI of the terminal device according to information in the certificate of the terminal device.

[0139] In an embodiment of the present application, after the UDM receives the first request information sent by the AUSF, the UDM determines the SUPI of the terminal device according to the information in the UE certificate carried in the first request information.

[0140] In a possible implementation, the UDM pre-sets information in the certificate corresponding to the SUPI. Therefore, the UDM can find the SUPI corresponding to the information in the certificate of the UE carried in the request.

[0141] For example, when the information in the certificate of the terminal device is subject ID, and UDM pre-sets the correspondence between subject ID and SUPI, when the first request message sent by AUSF carries the subject ID, UDM can find the corresponding SUPI according to the subject ID.

[0142] For another example, when the information in the certificate of the terminal device may be the serial number of the terminal device, and the UDM has pre-set the correspondence between the serial number of the terminal device and the SUPI, when the first request message sent by the AUSF carries the serial number of the terminal device, the UDM can find the corresponding SUPI based on the serial number of the terminal device.

[0143] In another possible implementation, the UDM may obtain the information in the certificate corresponding to the SUPI in other ways. For example, other terminal devices or network devices may send the information in the certificate corresponding to the SUPI to the UDM. Therefore, the UDM may find the SUPI corresponding to the ID based on the information in the certificate of the UE carried in the request.

[0144] It should be noted that the UDM may also determine the information in the certificate corresponding to the SUPI in other ways. The embodiment of the present application does not specifically limit how the UDM determines the information in the certificate corresponding to the SUPI.

[0145] Optionally, in a possible implementation manner, the UDM may also determine the subscription information of the UE according to the found SUPI.

[0146] It should be understood that the subscription information of the UE is used to indicate which service items the UE has subscribed to, for example, the subscription information may be an application authentication and key management architecture (architecture for authentication and key management for applications, AKMA), which means that the UE is allowed to use AKMA services.

[0147] S393: The unified data management sends a response message to the authentication service function. The response message carries the SUPI of the terminal device.

[0148] In the embodiment of the present application, after the UDM finds the corresponding SUPI according to the information in the certificate of the UE, the UDM may send the SUPI of the terminal device to the AUSF via a response message, that is, the response message may carry the SUPI of the terminal device.

[0149] Optionally, when UDM determines the subscription information of the UE according to the SUPI of the UE, UDM may also send the subscription information of the terminal device to AUSF via a response message. That is, the response message may also carry the subscription information of the UE, for example, the subscription information includes the AKMA ID.

[0150] Exemplarily, the response message may be a nudm_UE authentication_get response message.

[0151] S394a, the authentication service function determines the security anchor function key based on the user's permanent identification.

[0152] S394b. The authentication service function sends the authentication success message, SUPI and security anchor function key to SEAF.

[0153] In step S394a, the AUSF may calculate the security anchor function key Kseaf according to the SUPI of the terminal device sent by the UDM.

[0154] In step S394b, when the network and the terminal device are successfully authenticated, AUSF sends the security anchor function key, SUPI and authentication success message to SAFE.

[0155] It should be understood that the authentication success message is used to indicate that the identity authentication of the AUSF and the UE is successful.

[0156] Exemplarily, the AUSF may send an authentication success (EAP success) message, a security anchor function key, and a SUPI to the SEAF via a nausf_UE authentication_authenticate response message.

[0157] S395a. The security anchor function sends an authentication success message to the terminal device.

[0158] S395b. The terminal device generates a security anchor function key according to SUPI.

[0159] In step S395a, SEAF transmits a message indicating successful authentication to the UE.

[0160] In step S395b, after the UE receives the authentication success message, the UE generates a security anchor function key Kseaf according to the SUPI. The security anchor function key is used to ensure the security of subsequent communications between the UE and the network.

[0161] In an embodiment of the present application, in order to ensure that the identity of the user terminal is not disclosed, when the terminal device sends a registration request message to the authentication service function, it carries an anonymous user hidden identifier, that is, the user hidden identifier of the terminal device includes the domain name of the terminal device, but does not include the user name of the terminal device. In order to complete the security authentication of the terminal device and the authentication service function, AUSF can send a first request message to the UDM, and the first request message carries the certificate of the terminal device or the ID of the certificate, and the first request message is used to obtain the user permanent identifier of the terminal device. Then, the authentication service function receives a response message sent by the UDM, and the response message includes the user permanent identifier of the terminal device, and the user permanent identifier corresponds to the information in the certificate of the terminal device. Therefore, the authentication service function can obtain the user permanent identifier of the UE through the response message, that is, AUSF can know which terminal device initiated the authentication request, so that AUSF can determine the security anchor function key according to the user permanent identifier, and finally complete the identity authentication of the terminal device and the authentication service function. That is, the security of the terminal device is guaranteed during the authentication process, and the communication security between the terminal device and the network side is also guaranteed.

[0162] However, in the above method, AUSF needs to wait for SUPI to be obtained from UDM before completing the authentication process, which affects the authentication efficiency to a certain extent.

[0163] Based on this, an embodiment of the present application also provides another communication method, in which, in order to ensure that the identity of the user terminal is not leaked, the authentication request message received by AUSF from the UE includes the user hidden identifier of the terminal device, that is, the user hidden identifier of the terminal device includes the domain name of the terminal device, but does not include the user name of the terminal device. In order to complete the security authentication of the terminal device and the authentication service function, after AUSF receives the certificate of the terminal device sent by the terminal device, the certificate of the terminal device carries the information in the certificate of the terminal device. AUSF can determine the user permanent identifier of the terminal device based on the information in the certificate of the terminal device, that is, the authentication service function can know which terminal device initiated the authentication request, and thus can determine the security anchor function key based on the user permanent identifier, and finally complete the identity authentication of the terminal device and the authentication service function. Therefore, AUSF does not need to obtain SUPI from UDM before completing the UE and network side authentication. This method improves the efficiency of UE and network authentication while solving the problem of user identity acquisition.

[0164] Below, Figure 4 Taking the example of another communication method provided in the embodiment of the present application as an example, a specific description is given. Figure 4 A schematic interaction diagram of another communication method provided in an embodiment of the present application is shown, such as Figure 4 As shown, the method 400 includes S410 to S497.

[0165] S410. The terminal device sends a registration request message to the security anchor function.

[0166] S420: The security anchor function sends a first authentication request message to the authentication service.

[0167] S430: The authentication service sends a second request message to the unified data management, where the second request message carries a hidden user identifier.

[0168] S440: The unified data management determines an authentication method of the terminal device according to the second request message.

[0169] S450. The unified data management sends a first authentication response message to the authentication service function, where the first authentication response message includes an authentication method of the terminal device.

[0170] S460, terminal device authentication service function, establishes TLS channel.

[0171] S470: The terminal device sends an authentication response message to the security anchor function. The authentication response message carries the certificate of the terminal device.

[0172] S480. The security anchor function sends a second authentication request message to the authentication service function. The second authentication request message carries the UE's certificate.

[0173] The description of step S410 to step S480 can refer to the above-mentioned step S310 to step S380, which will not be repeated here.

[0174] S490, AUSF authenticates the terminal device based on the terminal device's certificate.

[0175] The authentication service function receives a certificate of the terminal device sent by the terminal device, and the certificate of the terminal device carries information in the certificate of the terminal device.

[0176] In step S490, AUSF receives the certificate sent by the terminal device and verifies whether the certificate of the terminal device is legal.

[0177] S491. The authentication service function determines the user permanent identification of the terminal device according to the information in the certificate of the terminal device.

[0178] In an embodiment of the present application, in order to identify a terminal device, AUSF may determine a user permanent identification of the terminal device based on information in a certificate of the terminal device.

[0179] In one possible implementation, the AUSF may directly use the information in the certificate of the terminal device as the SUPI of the UE.

[0180] In another possible implementation, the AUSF may determine the user permanent identification of the terminal device based on information in the certificate of the terminal device and the public land mobile network (PLMN) ID of the terminal device.

[0181] S492. The authentication service function sends a contract signing request message to the unified data management, and the contract signing request message carries the user permanent identification of the terminal device.

[0182] Optionally, in an embodiment of the present application, when the information in the UE's certificate is used as the SUPI, although there is no need to wait for the SUPI to be obtained from the UDM, the AUSF still needs to obtain the UE's subscription data. Therefore, in step S492, the AUSF may send a subscription request message to the UDM, and the subscription request message is used to request the UE's subscription data.

[0183] Exemplarily, the subscription request message may be sent via a nudm_UE authentication_resultconfirmation message, that is, an additional indication may be added to the nudm_UE authentication_result confirmation message, where the indication is used to request a subscription service, for example, the subscription service may be an AKMA service indication.

[0184] It should be understood that the nudm_UE authentication_result confirmation message carries SUPI.

[0185] S493. The unified data management sends a signing response message to the authentication service function.

[0186] Optionally, after UDM receives the subscription request message sent by AUSF, UDM determines the subscription data of the UE according to the SUPI carried in the subscription request message, and sends the subscription data to AUSF through a subscription response message.

[0187] It should be noted that since the SUPI of the terminal device is determined based on the information in the certificate of the terminal device, the signing request message carries the SUPI of the terminal device. Therefore, it can also be understood that after UDM receives the signing request message sent by AUSF, UDM uses the information in the certificate of the terminal device to determine the signing information of the terminal device.

[0188] Exemplarily, the contract information may include AKMA service indication information. Of course, the contract information may also be other information, which is not limited in the embodiments of the present application.

[0189] It should be understood that when the contract information is AKMA service indication information, the authentication service function provides AKMA service to the terminal device.

[0190] Exemplarily, the signing response message may be a nudm_UE authentication_get response message.

[0191] It should be noted that step S492 and step S493 are optional steps. Step S492 and step S493 can be executed after step S491, or after the terminal device and AUSF complete the entire authentication process. The embodiment of the application does not specifically limit whether step S492 and step S493 are executed and the time sequence of execution.

[0192] S494a, the authentication service function determines the security anchor function key based on the user's permanent identification.

[0193] S494b. The authentication service function sends the authentication success message, SUPI, and security anchor function key to the security anchor function.

[0194] The description of steps S494a and S494b can refer to the above-mentioned S394a and S394b, which will not be repeated here.

[0195] S495. SEAF sends an authentication success message to UE.

[0196] In step S494, SEAF transmits the message of successful AUSF authentication to UE.

[0197] S496. The UE determines the user permanent identification of the terminal device according to the information in the certificate of the terminal device.

[0198] In an embodiment of the present application, the UE may determine the user permanent identification of the terminal device based on information in the certificate of the terminal device.

[0199] In a possible implementation, the UE may directly use information in the certificate of the terminal device as the SUPI of the UE. That is, the terminal device may directly use any information in the name, serial number, subject identifier, subject name, or alternative subject name as the SUPI of the UE.

[0200] In another possible implementation manner, the UE may determine the user permanent identification of the terminal device according to information in the certificate of the terminal device and the PLMN ID of the terminal device.

[0201] For example, when the information of the certificate terminal of the terminal device is a subject identifier, the UE may determine the user permanent identifier of the terminal device according to the subject identifier of the terminal device and the PLMN ID of the terminal device.

[0202] S497. The UE calculates a security anchor function key according to the user permanent identifier.

[0203] Finally, the UE calculates a security anchor function key according to the determined user permanent identity, and the security anchor function key can ensure the communication security between the UE and the network.

[0204] In another communication method provided by the present application, in order to ensure that the identity of the user terminal is not disclosed, the authentication request message received by AUSF from the UE includes the user hidden identification of the terminal device, that is, the user hidden identification of the terminal device includes the domain name of the terminal device, but does not include the user name of the terminal device. In order to complete the security authentication of the terminal device and the authentication service function, after AUSF receives the certificate of the terminal device sent by the terminal device, the certificate of the terminal device carries the information in the certificate of the terminal device. AUSF can determine the user permanent identification of the terminal device based on the information in the certificate of the terminal device, that is, the authentication service function can know which terminal device initiated the authentication request, and thus can determine the security anchor function key based on the user permanent identification, and finally complete the identity authentication of the terminal device and the authentication service function. Therefore, AUSF does not need to obtain SUPI from UDM before completing the UE and network side authentication. This method improves the efficiency of UE and network authentication while solving the problem of user identification acquisition.

[0205] It should be understood that the methods, situations, categories and divisions of the embodiments in the present application are only for the convenience of description and should not constitute special limitations. The features of various methods, categories, situations and embodiments can be combined without contradiction.

[0206] It should also be understood that the above is only to help those skilled in the art better understand the embodiments of the present application, rather than to limit the scope of the embodiments of the present application. According to the above examples given, those skilled in the art can obviously make various equivalent modifications or changes. For example, some steps in the above methods 300 and 400 may not be necessary, or some new steps may be added. Or a combination of any two or any multiple embodiments of the above. Such modifications, changes or combined solutions also fall within the scope of the embodiments of the present application.

[0207] It should also be understood that the above description of the embodiments of the present application focuses on emphasizing the differences between the various embodiments. The same or similar points that are not mentioned can be referenced to each other. For the sake of brevity, they will not be repeated here.

[0208] It should also be understood that the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0209] It should also be understood that in the embodiments of the present application, "pre-setting" and "pre-definition" can be achieved by pre-saving corresponding codes, tables or other methods that can be used to indicate relevant information in devices (for example, including terminal devices and network devices), and the present application does not limit its specific implementation method.

[0210] It should also be understood that in the various embodiments of the present application, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced to each other, and the technical features in different embodiments can be combined to form new embodiments according to their internal logical relationships.

[0211] The above describes in detail the communication method examples provided by the present application. It is understandable that the authentication service function, terminal equipment, and unified data management include hardware structures and / or software modules corresponding to the execution of each function in order to realize the above functions. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.

[0212] The communication device provided by this application will be introduced below.

[0213] For example, Figure 5 A schematic block diagram of a communication device 500 provided in an embodiment of the present application is shown. The communication device 500 may correspond to the authentication service function described in each embodiment of the above-mentioned methods 300 to 400, or may be a chip or component applied to the authentication service function. Moreover, each module or unit in the communication device 500 is respectively used to execute each action or processing process performed by the authentication service function described in each embodiment of the above-mentioned methods 300 to 400.

[0214] like Figure 5 As shown, the communication device 500 includes a transceiver unit 510 and a processing unit 520. The transceiver unit 510 is used to perform specific signal transmission and reception under the drive of the processing unit 520.

[0215] In some embodiments:

[0216] The transceiver unit 510 is used to receive an authentication request message from a terminal device, where the authentication request message includes a hidden user identifier of the terminal device;

[0217] The transceiver unit 510 is configured to send a first request message to the unified data management function according to the authentication request message, where the first request message is used to obtain a permanent user identifier of the terminal device, and the first request message carries a certificate of the terminal device or information in the certificate of the terminal device;

[0218] The transceiver unit 510 is further configured to receive a response message sent by the unified data management function, the response message including a user permanent identifier, and the user permanent identifier corresponds to information in a certificate of the terminal device;

[0219] The processing unit 520 is configured to determine a security anchor function key according to the user permanent identifier.

[0220] In other embodiments:

[0221] The transceiver unit 510 is used to receive an authentication request message from a terminal device, where the authentication request message includes a hidden user identifier of the terminal device;

[0222] The transceiver unit 510 is used to receive a certificate of a terminal device sent by a terminal device, where the certificate of the terminal device carries information in the certificate of the terminal device;

[0223] A processing unit 520, configured to determine a user permanent identifier of the terminal device according to information in a certificate of the terminal device;

[0224] The processing unit 520 is configured to determine a security anchor function key according to the user permanent identifier.

[0225] It should be understood that the specific process of each unit in the communication device 500 performing the above corresponding steps can be referred to in the above combined method 300 to method 400 and Figure 3 and Figure 4 For example, the transceiver unit 510 may perform the steps of receiving and sending in the above method embodiment, and the processing unit 520 may perform the steps other than sending and receiving. Various specific processes are as described in the method embodiment. For the sake of brevity, they are not described here.

[0226] Figure 6 FIG. 6 is a schematic block diagram of another example of a communication device 600 provided in an embodiment of the present application. Figure 6 As shown, the communication device 600 may include a processor 610, a memory 620, a transceiver 630, and a bus system 640. The various components of the communication device 600 are coupled together through the bus system 640, wherein the bus system 640 may include a power bus, a control bus, and a status signal bus in addition to a data bus. However, for the sake of clarity, Figure 6 In the figure, various buses are labeled as bus system 640. For ease of representation, Figure 6 The drawing is only schematic.

[0227] Figure 5 The communication device 500 or Figure 6 The communication device 600 shown can implement the steps of executing the authentication service function in each embodiment of the aforementioned method 300 to method 400. Similar descriptions can refer to the descriptions in the aforementioned corresponding methods. To avoid repetition, they will not be repeated here.

[0228] It should also be understood that Figure 5 The communication device 500 or Figure 6 The communication device 600 shown may be an authentication service function.

[0229] Figure 7 A schematic block diagram of a communication device 700 of an embodiment of the present application is shown. The communication device 700 may correspond to the unified data management function described in the above methods 300 to 400, or may be a chip or component applied to the unified data management function. In addition, each module or unit in the communication device 700 is respectively used to execute each action or processing process performed by the unified data management function in the above methods 300 to 400.

[0230] like Figure 7 As shown, the communication device 700 may include a transceiver unit 710 and a processing unit 720. The transceiver unit 710 is used to perform specific signal transmission and reception under the drive of the processing unit 720.

[0231] In some embodiments:

[0232] The transceiver unit 710 is used to receive a first request message sent by the authentication service function, where the first request message is used to obtain a permanent user identification of a terminal device, and the first request message carries a certificate of the terminal device or information in the certificate of the terminal device;

[0233] A processing unit 720, configured to determine a user permanent identifier of the terminal device according to information in a certificate of the terminal device;

[0234] The transceiver unit 710 is further configured to send a response message to the authentication service function, where the response message includes the user permanent identifier.

[0235] In other embodiments:

[0236] The transceiver unit 710 is used to receive a contract signing request message sent by the authentication service function, where the contract signing request message carries a user permanent identifier of the terminal device, and the user permanent identifier is determined based on information in a certificate of the terminal device;

[0237] Processing unit 720, used to determine the contract information of the terminal device according to the user permanent identification;

[0238] The transceiver unit 710 is used to send a signing response message to the authentication service function, where the signing response message includes the signing information of the terminal device.

[0239] It should be understood that the specific process of each unit in the communication device 700 performing the above corresponding steps can refer to the description of the unified data management function in the above-mentioned method 300 to the method 400. For example, the transceiver unit 710 can perform the steps involving receiving and sending in the above method embodiment, and the processing unit 720 can perform steps other than processing transceiver. Various specific processes are described in the method embodiment. For the sake of brevity, no further description is given here.

[0240] It should be understood that the transceiver unit 710 may be a transceiver, an input / output interface or an interface circuit. The storage unit may be a memory. The processing unit 720 may be implemented by a processor. Figure 8 FIG. 8 is a schematic block diagram of another example of a communication device 800 provided in an embodiment of the present application. Figure 8 As shown, the communication device 800 may include a processor 810 , a memory 820 , and a transceiver 830 .

[0241] Figure 7 The communication device 700 or Figure 8 The communication device 800 shown can implement the steps of unified data management function execution in the embodiments of the aforementioned methods 300 to 400. Similar descriptions can refer to the descriptions in the aforementioned corresponding methods. To avoid repetition, they will not be described here.

[0242] It should also be understood that Figure 7 The communication device 700 or Figure 8 The communication device 800 shown may be a unified data management function.

[0243] Fig. 9 A schematic block diagram of a communication device 900 of an embodiment of the present application is shown. The communication device 900 may correspond to the terminal device described in the above methods 300 to 400, or may be a chip or component applied to the terminal device. In addition, each module or unit in the communication device 900 is respectively used to execute each action or processing process performed by the terminal device in the above methods 300 to 400.

[0244] like Fig. 9 As shown, the communication device 900 may include a transceiver unit 910 and a processing unit 920. The transceiver unit 910 is used to perform specific signal transmission and reception under the drive of the processing unit 920.

[0245] In some embodiments:

[0246] The transceiver unit 910 is used to send a registration request message to the access and mobility management function, where the registration request message includes a user hidden identifier of the terminal device;

[0247] The transceiver unit 910 is used to receive a successful authentication message of the access and mobility management function;

[0248] A processing unit 920 is used to determine a user permanent identification of the terminal device according to information in a certificate of the terminal device;

[0249] The processing unit 920 is configured to calculate a security anchor function key according to the user permanent identifier.

[0250] It should be understood that the specific process of each unit in the communication device 900 performing the above corresponding steps can refer to the description of the terminal device related to the relevant embodiments in the above method 300 to method 400. For example, the transceiver unit 910 can perform the steps involving receiving and sending in the above method embodiment, and the processing unit 920 can perform steps other than processing and transceiving. Various specific processing methods are described in the method embodiment. For the sake of brevity, they are not repeated here.

[0251] Optionally, the transceiver unit 910 may include a receiving unit (module) and a sending unit (module), which are used to execute the steps of the terminal device receiving information and sending information in each embodiment of the aforementioned method 300 to method 400.

[0252] It should be understood that the transceiver unit 910 may be a transceiver, an input / output interface or an interface circuit. The storage unit may be a memory. The processing unit 920 may be implemented by a processor. Fig.10 FIG. 1 is a schematic block diagram of another example of a communication device 1000 provided in an embodiment of the present application. Fig.10 As shown, the communication device 1000 may include a processor 1010 , a memory 1020 , and a transceiver 1030 .

[0253] Fig. 9 The communication device 900 or Fig.10 The communication device 1000 shown can implement the steps performed by the terminal device in the embodiments of the aforementioned methods 300 to 400. Similar descriptions can refer to the descriptions in the aforementioned corresponding methods. To avoid repetition, they will not be described here.

[0254] It should also be understood that Fig. 9 The communication device 900 or Fig.10 The communication apparatus 1000 shown may be a terminal device.

[0255] It should also be understood that the division of units in the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or physically separated. And the units in the device can all be implemented in the form of software calling through processing elements; or all in the form of hardware; or some units can be implemented in the form of software calling through processing elements, and some units can be implemented in the form of hardware.

[0256] In one example, the unit in any of the above devices may be one or more integrated circuits configured to implement the above method, such as one or more application specific integrated circuits (ASIC), or one or more digital signal processors (DSP), or one or more field programmable gate arrays (FPGA), or a combination of at least two of these integrated circuit forms. For another example, when the unit in the device can be implemented in the form of a processing element scheduler, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call a program. For another example, these units can be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0257] Fig.11 The present application provides a schematic diagram of the structure of a terminal device 1100. The above communication device 900 or the communication device 1000 can be configured in the terminal device 1100. Alternatively, the communication device 900 or the communication device 1000 itself can be the terminal device 1100. In other words, the terminal device 1100 can perform the actions performed by the terminal device in the above methods 300 to 400. Optionally, for the convenience of description, Fig.11 Only the main components of the terminal device are shown. Fig.11 As shown, the terminal device 1100 includes a processor, a memory, a control circuit, an antenna, and an input and output device.

[0258] The processor is mainly used to process communication protocols and communication data, as well as to control the entire terminal device, execute software programs, and process data of software programs.

[0259] When the terminal device is turned on, the processor can read the software program in the storage unit, interpret and execute the instructions of the software program, and process the data of the software program. When data needs to be sent wirelessly, the processor performs baseband processing on the data to be sent, and outputs the baseband signal to the RF circuit. The RF circuit performs RF processing on the baseband signal and then sends the RF signal outward in the form of electromagnetic waves through the antenna. When data is sent to the terminal device, the RF circuit receives the RF signal through the antenna, converts the RF signal into a baseband signal, and outputs the baseband signal to the processor. The processor converts the baseband signal into data and processes the data.

[0260] Those skilled in the art will appreciate that for ease of description, Fig.11 Only one memory and processor are shown. In an actual terminal device, there may be multiple processors and memories. The memory may also be referred to as a storage medium or a storage device, etc., which is not limited in the embodiments of the present application.

[0261] Fig.11 The processor in integrates the functions of the baseband processor and the central processing unit. Those skilled in the art will appreciate that the baseband processor and the central processing unit may also be independent processors interconnected through technologies such as buses. Those skilled in the art will appreciate that the terminal device may include multiple baseband processors to adapt to different network formats, and the terminal device may include multiple central processing units to enhance its processing capabilities, and the various components of the terminal device may be connected through various buses. The baseband processor may also be described as a baseband processing circuit or a baseband processing chip. The central processing unit may also be described as a central processing circuit or a central processing chip. The function of processing the communication protocol and the communication data may be built into the processor, or may be stored in the storage unit in the form of a software program, and the processor executes the software program to implement the baseband processing function.

[0262] For example, in the embodiment of the present application, the antenna and the control circuit having the transceiver function may be regarded as the transceiver unit 1101 of the terminal device 1100, and the processor having the processing function may be regarded as the processing unit 1102 of the terminal device 1100. Fig.11 As shown, the terminal device 1100 includes a transceiver unit 1101 and a processing unit 1102. The transceiver unit may also be referred to as a transceiver, a transceiver, a transceiver device, etc. Optionally, the device used to implement the receiving function in the transceiver unit 1101 may be regarded as a receiving unit, and the device used to implement the sending function in the transceiver unit 1101 may be regarded as a sending unit, that is, the transceiver unit 1101 includes a receiving unit and a sending unit. Exemplarily, the receiving unit may also be referred to as a receiver, a receiver, a receiving circuit, etc., and the sending unit may be referred to as a transmitter, a transmitter, or a transmitting circuit, etc.

[0263] An embodiment of the present application also provides a communication system, which includes: the authentication service function and the unified data management function provided in the above method embodiment.

[0264] An embodiment of the present application also provides a communication system, which includes: the authentication service function, unified data management function and terminal equipment provided in the above method embodiment.

[0265] According to the method provided in the embodiment of the present application, the present application also provides a computer-readable storage medium for storing computer program code, the computer program including instructions for executing any one of the communication methods provided in the above embodiment of the present application. The readable medium may be a read-only memory (ROM) or a random access memory (RAM), which is not limited in the embodiment of the present application.

[0266] According to the method provided in the embodiment of the present application, the present application also provides a computer program product, which includes instructions. When the instructions are executed, the authentication service function, unified data management and terminal device perform corresponding operations corresponding to the above method.

[0267] According to the method provided in the embodiment of the present application, the present application further provides a chip located in a communication device, the chip comprising: a processing unit and a communication unit, the processing unit, for example, may be a processor, the communication unit, for example, may be an input / output interface, a pin or a circuit, etc. The processing unit may execute computer instructions to enable the communication device to execute any one of the communication methods provided in the above-mentioned embodiment of the present application.

[0268] The method in the embodiment of the present application can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on a computer, the process or function described in the embodiment of the present application is executed in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer program or instruction can be stored in a computer-readable storage medium or transmitted via the computer-readable storage medium. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server that integrates one or more available media.

[0269] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0270] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0271] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0272] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0273] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0274] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a readable storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned readable storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.

[0275] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which 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 method, characterized in that: The method comprises: The authentication service function receives an authentication request message from a terminal device, wherein the authentication request message includes a hidden user identifier of the terminal device; The authentication service function sends a first request message to the unified data management function according to the authentication request message, where the first request message is used to obtain a permanent user identifier of the terminal device, and the first request message carries a certificate of the terminal device, or carries information in the certificate of the terminal device; The authentication service function receives a response message sent by the unified data management function, wherein the response message includes the user permanent identifier, and the user permanent identifier corresponds to information in the certificate of the terminal device; The authentication service function determines a security anchor function key according to the user permanent identifier.

2. The method according to claim 1, characterized in that Before the authentication service function sends a first request message to the unified data management function according to the authentication request message, the method further includes: The authentication service function sends a second request message to the unified data management function, where the second request message carries the user hidden identifier; The authentication service function receives the indication information sent by the unified data management function, where the indication information is used to indicate the authentication method of the terminal device; The authentication service function sends the authentication method of the terminal device to the terminal device; The authentication service function receives the certificate of the terminal device sent by the terminal device, and the certificate of the terminal device carries the information in the certificate of the terminal device.

3. The method according to claim 1 or 2, characterized in that: The response message also includes the contract information of the terminal device.

4. A communication method, characterized in that: The method comprises: The unified data management function receives a first request message sent by the authentication service function, where the first request message is used to obtain a permanent user identification of a terminal device, and the first request message carries a certificate of the terminal device, or carries information in the certificate of the terminal device; The unified data management function determines the user permanent identification of the terminal device according to the information in the certificate of the terminal device; The unified data management function sends a response message to the authentication service function, where the response message includes the user permanent identifier.

5. The method according to claim 4, characterized in that Before the unified data management function determines the user permanent identification of the terminal device according to the information in the certificate of the terminal device, the method further includes: The unified data management function presets the correspondence between the information in the certificate of the terminal device and the user permanent identification of the terminal device.

6. The method according to claim 4 or 5, characterized in that: The method further comprises: The unified data management function determines the contract information of the terminal device according to the information in the certificate of the terminal device, and the response message also includes the contract information of the terminal device.

7. A communication method, characterized in that: The method comprises: The authentication service function receives an authentication request message from a terminal device, wherein the authentication request message includes a hidden user identifier of the terminal device; The authentication service function receives the certificate of the terminal device sent by the terminal device, where the certificate of the terminal device carries the information in the certificate of the terminal device; The authentication service function determines the user permanent identification of the terminal device according to the information in the certificate of the terminal device; The authentication service function determines a security anchor function key according to the user permanent identifier.

8. The method according to claim 7, characterized in that The method further comprises: The authentication service function sends a contract signing request message to the unified data management function, where the contract signing request message carries the user permanent identifier; The authentication service function receives a contract signing response message sent by the unified data management function, where the contract signing response message carries the contract signing information of the terminal device.

9. The method according to claim 7 or 8, characterized in that: The authentication service function determines the user permanent identification of the terminal device according to the information in the certificate of the terminal device, including: The authentication service function determines the user permanent identification of the terminal device according to the information in the certificate of the terminal device and the information in the public land mobile network of the terminal device.

10. A communication method, characterized in that: The method comprises: Sending a registration request message to the access and mobility management function, wherein the registration request message includes a user hidden identifier of the terminal device; Receiving an authentication success message sent by the access and mobility management function; Determine the user permanent identification of the terminal device according to the information in the terminal device certificate; A security anchor function key is calculated according to the user permanent identifier.

11. The method according to claim 10, characterized in that Before receiving the authentication success message sent by the access and mobility management function, the method further includes: Receiving instruction information sent by the authentication service function, the instruction information is used to indicate the authentication method of the terminal device; The certificate of the terminal device is sent to the authentication service function, where the certificate of the terminal device carries the information in the certificate of the terminal device.

12. The method according to claim 10 or 11, characterized in that: The determining the user permanent identification of the terminal device according to the information in the certificate of the terminal device includes: The user permanent identification is determined according to information in the certificate of the terminal device and the public land mobile network information identification of the terminal device.

13. A communication method, characterized in that: The method comprises: The unified data management function receives a contract signing request message sent by the authentication service function, wherein the contract signing request message carries a user permanent identifier of a terminal device, and the user permanent identifier corresponds to information in a certificate of the terminal device; The unified data management function determines the contract information of the terminal device according to the user permanent identifier; The unified data management function sends a contract signing response message to the authentication service function, and the contract signing response message includes the contract signing information of the terminal device.

14. A communication device, characterized in that: The device comprises: A transceiver unit, the transceiver unit is used to: receive an authentication request message of a terminal device, the authentication request message includes a user hidden identifier of the terminal device; Sending a first request message to the unified data management function according to the authentication request message, where the first request message is used to obtain a permanent user identifier of the terminal device, and the first request message carries a certificate of the terminal device, or carries information in the certificate of the terminal device; Receiving a response message sent by the unified data management function, the response message including the user permanent identifier, the user permanent identifier corresponding to information in the certificate of the terminal device; A processing unit, wherein the processing unit is used to determine a security anchor function key according to the user permanent identifier.

15. The device according to claim 14, characterized in that The transceiver unit is further used to: send a second request message to the unified data management function, where the second request message carries the user hidden identifier; Receiving indication information sent by the unified data management function, the indication information is used to indicate the authentication method of the terminal device; Sending the authentication method of the terminal device to the terminal device; A certificate of the terminal device sent by the terminal device is received, where the certificate of the terminal device carries information in the certificate of the terminal device.

16. The device according to claim 14 or 15, characterized in that The response message also includes the contract information of the terminal device.

17. A communication device, characterized in that: The device comprises: A transceiver unit, the transceiver unit is used to: receive a first request message sent by an authentication service function, the first request message is used to obtain a user permanent identification of a terminal device, the first request message carries a certificate of the terminal device, or carries information in the certificate of the terminal device; A processing unit, the processing unit is used to: determine the user permanent identification of the terminal device according to the information in the certificate of the terminal device; The transceiver unit is further used to send a response message to the authentication service function, wherein the response message includes the user permanent identifier.

18. The device according to claim 17, characterized in that The processing unit is further used for: presetting the correspondence between the information in the certificate of the terminal device and the user permanent identification of the terminal device.

19. The device according to claim 17 or 18, characterized in that The processing unit is further used to determine the contract information of the terminal device according to the information in the certificate of the terminal device, and the response message also includes the contract information of the terminal device.

20. A communication device, characterized in that: The device comprises: A transceiver unit, the transceiver unit is used to: receive an authentication request message of a terminal device, the authentication request message includes a user hidden identifier of the terminal device; Receiving a certificate of the terminal device sent by the terminal device, where the certificate of the terminal device carries information in the certificate of the terminal device; A processing unit, the processing unit is used to: determine the user permanent identification of the terminal device according to the information in the certificate of the terminal device; A security anchor function key is determined according to the user permanent identifier.

21. The device according to claim 20, characterized in that The transceiver unit is further used to: send a contract request message to the unified data management function, wherein the contract request message carries the user permanent identifier; Receive a signing response message sent by the unified data management function, where the signing response message carries the signing information of the terminal device.

22. The device according to claim 20 or 21, characterized in that The processing unit is further configured to determine a permanent user identification of the terminal device according to information in a certificate of the terminal device and information in a public land mobile network of the terminal device.

23. A communication device, characterized in that: The device comprises: A transceiver unit, the transceiver unit is used to: send a registration request message to the access and mobility management function, the registration request message including a user hidden identifier of the terminal device; Receiving an authentication success message sent by the access and mobility management function; A processing unit, the processing unit is used to: determine the user permanent identification of the terminal device according to the information in the certificate of the terminal device; A security anchor function key is calculated according to the user permanent identifier.

24. The device according to claim 23, characterized in that The transceiver unit is further used to: receive indication information sent by the authentication service function, where the indication information is used to indicate the authentication mode of the terminal device; The certificate of the terminal device is sent to the authentication service function, where the certificate of the terminal device carries the information in the certificate of the terminal device.

25. The device according to claim 23 or 24, characterized in that The processing unit is further configured to determine the user permanent identifier according to information in the certificate of the terminal device and the public land mobile network identifier of the terminal device.

26. A communication device, characterized in that: The device comprises: A transceiver unit, the transceiver unit is used to: receive a contract signing request message sent by an authentication service function, the contract signing request message carries a user permanent identifier of a terminal device, and the user permanent identifier is determined according to information in a certificate of the terminal device; A processing unit, the processing unit is used to: determine the contract information of the terminal device according to the user permanent identification; The transceiver unit is further used to send a contract signing response message to the authentication service function, wherein the contract signing response message includes contract signing information of the terminal device.

27. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program or instructions. When the computer reads and executes the computer program or instructions, the computer executes the method as claimed in any one of claims 1 to 3, or executes the method as claimed in any one of claims 4 to 6, or executes the method as claimed in any one of claims 7 to 9, or executes the method as claimed in any one of claims 10 to 12, or is used to execute the method as claimed in claim 13.

28. A chip, characterized in that: include: A processor for executing the method as claimed in any one of claims 1 to 3, or for executing the method as claimed in any one of claims 4 to 6, or for executing the method as claimed in any one of claims 7 to 9, or for executing the method as claimed in any one of claims 10 to 12, or for executing the method as claimed in claim 13.

Citation Information

Cited By

  • Communication method and communication apparatus

    EP4661340A1