Terminal identity authentication method, device, computer equipment and storage medium
By performing two-level identity authentication on the terminal in the core network and using the extensible authentication protocol to verify the identity of the terminal, the problem that traditional identity authentication methods cannot meet the security needs of the power industry is solved, and high-security access to the power network is achieved.
Patent Information
- Application Number
- CN202210320700.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-29
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2042-03-29
AI Technical Summary
Traditional terminal identity authentication methods cannot meet the security needs of the power industry and are vulnerable to attacks, allowing unauthorized users to access the target power network, causing security problems.
After the core network performs the first-level identity authentication on the terminal, the second-level identity authentication is performed based on the first-level authentication result, and the identity authentication information of the terminal is verified through the Extensible Authentication Protocol (EAP). Only when the second-level identity authentication is passed Establish a data channel to allow the terminal to access the target power network.
It improves the security of the target power network, prevents unauthorized users from accessing, and meets the security needs of the power industry.
Smart Images

Figure CN114697963B
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method, apparatus, computer equipment, storage medium and computer program product for terminal identity authentication. Background Art
[0002] Before a terminal is connected to a mobile communication network, it is necessary to perform identity authentication on the terminal to verify the legitimacy of the terminal's identity.
[0003] Currently, if the core network of the mobile communication network passes the identity authentication of the terminal, the terminal is allowed to access the target network that the terminal expects to access.
[0004] However, the traditional terminal identity authentication method cannot meet the security requirements of the power industry. Summary of the invention
[0005] Based on this, it is necessary to provide a terminal identity authentication method, device, computer equipment, computer-readable storage medium and computer program product that can meet the security requirements of the power industry in response to the above technical problems.
[0006] In a first aspect, the present application provides a method for authenticating a terminal. The method comprises:
[0007] receiving an access request sent by the terminal, the access request including a first authentication result obtained by the core network performing a first level identity authentication on the terminal;
[0008] If the first authentication result is authentication passed, sending an extensible identity authentication protocol request to the terminal;
[0009] Receiving an extensible authentication protocol response sent by the terminal, and performing a second level identity authentication on the terminal according to the identity authentication information of the terminal, wherein the extensible authentication protocol response includes the identity authentication information;
[0010] When the second-level identity authentication is passed, the authentication result is sent to the terminal, and a data channel is established between the UPF network element and the target power network, so that the terminal can access the target power network using the data channel based on the authentication result.
[0011] In one embodiment, the method further comprises:
[0012] In the case that the second level identity authentication fails, an authentication failure result is sent to the terminal, and the data channel is blocked to prohibit the terminal from accessing the target power network using the data channel.
[0013] In one embodiment, receiving an extensible authentication protocol response sent by the terminal, and performing a second level identity authentication on the terminal according to the identity authentication information of the terminal, includes:
[0014] An extensible authentication protocol response sent by the terminal is received through the authentication unit, and a second-level identity authentication is performed on the terminal based on the user identification card information, the international mobile equipment identity code information and the chip information of the terminal, wherein the identity authentication information includes the user identification card information, the international mobile equipment identity code information and the chip information of the terminal.
[0015] In one embodiment, receiving an access request sent by the terminal includes:
[0016] Receiving the access request through the session management unit;
[0017] If the authentication result is authentication passed, an extensible identity authentication protocol request is sent to the terminal, including: if the authentication result in the access request is authentication passed, an authentication request is sent to the authentication unit through the session management unit, so that the authentication unit sends the extensible identity authentication protocol request to the terminal.
[0018] In one of the embodiments, the access request also includes a second authentication result of the target slice network authenticating the terminal, and if the first authentication result is authentication passed, an extensible authentication protocol request is sent to the terminal, including:
[0019] If both the first authentication result and the second authentication result are authentication passed, an extensible identity authentication protocol request is sent to the terminal.
[0020] In one embodiment, the core network performs a first level identity authentication on the terminal, including:
[0021] The core network receives a registration request sent by the terminal, wherein the registration request includes a terminal identifier of the terminal;
[0022] If the terminal security context information corresponding to the terminal identifier exists in the core network, the first authentication result is determined to be authentication success, and a registration response is sent to the terminal, wherein the registration response is used to instruct the terminal to access the core network.
[0023] In one embodiment, the registration request further includes an identifier of a serving network of the terminal, and the method further includes:
[0024] If the terminal security context information corresponding to the terminal identifier does not exist in the core network, determining whether the core network has an identifier of the service network;
[0025] If the identification of the service network exists in the core network, the first authentication result is determined to be authentication success, and verification information is sent to the terminal so that the terminal can access the core network based on the verification information.
[0026] In a second aspect, the present application also provides an identity authentication device for a terminal. The device comprises:
[0027] A first receiving module, configured to receive an access request sent by the terminal, the access request including a first authentication result obtained by the core network performing a first level identity authentication on the terminal;
[0028] A first sending module, configured to send an extensible identity authentication protocol request to the terminal if the first authentication result is authentication passed;
[0029] A second receiving module is used to receive an extensible authentication protocol response sent by the terminal, and perform a second level identity authentication on the terminal according to the identity authentication information of the terminal, wherein the extensible authentication protocol response includes the identity authentication information;
[0030] The second sending module is used to send the authentication result to the terminal when the second-level identity authentication is passed, and establish a data channel between the UPF network element and the target power network, so that the terminal can access the target power network using the data channel based on the authentication result.
[0031] In a third aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above methods when executing the computer program.
[0032] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of any of the above methods when executed by a processor.
[0033] In a fifth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of any of the above methods are implemented.
[0034] The terminal identity authentication method, device, computer equipment, storage medium and computer program product described above receive an access request sent by the terminal, the access request includes a first authentication result obtained by the core network performing a first-level identity authentication on the terminal, if the first authentication result is authentication passed, then send an extensible authentication protocol request to the terminal, receive an extensible authentication protocol response sent by the terminal, and perform a second-level identity authentication on the terminal according to the identity authentication information of the terminal, wherein the extensible authentication protocol response includes the identity authentication information, so that in the case of passing the second-level identity authentication, the authentication result is sent to the terminal, and a data channel between the UPF network element and the target power network is established, so that the terminal can access the target power network using the data channel based on the authentication result. In the traditional method, if the terminal wants to access the target power network, it only needs the core network to authenticate the terminal, and the terminal can access the target power network through the core network. In the method provided by the present application, on the basis of the core network performing the first-level identity authentication on the terminal, the server also performs the second-level identity authentication based on the first authentication result obtained by the first-level identity authentication, so that the terminal can access the target power network using the data channel when the second-level identity authentication passes. Therefore, even if unauthorized users attack the authentication process of the terminal and the core network, unauthorized users cannot access the target power network, thereby improving the security of the target power network and meeting the security requirements of the power industry. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 A schematic diagram of a terminal accessing a target power network in a traditional method;
[0036] Figure 2 This is an application environment diagram of the identity authentication method of the terminal in the embodiment of the present application;
[0037] Figure 3 This is a flow chart of a method for authenticating a terminal in an embodiment of the present application;
[0038] Figure 4 A schematic diagram of a process of sending an extensible authentication protocol request in an embodiment of the present application;
[0039] Figure 5 This is a schematic diagram of the interaction of the second level identity authentication;
[0040] Figure 6 This is a schematic diagram of a process of sending a registration response in an embodiment of the present application;
[0041] Figure 7 This is a schematic diagram of a process of accessing a core network in an embodiment of the present application;
[0042] Figure 8This is an interactive diagram of the first level of identity authentication;
[0043] Fig. 9 This is a schematic diagram of the interaction of overall authentication in an embodiment of the present application;
[0044] Fig.10 This is a schematic diagram of a terminal accessing a target power network in an embodiment of the present application;
[0045] Fig.11 This is a structural block diagram of an identity authentication device of a terminal in an embodiment of the present application;
[0046] Fig.12 Schematic diagram of the internal structure of a computer device in an embodiment of the present application. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0048] Figure 1 This is a schematic diagram of the terminal accessing the target power network in the traditional method, such as Figure 1 As shown, in the traditional method, if the terminal wants to access the target power network, the core network only needs to authenticate the terminal, so that the terminal can access the target power network through the core network. Among them, the core network can be the core network of the basic telecommunications operator. In the traditional method, the identity authentication process of the terminal and the core network is vulnerable to attacks. Once the information in the identity authentication process is intercepted, unauthorized users or networks can access the target power network by intercepting the moral identity authentication information, or bypass the two-way authentication process to achieve fraudulent access, resulting in security issues such as stealing sensitive information, consuming network resources, and network denial of service. At the same time, the power industry introduced network slicing technology when designing the networking architecture due to actual application needs. Network slicing technology refers to dividing a physical network into multiple virtual end-to-end networks, each virtual network is logically independent, and different network slices are used to provide services for different industry users. Therefore, there is also a security demand for sliced networks in the power industry. Therefore, the traditional terminal identity authentication method cannot meet the security requirements of the power industry. Based on this, it is necessary to provide a terminal identity authentication method that can meet the security requirements of the power industry in response to the above technical problems.
[0049] Figure 2 FIG. 1 is an application environment diagram of the terminal identity authentication method in the embodiment of the present application. The terminal identity authentication method provided in the embodiment of the present application can be applied to the following: Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. Among them, the terminal 102 can be but is not limited to various personal computers, laptops, smart phones, tablets, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0050] Figure 3 This is a flow chart of the terminal identity authentication method in the embodiment of the present application, which can be applied to Figure 2 In the server shown, in one embodiment, as Figure 3 As shown, the following steps are included:
[0051] S301, receiving an access request sent by a terminal, where the access request includes a first authentication result obtained by a core network performing a first level identity authentication on the terminal.
[0052] In this embodiment, when the terminal accesses the core network, the core network performs a first-level identity authentication on the terminal, obtains a first authentication result, and sends the first authentication result to the terminal. Then the terminal sends an access request to the server, the access request includes the first authentication result obtained by the core network performing the first-level identity authentication on the terminal, and the access request is used for the terminal to access the target power network.
[0053] S302: If the first authentication result is authentication passed, an Extensible Authentication Protocol request is sent to the terminal.
[0054] In this embodiment, after the server receives the access request, if the first authentication result in the access request is authentication passed, the server sends an Extensible Authentication Protocol (Extensible Authentication Protocol, EAP) request to the terminal.
[0055] S303, receiving an extensible identity authentication protocol response sent by the terminal, and performing a second level identity authentication on the terminal according to the identity authentication information of the terminal, wherein the extensible identity authentication protocol response includes the identity authentication information.
[0056] In this embodiment, after receiving the EAP request sent by the server, the terminal returns an EAP response to the server according to the EAP request, so that the server receives the EAP response sent by the terminal. The EAP response includes identity authentication information, which is identity authentication information used to verify the legitimacy of the terminal identity, and can be the certificate information of the terminal or the key information generated by the terminal, which is not limited in this embodiment.
[0057] Furthermore, the server performs a second-level identity authentication on the terminal according to the identity authentication information of the terminal. For example, the second-level identity authentication may be at least one of multiple authentication methods such as certificate authentication and key authentication.
[0058] S304, when the second-level identity authentication is passed, the authentication result is sent to the terminal, and a data channel is established between the UPF network element and the target power network, so that the terminal can access the target power network using the data channel based on the authentication result.
[0059] In this embodiment, after the server performs the second-level identity authentication on the terminal according to the identity authentication information of the terminal, the result of the second-level identity authentication will be obtained. If the second-level identity authentication is passed, the server sends the authentication result to the terminal and establishes a data channel between the user plane function (UPF) network element and the target power network. For example, the server establishes a data channel between the user's port 80 and the target power network, so that the terminal can access the target power network through the data channel based on the authentication result. Among them, the UPF network element can be a virtual network port on the terminal. This embodiment does not limit the specific form and content of the UPF network element, as long as the function can be realized.
[0060] The terminal identity authentication method provided in this embodiment receives an access request sent by the terminal, the access request includes a first authentication result obtained by the core network performing a first-level identity authentication on the terminal, if the first authentication result is authentication passed, then sends an extensible identity authentication protocol request to the terminal, receives an extensible identity authentication protocol response sent by the terminal, and performs a second-level identity authentication on the terminal according to the identity authentication information of the terminal, wherein the extensible identity authentication protocol response includes the identity authentication information, so that in the case of passing the second-level identity authentication, the authentication result is sent to the terminal, and a data channel between the UPF network element and the target power network is established, so that the terminal can access the target power network by using the data channel based on the authentication result. In the traditional method, if the terminal wants to access the target power network, it only needs the core network to authenticate the terminal, and the terminal can access the target power network through the core network. In the method provided in this application, on the basis of the core network performing the first-level identity authentication on the terminal, the server also performs the second-level identity authentication based on the first authentication result obtained by the first-level identity authentication, so that the terminal can access the target power network by using the data channel when the second-level identity authentication passes. Therefore, even if unauthorized users attack the authentication process of the terminal and the core network, unauthorized users cannot access the target power network, thereby improving the security of the target power network and meeting the security requirements of the power industry.
[0061] Optionally, the terminal identity authentication method further includes the following steps:
[0062] In the case where the second-level identity authentication fails, an authentication failure result is sent to the terminal, and the data channel is blocked to prohibit the terminal from accessing the target power network using the data channel.
[0063] In this embodiment, if the second-level identity authentication fails, the server sends an authentication failure result to the terminal and blocks the data channel to prohibit the terminal from using the data channel to access the target power network. One feasible way is that the server prohibits all ports on the terminal from establishing data channels with the target power network, so that the server cannot access the target power network.
[0064] In this embodiment, if the second-level identity authentication fails, the server sends the authentication failure result to the terminal and blocks the data channel to prohibit the terminal from using the data channel to access the target power network. Therefore, if the second-level identity authentication fails, the terminal cannot access the target power network, thereby improving the security of the target power network.
[0065] Optionally, the above S303 may be implemented in the following manner:
[0066] An extensible authentication protocol response sent by the terminal is received through the authentication unit, and a second-level identity authentication is performed on the terminal based on the user identification card information, the international mobile equipment identity code information and the chip information of the terminal, wherein the identity authentication information includes the user identification card information, the international mobile equipment identity code information and the chip information of the terminal.
[0067] In this embodiment, the server receives the EAP response sent by the terminal through the authentication unit. The authentication unit may be a function integrated in the server or deployed separately. The EAP response includes the user identification card information, the International Mobile Equipment Identity (IMEI) and the chip information of the terminal. The Subscriber Identity Module (SIM) card information may be the International Mobile Subscriber Identity (IMSI). The chip information of the terminal may be the security chip information of the terminal, such as the key for encryption of the security chip.
[0068] The server performs a second-level identity authentication on the terminal based on the SIM card information, IMEI information and chip information of the terminal. For example, the server stores a first list, which includes an IMSI list, IMEI list and chip information list that can access the target power network. The server determines whether the IMSI information, IMEI information and chip information sent by the terminal exist in the stored first list. If the IMSI information, IMEI information and chip information all exist in the first list, the second-level identity authentication is passed.
[0069] In this embodiment, the authentication unit receives the extensible authentication protocol response sent by the terminal, and performs a second-level identity authentication on the terminal according to the user identification card information, the international mobile equipment identity code information and the chip information of the terminal, wherein the identity authentication information includes the user identification card information, the international mobile equipment identity code information and the chip information of the terminal. Since the user identification card information, the international mobile equipment identity code information and the chip information of the terminal are different for different terminals, the server can perform a second-level identity authentication on the terminal based on the user identification card information, the international mobile equipment identity code information and the chip information of the terminal, thereby improving the security of the target power network.
[0070] Figure 4 This is a flow chart of sending an extensible authentication protocol request in an embodiment of the present application, referring to Figure 4This embodiment relates to an optional implementation of how to send an extensible authentication protocol request. Based on the above embodiment, the above terminal identity authentication method includes the following steps:
[0071] S401: Receive an access request through a session management unit.
[0072] In this embodiment, the access request sent by the terminal may be received through the session management unit. The session management unit may be a function integrated in the server or deployed separately. It is understandable that the session management unit and the authentication unit may be inherited on the server or deployed separately from the server.
[0073] S402: If the authentication result in the access request is authentication passed, the session management unit sends an authentication request to the authentication unit, so that the authentication unit sends an extensible identity authentication protocol request to the terminal.
[0074] In this embodiment, the session management unit receives the access request sent by the terminal, and judges the first authentication result in the access request. If the authentication result in the access request is authentication passed, the session management unit sends an authentication request to the authentication unit, so that the authentication unit sends an EAP request to the terminal. It can be understood that the authentication request is to trigger the authentication unit to send an EAP request to the terminal. This embodiment does not limit the content and form of the authentication request.
[0075] In this embodiment, the session management unit receives the access request. If the authentication result in the access request is authentication passed, the session management unit sends the authentication request to the authentication unit, so that the authentication unit sends an Extensible Authentication Protocol request to the terminal. Since the session management unit and the authentication unit receive the access request and send the EAP request respectively, the security of the terminal's identity authentication process is further improved.
[0076] Optionally, the access request also includes a second authentication result of the target slice network authenticating the terminal. The above S302 can also be implemented in the following manner:
[0077] If the first authentication result and the second authentication result are both authentication passed, an Extensible Authentication Protocol request is sent to the terminal.
[0078] In this embodiment, after the terminal accesses the core network, it also needs to access the target slice network. One implementation method is that after the terminal accesses the core network, it initiates a slice access request to the target slice network. After the target slice network receives the slice access request sent by the terminal, it authenticates the terminal to obtain a second authentication result of the slice access request. Specifically, the target slice network authenticates the terminal, so that the target slice network accessed by the terminal can be authenticated through the core network to ensure that legitimate users access the designated legitimate target slice network. The Network Slice Selection Assistance Information (NSSAI) of the 5G target slice network is encrypted and protected during the entire communication transmission process to prevent information leakage due to leakage. The confidentiality protection of NSSAI is controlled by the operator.
[0079] Furthermore, when the terminal sends an access request to the server, the access request includes the first authentication result and the second authentication result. After the server receives the access request, if both the first authentication result and the second authentication result in the access request are authenticated, the server will send an EAP request to the terminal. In other words, if any of the first authentication result and the second authentication result fails, the server will not send an EAP request to the terminal, nor will it perform the second-level identity authentication, and thus the target power network cannot be accessed.
[0080] In this embodiment, the access request also includes a second authentication result of the target slice network authenticating the terminal. If the first authentication result and the second authentication result are both authenticated, an extensible authentication protocol request is sent to the terminal to further improve the security of the authentication process.
[0081] In order to fully explain the second level identity authentication of this application, Figure 5 Provide explanation. Figure 5 Figure 1 is a schematic diagram of the interaction of the second level identity authentication. Figure 5As shown, as shown in step 1, the terminal first sends an access request to the session management unit, and the access request includes the first authentication result obtained by the core network performing the first-level identity authentication on the terminal and the second authentication result of the target slice network performing the identity authentication on the terminal. The session management unit determines whether to initiate an authentication request to the authentication unit according to the received access request, as shown in step 2. If both the first authentication result and the second authentication result in the access request are authentication passed, the session management unit sends an authentication request to the authentication unit, as shown in step 3.1. If the first authentication result and the second authentication result in the access request are authentication failed, the session management unit will not send an authentication request to the authentication unit, but directly return the result of the second-level identity authentication failure to the terminal, as shown in step 3.2. After the session management unit sends the authentication request to the authentication unit, the authentication unit receives the authentication request and sends an EAP request to the terminal, as shown in step 4. The terminal receives the EAP request and returns an EAP response to the authentication unit according to the EAP request, as shown in step 5. Then the authentication unit receives the EAP response sent by the terminal, and performs a second-level identity authentication on the terminal according to the identity authentication information of the terminal, obtains the second-level identity authentication result and sends the result to the terminal, as shown in step 6.
[0082] The session management unit and the authentication unit may be deployed on one server or on multiple servers. Specifically, the authentication unit may be a Data Network-Authentication Authorization Accounting (DN-AAA) server, and the session management unit may be a Session Management Function (SMF) network element.
[0083] Figure 6 This is a schematic diagram of a process of sending a registration response in an embodiment of the present application, referring to Figure 6 This embodiment relates to an optional implementation of how to send a registration response. Based on the above embodiment, the core network performs a first-level identity authentication on the terminal, including the following steps:
[0084] S601: A core network receives a registration request sent by a terminal, where the registration request includes a terminal identifier of the terminal.
[0085] In this embodiment, the terminal initiates a registration request to the core network, so that the core network receives the registration request sent by the terminal, and the registration request includes a terminal identifier of the terminal. The terminal identifier can be a number and / or a letter, which is not limited in this embodiment. It should be noted that the terminal identifier is unique, and the terminal identifiers of different terminals are different.
[0086] S602: If the terminal security context information corresponding to the terminal identifier exists in the core network, determine that the first authentication result is authentication passed, and send a registration response to the terminal, where the registration response is used to indicate that the terminal accesses the core network.
[0087] In this embodiment, the core network authenticates different terminals, and for terminals that have successfully authenticated, the terminal security context information will be stored within a certain preset time. The terminal security context information may be key information, certificate information, etc. If the core network has terminal security context information corresponding to the terminal identifier, the core network believes that the terminal does not need to be authenticated again, so the core network directly sends a registration response to the terminal, so that the terminal can access the core network through the registration response. Among them, the registration information may be the user name and password for the terminal to log in to the core network, which is not limited in this embodiment. It should be noted that in general, the core network will be deployed separately on other servers.
[0088] In this embodiment, the core network receives a registration request sent by the terminal, wherein the registration request includes the terminal identifier of the terminal and the identifier of the service network of the terminal. If the terminal security context information corresponding to the terminal identifier exists in the core network, the first authentication result is determined to be authentication passed, and a registration response is sent to the terminal, wherein the registration response is used to indicate that the terminal accesses the core network. Since the terminal security context information corresponding to the terminal identifier exists in the core network, it means that the terminal does not need to perform identity authentication in a short time, thereby improving the efficiency of the identity authentication process.
[0089] Figure 7 This is a schematic diagram of a process of accessing the core network in an embodiment of the present application, referring to Figure 5 This embodiment relates to an optional implementation method of how to access the core network. Based on the above embodiment, the core network performs the first level identity authentication on the terminal, including the following steps:
[0090] S701: If the terminal security context information corresponding to the terminal identifier does not exist in the core network, determine whether the core network has an identifier of the serving network.
[0091] In this embodiment, the registration request also includes the identifier of the service network of the terminal. The identifier of the service network can be the service network name of the terminal. It can be understood that the identifiers of the service networks of different terminals are different. If the terminal security context information corresponding to the terminal identifier does not exist in the core network, the core network further determines whether there is an identifier of the service network in the core network. One way to implement this is that a preset first service network identifier list is stored in the core network, and the first service network identifier list includes service network identifier 1, service network identifier 2, ... service network identifier N, where N is an integer greater than or equal to 0, and the first service network identifier list can be updated periodically.
[0092] S702: If the core network has an identifier of the service network, determine that the first authentication result is authentication success, and send verification information to the terminal so that the terminal can access the core network based on the verification information.
[0093] In this embodiment, if the identifier of the service network of the terminal included in the registration request exists in the first service network identifier list, that is, the identifier of the service network exists in the core network, the core network sends a registration response to the terminal, so that the terminal accesses the core network based on the registration response. In this case, the first-level identity authentication result is passed. Among them, the verification information can be the account password for login and core network, or it can be the password issued by the core network to the terminal based on the challenge-response authentication mechanism (CRAM). If the identifier of the service network of the terminal included in the registration request does not exist in the first service network identifier list, the core network will not send a registration response to the terminal. In this case, the first-level identity authentication result is failed. Furthermore, the terminal will also receive the result of the first-level identity authentication sent by the core network.
[0094] In this embodiment, if the terminal security context information corresponding to the terminal identifier does not exist in the core network, it is determined whether there is an identifier of the service network in the core network. Further, if there is an identifier of the service network in the core network, the first authentication result is determined to be authentication passed, and verification information is sent to the terminal so that the terminal can access the core network based on the verification information. Since the server sends the verification information to the terminal based on the service network identifier of the terminal, the security of the identity authentication process is further improved.
[0095] In order to fully explain the first level of identity authentication of this application, Figure 8 Provide explanation. Figure 8 This is a schematic diagram of the interaction of the first level identity authentication. Figure 8As shown, as shown in step 1, the terminal first sends a registration request to the core network, for example, in the format of registration request. The first node in the core network receives the registration request, and then as in step 2, the first node determines whether there is terminal security context information corresponding to the terminal identifier according to the terminal identifier in the registration request. If the first node determines that there is corresponding terminal security context information, as in step 3.2, the first node sends a registration response to the terminal, so that the terminal root registration response accesses the core network. If the first node determines that there is no corresponding terminal security context information, as in step 3.1, the first node sends a second node call request to the second node, for example, in the format of Nausf_UEAuthentications, so that the second node determines whether there is an identifier of the service network of the terminal, as in step 4. If the second node determines that there is an identifier of the service network of the terminal, the second node sends a third node call request to the third node, for example, in the format of Nudm_Authentication_Get_Request, as in step 5.2. Thus, the third node determines the verification information of the terminal and returns the verification information to the second node, for example, in the format of Nudm_Authentication_Get_Response.
[0096] After receiving the verification information, the second node sends the verification information to the first node, for example, in the format of Nausf_Authentications_authenticate_Response. After receiving the verification information, the first node returns the verification information to the terminal, for example, in the format of Authentication_Response. The terminal accesses the core network based on the verification information, such as steps 6 to 8. If the second node determines that there is no identifier of the service network of the terminal, the second-level identity authentication fails, so that the second node returns the result of the second-level identity authentication to the first node, and further, the first node returns the result of the second-level identity authentication to the terminal. Among them, the first node is the Access and Mobility Management Function (AMF) network element; the second node is the Authentication Server Function (AUSF) network element; and the third node is the Unified Data Management (UDM) network element. The first node, the second node, and the third node can be deployed on different servers respectively, or on the same server.
[0097] Fig. 9 This is a schematic diagram of the interaction of the overall authentication in the embodiment of the present application, such as Fig. 9As shown, a 5G power terminal, such as a 5G mobile phone, wants to access a target power network, such as a power application. First, the 5G power terminal carries the power factor corresponding to the terminal to initiate a registration request to the core network. After the core network performs the first-level identity authentication on the 5G power terminal, the 5G power terminal will obtain the first authentication result of the first-level identity authentication. Then the 5G power terminal initiates an access request to the target slice network, and the target slice network authenticates the power terminal to obtain a second authentication result. At this time, the terminal is connected to the target slice network. If access to the power application is required, an access request will be sent to the target power network (power application), and the access request includes the first authentication result and the second authentication result. The session management unit receives the access request and decides whether to perform the second-level identity authentication based on the first authentication result and the second authentication result in the access request. Among them, the power factor is the pre-set information in the 5G power terminal with a 5G module, which is used for subsequent power factor verification. The power factor in the terminal can be one or more, and the power factors in different terminals are different.
[0098] If there is a failure in the first authentication result or the second authentication result, the session management unit directly determines that the second-level identity authentication fails, sends the authentication failure result to the 5G power terminal, and blocks the data channel between the UPF and the power application to prohibit the 5G power terminal from using the data channel to access the target power network. If both the first authentication result and the second authentication result are passed, the session management unit directly sends an authentication request to the authentication unit, so that the authentication unit sends an EAP request to the terminal, and then the terminal returns an EAP response. The authentication unit authenticates the identity authentication information of the 5G power terminal based on the EAP response. Among them, the authentication unit integrates the power trusted management authentication system and the power monitoring system network. The power trusted management authentication system provides the authentication unit with power feature fingerprints, multi-factor authentication methods (such as certificate verification, power factor verification, device attribute verification, etc.), authentication audits and encrypted transmission functions. The power monitoring system network security monitoring system can monitor the operation and security attacks of the target power network in real time. For example, the authentication unit performs power factor verification on the identity authentication information. If the 5G power terminal does not carry the power factor, or the carried power factor does not meet the preset condition requirements, the second-level identity authentication fails. Then, the authentication unit blocks the data channel between the UPF and the power application. It should be noted that the authentication unit can perform multiple authentications on the identity authentication information. If one of the authentications fails, the second-level identity authentication fails. Only when all authentications are successful, the second-level identity authentication is successful. In the case of failure of the second-level identity authentication, that is, failure, the 5G power terminal continues to be attached to the target slice network. In order to ensure that the 5G power terminal cannot maliciously attack the service master station, the 5G power terminal that failed the second-level identity authentication is forced to go offline from the target slice network.
[0099] If the second-level identity authentication is passed, the authentication unit sends the authentication result to the 5G power terminal and establishes a data channel between the UPF and the target power network, and then the terminal accesses the target power network through the result. Specifically, the terminal establishes a PDU session, obtains the IP of the target power network, and then accesses the target power network.
[0100] Fig.10 Schematic diagram of a terminal accessing a target power network in an embodiment of the present application. Fig.10 As shown, in the method provided by this embodiment, if the terminal wants to access the target power network that it ultimately wants to access, the terminal first undergoes authentication 1, that is, the core network needs to perform a first-level identity authentication on the terminal. Further, the terminal undergoes authentication 2, that is, the target slice network performs identity authentication on the terminal. Further, the terminal also undergoes authentication 3, that is, a second-level identity authentication is performed on the terminal, and the terminal can access the target power network through the core network.
[0101] Combination Fig. 9 and Fig.10 The terminal identity authentication method provided in this embodiment is a multi-level enhanced identity authentication technology that collaborates with the public and private sides of 5G power. It flexibly adapts to the security requirements of identity authentication of various services in the power private network on the basis of renting the 5G public network to realize the service access framework. Compared with the traditional identity authentication method, the multi-level authentication method provided in this embodiment further improves the security of the identity authentication process. On this basis, the server can flexibly select the second-level identity authentication method, for example, it can integrate multiple power factors in the identity authentication information of the terminal. In terms of the network architecture, in this embodiment, the 5G power terminal needs to undergo authentication 1 (first-level identity authentication), authentication 2 (target slice network authentication) and authentication 3 (second-level identity authentication), thereby realizing the isolation of multiple power services in the sliced network and secure and reliable access.
[0102] In this embodiment, the power trusted management authentication system is integrated to provide multiple authentication methods, enhance authentication diversity and security protection capabilities. The power monitoring system network is integrated to connect the power monitoring system network security situation awareness system with the 5G communication security service capabilities, greatly improving the global network security situation awareness and security protection capabilities, and ensuring that 5G communications are suitable for power business applications. Furthermore, on the basis of the second-level identity authentication, due to the integration of the power trusted management authentication system and the power monitoring system network security situation awareness system, the diversity and security of authentication methods are enhanced, and the intuitiveness and timeliness of security monitoring and protection are improved.
[0103] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0104] Based on the same inventive concept, the embodiment of the present application also provides a terminal identity authentication device for implementing the terminal identity authentication method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiment of the identity authentication device for one or more terminals provided below can refer to the limitations on the terminal identity authentication method above, and will not be repeated here.
[0105] Fig.11 is a structural block diagram of an identity authentication device of a terminal in an embodiment of the present application. In an embodiment of the present application, Fig.11 As shown, a terminal identity authentication device 1100 is provided, comprising: a first receiving module 1101, a first sending module 1102, a second receiving module 1103 and a second sending module 1104, wherein:
[0106] The first receiving module 1101 is used to receive an access request sent by a terminal, where the access request includes a first authentication result obtained by the core network performing a first level identity authentication on the terminal.
[0107] The first sending module 1102 is configured to send an extensible identity authentication protocol request to the terminal if the first authentication result is authentication passed.
[0108] The second receiving module 1103 is configured to receive an extensible identity authentication protocol response sent by a terminal, and perform a second level identity authentication on the terminal according to the identity authentication information of the terminal, wherein the extensible identity authentication protocol response includes the identity authentication information.
[0109] The second sending module 1104 is used to send the authentication result to the terminal when the second-level identity authentication is passed, and establish a data channel between the UPF network element and the target power network, so that the terminal can access the target power network using the data channel based on the authentication result.
[0110] The terminal identity authentication device provided in this embodiment receives an access request sent by the terminal, wherein the access request includes a first authentication result obtained by the core network performing a first-level identity authentication on the terminal. If the first authentication result is authentication success, an extensible identity authentication protocol request is sent to the terminal, and an extensible identity authentication protocol response is received from the terminal, and a second-level identity authentication is performed on the terminal according to the identity authentication information of the terminal, wherein the extensible identity authentication protocol response includes the identity authentication information, so that in the case of passing the second-level identity authentication, the authentication success result is sent to the terminal, and a data channel between the UPF network element and the target power network is established, so that the terminal can access the target power network by using the data channel based on the authentication success result. In the traditional method, if the terminal wants to access the target power network, it only needs the core network to perform identity authentication on the terminal, and the terminal can access the target power network through the core network. In the method provided in this application, on the basis of the core network performing the first-level identity authentication on the terminal, the server also performs the second-level identity authentication based on the first authentication result obtained by the first-level identity authentication, so that the terminal can access the target power network by using the data channel when the second-level identity authentication passes. Therefore, even if unauthorized users attack the authentication process of the terminal and the core network, unauthorized users cannot access the target power network, thereby improving the security of the target power network and meeting the security requirements of the power industry.
[0111] Optionally, the identity authentication device 1100 of the terminal further includes:
[0112] The third sending module is used to send the authentication failure result to the terminal when the second-level identity authentication fails, and block the data channel to prohibit the terminal from accessing the target power network through the data channel.
[0113] Optionally, the second receiving module is used to receive an extensible authentication protocol response sent by the terminal through the authentication unit, and perform a second level of identity authentication on the terminal based on the user identification card information, the international mobile equipment identity code information and the chip information of the terminal, wherein the identity authentication information includes the user identification card information, the international mobile equipment identity code information and the chip information of the terminal.
[0114] Optionally, the first receiving module 1101 includes:
[0115] A receiving unit, configured to receive an access request through a session management unit;
[0116] The first sending module 1102 is further configured to send an authentication request to the authentication unit through the session management unit if the authentication result in the access request is authentication passed, so that the authentication unit sends an extensible identity authentication protocol request to the terminal.
[0117] Optionally, the access request also includes a second authentication result of the target slice network authenticating the terminal, and the first sending module 1101 is also used to send an extensible authentication protocol request to the terminal if both the first authentication result and the second authentication result are authenticated.
[0118] Optionally, the identity authentication device 1100 of the terminal further includes:
[0119] The third receiving module is used for the core network to receive a registration request sent by the terminal, wherein the registration request includes a terminal identifier of the terminal.
[0120] The fourth sending module is used to determine that the first authentication result is authentication passed if terminal security context information corresponding to the terminal identifier exists in the core network, and send a registration response to the terminal, wherein the registration response is used to indicate that the terminal accesses the core network.
[0121] Optionally, the identity authentication device 1100 of the terminal further includes:
[0122] The judgment unit is used to judge whether there is an identifier of the service network in the core network if the terminal security context information corresponding to the terminal identifier does not exist in the core network.
[0123] The sending unit is used to determine that the first authentication result is authentication success if the identifier of the service network exists in the core network, and send verification information to the terminal so that the terminal can access the core network based on the verification information.
[0124] Each module in the identity authentication device of the above terminal can be implemented in whole or in part by software, hardware and their combination. Each module can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.
[0125] Fig.12 : is an internal structure diagram of a computer device in an embodiment of the present application. In an embodiment of the present application, a computer device is provided. The computer device may be a server. The internal structure diagram thereof may be as shown in FIG. Fig.12As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store relevant data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a terminal identity authentication method is implemented.
[0126] Those skilled in the art will understand that Fig.12 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0127] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0128] receiving an access request sent by the terminal, the access request including a first authentication result obtained by the core network performing a first level identity authentication on the terminal;
[0129] If the first authentication result is authentication passed, sending an Extensible Authentication Protocol request to the terminal;
[0130] receiving an extensible authentication protocol response sent by the terminal, and performing a second level identity authentication on the terminal according to the identity authentication information of the terminal, wherein the extensible authentication protocol response includes the identity authentication information;
[0131] When the second-level identity authentication is passed, the authentication result is sent to the terminal, and a data channel is established between the UPF network element and the target power network, so that the terminal can access the target power network using the data channel based on the authentication result.
[0132] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0133] In the case where the second-level identity authentication fails, an authentication failure result is sent to the terminal, and the data channel is blocked to prohibit the terminal from accessing the target power network using the data channel.
[0134] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0135] An extensible authentication protocol response sent by the terminal is received through an authentication unit, and a second-level identity authentication is performed on the terminal based on the user identification card information, the international mobile equipment identity code information and the chip information of the terminal, wherein the identity authentication information includes the user identification card information, the international mobile equipment identity code information and the chip information of the terminal.
[0136] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0137] Receiving the access request through a session management unit;
[0138] If the authentication result is that the authentication is passed, sending an extensible identity authentication protocol request to the terminal includes:
[0139] If the authentication result in the access request is authentication passed, an authentication request is sent to the authentication unit through the session management unit, so that the authentication unit sends the Extensible Authentication Protocol request to the terminal.
[0140] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0141] If both the first authentication result and the second authentication result are authentication passed, an Extensible Authentication Protocol request is sent to the terminal.
[0142] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0143] The core network receives a registration request sent by the terminal, wherein the registration request includes a terminal identifier of the terminal;
[0144] If the terminal security context information corresponding to the terminal identifier exists in the core network, it is determined that the first authentication result is authentication passed, and a registration response is sent to the terminal, wherein the registration response is used to instruct the terminal to access the core network.
[0145] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0146] If the terminal security context information corresponding to the terminal identifier does not exist in the core network, determining whether the core network has an identifier of the service network;
[0147] If the identifier of the service network exists in the core network, it is determined that the first authentication result is authentication success, and verification information is sent to the terminal so that the terminal can access the core network based on the verification information.
[0148] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0149] receiving an access request sent by the terminal, the access request including a first authentication result obtained by the core network performing a first level identity authentication on the terminal;
[0150] If the first authentication result is authentication passed, sending an Extensible Authentication Protocol request to the terminal;
[0151] receiving an extensible authentication protocol response sent by the terminal, and performing a second level identity authentication on the terminal according to the identity authentication information of the terminal, wherein the extensible authentication protocol response includes the identity authentication information;
[0152] When the second-level identity authentication is passed, the authentication result is sent to the terminal, and a data channel is established between the UPF network element and the target power network, so that the terminal can access the target power network using the data channel based on the authentication result.
[0153] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0154] In the case where the second-level identity authentication fails, an authentication failure result is sent to the terminal, and the data channel is blocked to prohibit the terminal from accessing the target power network using the data channel.
[0155] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0156] An extensible authentication protocol response sent by the terminal is received through an authentication unit, and a second-level identity authentication is performed on the terminal based on the user identification card information, the international mobile equipment identity code information and the chip information of the terminal, wherein the identity authentication information includes the user identification card information, the international mobile equipment identity code information and the chip information of the terminal.
[0157] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0158] Receiving the access request through a session management unit;
[0159] If the authentication result is that the authentication is passed, sending an extensible identity authentication protocol request to the terminal includes:
[0160] If the authentication result in the access request is authentication passed, an authentication request is sent to the authentication unit through the session management unit, so that the authentication unit sends the Extensible Authentication Protocol request to the terminal.
[0161] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0162] If both the first authentication result and the second authentication result are authentication passed, an Extensible Authentication Protocol request is sent to the terminal.
[0163] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0164] The core network receives a registration request sent by the terminal, wherein the registration request includes a terminal identifier of the terminal;
[0165] If the terminal security context information corresponding to the terminal identifier exists in the core network, it is determined that the first authentication result is authentication passed, and a registration response is sent to the terminal, wherein the registration response is used to instruct the terminal to access the core network.
[0166] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0167] If the terminal security context information corresponding to the terminal identifier does not exist in the core network, determining whether the core network has an identifier of the service network;
[0168] If the identifier of the service network exists in the core network, it is determined that the first authentication result is authentication success, and verification information is sent to the terminal so that the terminal can access the core network based on the verification information.
[0169] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0170] receiving an access request sent by the terminal, the access request including a first authentication result obtained by the core network performing a first level identity authentication on the terminal;
[0171] If the first authentication result is authentication passed, sending an Extensible Authentication Protocol request to the terminal;
[0172] receiving an extensible authentication protocol response sent by the terminal, and performing a second level identity authentication on the terminal according to the identity authentication information of the terminal, wherein the extensible authentication protocol response includes the identity authentication information;
[0173] When the second-level identity authentication is passed, the authentication result is sent to the terminal, and a data channel is established between the UPF network element and the target power network, so that the terminal can access the target power network using the data channel based on the authentication result.
[0174] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0175] In the case where the second-level identity authentication fails, an authentication failure result is sent to the terminal, and the data channel is blocked to prohibit the terminal from accessing the target power network using the data channel.
[0176] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0177] An extensible authentication protocol response sent by the terminal is received through an authentication unit, and a second-level identity authentication is performed on the terminal based on the user identification card information, the international mobile equipment identity code information and the chip information of the terminal, wherein the identity authentication information includes the user identification card information, the international mobile equipment identity code information and the chip information of the terminal.
[0178] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0179] Receiving the access request through a session management unit;
[0180] If the authentication result is that the authentication is passed, sending an extensible identity authentication protocol request to the terminal includes:
[0181] If the authentication result in the access request is authentication passed, an authentication request is sent to the authentication unit through the session management unit, so that the authentication unit sends the Extensible Authentication Protocol request to the terminal.
[0182] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0183] If both the first authentication result and the second authentication result are authentication passed, an Extensible Authentication Protocol request is sent to the terminal.
[0184] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0185] The core network receives a registration request sent by the terminal, wherein the registration request includes a terminal identifier of the terminal;
[0186] If the terminal security context information corresponding to the terminal identifier exists in the core network, it is determined that the first authentication result is authentication passed, and a registration response is sent to the terminal, wherein the registration response is used to instruct the terminal to access the core network.
[0187] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0188] If the terminal security context information corresponding to the terminal identifier does not exist in the core network, determining whether the core network has an identifier of the service network;
[0189] If the identifier of the service network exists in the core network, it is determined that the first authentication result is authentication success, and verification information is sent to the terminal so that the terminal can access the core network based on the verification information.
[0190] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0191] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited thereto.
[0192] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0193] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A terminal identity authentication method, It is characterized in that The method comprises: Receive an access request sent by the terminal, where the access request includes a first authentication result obtained by the core network performing a first-level identity authentication on the terminal, and a second authentication result obtained by the target slice network performing identity authentication on the terminal; If both the first authentication result and the second authentication result are authentication passed, sending an Extensible Authentication Protocol request to the terminal; receiving an extensible authentication protocol response sent by the terminal, and performing a second level identity authentication on the terminal according to the identity authentication information of the terminal, wherein the extensible authentication protocol response includes the identity authentication information; If the second-level identity authentication is passed, the authentication result is sent to the terminal, and a data channel is established between the UPF network element and the target power network, so that the terminal can access the target power network using the data channel based on the authentication result; If the second-level identity authentication fails, the terminal is forcibly disconnected from the target slice network.
2. The method according to claim 1, It is characterized in that The method further comprises: In the case where the second-level identity authentication fails, an authentication failure result is sent to the terminal, and the data channel is blocked to prohibit the terminal from accessing the target power network using the data channel.
3. The method according to claim 2, It is characterized in that The receiving an extensible authentication protocol response sent by the terminal, and performing a second level identity authentication on the terminal according to the identity authentication information of the terminal, comprises: An extensible authentication protocol response sent by the terminal is received through an authentication unit, and a second-level identity authentication is performed on the terminal based on the user identification card information, the international mobile equipment identity code information and the chip information of the terminal, wherein the identity authentication information includes the user identification card information, the international mobile equipment identity code information and the chip information of the terminal.
4. The method according to claim 3, It is characterized in that The receiving the access request sent by the terminal includes: Receiving the access request through a session management unit; If the authentication result is that the authentication is passed, sending an extensible identity authentication protocol request to the terminal includes: If the authentication result in the access request is authentication passed, an authentication request is sent to the authentication unit through the session management unit, so that the authentication unit sends the Extensible Authentication Protocol request to the terminal.
5. The method according to any one of claims 1 to 4, It is characterized in that The core network performs a first level identity authentication on the terminal, including: The core network receives a registration request sent by the terminal, wherein the registration request includes a terminal identifier of the terminal; If the terminal security context information corresponding to the terminal identifier exists in the core network, it is determined that the first authentication result is authentication passed, and a registration response is sent to the terminal, wherein the registration response is used to instruct the terminal to access the core network.
6. The method according to claim 5, It is characterized in that The registration request also includes an identifier of a service network of the terminal, and the method further includes: If the terminal security context information corresponding to the terminal identifier does not exist in the core network, determining whether the core network has an identifier of the service network; If the identifier of the service network exists in the core network, it is determined that the first authentication result is authentication success, and verification information is sent to the terminal so that the terminal can access the core network based on the verification information.
7. An identity authentication device for a terminal, It is characterized in that The device comprises: A first receiving module, configured to receive an access request sent by the terminal, where the access request includes a first authentication result obtained by the core network performing a first-level identity authentication on the terminal, and a second authentication result obtained by the target slice network performing identity authentication on the terminal; A first sending module, configured to send an extensible authentication protocol request to the terminal if both the first authentication result and the second authentication result are authentication passed; a second receiving module, configured to receive an extensible authentication protocol response sent by the terminal, and perform a second level of identity authentication on the terminal according to the identity authentication information of the terminal, wherein the extensible authentication protocol response includes the identity authentication information; A second sending module is used to send an authentication result to the terminal when the second-level identity authentication is passed, and establish a data channel between the UPF network element and the target power network, so that the terminal can access the target power network by using the data channel based on the authentication result; The device is also used to force the terminal to go offline from the target slice network if the second-level identity authentication fails.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
5G application access authentication method and 5G application access authentication network architecture
CN112312393A
Network registration method and device
CN112738881A
Authentication method, apparatus and system
WO2020253736A1
