Communication method and communication apparatus
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 is solved, security authentication on the terminal device and the network side is realized, and communication security and anonymity are ensured.
Patent Information
- Application Number
- PCT/CN2024/077874
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-06
- Filing Date
- 2024-02-21
- Publication Date
- 2024-09-12
AI Technical Summary
During the EAP-TLS authentication process, the user's identity may be leaked, resulting in compromised communication security. It is difficult for existing technologies to effectively protect the anonymity and identity privacy of terminal devices.
In the authentication service function and unified data management function, the certificate information of the terminal device is used to determine the user's permanent identity, ensuring that the anonymity and identity of the terminal device are not leaked during the EAP-TLS authentication process, and realizing the security of the terminal device and the network side. Certification.
It effectively avoids user identity leakage, ensures communication security between terminal equipment and the network side, and improves authentication efficiency and security.
Smart Images

Figure CN2024077874_12092024_PF_FP_ABST
Abstract
Description
Communication method and communication device
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on March 6, 2023, with application number 2023102458564 and application name “A Communication Method and Communication Device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of communication technology, and more specifically, to a communication method and a communication device. Background Art
[0003] To ensure the security of communications between terminal devices, access networks, and core networks, authentication is required between the terminal devices and the core network to prevent unauthorized users from using the network and to prevent users from accessing illegal networks.
[0004] Transport Layer Security (TLS) is a widely used authentication and secure transmission protocol. TLS obtains a shared session key through identity authentication, which is used to encrypt and authenticate subsequent communications, effectively protecting confidentiality and integrity. Typically, TLS performs server authentication, followed by client authentication using other authentication protocols, such as the Extensible Authentication Protocol (EAP).
[0005] EAP-TLS authentication is a two-way authentication method based on mutual verification of digital certificates between the client and server. The server first provides its certificate to the client, which then verifies the server's certificate and submits it to the server. However, using EAP-TLS authentication can potentially expose user identities.
[0006] Summary of the Invention
[0007] The present application provides a communication method and a communication device.
[0008] 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 by a chip configured in the authentication service function, and this application does not limit this.
[0009] Specifically, the method includes: the authentication service function receives an authentication request message from a terminal device, the authentication request message including 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 the 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, the response message includes a permanent user identifier, and the permanent user identifier corresponds to 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.
[0010] The communication method provided by the first aspect is that, 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, 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. The method provided in this application can use the information in the terminal device's certificate to determine the user's permanent identification of the terminal device when the terminal device carries an anonymous user's hidden identification during the EAP-TLS authentication process, thereby ensuring the security of the terminal device, avoiding the disclosure of the user's identity, and ensuring the communication security between the terminal device and the network side.
[0011] 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 and provide corresponding services to the terminal device.
[0012] Optionally, the contract information may include AKMA service indication information.
[0013] It should also be noted that the information in the terminal device's certificate can be understood as the information contained in the terminal device's certificate. For example, the name, serial number, subject ID, subject name, or alternative subject name contained in the certificate. Of course, the information in the terminal device's certificate may also include other information that can identify the terminal device. The embodiments of this application do not specifically limit the information contained in the certificate.
[0014] In a possible implementation of the first aspect, before the authentication service function sends the first request message to the unified data management function based on the authentication request message, the method further includes: the authentication service function sending a second request message to the unified data management function, the second request message carrying a hidden user identifier; the authentication service function receiving instruction information sent by the unified data management function, the instruction information being used to indicate an authentication method of the terminal device; the authentication service function sending the authentication method of the terminal device to the terminal device; and the authentication service function receiving a terminal device certificate sent by the terminal device, the terminal device certificate carrying information in the terminal device certificate. In this implementation, the authentication service function sends an authentication request message to the unified data management, the message carrying the hidden user identifier, and then the authentication service function receives the instruction information sent by the unified data management function. Since the second request message only carries an anonymous hidden user identifier, the instruction information only includes the authentication method of the terminal device. The terminal device then sends the terminal device certificate to the authentication service function based on the authentication method. The authentication service function can obtain the user permanent identifier of the terminal device by carrying the terminal device certificate.
[0015] In the second aspect, a communication method is provided. The method provided in the second aspect can be executed by a unified data management function or by a chip configured with the unified data management function, and this application does not limit this.
[0016] Specifically, the method includes: the unified data management function receives a first request message sent by the authentication service function, the first request message is used to obtain the user permanent identification of the terminal device, and the first request message carries the certificate of the terminal device or the 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, and the response message includes the user permanent identification.
[0017] The second aspect provides a communication method, 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 based on 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 based on the user permanent identification, and finally complete the identity authentication of the UE and AUSF. The method provided by this application, 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.
[0018] In a possible implementation of the second aspect, before the unified data management function determines the permanent user identifier of the terminal device based on information in the terminal device's certificate or information in the terminal device's certificate, the method further includes: the unified data management function presetting a correspondence between the information in the terminal device's certificate and the permanent user identifier of the terminal device. In this implementation, the unified data management function network can pre-set the correspondence between the information in the terminal device's certificate and the permanent identifier used for the terminal device. Then, upon receiving the first request message, the unified data management function can determine the permanent user identifier of the terminal device based on the information in the terminal device's certificate carried in the first request message, thereby providing the terminal device's permanent user identifier to the authentication service function.
[0019] In a possible implementation of the second aspect, the method further includes: the unified data management function determining the contract information of the terminal device based on information in the terminal device's certificate, and the response message also including the contract information of the terminal device. In this implementation, the unified data management function may determine the permanent user identifier of the terminal device based on information in the terminal device's certificate, and then use the permanent user identifier of the terminal device to determine the contract information of the terminal device. After the unified data management function determines the contract information of the terminal device, the unified data management function sends a response message to the authentication service function including the contract information of the terminal device.
[0020] On the third aspect, a communication method is provided. The method provided on 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.
[0021] Specifically, the method includes: an authentication service function receives an authentication request message from 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.
[0022] The communication method provided in the third aspect, to ensure that the identity of the user terminal is not disclosed, carries an anonymous user hidden identifier when the terminal device sends a registration request message to the authentication service function. That is, the user hidden identifier includes the terminal device's domain name but does not include the terminal device's username. To complete the security authentication of the terminal device and the authentication service function, after receiving the authentication request from the terminal device, the authentication service function determines the terminal device's user permanent identifier based on the information in the certificate carried by the terminal device. That is, the authentication service function can directly determine which terminal device initiated the authentication request based on the information in the certificate carried by the terminal device, and can thus determine the security anchor function key based on the user permanent identifier, ultimately completing the identity authentication of the terminal device and the authentication service function.
[0023] In a possible implementation of the third aspect, the method further includes: the authentication service function sending a contract request message to the unified data management function, the contract request message carrying the user's permanent identifier; the authentication service function receiving a contract response message sent by the unified data management function, the contract response message carrying the contract information of the terminal device; and the authentication service function providing contract services for the terminal device based on 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's 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's permanent identifier of the terminal device, and thus the authentication service function cannot provide contract services to the terminal device. Therefore, the authentication service function sends a contract request message to the unified data management function carrying the user's permanent identifier. The unified data management determines the contract information of the terminal device based on the user's permanent identifier and sends the contract information to the authentication service function via a contract response message. Finally, the authentication service function can provide contract services for the terminal device based on the contract information.
[0024] 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.
[0025] 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.
[0026] 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.
[0027] 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.
[0028] 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 the 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.
[0029] The fourth aspect provides a communication method that, to ensure the identity of the user terminal is not disclosed, includes an anonymous hidden user identifier in the registration request message sent by the terminal device to the authentication service function. Specifically, the hidden user identifier includes the terminal device's domain name but not its username. Upon receiving a successful authentication message from the authentication service function, the terminal device can determine the terminal device's permanent user identifier based on information in its certificate. Ultimately, the terminal device can determine the security anchor function key based on the permanent user identifier, thereby ensuring communication security between the terminal device and the network while preventing the disclosure of the user's identity.
[0030] In some embodiments, the terminal device determines the user permanent identification of the terminal device based on information in the terminal device's certificate, including: the terminal device determines the user permanent identification based on information in the terminal device's certificate and the terminal device's public land mobile network identification.
[0031] In a possible implementation of the fourth aspect, before the terminal device receives the authentication success message sent by the authentication service function, the method also includes: the terminal device receives the 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 terminal device's certificate to the authentication service function, and the terminal device's certificate carries the information in the terminal device's certificate.
[0032] 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. This application does not limit this.
[0033] Specifically, the method includes: the unified data management function receives a contract signing request message sent by the authentication service function, the contract signing request message carries the user permanent identification of the terminal device, and the user permanent identification corresponds to the information in the certificate of the terminal device; the unified data management function determines the contract signing information of the terminal device based on the user permanent identification; 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.
[0034] 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 permanent identification of the terminal device. Then 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 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.
[0035] 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.
[0036] 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.
[0037] 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.
[0038] 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 above third aspect or any possible implementation of the third aspect, the authentication service function is used to execute the method in the above fourth aspect or any possible implementation of the fourth aspect, and the unified data management function is used to execute the method in the above fifth aspect.
[0039] 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.
[0040] In the ninth aspect, a communication device is provided, which includes at least one processor and a memory, the processor and the memory are coupled, and the memory stores program instructions. 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 is executed, or the method in the second aspect or any possible implementation of the second aspect is executed, or the method in the third aspect or any possible implementation of the third aspect is executed, or the method in the fourth aspect or any possible implementation of the fourth aspect is executed, or the method in the fifth aspect is executed.
[0041] 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.
[0042] In the eleventh aspect, a computer program product is provided, which includes a computer program. When the computer program is executed by a processor, 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.
[0043] In the twelfth aspect, an authentication service function is provided, which 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.
[0044] 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.
[0045] In the 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.
[0046] 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.
[0047] In the sixteenth aspect, a chip is provided, which includes: 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 method in the fifth aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] FIG1 shows a schematic diagram of a network architecture applicable to the communication method provided in an embodiment of the present application.
[0049] FIG. 2 shows a flowchart of the EAP-TLS defined in the standard protocol 33.501.
[0050] FIG3 shows a schematic interaction diagram of a communication method provided in an embodiment of the present application.
[0051] FIG4 shows a schematic interaction diagram of another communication method provided in an embodiment of the present application.
[0052] FIG5 shows a schematic block diagram of a communication device 500 provided in an embodiment of the present application.
[0053] FIG6 shows a schematic block diagram of another communication device 600 provided in an embodiment of the present application.
[0054] FIG7 shows a schematic block diagram of a communication device 700 provided in an embodiment of the present application.
[0055] FIG8 shows a schematic block diagram of another communication device 800 provided in an embodiment of the present application.
[0056] FIG9 shows a schematic block diagram of a communication device 900 according to an embodiment of the present application.
[0057] FIG10 shows a schematic block diagram of another communication device 1000 provided in an embodiment of the present application.
[0058] FIG11 shows a schematic structural diagram of a terminal device 1100 provided in this application. DETAILED DESCRIPTION
[0059] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application.
[0060] The terms used in the following embodiments are only for the purpose of describing specific embodiments and are not intended to be limiting of the present application. As used in the specification and appended claims of this application, the singular expressions "one", "a kind of", "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: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the related objects before and after are in an "or" relationship.
[0061] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in conjunction with that embodiment is included in one or more embodiments of the present application. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in yet other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized. The terms "including," "comprising," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0062] 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" and "second" are only used for the purpose of distinguishing the description and cannot be understood as indicating or implying relative importance or order.
[0063] Figure 1 is a schematic diagram of a network architecture applicable to the communication method provided in an embodiment of the present application. As shown in Figure 1, the network architecture of the embodiment of the present application may include the following:
[0064] 1. User Equipment (UE): This term may also be referred to as terminal equipment, terminal, access terminal, handheld terminal, laptop computer, subscriber unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, wireless communication device, user agent, or user device. UE may 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 capabilities, a computing device or other processing device connected to a wireless modem), in-vehicle device, wearable device, terminal device in a 5G network, or terminal device in future communication systems. The UE may also be an end device, a logical entity, or an intelligent device, such as a mobile phone, an intelligent terminal, or a communication device such as a server, a gateway, a base station, or a controller, or an IoT device such as a sensor, an electricity meter, a water meter, or an IoT device. The UE may also be a wired device, such as a computer or a laptop. The embodiments of the present application are not limited to this. The embodiments of the present application are described below using the UE as an example of a terminal device. Or other devices that can access the network.
[0065] 2. Access network (AN) equipment: To access the operator's network, the terminal device 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.
[0066] 3. Access and mobility management function (AMF) entity: It is a control plane network function provided by the operator network, responsible for 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.
[0067] 4. Security Anchor Function (SEAF): SEAF is connected to the AMF and serves as a node for security authentication functions. In specific implementations, the AMF and SEAF can be deployed together in a physical location, or they can be set up independently. In addition, in possible implementations, the functions of AMF and SEAF can be separated and deployed separately, or the functions of AMF and SEAF can be centralized in the same location (for example, AMF can also have the functions of SEAF).
[0068] 5. Authentication server function (AUSF) entity: used for authentication. For the home network AUSF, after receiving the initial authentication request from the serving network AMF, it sends an authentication request message to the home network UDM to apply for an authentication vector.
[0069] 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 the subscriber permanent identifier (SUPI), credentials, security context, and subscription data of subscribers in the operator network. The SUPI will be encrypted during transmission, and the encrypted SUPI is called a hidden subscriber subscription identifier (SUCI). The information stored by the UDM entity can be used for authentication and authorization of terminal devices to access the operator network. 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 credentials 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 (e.g., mobile phone). The subscription data of the subscriber may be the supporting services of the mobile phone SIM card, such as the data package of the mobile phone SIM card or the network that the subscriber is allowed to access.
[0070] Optionally, as shown in FIG1 , the network architecture of the embodiment of the present application may further include one or more of a network exposure function (NEF) entity, a network function repository 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. For other functions not described in FIG1 , refer to the functions defined in the 3GPP standard protocol and are not described in detail here.
[0071] 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 into 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 terms can use the terminology in 5G, or other names may be used. A unified explanation is given here and will not be repeated below.
[0072] 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 the AMF entity, used for sending non-access stratum (NAS) messages, etc.; the N3 interface is the reference point between the (R)AN and the UPF entity, used for transmitting user plane data, etc.; the N4 interface is the reference point between the SMF entity and the UPF entity, used to transmit information such as tunnel identification information of the N3 connection, data cache indication information, and downlink data notification messages. The interface names between the various interfaces in Figure 1 are only examples. The names of the interfaces in the specific implementation may be other names, and this application does not specifically limit this.
[0073] It should be understood that the above-mentioned network architecture applied to the embodiment of the present application is only an example of the network architecture described from the perspective of the service-oriented architecture. The network architecture applicable to the embodiment of the present application is not limited to this. Any network architecture that can realize the above-mentioned functions is applicable to the embodiment of the present application.
[0074] When a terminal device accesses a 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. This ensures that network resources are not used by unauthorized users and prevents the terminal device from accessing an illegal network.
[0075] It should be noted that the TLS protocol is a widely used identity authentication and secure transmission protocol. The TLS protocol obtains a shared session key 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 server authentication, and then other authentication protocols complete client authentication, such as the Extensible Authentication Protocol (EAP), Protected EAP (PEAP), Challenge Handshake Authentication Protocol (CHAP), and Authentication and Key Agreement (AKA).
[0076] For security reasons, it is generally recommended to use a higher-security access authentication method, such as the Institute of Electrical and Electronics Engineers (IEEE) 802.1X Extensible Authentication Protocol-Transport Layer Security (EAP-TLS) certificate authentication, to control the access of mobile terminals to the enterprise wireless network.
[0077] The EAP-TLS authentication process is described in detail below with reference to FIG2 , which shows an EAP-TLS flow chart defined in standard protocol 33.501.
[0078] As shown in FIG2 , 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).
[0079] In step 2, SEAF initiates the authentication process after receiving the Registration Request message from the UE. SEAF sends a UE Authentication Request (nausf_UEauthentication_authenticate request) message to AUSF, which contains the Serving Network Name (SNN) and SUCI.
[0080] In step 3, after AUSF receives the authentication request message from SEAF, AUSF sends a UE authentication request message (nudm_UEauthentication_get request) to UDM, where the message includes SUCI and SNN.
[0081] In step 4, after receiving the authentication request message, the UDM selects the authentication method to be used based on the SUCI and SNN and determines the user permanent identifier (SUPI) of the terminal device based on the SUCI.
[0082] In step 5, UDM sends a UE authentication response (nudm_UEauthentication_get response) message to AUSF, where the message includes SUPI and indication information for identity authentication using the EAP-TLS method.
[0083] In step 6, AUSF sends an EAP Request / EAP_type=EAP_TLS (TLS start) message in a UE authentication response (nausf-UE authentication_authenticate response) message to SEAF, indicating the start of the EAP-TLS authentication process.
[0084] 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.). This message includes the ngKSI and ABBA parameters. ABBA (anti-bidding down between architectures) provides protection against the use of higher-version security features in lower-version systems and indicates that this security feature is enabled in the current network. The UE and AMF will use ngKSI to identify the partial local security context created when authentication is successful.
[0085] 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.
[0086] In step 9, SEAF forwards the EAP-Response / EAP_type=EAP_TLS (TLS client_hello) message to AUSF in a UE authentication request message (nausf_UEauthentication_authenticate request).
[0087] In step 10, after receiving the EAP-Response / EAP_type=EAP_TLS (TLS client_hello) message, AUSF 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. The TLS records include TLS Certificate, TLS certificate_request, TLS server_hello, TLS server_key_exchange, and TLS server_hello_done. TLS Certificate is the AUSF digital certificate, TLS certificate_request is the client digital certificate request, TLS server_key_exchange is a fixed-length random string encrypted using the authentication server's public key, and TLS server_hello_done determines the algorithm required for this communication.
[0088] 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 TLS server_hello_done.
[0089] In step 12, after receiving the authentication request message sent by SEAF, UE verifies whether the digital certificate of AUSF is legal.
[0090] In step 13, if the AUSF digital certificate is valid, the UE sends an authentication response (auth-resp.) message to the AUSF, which carries TLS Certificate, TLS client_key_exchange, TLS certificate_verify, TLS change_cipher_spec, and TLS finished messages. TLS Certificate is the UE's digital certificate, TLS client_key_exchange is a fixed-length random string encrypted with the authentication server's public key, and TLS change_cipher_spec is the encryption type that the applicant can support.
[0091] In step 14, SEAF sends the TLS Certificate, TLS client_key_exchange, TLS certificate_verify, TLS change_cipher_spec, and TLS finished messages to AUSF via the UE authentication request message (nausf_UEauthentication_authenticate request).
[0092] In step 15, after receiving the authentication request message sent by SEAF, AUSF verifies whether the UE's digital certificate is legal.
[0093] In step 16, if the UE certificate is valid, the AUSF responds to the UE with a nausf_UE authentication_authenticate response message with a TLS change_cipher_spec and a TLS finished message. The TLS change_cipher_spec contains the encryption type specified by the authentication server.
[0094] In step 17, SEAF forwards the TLS change_cipher_spec and TLS finished messages to the UE via the authentication request message (auth-req.).
[0095] In step 18, after receiving the TLS finished message, the UE responds to the AUSF with an authentication response message (auth-resp.) with EAP Request / EAP-type=EAP-TLS.
[0096] In step 19, SEAF sends EAP Request / EAP-type=EAP-TLS to AUSF via a UE authentication request message (nausf_UEauthentication_authenticate request).
[0097] In step 20, AUSF derives KSEAF. When AUSF and UE are successfully authenticated, AUSF sends an EAP Success message to SEAF via a UE authentication response (nausf_UEauthentication_authenticate response) message, and the nausf_UEauthentication_authenticate response message also includes KSEAF. Since AUSF receives SUCI from SEAF at startup, AUSF also includes SUPI in the response message.
[0098] In step 21, the SEAF sends an EAP Success message to the UE via the N1 message. This message also includes the ngKSI and ABBA parameters. After receiving the EAP Success message, the UE calculates the KSEAF, which is used to ensure communication security between the UE and the AUSF. This completes the EAP-TLS authentication process.
[0099] 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 authenticating the UE. The UDM decrypts the SUCI to obtain the SUPI and generates an authentication vector for authenticating the UE. It then feeds back the authentication vector and SUPI to the AUSF. The AUSF then authenticates the UE based on the authentication vector. After successful authentication of the UE, the UE's SUPI is returned to the SEAF. Subsequently, the user's session management and mobility management processes involving interactions within the 5G core network all use the SUPI as the user identifier.
[0100] Continuing with Figure 2, in step 1 of the flowchart, the SUCI carried by the UE includes a username and a realm. Therefore, in step 5, the UDM determines the UE's SUPI based on the UE's SUCI. It then retrieves the UE's subscription data based on the UE's SUPI. Furthermore, the AUSF calculates a key based on the SUPI to ultimately authenticate the UE and the core network. However, a drawback of EAP-TLS is that TLS transmits the username in plaintext. This means that the plaintext username in the EAP-Identity packet can be seen during packet capture. Therefore, using EAP-TLS authentication may expose the user's identity.
[0101] Therefore, in related art, to ensure that the UE's identity is not disclosed, the UE can carry an anonymized SUCI when sending a registration request message to SEAF. This SUCI, however, does not include the user's username, but only the user's domain name. Since the SUCI only carries the domain name and not the username, it is only used to address the AUSF / UDM. Consequently, in step 5 of Figure 2 , the UDM cannot determine which UE initiated the authentication request and therefore cannot obtain the user's true identity. In other words, the UDM cannot directly use the SUCI to determine the UE's SUPI. Ultimately, the UDM can only return the UE's authentication method to the AUSF, not the UE's SUPI. Consequently, the AUSF cannot derive user identity-related keys for subsequent communication protection. Furthermore, since the UDM cannot determine the UE's SUPI, it cannot retrieve UE-related subscription data based on the UE's SUPI, and the AUSF cannot provide specific services to the user.
[0102] 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.
[0103] 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 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 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.
[0104] The communication method provided in the present application is described in detail below in conjunction with Figure 3. Figure 3 shows a schematic interaction diagram of a communication method provided in an embodiment of the present application. The method can be applied in the scenario shown in Figure 1 above, and of course can also be applied in other communication scenarios. The embodiment of the present application does not limit this.
[0105] As shown in Figure 3 , the method 300 shown in Figure 3 may include S310 to S395a, S395b. The following describes each step in the method 300 in detail with reference to Figure 3 .
[0106] S310. The terminal device sends a registration request message to the security anchor function.
[0107] In the embodiment of the present application, to prevent the UE's identity from being leaked, the registration request message sent by the UE to the SEAF carries the UE's SUCI, which includes the UE's domain name but not the UE's user name.
[0108] S320: The security anchor function sends a first authentication request message to the authentication service.
[0109] In an embodiment of the present application, after SEAF receives a registration request message from a UE, SEAF initiates primary authentication, i.e., SEAF sends a first authentication request message to AUSF. The first authentication request message is used to request the authentication service provided by AUSF, and primary authentication is used to implement bidirectional authentication on the terminal device side and the network side and generate a key.
[0110] Exemplarily, the first authentication request message may be a nausf_UEauthentication_authenticate request message.
[0111] It should be understood that the first authentication request message carries the serving network identifier SNN and SUCI of the terminal device.
[0112] It should be noted that the serving network identifier is an identifier of the serving network of the UE, and is used to identify the serving network of the UE.
[0113] S330: The authentication service sends a second request message to the unified data management, where the second request message carries the user hidden identifier.
[0114] 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.
[0115] Exemplarily, the second request message may be a nudm_UEauthentication_get request message.
[0116] It should be understood that the second request message carries the serving network identifier SNN and SUCI of the terminal device.
[0117] S340: The unified data management determines an authentication method for the terminal device according to the second request message.
[0118] 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 based on the second request message. Exemplarily, the authentication method is EAP-TLS.
[0119] It should be understood that when the UE's SUCI carried in the second request message received by the UDM does not include the UE's username but only the UE's domain name, the UDM cannot determine the UE's SUPI based on the UE's SUCI, nor can it determine the UE's subscription information based on the UE's SUPI. Therefore, the UDM can only determine the UE's authentication method based on the second request message.
[0120] 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.
[0121] In an embodiment of the present application, the UDM sends a first authentication vector response message to the AUSF, where 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 via the first authentication response message.
[0122] Exemplarily, the first authentication response message may be a nudm_UEauthentication_get response message.
[0123] S360 and the terminal device authenticate AUSF and establish a TLS channel.
[0124] 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 digital certificates, the AUSF first provides the certificate to the UE. Once the UE verifies the AUSF certificate, it means that the terminal device has successfully authenticated the network and the TLS secure channel has been established. After the first phase of the TLS channel is established, the second phase is for the AUSF to authenticate the UE's certificate.
[0125] 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.
[0126] 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. For example, the UE can send the UE certificate to the SEAF via an authentication response message.
[0127] It should be understood that the UE's certificate includes information that can identify the UE. For example, the information in the UE's certificate may include a name, a serial number, a subject ID, a subject name, or an alternative subject name. Of course, the information in the terminal device's certificate may also include other information that can identify the terminal device. The embodiments of the present application do not specifically limit the information included in the certificate.
[0128] S380: 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.
[0129] When SEAF receives the UE certificate sent by the UE, SEAF sends a second authentication request message to AUSF, where the second authentication request message carries the UE certificate.
[0130] Exemplarily, the second authentication request message may be a nausf_UEauthentication_authenticate request message.
[0131] S390. AUSF authenticates the UE based on the certificate of the terminal device.
[0132] In an embodiment of the present application, when the AUSF receives the UE's certificate, it authenticates the legitimacy of the UE's certificate.
[0133] 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 UE certificate or information in the UE certificate.
[0134] 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.
[0135] In an embodiment of the present application, the first request message may carry the certificate of the terminal device, or the first request message may carry information in the certificate of the terminal device.
[0136] Exemplarily, the first request message may be a nudm_UEauthentication_get request message.
[0137] 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.
[0138] 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.
[0139] Of course, after receiving the UE's certificate, 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 of AUSF sending the first request message.
[0140] S392: The unified data management function determines the SUPI of the terminal device according to information in the certificate of the terminal device.
[0141] 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 based on the information in the UE certificate carried in the first request information.
[0142] In one possible implementation, the UDM pre-sets the information in the certificate corresponding to the SUPI. Therefore, the UDM can find the SUPI corresponding to the information in the UE certificate carried in the request.
[0143] For example, when the information in the certificate of the terminal device is subject ID, and the 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.
[0144] 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.
[0145] In another possible implementation, the UDM may obtain the information in the certificate corresponding to the SUPI through other means. For example, another terminal device or network device 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 UE certificate carried in the request.
[0146] It should be noted that the UDM may also determine the information in the certificate corresponding to the SUPI in other ways. This embodiment of the application does not specifically limit how the UDM determines the information in the certificate corresponding to the SUPI.
[0147] Optionally, in a possible implementation, the UDM may further determine the subscription information of the UE according to the found SUPI.
[0148] 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 (AKMA), which means that the UE is allowed to use AKMA services.
[0149] S393: The unified data management sends a response message to the authentication service function. The response message carries the SUPI of the terminal device.
[0150] In the embodiment of the present application, after the UDM finds the corresponding SUPI according to the information in the UE's certificate, 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.
[0151] Optionally, when the UDM determines the UE's subscription information based on the UE's SUPI, the UDM may also send the terminal device's subscription information to the AUSF via a response message. That is, the response message may also carry the UE's subscription information, for example, the subscription information includes the AKMA ID.
[0152] Exemplarily, the response message may be a nudm_UEauthentication_get response message.
[0153] S394a. The authentication service function determines the security anchor function key based on the user's permanent identifier.
[0154] S394b: The authentication service function sends the authentication success message, SUPI, and security anchor function key to SEAF.
[0155] In step S394a, the AUSF may calculate the security anchor function key Kseaf based on the SUPI of the terminal device sent by the UDM.
[0156] In step S394b, when the network and the terminal device are successfully authenticated, the AUSF sends the security anchor function key, SUPI and authentication success message to the SAFE.
[0157] 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.
[0158] Exemplarily, the AUSF may send an authentication success (EAP success) message, a security anchor function key, and SUPI to the SEAF via a nausf_UEauthentication_authenticate response message.
[0159] S395a. The security anchor function sends an authentication success message to the terminal device.
[0160] S395b. The terminal device generates a security anchor function key according to SUPI.
[0161] In step S395a, SEAF transmits a message indicating successful authentication to the UE.
[0162] 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.
[0163] 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. 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, which 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 based on 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.
[0164] However, in the above method, AUSF needs to wait for the SUPI to be obtained from UDM before completing the authentication process, which affects the authentication efficiency to a certain extent.
[0165] 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 the 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.
[0166] Below, taking Figure 4 as an example, another communication method provided in an embodiment of the present application is specifically described. Figure 4 shows a schematic interaction diagram of another communication method provided in an embodiment of the present application. As shown in Figure 4, the method 400 includes S410 to S497.
[0167] S410. The terminal device sends a registration request message to the security anchor function.
[0168] S420: The security anchor function sends a first authentication request message to the authentication service.
[0169] S430: The authentication service sends a second request message to the unified data management, where the second request message carries the user hidden identifier.
[0170] S440: The unified data management determines an authentication method for the terminal device according to the second request message.
[0171] 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.
[0172] S460, terminal device authentication service function, establishes TLS channel.
[0173] 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.
[0174] 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.
[0175] The description of steps S410 to S480 may refer to the above steps S310 to S380 and will not be repeated here.
[0176] S490, AUSF authenticates the terminal device based on the terminal device's certificate.
[0177] The authentication service function receives a terminal device certificate sent by the terminal device, where the terminal device certificate carries information in the terminal device certificate.
[0178] In step S490, the AUSF receives the certificate sent by the terminal device and verifies whether the certificate of the terminal device is legal.
[0179] S491. The authentication service function determines the user permanent identification of the terminal device based on the information in the certificate of the terminal device.
[0180] 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 the certificate of the terminal device.
[0181] In one possible implementation, the AUSF may directly use the information in the terminal device's certificate as the UE's SUPI.
[0182] 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.
[0183] S492. The authentication service function sends a contract signing request message to the unified data management. The contract signing request message carries the permanent identification of the user of the terminal device.
[0184] 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, where the subscription request message is used to request the UE's subscription data.
[0185] Exemplarily, the subscription request message may be sent via a nudm_UEauthentication_result confirmation message, that is, an additional indication may be added to the nudm_UEauthentication_result confirmation message, where the indication is used to request a subscription service, for example, the subscription service may be an AKMA service indication.
[0186] It should be understood that the nudm_UEauthentication_result confirmation message carries SUPI.
[0187] S493. The unified data management sends a signing response message to the authentication service function.
[0188] Optionally, after the UDM receives the subscription request message sent by the AUSF, the UDM determines the subscription data of the UE according to the SUPI carried in the subscription request message, and sends the subscription data to the AUSF through a subscription response message.
[0189] 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 contract signing request message carries the SUPI of the terminal device. Therefore, it can also be understood that after the UDM receives the contract signing request message sent by the AUSF, the UDM uses the information in the certificate of the terminal device to determine the contract information of the terminal device.
[0190] 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.
[0191] 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.
[0192] Exemplarily, the signing response message may be a nudm_UEauthentication_get response message.
[0193] It should be noted that steps S492 and S493 are optional steps. Steps S492 and S493 can be executed after step S491, or after the terminal device and AUSF complete the entire authentication process. The present embodiment of the application does not specifically limit whether steps S492 and S493 are executed or the time sequence of their execution.
[0194] S494a. The authentication service function determines the security anchor function key based on the user's permanent identifier.
[0195] S494b: The authentication service function sends the authentication success message, SUPI, and security anchor function key to the security anchor function.
[0196] The description of steps S494a and S494b can refer to the above-mentioned S394a and S394b, and will not be repeated here.
[0197] S495. SEAF sends an authentication success message to UE.
[0198] In step S494, SEAF transmits the message of successful AUSF authentication to UE.
[0199] S496. The UE determines the permanent user identification of the terminal device according to the information in the certificate of the terminal device.
[0200] 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.
[0201] In one possible implementation, the UE may directly use information in the terminal device's certificate as the UE's SUPI. That is, the terminal device may directly use any information among the name, serial number, subject identifier, subject name, or alternative subject name as the UE's SUPI.
[0202] In another possible implementation, the UE may determine the permanent user identifier of the terminal device according to information in the certificate of the terminal device and the PLMN ID of the terminal device.
[0203] For example, when the terminal information of the certificate 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.
[0204] S497. The UE calculates the security anchor function key according to the user permanent identity.
[0205] Finally, the UE calculates a security anchor function key based on the determined user permanent identifier. The security anchor function key can ensure the communication security between the UE and the network.
[0206] In another communication method provided by the present application, 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 the 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.
[0207] 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.
[0208] It should also be understood that the above is merely to help those skilled in the art better understand the embodiments of the present application, and is not intended to limit the scope of the embodiments of the present application. Based on the above examples given, those skilled in the art can obviously make various equivalent modifications or changes. For example, certain steps in the above methods 300 and 400 may be unnecessary, or certain new steps may be added. Or a combination of any two or any multiple of the above embodiments. Such modifications, changes, or combined solutions also fall within the scope of the embodiments of the present application.
[0209] 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 with each other. For the sake of brevity, they will not be repeated here.
[0210] 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 this application.
[0211] 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). This application does not limit its specific implementation method.
[0212] 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.
[0213] The above describes in detail the examples of communication methods provided by the present application. It is understandable that, in order to realize the above functions, the authentication service function, the terminal device, and the unified data management include hardware structures and / or software modules corresponding to the execution of each function. It should be easily appreciated by those skilled in the art 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.
[0214] The communication device provided by this application will be introduced below.
[0215] Exemplarily, Figure 5 shows a schematic block diagram of a communication device 500 provided in an embodiment of the present application. 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.
[0216] As shown in FIG5 , the communication device 500 includes a transceiver unit 510 and a processing unit 520. The transceiver unit 510 is configured to perform specific signal transmission and reception under the drive of the processing unit 520.
[0217] In some embodiments:
[0218] The transceiver unit 510 is configured to receive an authentication request message from a terminal device, where the authentication request message includes a hidden user identifier of the terminal device;
[0219] 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;
[0220] The transceiver unit 510 is further configured to receive a response message sent by the unified data management function, the response message including the user permanent identifier, which corresponds to information in the certificate of the terminal device;
[0221] The processing unit 520 is configured to determine a security anchor function key according to the user permanent identifier.
[0222] In other embodiments:
[0223] The transceiver unit 510 is configured to receive an authentication request message from a terminal device, where the authentication request message includes a hidden user identifier of the terminal device;
[0224] The transceiver unit 510 is configured 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;
[0225] A processing unit 520 is configured to determine a user permanent identifier of the terminal device based on information in the certificate of the terminal device;
[0226] The processing unit 520 is configured to determine a security anchor function key according to the user permanent identifier.
[0227] It should be understood that the specific processes for each unit in communication device 500 to perform the corresponding steps described above can be found in the description of the authentication service function described above in conjunction with methods 300 to 400 and the related embodiments in Figures 3 and 4. For example, transceiver unit 510 can perform the steps involving receiving and sending in the above method embodiments, while processing unit 520 can perform steps other than receiving and sending. The various specific processes are described in the method embodiments and are not further described here for the sake of brevity.
[0228] Figure 6 shows a schematic block diagram of another example communication device 600 provided in an embodiment of the present application. As shown in Figure 6, communication device 600 may include a processor 610, a memory 620, a transceiver 630, and a bus system 640. The various components of communication device 600 are coupled together via bus system 640. In addition to including a data bus, bus system 640 may also include a power bus, a control bus, and a status signal bus. However, for the sake of clarity, various buses are labeled as bus system 640 in Figure 6. For ease of illustration, Figure 6 is only schematically drawn.
[0229] The communication device 500 shown in FIG5 or the communication device 600 shown in FIG6 can implement the steps of executing the authentication service function in each embodiment of the aforementioned methods 300 to 400. Similar descriptions can refer to the descriptions of the corresponding methods mentioned above. To avoid repetition, they will not be repeated here.
[0230] It should also be understood that the communication device 500 shown in FIG. 5 or the communication device 600 shown in FIG. 6 may function as an authentication service.
[0231] Figure 7 shows a schematic block diagram of a communication device 700 of an embodiment of the present application. 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. Moreover, 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.
[0232] As shown in FIG7 , the communication device 700 may include a transceiver unit 710 and a processing unit 720. The transceiver unit 710 is configured to perform specific signal transmission and reception under the drive of the processing unit 720.
[0233] In some embodiments:
[0234] The transceiver unit 710 is configured to receive a first request message sent by the authentication service function, where the first request message is used to obtain a permanent user identifier 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;
[0235] The processing unit 720 is configured to determine a user permanent identifier of the terminal device based on information in the certificate of the terminal device;
[0236] 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.
[0237] In other embodiments:
[0238] The transceiver unit 710 is configured to receive a contract signing request message sent by the authentication service function. The contract signing request message carries the user permanent identifier of the terminal device. The user permanent identifier is determined based on information in the certificate of the terminal device.
[0239] Processing unit 720, configured to determine the contract information of the terminal device according to the user permanent identifier;
[0240] 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.
[0241] It should be understood that the specific processes by which each unit in communication device 700 performs the above-mentioned steps can be found in the description of the unified data management function described above in conjunction with the relevant embodiments of methods 300 to 400. For example, transceiver unit 710 may perform the steps related to receiving and sending in the above-mentioned method embodiments, while processing unit 720 may perform steps other than processing for sending and receiving. The various specific processes are described in the method embodiments and are not further described here for the sake of brevity.
[0242] 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 shows a schematic block diagram of another example communication device 800 provided in an embodiment of the present application. As shown in Figure 8, the communication device 800 may include a processor 810, a memory 820, and a transceiver 830.
[0243] The communication device 700 shown in FIG7 or the communication device 800 shown in FIG8 can implement the steps of unified data management function execution in the embodiments of the aforementioned methods 300 to 400. Similar descriptions can be referred to the descriptions of the aforementioned corresponding methods. To avoid repetition, they are not repeated here.
[0244] It should also be understood that the communication device 700 shown in FIG. 7 or the communication device 800 shown in FIG. 8 may be a unified data management function.
[0245] Figure 9 shows a schematic block diagram of a communication device 900 of an embodiment of the present application. 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 used to execute each action or processing process performed by the terminal device in the above methods 300 to 400.
[0246] As shown in FIG9 , the communication device 900 may include a transceiver unit 910 and a processing unit 920. The transceiver unit 910 is configured to perform specific signal transmission and reception under the drive of the processing unit 920.
[0247] In some embodiments:
[0248] The transceiver unit 910 is configured to send a registration request message to the access and mobility management function, where the registration request message includes a hidden user identifier of the terminal device;
[0249] The transceiver unit 910 is configured to receive a successful authentication message of the access and mobility management function;
[0250] A processing unit 920 is configured to determine a user permanent identifier of the terminal device based on information in the certificate of the terminal device;
[0251] The processing unit 920 is configured to calculate a security anchor function key according to the user permanent identifier.
[0252] It should be understood that the specific process of each unit in the communication device 900 performing the above-mentioned corresponding steps can be referred to the description of the terminal device in conjunction with the relevant embodiments of methods 300 to 400. For example, the transceiver unit 910 can perform the steps related to receiving and sending in the above-mentioned method embodiments, while the processing unit 920 can perform steps other than processing and transceiving. Various specific processing methods are described in the method embodiments. For the sake of brevity, they are not further described here.
[0253] 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.
[0254] 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. Figure 10 shows a schematic block diagram of another example communication device 1000 provided in an embodiment of the present application. As shown in Figure 10, the communication device 1000 may include a processor 1010, a memory 1020, and a transceiver 1030.
[0255] The communication device 900 shown in FIG9 or the communication device 1000 shown in FIG10 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 of the aforementioned corresponding methods. To avoid repetition, they are not repeated here.
[0256] It should also be understood that the communication device 900 shown in FIG. 9 or the communication device 1000 shown in FIG. 10 may be a terminal device.
[0257] It should also be understood that the division of units in the above device is merely a division of logical functions. In actual implementation, they may be fully or partially integrated into a single physical entity, or physically separated. Furthermore, the units in the device may all be implemented in the form of software called through processing elements; all in the form of hardware; or some units may be implemented in the form of software called through processing elements, while others may be implemented in the form of hardware.
[0258] 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 (ASICs), or one or more digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs), 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 may 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).
[0259] Figure 11 is a schematic diagram of the structure of a terminal device 1100 provided in this application. The above-mentioned communication device 900 or communication device 1000 can be configured in the terminal device 1100. Alternatively, the communication device 900 or 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-mentioned methods 300 to 400. Optionally, for ease of explanation, Figure 11 only shows the main components of the terminal device. As shown in Figure 11, the terminal device 1100 includes a processor, memory, control circuitry, an antenna, and input / output devices.
[0260] The processor is mainly used to process communication protocols and communication data, as well as control the entire terminal device, execute software programs, and process software program data.
[0261] When the terminal device is powered on, the processor reads the software program stored in the storage unit, interprets and executes the program's instructions, and processes the program's data. When data needs to be transmitted wirelessly, the processor performs baseband processing on the data to be transmitted and outputs the baseband signal to the RF circuit. The RF circuit then performs RF processing on the baseband signal and transmits it via the antenna as electromagnetic waves. When data is sent to the terminal device, the RF circuit receives the RF signal via the antenna, converts it into a baseband signal, and outputs the baseband signal to the processor, which converts the baseband signal into data and processes it.
[0262] Those skilled in the art will appreciate that, for ease of explanation, FIG11 shows only one memory and processor. In an actual terminal device, multiple processors and memories may exist. The memory may also be referred to as a storage medium or storage device, etc., which is not limited in the present embodiment.
[0263] The processor in Figure 11 integrates the functions of a baseband processor and a central processing unit. Those skilled in the art will appreciate that the baseband processor and the central processing unit can also be independent processors interconnected via a bus or other technology. Those skilled in the art will appreciate that a terminal device can include multiple baseband processors to accommodate different network standards, multiple central processing units to enhance its processing capabilities, and that the various components of the terminal device can be connected via various buses. The baseband processor can also be referred to as a baseband processing circuit or a baseband processing chip. The central processing unit can also be referred to as a central processing circuit or a central processing chip. The function of processing communication protocols and communication data can be built into the processor or stored in a storage unit as a software program, with the processor executing the software program to implement the baseband processing function.
[0264] By way of example, in an embodiment of the present application, an antenna and a control circuit having transceiver functions may be regarded as a transceiver unit 1101 of the terminal device 1100, and a processor having a processing function may be regarded as a processing unit 1102 of the terminal device 1100. As shown in FIG11 , 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 for implementing the receiving function in the transceiver unit 1101 may be regarded as a receiving unit, and the device for implementing the transmitting function in the transceiver unit 1101 may be regarded as a transmitting unit, that is, the transceiver unit 1101 includes a receiving unit and a transmitting unit. By way of example, the receiving unit may also be referred to as a receiver, a receiver, a receiving circuit, etc., and the transmitting unit may be referred to as a transmitter, a transmitter, or a transmitting circuit, etc.
[0265] An embodiment of the present application also provides a communication system, which includes: the authentication service function and unified data management function provided in the above method embodiment.
[0266] 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.
[0267] According to the methods provided in the embodiments of the present application, the present application also provides a computer-readable storage medium for storing computer program code, wherein the computer program includes instructions for executing any of the communication methods provided in the embodiments 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 embodiments of the present application.
[0268] 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.
[0269] According to the methods provided in the embodiments of the present application, the present application also provides a chip located in a communication device, the chip comprising: a processing unit and a communication unit. The processing unit may be, for example, a processor, and the communication unit may be, for example, an input / output interface, a pin, or a circuit. The processing unit may execute computer instructions to cause the communication device to perform any of the communication methods provided in the embodiments of the present application.
[0270] The methods in the embodiments of the present application can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, they 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 embodiments 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 can be accessed by a computer or a data storage device such as a server that integrates one or more available media.
[0271] Those skilled 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 beyond the scope of this application.
[0272] Those skilled in the art will 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.
[0273] In the several embodiments provided in this 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 merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, 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.
[0274] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0275] 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.
[0276] 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. The computer software product is stored in a readable storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned readable storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
[0277] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection 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 signing response message sent by the unified data management function, and the signing response message carries The contract 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, where the indication information is used to indicate an 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 the the 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 the The contract information of the terminal device.
27. A communication device, characterized in that: The communication device comprises: a processor and a memory, The processor is coupled to the memory, and the memory stores program instructions. When the program instructions are executed by the processor, the communication device 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 executes the method as claimed in claim 13.
28. 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.
29. A computer program product, characterized in that The computer program product includes instructions, which, when executed on a computer, cause the computer to execute the method of any one of claims 1 to 3, or the method of any one of claims 4 to 6, or the method of any one of claims 7 to 9, or the method of any one of claims 10 to 12, or the method of claim 13.
30. 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.
31. A communication system, characterized in that: The system includes an authentication service function and / or a unified data management function, The authentication service function is used to execute the method according to any one of claims 1 to 3, and the unified data management function is used to execute the method according to any one of claims 4 to 6.
32. A communication system, characterized in that: The system includes a terminal device, an authentication service function and / or a unified data management function, The authentication service function is used to execute the method as claimed in any one of claims 7 to 9, the terminal device is used to execute the method as claimed in any one of claims 10 to 12, and the unified data management function is used to execute the method as claimed in claim 13.
Citation Information
Patent Citations
Registration method and communication device
CN111866858A
Communication system, method and device
CN113541925A
Mobile device authentication without electronic subscriber identity module (ESIM) credentials
US20220295276A1
Communication method and related apparatus
WO2021254172A1
Method and device for operating terminal in wireless communication system
WO2023003113A1
