Authentication method, device, session management function entity, server and terminal

By maintaining the mapping relationship between EAP ID, target data network and UE ID in SMF entities in 5G network, the problem of high UE information exposure and maintenance costs in the secondary authentication scheme in the prior art is solved, and efficient in 5G network is achieved. , secure terminal reauthentication reduces the burden on AAA servers.

CN114024693BActive Publication Date: 2024-11-08CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010685582.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-16
Publication Date
2024-11-08
Estimated Expiration
2040-07-16

AI Technical Summary

Technical Problem

In the prior art, the secondary authentication scheme has the problem of exposing UE information and high maintenance costs. Especially in 5G networks, when the terminal needs to be re-authenticated and revoked, it is necessary to undergo major transformation of the AAA server, adding servers. Burdens and costs.

Method used

By maintaining the mapping relationship between the EAP ID, the identity of the target data network and the UE ID in the session management function SMF entity, using the EAP ID as a key value to locate the terminal for reauthentication during reauthentication, there is no need to obtain GPSI and avoid the server Maintaining GPSI reduces implementation and maintenance costs.

Benefits of technology

It realizes that without exposing UE information and changing the AAA server account management system in the 5G network, the implementation and maintenance costs of the authentication scheme are reduced, the exposure of UE information is avoided, and security and efficiency are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114024693B_ABST
    Figure CN114024693B_ABST
Patent Text Reader

Abstract

The present invention provides an authentication method, device, session management function entity, server and terminal, wherein the authentication method comprises: receiving a re-authentication request sent by a server, the re-authentication request carrying an EAP ID; obtaining an identifier of a target data network according to the address of the server; obtaining a terminal identifier UE ID according to the EAP ID, the identifier of the target data network and a first mapping relationship; triggering a corresponding terminal to perform a re-authentication operation with the server according to the UE ID; wherein the first mapping relationship comprises a mapping relationship between the EAP ID, the identifier of the target data network and the UE ID. This solution well solves the problems of the authentication solution in the prior art that the UE information is exposed and the implementation and maintenance costs are high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to an authentication method, device, session management function entity, server and terminal. Background Art

[0002] Secondary authentication is performed after the initial authentication when accessing the 5G network. It mainly provides service authentication and related key management functions between the terminal (UE) and the external data network (such as the service provider). Secondary authentication realizes the cooperation between the 5G network and the service-side platform. The service-side platform performs the authentication, and the 5G network carries the authentication message and controls whether the UE can access the external data network based on the authentication result. Unlike the credentials stored in the USIM (Universal Subscriber Identity Module) used for the initial authentication when the UE accesses the operator's network, secondary authentication requires additional credentials (such as certificates) to implement, and the authentication server is located in the external data network.

[0003] After the initial secondary authentication, the authentication server or authenticator (authenticator) re-initiates secondary authentication for the UE as appropriate, including the following situations: ① The server is down (failed, disconnected, turned off, etc. and unable to provide services); ② The administrator modifies the access rights, authorization attributes and other parameters of a user on the authentication server. At this time, if the user is already online, it is necessary to re-authenticate the user in time to ensure the legitimacy of the user; ③ Online timeout re-authentication; ④ The authenticator is configured with regular re-authentication; ⑤ Authentication failed. After the secondary authentication, if the user goes offline, a false login is found, the authentication authorization is changed, or the number of users is too large, the secondary authentication status revocation can be initiated. Among them: The term re-authentication can also be used in legacy 3GPP systems (for example, Global System for Mobile Communications GSM, General Radio Packet Service GPRS, Universal Mobile Telecommunications System UMTS, Long Term Evolution LTE (or System Architecture Evolution SAE)), and in current 5G system access.

[0004] For external data networks, compared with application layer authentication, secondary authentication allows access control to external data networks to occur before a session is established, preventing malicious terminals from establishing data channels with external data networks; using secondary authentication can also prevent machine-card separation. When a terminal, especially an IoT device card, is inserted into another terminal, the terminal used by the attacker does not have the credentials used for secondary authentication. When the attacker attempts to access a network, he will be rejected because he cannot pass secondary authentication, thus ensuring the security of the data network. For 5G networks, secondary authentication enables operators to provide security services for vertical industries.

[0005] In the prior art, during secondary authentication, the SMF (session management function) sends out the GPSI (general public subscription identifier), which is the identifier of the UE and is stored in the UDM (unified data management device). The SMF can identify the UE based on the GPSI. When the AAA server decides to initiate re-authentication and revoke secondary authentication for a certain UE, it sends the GPSI to the network so that the network can identify the UE, update the status of the UE secondary authentication, and inform the UE to re-authenticate.

[0006] Specifically, in the existing solution, the SMF sends the GPSI to the AAA server during the secondary authentication. When the AAA server initiates re-authentication and revokes the secondary authentication, it will send the GPSI to the network for the network to identify the UE. However, this solution requires a major modification of the existing AAA server: the traditional AAA server only has the EAP ID as the user identifier for EAP authentication and cannot identify the GPSI. Therefore, the application of this solution requires the AAA server to add a network identifier GPSI for storing the UE, and send the GPSI to the SMF when the re-authentication and revocation processes are initiated.

[0007] As can be seen from the above, the existing authentication schemes have the problems of exposing UE information, requiring the server to maintain additional information, changing the original account management system of the server, and having high implementation costs. Summary of the invention

[0008] The purpose of the present invention is to provide an authentication method, device, session management function entity, server and terminal to solve the problems of UE information exposure, high implementation and maintenance costs in the authentication scheme in the prior art.

[0009] In order to solve the above technical problems, an embodiment of the present invention provides an authentication method, which is applied to a session management function SMF entity, including:

[0010] Receiving a re-authentication request sent by a server, wherein the re-authentication request carries an extensible authentication protocol identity identifier EAP ID;

[0011] Obtaining an identification of a target data network according to the address of the server;

[0012] Obtaining a terminal identification UE ID according to the EAP ID, an identification of a target data network and a first mapping relationship;

[0013] According to the UE ID, trigger the corresponding terminal to perform a re-authentication operation with the server;

[0014] The first mapping relationship includes a mapping relationship between an EAP ID, an identifier of a target data network, and a UE ID.

[0015] Optionally, triggering, according to the UE ID, the corresponding terminal to perform a re-authentication operation with the server includes:

[0016] Sending an Extensible Authentication Protocol (EAP) re-authentication identity request to a corresponding terminal according to the UE ID;

[0017] receiving an EAP re-authentication identity response fed back by the terminal according to the EAP re-authentication identity request;

[0018] Sending the EAP re-authentication identity response to the server to trigger the terminal to perform EAP re-authentication with the server;

[0019] The EAP re-authentication identity response carries an EAP ID; the EAP ID carried in the EAP re-authentication identity response is the same as or different from the EAP ID carried in the re-authentication request.

[0020] Optionally, after triggering the corresponding terminal to perform a re-authentication operation with the server according to the UE ID, the method further includes:

[0021] The first mapping relationship is updated according to the EAP ID carried in the EAP re-authentication identity response.

[0022] Optionally, updating the first mapping relationship according to the EAP ID carried in the EAP re-authentication identity response includes:

[0023] The EAP ID in the first mapping relationship is updated to the EAPID carried in the EAP re-authentication identity response.

[0024] Optionally, the first mapping relationship includes at least one mapping relationship, and each mapping relationship corresponds to a secondary authentication status information;

[0025] The triggering, according to the UE ID, of a corresponding terminal to perform a re-authentication operation with the server further includes:

[0026] After sending the EAP re-authentication identity response to the server to trigger the terminal to perform EAP re-authentication with the server, receiving EAP re-authentication result information sent by the server;

[0027] After triggering the corresponding terminal to perform a re-authentication operation with the server according to the UE ID, the method further includes:

[0028] According to the EAP re-authentication result information, the secondary authentication state information in the first mapping relationship is updated.

[0029] Optionally, before receiving the re-authentication request sent by the server, the following is also included:

[0030] During the secondary authentication operation corresponding to the re-authentication operation, the UE ID, the identifier of the target data network and the EAP ID are acquired; and the mapping relationship is obtained according to the acquired UE ID, the identifier of the target data network and the EAP ID.

[0031] Optionally, before receiving the re-authentication request sent by the server, the following is also included:

[0032] Acquire authentication result information of the secondary authentication operation as the obtained secondary authentication state information of the mapping relationship.

[0033] Optionally, the acquiring the UE ID, the identifier of the target data network, and the EAP ID includes:

[0034] Receiving a protocol data unit (PDU) session establishment request sent by the terminal;

[0035] Acquire the UE ID, the identifier of the target data network, and the EAP ID from the PDU session establishment request, wherein the EAP ID carried in the PDU session establishment request is the same as the EAP ID carried in the re-authentication request; or,

[0036] Receiving a PDU session establishment request sent by the terminal;

[0037] Acquire the UE ID and the identifier of the target data network from the PDU session establishment request, and send an Extensible Authentication Protocol EAP identity request to the terminal according to the PDU session establishment request;

[0038] receiving an EAP identity response fed back by the terminal according to the EAP identity request;

[0039] Obtaining an EAP ID from the EAP identity response;

[0040] The EAP ID carried in the EAP identity response is the same as the EAP ID carried in the re-authentication request.

[0041] Optionally, the first mapping relationship and the secondary authentication status information are both stored locally or in a unified data management device UDM.

[0042] The embodiment of the present invention further provides an authentication method, which is applied to a server and includes:

[0043] Send a re-authentication request to the session management function SMF entity;

[0044] The re-authentication request carries an extensible authentication protocol identity identifier EAP ID.

[0045] Optionally, after sending the re-authentication request to the session management function SMF entity, the method further includes:

[0046] Receiving an Extensible Authentication Protocol (EAP) re-authentication identity response sent by the SMF entity;

[0047] According to the EAP re-authentication identity response, EAP re-authentication is performed with the corresponding terminal.

[0048] Optionally, after performing EAP re-authentication with a corresponding terminal according to the EAP re-authentication identity response, the method further includes:

[0049] Send the EAP re-authentication result information to the SMF entity.

[0050] The embodiment of the present invention further provides an authentication method, which is applied to a terminal and includes:

[0051] Receiving an Extensible Authentication Protocol (EAP) re-authentication identity request sent by a session management function (SMF) entity;

[0052] Feedback an EAP re-authentication identity response to the SMF entity according to the EAP re-authentication identity request;

[0053] The EAP re-authentication identity response carries an EAP ID; the EAP ID carried in the EAP re-authentication identity response is the same as or different from the EAP ID carried in the re-authentication request received by the SMF entity.

[0054] Optionally, feeding back an EAP re-authentication identity response to the SMF entity according to the EAP re-authentication identity request includes:

[0055] Determine the EAP ID;

[0056] generating an EAP re-authentication identity response including the EAP ID;

[0057] The generated EAP re-authentication identity response is fed back to the SMF entity.

[0058] Optionally, before receiving the extensible authentication protocol EAP re-authentication identity request sent by the session management function SMF entity, the method further includes:

[0059] During the secondary authentication operation corresponding to the re-authentication operation corresponding to the re-authentication request, a protocol data unit PDU session establishment request is sent to the SMF entity; the PDU session establishment request carries the UE ID, the identifier of the target data network and the EAP ID, and the EAP ID carried in the PDU session establishment request is the same as the EAP ID carried in the re-authentication request; or,

[0060] During the secondary authentication operation corresponding to the re-authentication operation corresponding to the re-authentication request, a protocol data unit PDU session establishment request is sent to the SMF entity; the PDU session establishment request carries the UE ID and the identifier of the target data network;

[0061] Receiving an Extensible Authentication Protocol EAP identity request sent by the SMF entity according to the PDU session establishment request;

[0062] Feedback an EAP identity response to the SMF entity according to the EAP identity request;

[0063] The EAP identity response carries an EAP ID, and the EAP ID carried in the EAP identity response is the same as the EAP ID carried in the re-authentication request.

[0064] The embodiment of the present invention further provides an authentication device, which is applied to a session management function SMF entity, including:

[0065] A first receiving module, configured to receive a re-authentication request sent by a server, wherein the re-authentication request carries an extensible authentication protocol identity identifier EAP ID;

[0066] A first processing module, configured to obtain an identifier of a target data network according to an address of the server;

[0067] A second processing module, configured to obtain a terminal identifier UE ID according to the EAP ID, an identifier of a target data network and a first mapping relationship;

[0068] A first triggering module, configured to trigger the corresponding terminal to perform a re-authentication operation with the server according to the UE ID;

[0069] The first mapping relationship includes a mapping relationship between an EAP ID, an identifier of a target data network, and a UE ID.

[0070] Optionally, the first trigger module includes:

[0071] A first sending submodule, configured to send an extensible authentication protocol EAP re-authentication identity request to a corresponding terminal according to the UE ID;

[0072] A first receiving submodule, configured to receive an EAP re-authentication identity response fed back by the terminal according to the EAP re-authentication identity request;

[0073] A first triggering submodule, configured to send the EAP re-authentication identity response to the server, triggering the terminal to perform EAP re-authentication with the server;

[0074] The EAP re-authentication identity response carries an EAP ID; the EAP ID carried in the EAP re-authentication identity response is the same as or different from the EAP ID carried in the re-authentication request.

[0075] Optionally, also include:

[0076] The first updating module is configured to update the first mapping relationship according to the EAP ID carried in the EAP re-authentication identity response after triggering the corresponding terminal to perform a re-authentication operation with the server according to the UE ID.

[0077] Optionally, the first update module includes:

[0078] The first updating submodule is configured to update the EAP ID in the first mapping relationship to the EAP ID carried in the EAP re-authentication identity response.

[0079] Optionally, the first mapping relationship includes at least one mapping relationship, and each mapping relationship corresponds to a secondary authentication status information;

[0080] The first trigger module further includes:

[0081] A second receiving submodule is used to receive EAP re-authentication result information sent by the server after sending the EAP re-authentication identity response to the server to trigger the terminal to perform EAP re-authentication with the server;

[0082] The authentication device also includes:

[0083] The second updating module is used to update the secondary authentication state information in the first mapping relationship according to the EAP re-authentication result information after triggering the corresponding terminal to perform a re-authentication operation with the server according to the UE ID.

[0084] Optionally, also include:

[0085] The third processing module is used to obtain the UE ID, the identifier of the target data network and the EAP ID during the secondary authentication operation corresponding to the re-authentication operation before receiving the re-authentication request sent by the server; and obtain the mapping relationship based on the obtained UE ID, the identifier of the target data network and the EAP ID.

[0086] Optionally, also include:

[0087] The first acquisition module is used to obtain the authentication result information of the secondary authentication operation before receiving the re-authentication request sent by the server as the secondary authentication state information of the obtained mapping relationship.

[0088] Optionally, the third processing module includes:

[0089] A third receiving submodule is used to receive a protocol data unit PDU session establishment request sent by the terminal;

[0090] A first acquisition submodule is configured to acquire a UE ID, an identifier of a target data network, and an EAP ID from the PDU session establishment request, wherein the EAP ID carried in the PDU session establishment request is the same as the EAP ID carried in the re-authentication request; or

[0091] A fourth receiving submodule, configured to receive a PDU session establishment request sent by the terminal;

[0092] A first processing submodule, configured to obtain a UE ID and an identifier of a target data network from the PDU session establishment request, and send an Extensible Authentication Protocol EAP identity request to the terminal according to the PDU session establishment request;

[0093] A fifth receiving submodule, configured to receive an EAP identity response fed back by the terminal according to the EAP identity request;

[0094] A second acquisition submodule, configured to acquire an EAP ID from the EAP identity response;

[0095] The EAP ID carried in the EAP identity response is the same as the EAP ID carried in the re-authentication request.

[0096] Optionally, the first mapping relationship and the secondary authentication status information are both stored locally or in a unified data management device UDM.

[0097] The embodiment of the present invention further provides an authentication device, which is applied to a server and includes:

[0098] A first sending module, used to send a re-authentication request to a session management function SMF entity;

[0099] The re-authentication request carries an extensible authentication protocol identity identifier EAP ID.

[0100] Optionally, also include:

[0101] A second receiving module is used to receive an Extensible Authentication Protocol EAP re-authentication identity response sent by the SMF entity after sending a re-authentication request to the SMF entity;

[0102] The first authentication module is used to perform EAP re-authentication with the corresponding terminal according to the EAP re-authentication identity response.

[0103] Optionally, also include:

[0104] The second sending module is used to send EAP re-authentication result information to the SMF entity after performing EAP re-authentication with the corresponding terminal according to the EAP re-authentication identity response.

[0105] The embodiment of the present invention further provides an authentication device, applied to a terminal, comprising:

[0106] The third receiving module is used to receive an extensible authentication protocol EAP re-authentication identity request sent by a session management function SMF entity;

[0107] A first feedback module, configured to feed back an EAP re-authentication identity response to the SMF entity according to the EAP re-authentication identity request;

[0108] The EAP re-authentication identity response carries an EAP ID; the EAP ID carried in the EAP re-authentication identity response is the same as or different from the EAP ID carried in the re-authentication request received by the SMF entity.

[0109] Optionally, the first feedback module includes:

[0110] A first determination submodule, configured to determine an EAP ID;

[0111] A first generating submodule, configured to generate an EAP re-authentication identity response including the EAP ID;

[0112] The first feedback submodule is used to feed back the generated EAP re-authentication identity response to the SMF entity.

[0113] The embodiment of the present invention also provides a session management function entity, including: a processor and a transceiver;

[0114] The processor is configured to receive, by using the transceiver, a re-authentication request sent by a server, wherein the re-authentication request carries an extensible authentication protocol identity identifier EAP ID;

[0115] Obtaining an identification of a target data network according to the address of the server;

[0116] Obtaining a terminal identification UE ID according to the EAP ID, an identification of a target data network and a first mapping relationship;

[0117] According to the UE ID, trigger the corresponding terminal to perform a re-authentication operation with the server;

[0118] The first mapping relationship includes a mapping relationship between an EAP ID, an identifier of a target data network, and a UE ID.

[0119] Optionally, the processor is specifically configured to:

[0120] According to the UE ID, using the transceiver, sending an Extensible Authentication Protocol (EAP) re-authentication identity request to the corresponding terminal;

[0121] Receiving, by the transceiver, an EAP re-authentication identity response fed back by the terminal according to the EAP re-authentication identity request;

[0122] Using the transceiver to send the EAP re-authentication identity response to the server, triggering the terminal to perform EAP re-authentication with the server;

[0123] The EAP re-authentication identity response carries an EAP ID; the EAP ID carried in the EAP re-authentication identity response is the same as or different from the EAP ID carried in the re-authentication request.

[0124] Optionally, the processor is further configured to:

[0125] After triggering the corresponding terminal to perform a re-authentication operation with the server according to the UE ID, the first mapping relationship is updated according to the EAP ID carried in the EAP re-authentication identity response.

[0126] Optionally, the processor is specifically configured to:

[0127] The EAP ID in the first mapping relationship is updated to the EAPID carried in the EAP re-authentication identity response.

[0128] Optionally, the first mapping relationship includes at least one mapping relationship, and each mapping relationship corresponds to a secondary authentication status information;

[0129] The processor is further configured to:

[0130] After sending the EAP re-authentication identity response to the server to trigger the terminal to perform EAP re-authentication with the server, using the transceiver to receive EAP re-authentication result information sent by the server;

[0131] The processor is further configured to:

[0132] After triggering the corresponding terminal to perform a re-authentication operation with the server according to the UE ID, the secondary authentication state information in the first mapping relationship is updated according to the EAP re-authentication result information.

[0133] Optionally, the processor is further configured to:

[0134] Before receiving the re-authentication request sent by the server, during the secondary authentication operation corresponding to the re-authentication operation, the UE ID, the identifier of the target data network and the EAP ID are obtained; and the mapping relationship is obtained according to the obtained UE ID, the identifier of the target data network and the EAP ID.

[0135] Optionally, the processor is further configured to:

[0136] Before receiving the re-authentication request sent by the server, authentication result information of the secondary authentication operation is obtained as the secondary authentication state information of the obtained mapping relationship.

[0137] Optionally, the processor is specifically configured to:

[0138] Receiving, by the transceiver, a protocol data unit (PDU) session establishment request sent by the terminal;

[0139] Acquire the UE ID, the identifier of the target data network, and the EAP ID from the PDU session establishment request, wherein the EAP ID carried in the PDU session establishment request is the same as the EAP ID carried in the re-authentication request; or,

[0140] Receiving, by the transceiver, a PDU session establishment request sent by the terminal;

[0141] Acquire the UE ID and the identifier of the target data network from the PDU session establishment request, and send an Extensible Authentication Protocol EAP identity request to the terminal using the transceiver according to the PDU session establishment request;

[0142] Receiving, by the transceiver, an EAP identity response fed back by the terminal according to the EAP identity request;

[0143] Obtaining an EAP ID from the EAP identity response;

[0144] The EAP ID carried in the EAP identity response is the same as the EAP ID carried in the re-authentication request.

[0145] Optionally, the first mapping relationship and the secondary authentication status information are both stored locally or in a unified data management device UDM.

[0146] An embodiment of the present invention further provides a server, comprising: a processor and a transceiver;

[0147] The processor is used to send a re-authentication request to a session management function SMF entity using the transceiver;

[0148] The re-authentication request carries an extensible authentication protocol identity identifier EAP ID.

[0149] Optionally, the processor is further configured to:

[0150] After sending a re-authentication request to a session management function SMF entity, receiving an extensible authentication protocol EAP re-authentication identity response sent by the SMF entity using the transceiver;

[0151] According to the EAP re-authentication identity response, EAP re-authentication is performed with the corresponding terminal.

[0152] Optionally, the processor is further configured to:

[0153] After performing EAP re-authentication with the corresponding terminal according to the EAP re-authentication identity response, the EAP re-authentication result information is sent to the SMF entity using the transceiver.

[0154] An embodiment of the present invention further provides a terminal, comprising: a processor and a transceiver;

[0155] The processor is used to receive, by using the transceiver, an extensible authentication protocol EAP re-authentication identity request sent by a session management function SMF entity;

[0156] Feedback an EAP re-authentication identity response to the SMF entity using the transceiver according to the EAP re-authentication identity request;

[0157] The EAP re-authentication identity response carries an EAP ID; the EAP ID carried in the EAP re-authentication identity response is the same as or different from the EAP ID carried in the re-authentication request received by the SMF entity.

[0158] Optionally, the processor is specifically configured to:

[0159] Determine the EAP ID;

[0160] generating an EAP re-authentication identity response including the EAP ID;

[0161] The transceiver is used to feed back the generated EAP re-authentication identity response to the SMF entity.

[0162] An embodiment of the present invention also provides a session management function entity, including a memory, a processor, and a program stored in the memory and executable on the processor; when the processor executes the program, the authentication method on the session management function entity side is implemented.

[0163] An embodiment of the present invention further provides a server, comprising a memory, a processor, and a program stored in the memory and executable on the processor; when the processor executes the program, the above-mentioned server-side authentication method is implemented.

[0164] An embodiment of the present invention further provides a terminal, comprising a memory, a processor, and a program stored in the memory and executable on the processor; when the processor executes the program, the above-mentioned terminal-side authentication method is implemented.

[0165] An embodiment of the present invention further provides a readable storage medium on which a program is stored. When the program is executed by a processor, the steps in the authentication method on the session management function entity side, server side or terminal side are implemented.

[0166] The beneficial effects of the above technical solution of the present invention are as follows:

[0167] In the above scheme, a re-authentication request sent by a server is received, wherein the re-authentication request carries an extensible authentication protocol identity identifier EAP ID; an identifier of a target data network is obtained according to the address of the server; a terminal identifier UE ID is obtained according to the EAP ID, the identifier of the target data network and a first mapping relationship; and a corresponding terminal is triggered to perform a re-authentication operation with the server according to the UE ID; wherein the first mapping relationship includes a mapping relationship between the EAP ID, the identifier of the target data network and the UE ID; and the mapping relationship between the EAPID, the identifier of the target data network and the UE ID can be maintained and used in a core network element (SMF); during re-authentication, the mapping relationship is used to use the EAP ID as a key value to obtain the UE ID to locate the terminal, trigger re-authentication, and there is no need to obtain the GPSI, nor is there a need for the server to maintain the GPSI, and the original account management system of the server will not be changed, thereby reducing the implementation and maintenance costs and avoiding the exposure of UE information; and the problem of exposing UE information and high implementation and maintenance costs in the authentication scheme in the prior art is well solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0168] Figure 1 The following is a flow chart of the authentication method according to an embodiment of the present invention. Figure 1 ;

[0169] Figure 2 The following is a flow chart of the authentication method according to an embodiment of the present invention. Figure 2 ;

[0170] Figure 3 The following is a flow chart of the authentication method according to an embodiment of the present invention. Figure 3 ;

[0171] Figure 4 Schematic diagram of the corresponding relationship between UE ID, EAP ID and DNN in an embodiment of the present invention;

[0172] Figure 5 A schematic diagram of a secondary authentication process according to an embodiment of the present invention;

[0173] Figure 6 A schematic diagram of a re-authentication process according to an embodiment of the present invention;

[0174] Figure 7 The structure of the authentication device according to the embodiment of the present invention is shown in FIG. Figure 1 ;

[0175] Figure 8 The structure of the authentication device according to the embodiment of the present invention is shown in FIG. Figure 2 ;

[0176] Fig. 9 The structure of the authentication device according to the embodiment of the present invention is shown in FIG. Figure 3 ;

[0177] Fig.10 A schematic diagram of the structure of a session management function entity according to an embodiment of the present invention;

[0178] Fig.11 A schematic diagram of the server structure of an embodiment of the present invention;

[0179] Fig.12 Schematic diagram of the terminal structure of an embodiment of the present invention. DETAILED DESCRIPTION

[0180] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0181] The present invention aims at the problem that the authentication scheme in the prior art exposes UE information and has high implementation and maintenance costs, and provides an authentication method applied to a session management function SMF entity, such as Figure 1 As shown, including:

[0182] Step 11: receiving a re-authentication request sent by the server, wherein the re-authentication request carries an extensible authentication protocol identity identifier EAP ID;

[0183] Step 12: Obtaining the identifier of the target data network according to the address of the server;

[0184] Step 13: Obtain a terminal identifier UE ID according to the EAP ID, the identifier of the target data network and the first mapping relationship;

[0185] Step 14: triggering the corresponding terminal to perform a re-authentication operation with the server according to the UE ID;

[0186] The first mapping relationship includes a mapping relationship between an EAP ID, an identifier of a target data network, and a UE ID.

[0187] The identifier of the target data network may be a data network name DNN, but is not limited thereto.

[0188] The authentication method provided by the embodiment of the present invention receives a re-authentication request sent by a server, wherein the re-authentication request carries an extensible authentication protocol identity identifier EAP ID; obtains an identifier of a target data network according to the address of the server; obtains a terminal identifier UEID according to the EAP ID, the identifier of the target data network and a first mapping relationship; triggers a corresponding terminal to perform a re-authentication operation with the server according to the UE ID; wherein the first mapping relationship includes a mapping relationship between the EAP ID, the identifier of the target data network and the UE ID; and can realize maintaining and using the mapping relationship between the EAP ID, the identifier of the target data network and the UE ID in a core network element (SMF): during re-authentication, the mapping relationship is used to use the EAP ID as a key value to obtain the UE ID to locate the terminal, trigger re-authentication, without obtaining the GPSI, without requiring the server to maintain the GPSI, and without changing the original account management system of the server, thereby reducing the implementation and maintenance costs and avoiding the exposure of UE information; and well solves the problems of the authentication scheme in the prior art in exposing UE information and high implementation and maintenance costs.

[0189] Specifically, triggering the corresponding terminal to perform re-authentication with the server according to the UE ID includes: sending an Extensible Authentication Protocol (EAP) re-authentication identity request to the corresponding terminal according to the UE ID; receiving an EAP re-authentication identity response fed back by the terminal according to the EAP re-authentication identity request; sending the EAP re-authentication identity response to the server, triggering the terminal to perform EAP re-authentication with the server; wherein the EAP re-authentication identity response carries an EAP ID; the EAP ID carried in the EAP re-authentication identity response is the same as or different from the EAP ID carried in the re-authentication request.

[0190] Further, after triggering the corresponding terminal to perform a re-authentication operation with the server according to the UE ID, the method further includes: updating the first mapping relationship according to the EAP ID carried in the EAP re-authentication identity response.

[0191] Specifically, updating the first mapping relationship according to the EAP ID carried in the EAP re-authentication identity response includes: updating the EAP ID in the first mapping relationship to the EAPID carried in the EAP re-authentication identity response.

[0192] In an embodiment of the present invention, the first mapping relationship includes at least one mapping relationship, each mapping relationship corresponds to a secondary authentication status information; the triggering the corresponding terminal to perform a re-authentication operation with the server according to the UE ID also includes: after sending the EAP re-authentication identity response to the server to trigger the terminal to perform EAP re-authentication with the server, receiving the EAP re-authentication result information sent by the server; after triggering the corresponding terminal to perform a re-authentication operation with the server according to the UEID, it also includes: updating the secondary authentication status information in the first mapping relationship according to the EAP re-authentication result information.

[0193] Among them, once the re-authentication process is started, it can also be understood that the SMF entity receives the re-authentication request sent by the server, which means that the result of the secondary authentication is not recognized. Therefore, the secondary authentication status information obtained by the secondary authentication is not recognized, and subsequent operations cannot be performed according to the secondary authentication status information; however, in the specific implementation, if the re-authentication process is not completed normally (such as interruption), and the above-mentioned EAP re-authentication result information cannot be obtained to obtain the final secondary authentication status information, then it may cause SMF to perform risky operations, such as:

[0194] The above secondary authentication status information obtained by the secondary authentication is successful. During the re-authentication process, the authentication is interrupted due to some reasons. At this time, since the re-authentication process is not completed, the EAP re-authentication result information cannot be obtained, and the secondary authentication status information cannot be updated. Therefore, the secondary authentication status information is still marked as successful; the subsequent SMF will consider that the authentication result is successful and it is safe to execute the operation, thereby executing the operation corresponding to the re-authentication process (such as establishing a link between the terminal and the target data network); but in fact the re-authentication is not completed, and since the re-authentication is started, the operation corresponding to the re-authentication process may be risky. Once the SMF executes the operation corresponding to the re-authentication process, there may be security risks;

[0195] Therefore, in order to avoid similar situations such as the above, in an embodiment of the present invention, after receiving the re-authentication request sent by the server and obtaining the identifier of the target data network according to the address of the server, before triggering the corresponding terminal to perform a re-authentication operation with the server according to the UE ID, it may also include: (first) setting the secondary authentication status information corresponding to the mapping relationship between the EAPID carried in the re-authentication request and the identifier of the target data network to failure.

[0196] This can prevent SMF from performing risky operations based on the secondary authentication status information (the information is successful) when the re-authentication process does not end normally.

[0197] Furthermore, before receiving the re-authentication request sent by the server, it also includes: in the process of the secondary authentication operation corresponding to the re-authentication operation, obtaining the UE ID, the identifier of the target data network and the EAP ID; and obtaining the mapping relationship according to the obtained UEID, the identifier of the target data network and the EAP ID.

[0198] Specifically, it can be understood that: there is a corresponding relationship between the re-authentication operation and the secondary authentication operation, and the re-authentication operation is a re-authentication operation after the secondary authentication operation.

[0199] Furthermore, before receiving the re-authentication request sent by the server, it also includes: obtaining authentication result information of the secondary authentication operation as the secondary authentication state information of the obtained mapping relationship.

[0200] Specifically, the obtaining of UE ID, target data network identifier and EAP ID includes: receiving a protocol data unit PDU session establishment request sent by the terminal; obtaining UE ID, target data network identifier and EAP ID from the PDU session establishment request, wherein the EAP ID carried in the PDU session establishment request is the same as the EAPID carried in the re-authentication request; or, receiving a PDU session establishment request sent by the terminal; obtaining UEID and target data network identifier from the PDU session establishment request, and sending an Extensible Authentication Protocol EAP identity request to the terminal according to the PDU session establishment request; receiving an EAP identity response fed back by the terminal according to the EAP identity request; obtaining EAP ID from the EAP identity response; wherein the EAP ID carried in the EAP identity response is the same as the EAPID carried in the re-authentication request.

[0201] In the embodiment of the present invention, the first mapping relationship and the secondary authentication status information are both stored locally or in a unified data management device UDM.

[0202] The embodiment of the present invention also provides an authentication method, which is applied to a server, such as Figure 2 As shown, including:

[0203] Step 21: Send a re-authentication request to the session management function SMF entity;

[0204] The re-authentication request carries an extensible authentication protocol identity identifier EAP ID.

[0205] The authentication method provided in the embodiment of the present invention sends a re-authentication request to a session management function SMF entity; wherein the re-authentication request carries an extensible authentication protocol identity identifier EAP ID; and can support the maintenance and use of a mapping relationship among the EAP ID, the identifier of the target data network, and the UE ID in a core network element (SMF); during re-authentication, the mapping relationship is used to use the EAP ID as a key value to obtain the UE ID to locate the terminal, triggering re-authentication, without the need to obtain the GPSI, nor the need for the server to maintain the GPSI, and will not change the original account management system of the server, thereby reducing the implementation and maintenance costs and avoiding the exposure of UE information; and well solves the problem of the authentication scheme in the prior art exposing UE information and high implementation and maintenance costs.

[0206] Furthermore, after sending a re-authentication request to a session management function SMF entity, the method further includes: receiving an extensible authentication protocol EAP re-authentication identity response sent by the SMF entity; and performing EAP re-authentication with a corresponding terminal according to the EAP re-authentication identity response.

[0207] Furthermore, after performing EAP re-authentication with the corresponding terminal according to the EAP re-authentication identity response, it also includes: sending EAP re-authentication result information to the SMF entity.

[0208] This can support SMF to update the authentication status corresponding to the mapping relationship.

[0209] The embodiment of the present invention also provides an authentication method, which is applied to a terminal, such as Figure 3 Said, including:

[0210] Step 31: receiving an extensible authentication protocol EAP re-authentication identity request sent by a session management function SMF entity;

[0211] Step 32: Feedback an EAP re-authentication identity response to the SMF entity according to the EAP re-authentication identity request;

[0212] The EAP re-authentication identity response carries an EAP ID; the EAP ID carried in the EAP re-authentication identity response is the same as or different from the EAP ID carried in the re-authentication request received by the SMF entity.

[0213] The authentication method provided by the embodiment of the present invention receives an extensible authentication protocol EAP re-authentication identity request sent by a session management function SMF entity; according to the EAP re-authentication identity request, an EAP re-authentication identity response is fed back to the SMF entity; wherein the EAP re-authentication identity response carries an EAP ID; the EAP ID carried in the EAP re-authentication identity response is the same as or different from the EAP ID carried in the re-authentication request received by the SMF entity; it can support the maintenance and use of the mapping relationship between the EAP ID, the identifier of the target data network and the UE ID in the core network element (SMF): during re-authentication, the mapping relationship is used to use the EAP ID as a key value to obtain the UE ID to locate the terminal, trigger re-authentication, without obtaining the GPSI, nor requiring the server to maintain the GPSI, and will not change the original account management system of the server, thereby reducing the implementation and maintenance costs and avoiding the exposure of UE information; it well solves the problem of exposing UE information and high implementation and maintenance costs in the authentication scheme in the prior art.

[0214] Specifically, feeding back an EAP re-authentication identity response to the SMF entity according to the EAP re-authentication identity request includes: determining an EAP ID; generating an EAP re-authentication identity response including the EAP ID; and feeding back the generated EAP re-authentication identity response to the SMF entity.

[0215] This allows the EAP ID to be reset.

[0216] Furthermore, before receiving the Extensible Authentication Protocol EAP re-authentication identity request sent by the session management function SMF entity, it also includes: sending a protocol data unit PDU session establishment request to the SMF entity during the secondary authentication operation corresponding to the re-authentication operation corresponding to the re-authentication request; the PDU session establishment request carries the UEID, the identifier of the target data network and the EAP ID, and the EAP ID carried in the PDU session establishment request is the same as the EAP ID carried in the re-authentication request; or, during the secondary authentication operation corresponding to the re-authentication operation corresponding to the re-authentication request, sending a protocol data unit PDU session establishment request to the SMF entity; the PDU session establishment request carries the UE ID and the identifier of the target data network; receiving the Extensible Authentication Protocol EAP identity request sent by the SMF entity according to the PDU session establishment request; and feeding back an EAP identity response to the SMF entity according to the EAP identity request; wherein the EAP identity response carries the EAP ID, and the EAP ID carried in the EAP identity response is the same as the EAP ID carried in the re-authentication request.

[0217] This can support SMF to obtain and maintain mapping relationships.

[0218] The authentication method provided in the embodiment of the present invention is further described below in combination with multiple sides such as SMF entities, servers and terminals, wherein the identifier of the target data network takes DNN as an example, and the server takes AAA (authentication, authorization and accounting) server as an example.

[0219] In view of the above technical problems, it is considered that: (1) secondary authentication can be implemented based on EAP (Extensible Authentication Protocol), with the 5G network element SMF (session management function) acting as the authenticator in EAP authentication, and the 5G network signaling channel (non-access layer NAS signaling + N4 interface (interface between SMF and user plane function UPF)) carrying the authentication and authorization message exchange, and the 5G network element triggering the secondary authentication and deciding whether to establish a PDU (protocol data unit) session for accessing the data network based on the authentication result of the AAA (authentication, authorization and accounting) server, that is, whether to allow the UE to access the external data network;

[0220] (2) The user accesses the operator network through the UE and accesses the external data network. The UE has multiple identity IDs. As a user accessing the external data network, the contract ID of the terminal device in the external data network is user ID for DN (user identity of the data network DN). There may be multiple user IDs for different DNs. As a user accessing the operator network, the identity used to access the network is bound to the SIM (subscriber identity module) card, that is, the contract ID of the terminal device in the operator network is the UE ID. The external data network identifier is DNN (data network name). User ID for DN is also the EAP ID used by the corresponding external data network DNN when performing EAP authentication. Specifically, the relationship between UE ID, EAP ID and DNN is as follows: Figure 4 As shown;

[0221] An embodiment of the present invention provides an authentication method, which involves: maintaining and using a mapping relationship between EAP ID, UEID and DNN in a core network element: adding a mapping entry during secondary authentication, using EAPID as a key value to obtain a UE ID to locate a terminal during re-authentication (using the mapping relationship), and updating the mapping entry, without sending a GPSI, and without requiring an AAA server to maintain the GPSI.

[0222] This solution can be specifically implemented as a 5G network secondary authentication and re-authentication method:

[0223] 1. Architecture Overview

[0224] The AAA server is located in the external data network and is responsible for performing authentication and authorization for access to the external data network. The core network element SMF is responsible for starting secondary authentication, transmitting EAP messages between the UE and the AAA server, saving the status of secondary authentication and the relationship between UE multiple identities (in the form of a mapping table of EAP ID-UE ID-DNN), and saving the authentication and authorization relationship of the EAP ID.

[0225] The mapping table is a four-tuple: UE ID, DNN, EAP ID, authentication status (success, failure), where UE ID-DNN is the primary key.

[0226] 2. Implementation process

[0227] (1) The details of the secondary authentication process are as follows: Figure 5 As shown, including:

[0228] Step 51: The terminal sends a PDU session establishment request (carrying UE ID, DNN, PDU session ID) to SMF (authenticator);

[0229] Specifically, the terminal is powered on and registered, and the UE ID (ie, subscription permanent identifier SUPI) is authenticated for the first time based on the operator's network access credentials, and a NAS (non-access stratum) security context is established with the network.

[0230] The terminal starts the application, triggering a PDU session establishment request for the DN (to be accessed by the UE), and specifically sends a network slice identifier (i.e., single-network slice selection auxiliary information S-NSSAI), data network name DNN, PDU session ID, and request type. AMF (access and mobility management function, not shown in the figure) selects SMF and sends it SUPI, PDU session ID, S-NSSAI, and DNN.

[0231] Step 52: SMF obtains subscription information and local policies, verifies UE request, determines whether UE request is allowed, whether secondary authentication is required, and whether the DN has authenticated the UE.

[0232] Specifically, SMF obtains subscription data from UDM (not shown in the figure) according to SUPI, and SMF checks whether the data in the UE request complies with the user subscription; checks whether the SMF policy related to the DN requires secondary authentication and authorization; checks whether the UE has been authenticated and / or authorized by the DN or the same AAA server (the message of successful authentication and authorization may exist in SMF or UDM), and performs secondary authentication if necessary, and enters step 53.

[0233] Step 53: SMF starts EAP authentication;

[0234] Specifically, SMF initiates EAP authentication with the AAA server.

[0235] Step 54: SMF sends EAP-Request / Identity (EAP identity request) to the terminal;

[0236] That is, SMF sends EAP Request / Identity to UE (terminal). Here, EAP Request / Identity means EAP Request (EAP request) + Identity (the request is classified as identity), specifically referring to the identity request in the EAP request, that is, the above-mentioned EAP identity request; similarly, the following EAP-Response / Identity refers to the identity response in the EAP response, that is, the above-mentioned EAP identity response.

[0237] Step 55: The terminal feeds back EAP-Response / Identity to SMF;

[0238] Specifically, the UE sends the user identity EAP ID for the DN in an EAP Response / Identity protocol packet. The content may also be sent in step 51 and is not limited here.

[0239] Step 56: SMF obtains EAP ID;

[0240] Step 57: SMF establishes N4 session and identifies AAA server based on UE request and local policy;

[0241] Specifically, SMF selects UPF, establishes N4 session, and identifies AAA server based on DNN and local policy requested by UE;

[0242] Step 58: SMF sends EAP-Response / Identity to the AAA server via UPF;

[0243] Specifically, SMF forwards the EAP Request / Identity to the AAA server via the UPF through the N4 session;

[0244] Step 59: The terminal exchanges EAP-Request / EAP-Response messages (i.e., EAP request and EAP response messages, via N4 and NAS) with the AAA server.

[0245] Specifically, the AAA server and the terminal exchange EAP information through NAS signaling and N4 session according to the EAP method requirements and perform EAP authentication;

[0246] Step 510: The AAA server sends EAP-Success (EAP success) to SMF via UPF, OR (or), Step 510a: The AAA server sends EAP-Failure (EAP failure) to SMF via UPF;

[0247] Specifically, if the authentication succeeds, the AAA server sends an EAP Success message to the SMF; if the authentication fails, the AAA server sends an EAP Failure message to the SMF.

[0248] Step 511: SMF establishes a mapping relationship between EAP ID, DNN and UE ID;

[0249] Specifically, SMF establishes a mapping entry (i.e., the first mapping relationship) between EAP ID, DNN and UE ID (i.e., SUPI), which may also be stored in UDM, wherein if EAP Success is received, the authentication status bit of the entry is set to success (i.e., the secondary authentication status information is successful); if EAP Failure is received, the authentication status bit of the entry is set to failure (i.e., the secondary authentication status information is failed).

[0250] Step 512: SMF sends EAP-Success to the terminal (corresponding to step 510); OR, step 512a: SMF sends EAP-Failure to the terminal (corresponding to step 510a);

[0251] Specifically, SMF sends an authentication success or failure message to the terminal.

[0252] (2) The re-authentication process is as follows: Figure 6 As shown, including:

[0253] Step 60: Secondary authentication, SMF stores the mapping relationship between EAP ID-DNN-UE ID;

[0254] Specifically, in the previous secondary authentication, SMF has stored the mapping relationship between EAPID, DNN and UEID;

[0255] Step 61: SMF decides and initiates re-authentication; OR, Step 61a: AAA server decides and initiates re-authentication; Step 61b: AAA server sends a re-authentication request (carrying EAP ID) to SMF via UPF;

[0256] Specifically, the SMF or AAA server can initiate re-authentication under certain circumstances according to the policy. If the AAA server initiates, the re-authentication request will be sent from the AAA server to the SMF and carry the EAP ID of the user to be re-authenticated;

[0257] Step 62: SMF obtains UE ID according to EAP ID and DNN mapping to identify UE;

[0258] Specifically, the SMF obtains the DNN according to the address of the AAA server, obtains the UEID from the mapping table according to the EAP ID and the DNN, for identifying the UE; and sets the status of the EAP ID-DNN mapping entry to failure.

[0259] Step 63: SMF sends EAP-Request / Re-Auth Identity (EAP re-authentication identity request) to the terminal;

[0260] Specifically, SMF initiates EAP authentication with the AAA server, and SMF sends EAPRequest / Re-AuthIdentity to the identified UE(s). Here, EAP Request / Re-Auth Identity means EAP Request (EAP request) + Re-Auth Identity (request is classified as re-authentication identity), specifically refers to the re-authentication identity request in the EAP request, that is, the above-mentioned EAP re-authentication identity request; similarly, the following EAP-Response / Re-Auth Identity refers to the re-authentication identity response in the EAP response, that is, the above-mentioned EAP re-authentication identity response.

[0261] Step 64: The terminal feeds back EAP-Response / Re-Auth Identity (EAP re-authentication identity response) to the SMF;

[0262] Specifically, the UE sends a user identity EAP ID for the DN in an EAP Response / Re-Auth Identity protocol packet (which may be different from that in step 61b and may be re-entered);

[0263] Step 65: SMF obtains EAP ID;

[0264] Step 66: SMF sends EAP-Response / Re-Auth Identity to the AAA server via UPF;

[0265] That is, SMF sends the EAP Response / Re-Auth Identity to the AAA server;

[0266] Step 67: The terminal exchanges EAP-Request / EAP-Response messages with the AAA server (via N4 and NAS);

[0267] Specifically, the AAA server and the terminal exchange EAP information through NAS signaling and N4 session according to the EAP method requirements and perform EAP authentication;

[0268] Step 68: The AAA server sends EAP-Success to SMF via UPF, OR, Step 68a: The AAA server sends EAP-Failure to SMF via UPF;

[0269] Specifically, if the authentication succeeds, the AAA server sends an EAP Success message to the SMF; if the authentication fails, the AAA server sends an EAP Failure message to the SMF.

[0270] Step 69: SMF updates the mapping relationship between UE ID, DNN and EAP ID;

[0271] Specifically, the mapping entry between EAP ID, DNN and UE ID (ie, SUPI) is updated (overwriting old information), and if EAP Success is received, the authentication status bit of the entry is updated to success, and if EAP Failure is received, the authentication status bit of the entry remains to failure.

[0272] Step 610: SMF sends EAP-Success to the terminal (corresponding to step 68); OR, step 610a: SMF sends EAP-Failure to the terminal (corresponding to step 68a);

[0273] Specifically, SMF sends an authentication success or failure message to the terminal.

[0274] As can be seen from the above, the solution provided by the embodiment of the present invention mainly involves:

[0275] (1) A method for triggering secondary authentication and re-authentication in a 5G network: During secondary authentication, a mapping entry between EAPID, DNN and UE ID (i.e., SUPI) and a secondary authentication status are established in SMF or UDM; when secondary authentication (or re-authentication) is performed, the AAA server sends the EAP ID to be re-authenticated to the SMF, and the SMF searches for the UE ID based on the received EAP ID and the mapping table to locate the UE and trigger secondary authentication and re-authentication. After the secondary authentication and re-authentication, the mapping entry between the EAP ID, DNN and UE ID (i.e., SUPI) and the secondary authentication status are updated.

[0276] (2) New functions of SMF: 1) During secondary authentication, a mapping entry between EAP ID, DNN and UE ID (i.e. SUPI) is established in SMF, and the authentication status bit of the entry is set to success or failure according to the result of the secondary authentication; 2) During secondary authentication and re-authentication, the UE ID is searched according to the received EAP ID and the mapping table, and the mapping entry between EAP ID, DNN and UEID (i.e. SUPI) is updated after secondary authentication and re-authentication, and the authentication status bit of the entry is set to success or failure according to the result of the secondary authentication and re-authentication. The mapping entry and the authentication status of the entry can be stored in SMF or UDM, which is not limited here.

[0277] In summary, the solution provided by the embodiment of the present invention is:

[0278] 1. No need to expose UE information to external data networks, EAP ID is transmitted instead of GPSI;

[0279] 2. The AAA server does not need to maintain GPSI, and the original account management system of the AAA server does not need to be changed.

[0280] It is to be noted that the re-authentication mentioned above in the embodiment of the present invention may specifically refer to the re-authentication of the external data network secondary authentication, but is not limited thereto.

[0281] The embodiment of the present invention also provides an authentication device, which is applied to a session management function SMF entity, such as Figure 7 As shown, including:

[0282] A first receiving module 71 is configured to receive a re-authentication request sent by a server, wherein the re-authentication request carries an extensible authentication protocol identity identifier EAP ID;

[0283] A first processing module 72, configured to obtain an identifier of a target data network according to the address of the server;

[0284] A second processing module 73 is used to obtain a terminal identifier UE ID according to the EAP ID, the identifier of the target data network and the first mapping relationship;

[0285] A first trigger module 74, configured to trigger the corresponding terminal to perform a re-authentication operation with the server according to the UE ID;

[0286] The first mapping relationship includes a mapping relationship between an EAP ID, an identifier of a target data network, and a UE ID.

[0287] The authentication device provided in the embodiment of the present invention receives a re-authentication request sent by a server, wherein the re-authentication request carries an extensible authentication protocol identity identifier EAP ID; obtains an identifier of a target data network according to the address of the server; obtains a terminal identifier UEID according to the EAP ID, the identifier of the target data network and a first mapping relationship; triggers a corresponding terminal to perform a re-authentication operation with the server according to the UE ID; wherein the first mapping relationship includes a mapping relationship between the EAP ID, the identifier of the target data network and the UE ID; and can maintain and use the mapping relationship between the EAP ID, the identifier of the target data network and the UE ID in a core network element (SMF): during re-authentication, the mapping relationship is used to use the EAP ID as a key value to obtain the UE ID to locate the terminal, trigger re-authentication, without obtaining the GPSI, without requiring the server to maintain the GPSI, and without changing the original account management system of the server, thereby reducing the implementation and maintenance costs and avoiding the exposure of UE information; and well solves the problems of the authentication scheme in the prior art in exposing UE information and high implementation and maintenance costs.

[0288] Specifically, the first trigger module includes: a first sending submodule, used to send an extensible authentication protocol EAP re-authentication identity request to the corresponding terminal according to the UE ID; a first receiving submodule, used to receive an EAP re-authentication identity response fed back by the terminal according to the EAP re-authentication identity request; a first triggering submodule, used to send the EAP re-authentication identity response to the server, triggering the terminal to perform EAP re-authentication with the server; wherein the EAP re-authentication identity response carries an EAP ID; the EAP ID carried in the EAP re-authentication identity response is the same as or different from the EAP ID carried in the re-authentication request.

[0289] Further, the authentication device further includes: a first updating module, which is used to update the first mapping relationship according to the EAP ID carried in the EAP re-authentication identity response after triggering the corresponding terminal to perform a re-authentication operation with the server according to the UE ID.

[0290] Specifically, the first updating module includes: a first updating submodule, configured to update the EAP ID in the first mapping relationship to the EAP ID carried in the EAP re-authentication identity response.

[0291] In an embodiment of the present invention, the first mapping relationship includes at least one mapping relationship, and each mapping relationship corresponds to a secondary authentication status information; the first trigger module also includes: a second receiving submodule, which is used to receive the EAP re-authentication result information sent by the server after sending the EAP re-authentication identity response to the server to trigger the terminal to perform EAP re-authentication with the server; the authentication device also includes: a second updating module, which is used to update the secondary authentication status information in the first mapping relationship according to the EAP re-authentication result information after triggering the corresponding terminal to perform a re-authentication operation with the server according to the UE ID.

[0292] Furthermore, the authentication device also includes: a third processing module, which is used to obtain the UE ID, the target data network identifier and the EAP ID during the secondary authentication operation corresponding to the re-authentication operation before receiving the re-authentication request sent by the server; and obtain the mapping relationship based on the obtained UE ID, the target data network identifier and the EAP ID.

[0293] Furthermore, the authentication device further includes: a first acquisition module, which is used to obtain authentication result information of the secondary authentication operation before receiving the re-authentication request sent by the server, as the secondary authentication state information of the obtained mapping relationship.

[0294] Specifically, the third processing module includes: a third receiving submodule, used to receive a protocol data unit PDU session establishment request sent by the terminal; a first acquisition submodule, used to obtain UEID, an identifier of a target data network and an EAP ID from the PDU session establishment request, and the EAP ID carried in the PDU session establishment request is the same as the EAP ID carried in the re-authentication request; or, a fourth receiving submodule, used to receive a PDU session establishment request sent by the terminal; a first processing submodule, used to obtain UE ID and an identifier of a target data network from the PDU session establishment request, and send an extensible authentication protocol EAP identity request to the terminal according to the PDU session establishment request; a fifth receiving submodule, used to receive an EAP identity response fed back by the terminal according to the EAP identity request; a second acquisition submodule, used to obtain EAP ID from the EAP identity response; wherein the EAP ID carried in the EAP identity response is the same as the EAP ID carried in the re-authentication request.

[0295] In the embodiment of the present invention, the first mapping relationship and the secondary authentication status information are both stored locally or in a unified data management device UDM.

[0296] Among them, the implementation embodiments of the authentication method on the session management function entity side are all applicable to the embodiments of the authentication device and can achieve the same technical effect.

[0297] The embodiment of the present invention also provides an authentication device, which is applied to a server, such as Figure 8 As shown, including:

[0298] A first sending module 81 is used to send a re-authentication request to a session management function SMF entity;

[0299] The re-authentication request carries an extensible authentication protocol identity identifier EAP ID.

[0300] The authentication device provided in the embodiment of the present invention sends a re-authentication request to the session management function SMF entity; wherein the re-authentication request carries an extensible authentication protocol identity identifier EAP ID; it can support the maintenance and use of the mapping relationship between the EAP ID, the identifier of the target data network and the UE ID in the core network element (SMF); during re-authentication, the mapping relationship is used to use the EAP ID as a key value to obtain the UE ID to locate the terminal, trigger re-authentication, without obtaining the GPSI, nor requiring the server to maintain the GPSI, and will not change the original account management system of the server, thereby reducing the implementation and maintenance costs and avoiding the exposure of UE information; it is a good solution to the problem that the authentication scheme in the prior art exposes UE information and has high implementation and maintenance costs.

[0301] Furthermore, the authentication device also includes: a second receiving module, used to receive an Extensible Authentication Protocol EAP re-authentication identity response sent by a session management function SMF entity after sending a re-authentication request to the SMF entity; and a first authentication module, used to perform EAP re-authentication with a corresponding terminal based on the EAP re-authentication identity response.

[0302] Furthermore, the authentication device also includes: a second sending module, which is used to send EAP re-authentication result information to the SMF entity after performing EAP re-authentication with the corresponding terminal according to the EAP re-authentication identity response.

[0303] Among them, the implementation embodiments of the above-mentioned authentication method on the server side are all applicable to the embodiments of the authentication device and can achieve the same technical effect.

[0304] The embodiment of the present invention also provides an authentication device, which is applied to a terminal, such as Fig. 9 As shown, including:

[0305] The third receiving module 91 is used to receive an extensible authentication protocol EAP re-authentication identity request sent by a session management function SMF entity;

[0306] A first feedback module 92 is used to feed back an EAP re-authentication identity response to the SMF entity according to the EAP re-authentication identity request;

[0307] The EAP re-authentication identity response carries an EAP ID; the EAP ID carried in the EAP re-authentication identity response is the same as or different from the EAP ID carried in the re-authentication request received by the SMF entity.

[0308] The authentication device provided in the embodiment of the present invention receives an extensible authentication protocol EAP re-authentication identity request sent by a session management function SMF entity; according to the EAP re-authentication identity request, an EAP re-authentication identity response is fed back to the SMF entity; wherein the EAP re-authentication identity response carries an EAP ID; the EAP ID carried in the EAP re-authentication identity response is the same as or different from the EAP ID carried in the re-authentication request received by the SMF entity; it can support the maintenance and use of the mapping relationship between the EAP ID, the identifier of the target data network and the UE ID in the core network element (SMF): during re-authentication, the mapping relationship is used to use the EAP ID as a key value to obtain the UE ID to locate the terminal, trigger re-authentication, without obtaining the GPSI, nor requiring the server to maintain the GPSI, and will not change the original account management system of the server, thereby reducing the implementation and maintenance costs and avoiding the exposure of UE information; it well solves the problem of exposing UE information and high implementation and maintenance costs in the authentication scheme in the prior art.

[0309] Specifically, the first feedback module includes: a first determination submodule, used to determine the EAP ID; a first generation submodule, used to generate an EAP re-authentication identity response including the EAP ID; and a first feedback submodule, used to feed back the generated EAP re-authentication identity response to the SMF entity.

[0310] Among them, the implementation embodiments of the above-mentioned terminal-side authentication method are all applicable to the embodiments of the authentication device and can achieve the same technical effects.

[0311] The embodiment of the present invention also provides a session management function entity, such as Fig.10 As shown, it includes: a processor 101 and a transceiver 102;

[0312] The processor 101 is configured to use the transceiver 102 to receive a re-authentication request sent by a server, wherein the re-authentication request carries an extensible authentication protocol identity identifier EAP ID;

[0313] Obtaining an identification of a target data network according to the address of the server;

[0314] Obtaining a terminal identification UE ID according to the EAP ID, an identification of a target data network and a first mapping relationship;

[0315] According to the UE ID, trigger the corresponding terminal to perform a re-authentication operation with the server;

[0316] The first mapping relationship includes a mapping relationship between an EAP ID, an identifier of a target data network, and a UE ID.

[0317] The session management function entity provided in the embodiment of the present invention receives a re-authentication request sent by a server, wherein the re-authentication request carries an extensible authentication protocol identity identifier EAP ID; obtains an identifier of a target data network according to the address of the server; obtains a terminal identifier UE ID according to the EAP ID, the identifier of the target data network and a first mapping relationship; triggers a corresponding terminal to perform a re-authentication operation with the server according to the UE ID; wherein the first mapping relationship includes a mapping relationship between the EAP ID, the identifier of the target data network and the UE ID; and can realize maintaining and using the mapping relationship between the EAP ID, the identifier of the target data network and the UE ID in a core network element (SMF): during re-authentication, the mapping relationship is used to use the EAP ID as a key value to obtain the UE ID to locate the terminal, trigger re-authentication, without obtaining the GPSI, without requiring the server to maintain the GPSI, and without changing the original account management system of the server, thereby reducing the implementation and maintenance costs and avoiding the exposure of UE information; and well solves the problems of the authentication scheme in the prior art in exposing UE information and high implementation and maintenance costs.

[0318] Specifically, the processor is used to: send an Extensible Authentication Protocol (EAP) re-authentication identity request to a corresponding terminal using the transceiver according to the UE ID; receive an EAP re-authentication identity response fed back by the terminal according to the EAP re-authentication identity request using the transceiver; send the EAP re-authentication identity response to the server using the transceiver to trigger the terminal to perform EAP re-authentication with the server; wherein the EAP re-authentication identity response carries an EAP ID; the EAP ID carried in the EAP re-authentication identity response is the same as or different from the EAP ID carried in the re-authentication request.

[0319] Further, the processor is further configured to: after triggering the corresponding terminal to perform a re-authentication operation with the server according to the UE ID, update the first mapping relationship according to the EAP ID carried in the EAP re-authentication identity response.

[0320] Specifically, the processor is specifically configured to: update the EAP ID in the first mapping relationship to the EAP ID carried in the EAP re-authentication identity response.

[0321] In an embodiment of the present invention, the first mapping relationship includes at least one mapping relationship, and each mapping relationship corresponds to a secondary authentication status information; the processor is also used to: after sending the EAP re-authentication identity response to the server and triggering the terminal to perform EAP re-authentication with the server, use the transceiver to receive the EAP re-authentication result information sent by the server; the processor is also used to: after triggering the corresponding terminal to perform a re-authentication operation with the server according to the UE ID, update the secondary authentication status information in the first mapping relationship according to the EAP re-authentication result information.

[0322] Furthermore, the processor is also used to: before receiving the re-authentication request sent by the server, during the secondary authentication operation corresponding to the re-authentication operation, obtain the UE ID, the identifier of the target data network and the EAP ID; and obtain the mapping relationship based on the obtained UE ID, the identifier of the target data network and the EAP ID.

[0323] Furthermore, the processor is also used to: before receiving the re-authentication request sent by the server, obtain authentication result information of the secondary authentication operation as the secondary authentication state information of the obtained mapping relationship.

[0324] Specifically, the processor is specifically used to: use the transceiver to receive a protocol data unit PDU session establishment request sent by the terminal; obtain UE ID, a target data network identifier and EAPID from the PDU session establishment request, and the EAP ID carried in the PDU session establishment request is the same as the EAP ID carried in the re-authentication request; or, use the transceiver to receive a PDU session establishment request sent by the terminal; obtain UEID and a target data network identifier from the PDU session establishment request, and use the transceiver to send an extensible authentication protocol EAP identity request to the terminal according to the PDU session establishment request; use the transceiver to receive an EAP identity response fed back by the terminal according to the EAP identity request; obtain EAP ID from the EAP identity response; wherein the EAP ID carried in the EAP identity response is the same as the EAP ID carried in the re-authentication request.

[0325] In the embodiment of the present invention, the first mapping relationship and the secondary authentication status information are both stored locally or in a unified data management device UDM.

[0326] Among them, the implementation embodiments of the authentication method on the session management function entity side are all applicable to the embodiments of the session management function entity and can achieve the same technical effect.

[0327] The embodiment of the present invention also provides a server, such as Fig.11 As shown, it includes: a processor 111 and a transceiver 112;

[0328] The processor 111 is used to send a re-authentication request to the session management function SMF entity using the transceiver 112;

[0329] The re-authentication request carries an extensible authentication protocol identity identifier EAP ID.

[0330] The server provided in the embodiment of the present invention sends a re-authentication request to a session management function SMF entity; wherein the re-authentication request carries an extensible authentication protocol identity identifier EAP ID; it can support the maintenance and use of the mapping relationship between the EAP ID, the identifier of the target data network and the UE ID in the core network element (SMF); during re-authentication, the mapping relationship is used to use the EAP ID as a key value to obtain the UE ID to locate the terminal, trigger re-authentication, without obtaining the GPSI, nor requiring the server to maintain the GPSI, and will not change the original account management system of the server, thereby reducing the implementation and maintenance costs and avoiding the exposure of UE information; it is a good solution to the problem that the authentication scheme in the prior art exposes UE information and has high implementation and maintenance costs.

[0331] Furthermore, the processor is also used to: after sending a re-authentication request to the session management function SMF entity, use the transceiver to receive an extensible authentication protocol EAP re-authentication identity response sent by the SMF entity; and perform EAP re-authentication with the corresponding terminal based on the EAP re-authentication identity response.

[0332] Furthermore, the processor is also used to: after performing EAP re-authentication with the corresponding terminal according to the EAP re-authentication identity response, use the transceiver to send EAP re-authentication result information to the SMF entity.

[0333] Among them, the implementation embodiments of the authentication method on the above-mentioned server side are all applicable to the embodiments of the server and can achieve the same technical effects.

[0334] The embodiment of the present invention further provides a terminal, such as Fig.12 As shown, it includes: a processor 121 and a transceiver 122;

[0335] The processor 121 is configured to receive, by using the transceiver 122, an extensible authentication protocol EAP re-authentication identity request sent by a session management function SMF entity;

[0336] Feedback an EAP re-authentication identity response to the SMF entity using the transceiver 122 according to the EAP re-authentication identity request;

[0337] The EAP re-authentication identity response carries an EAP ID; the EAP ID carried in the EAP re-authentication identity response is the same as or different from the EAP ID carried in the re-authentication request received by the SMF entity.

[0338] The terminal provided in the embodiment of the present invention receives an extensible authentication protocol EAP re-authentication identity request sent by a session management function SMF entity; according to the EAP re-authentication identity request, an EAP re-authentication identity response is fed back to the SMF entity; wherein the EAP re-authentication identity response carries an EAP ID; the EAP ID carried in the EAP re-authentication identity response is the same as or different from the EAP ID carried in the re-authentication request received by the SMF entity; it is possible to support the maintenance and use of a mapping relationship between the EAP ID, the identifier of the target data network, and the UE ID in a core network element (SMF): during re-authentication, the mapping relationship is used to use the EAP ID as a key value to obtain the UE ID to locate the terminal, trigger re-authentication, without obtaining the GPSI, without requiring the server to maintain the GPSI, and without changing the original account management system of the server, thereby reducing the implementation and maintenance costs and avoiding the exposure of UE information; it is a good solution to the problem that the authentication scheme in the prior art exposes UE information and has high implementation and maintenance costs.

[0339] Specifically, the processor is specifically used to: determine the EAP ID; generate an EAP re-authentication identity response including the EAP ID; and use the transceiver to feed back the generated EAP re-authentication identity response to the SMF entity.

[0340] Among them, the implementation embodiments of the above-mentioned terminal-side authentication method are all applicable to the embodiments of the terminal and can achieve the same technical effects.

[0341] An embodiment of the present invention also provides a session management function entity, including a memory, a processor, and a program stored in the memory and executable on the processor; when the processor executes the program, the authentication method on the session management function entity side is implemented.

[0342] Among them, the implementation embodiments of the authentication method on the session management function entity side are all applicable to the embodiments of the session management function entity and can achieve the same technical effect.

[0343] An embodiment of the present invention further provides a server, comprising a memory, a processor, and a program stored in the memory and executable on the processor; when the processor executes the program, the above-mentioned server-side authentication method is implemented.

[0344] Among them, the implementation embodiments of the authentication method on the above-mentioned server side are all applicable to the embodiments of the server and can achieve the same technical effects.

[0345] An embodiment of the present invention further provides a terminal, comprising a memory, a processor, and a program stored in the memory and executable on the processor; when the processor executes the program, the above-mentioned terminal-side authentication method is implemented.

[0346] Among them, the implementation embodiments of the above-mentioned terminal-side authentication method are all applicable to the embodiments of the terminal and can achieve the same technical effects.

[0347] An embodiment of the present invention further provides a readable storage medium on which a program is stored. When the program is executed by a processor, the steps in the authentication method on the session management function entity side, server side or terminal side are implemented.

[0348] Among them, the implementation embodiments of the authentication method on the session management function entity side, server side or terminal side are all applicable to the embodiments of the readable storage medium, and can also achieve the corresponding same technical effects.

[0349] It should be noted that many functional components described in this specification are referred to as modules / sub-modules in order to more particularly emphasize the independence of their implementation methods.

[0350] In the embodiment of the present invention, module / submodule can be implemented with software so that it can be performed by various types of processors. For example, an executable code module of an identification can include one or more physical or logical blocks of computer instructions, for example, it can be constructed as an object, process or function. Nevertheless, the executable code of the identified module does not need to be physically located together, but can include different instructions stored in different positions, and when these instructions are logically combined together, it constitutes a module and realizes the specified purpose of this module.

[0351] In fact, executable code module can be a single instruction or many instructions, and can even be distributed on a plurality of different code segments, distributed among different programs, and distributed across a plurality of memory devices. Similarly, operating data can be identified in the module, and can be implemented and organized in the data structure of any appropriate type according to any appropriate form. The operating data can be collected as a single data set, or can be distributed in different locations (including on different storage devices), and can only be present on a system or network as an electronic signal at least in part.

[0352] When a module can be implemented by software, considering the level of existing hardware technology, a person skilled in the art can build a corresponding hardware circuit to implement the corresponding function of the module that can be implemented by software without considering the cost. The hardware circuit includes a conventional very large scale integration (VLSI) circuit or gate array and existing semiconductors such as logic chips, transistors, or other discrete components. The module can also be implemented by a programmable hardware device, such as a field programmable gate array, a programmable array logic, a programmable logic device, etc.

[0353] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary personnel in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. An authentication method, applied to a session management function SMF entity, characterized in that: include: Receiving a re-authentication request sent by a server, wherein the re-authentication request carries an extensible authentication protocol identity identifier EAP ID; Obtaining an identification of a target data network according to the address of the server; Obtaining a terminal identification UE ID according to the EAP ID, an identification of a target data network and a first mapping relationship; According to the UE ID, trigger the corresponding terminal to perform a re-authentication operation with the server; The first mapping relationship includes a mapping relationship between an EAP ID, an identifier of a target data network, and a UE ID.

2. The authentication method according to claim 1, characterized in that: The triggering, according to the UE ID, of a corresponding terminal to perform a re-authentication operation with the server includes: Sending an Extensible Authentication Protocol (EAP) re-authentication identity request to a corresponding terminal according to the UE ID; receiving an EAP re-authentication identity response fed back by the terminal according to the EAP re-authentication identity request; Sending the EAP re-authentication identity response to the server to trigger the terminal to perform EAP re-authentication with the server; The EAP re-authentication identity response carries an EAP ID; the EAPID carried in the EAP re-authentication identity response is the same as or different from the EAP ID carried in the re-authentication request.

3. The authentication method according to claim 2, characterized in that: After triggering the corresponding terminal to perform a re-authentication operation with the server according to the UE ID, the method further includes: The first mapping relationship is updated according to the EAP ID carried in the EAP re-authentication identity response.

4. The authentication method according to claim 3, characterized in that: The updating of the first mapping relationship according to the EAP ID carried in the EAP re-authentication identity response includes: The EAP ID in the first mapping relationship is updated to the EAP ID carried in the EAP re-authentication identity response.

5. The authentication method according to claim 2 or 3, characterized in that: The first mapping relationship includes at least one mapping relationship, and each mapping relationship corresponds to a secondary authentication status information; The triggering, according to the UE ID, of a corresponding terminal to perform a re-authentication operation with the server further includes: After sending the EAP re-authentication identity response to the server to trigger the terminal to perform EAP re-authentication with the server, receiving EAP re-authentication result information sent by the server; After triggering the corresponding terminal to perform a re-authentication operation with the server according to the UE ID, the method further includes: According to the EAP re-authentication result information, the secondary authentication state information in the first mapping relationship is updated.

6. The authentication method according to claim 1, characterized in that: Before receiving the re-authentication request sent by the server, it also includes: During the secondary authentication operation corresponding to the re-authentication operation, the UE ID, the identifier of the target data network and the EAP ID are acquired; and the mapping relationship is obtained according to the acquired UE ID, the identifier of the target data network and the EAP ID.

7. The authentication method according to claim 6, characterized in that: Before receiving the re-authentication request sent by the server, it also includes: Acquire authentication result information of the secondary authentication operation as the obtained secondary authentication state information of the mapping relationship.

8. The authentication method according to claim 6, characterized in that: The obtaining of the UE ID, the identifier of the target data network and the EAP ID includes: Receiving a protocol data unit (PDU) session establishment request sent by the terminal; Acquire the UE ID, the identifier of the target data network, and the EAP ID from the PDU session establishment request, wherein the EAP ID carried in the PDU session establishment request is the same as the EAP ID carried in the re-authentication request; or, Receiving a PDU session establishment request sent by the terminal; Acquire the UE ID and the identifier of the target data network from the PDU session establishment request, and send an Extensible Authentication Protocol EAP identity request to the terminal according to the PDU session establishment request; receiving an EAP identity response fed back by the terminal according to the EAP identity request; Obtaining an EAP ID from the EAP identity response; The EAP ID carried in the EAP identity response is the same as the EAP ID carried in the re-authentication request.

9. The authentication method according to claim 5, characterized in that: The first mapping relationship and the secondary authentication status information are both stored locally or in a unified data management device UDM.

10. An authentication device, applied to a session management function SMF entity, characterized in that: include: A first receiving module, configured to receive a re-authentication request sent by a server, wherein the re-authentication request carries an extensible authentication protocol identity identifier EAP ID; A first processing module, configured to obtain an identifier of a target data network according to an address of the server; A second processing module, configured to obtain a terminal identifier UE ID according to the EAP ID, an identifier of a target data network and a first mapping relationship; A first triggering module, configured to trigger the corresponding terminal to perform a re-authentication operation with the server according to the UE ID; The first mapping relationship includes a mapping relationship between an EAP ID, an identifier of a target data network, and a UE ID.

11. The authentication device according to claim 10, characterized in that: The first trigger module includes: A first sending submodule, configured to send an extensible authentication protocol EAP re-authentication identity request to a corresponding terminal according to the UE ID; A first receiving submodule, configured to receive an EAP re-authentication identity response fed back by the terminal according to the EAP re-authentication identity request; A first triggering submodule, configured to send the EAP re-authentication identity response to the server, triggering the terminal to perform EAP re-authentication with the server; The EAP re-authentication identity response carries an EAP ID; the EAPID carried in the EAP re-authentication identity response is the same as or different from the EAP ID carried in the re-authentication request.

12. The authentication device according to claim 11, characterized in that: Also includes: The first updating module is configured to update the first mapping relationship according to the EAP ID carried in the EAP re-authentication identity response after triggering the corresponding terminal to perform a re-authentication operation with the server according to the UE ID.

13. The authentication device according to claim 12, characterized in that: The first update module includes: The first updating submodule is configured to update the EAP ID in the first mapping relationship to the EAP ID carried in the EAP re-authentication identity response.

14. The authentication device according to claim 11 or 12, characterized in that: The first mapping relationship includes at least one mapping relationship, and each mapping relationship corresponds to a secondary authentication status information; The first trigger module further includes: A second receiving submodule is used to receive EAP re-authentication result information sent by the server after sending the EAP re-authentication identity response to the server to trigger the terminal to perform EAP re-authentication with the server; The authentication device also includes: The second updating module is used to update the secondary authentication state information in the first mapping relationship according to the EAP re-authentication result information after triggering the corresponding terminal to perform a re-authentication operation with the server according to the UE ID.

15. The authentication device according to claim 10, characterized in that: Also includes: The third processing module is used to obtain the UE ID, the identifier of the target data network and the EAP ID during the secondary authentication operation corresponding to the re-authentication operation before receiving the re-authentication request sent by the server; and obtain the mapping relationship according to the obtained UEID, the identifier of the target data network and the EAP ID.

16. The authentication device according to claim 15, characterized in that: Also includes: The first acquisition module is used to obtain the authentication result information of the secondary authentication operation before receiving the re-authentication request sent by the server as the secondary authentication state information of the obtained mapping relationship.

17. The authentication device according to claim 15, characterized in that: The third processing module comprises: A third receiving submodule is used to receive a protocol data unit PDU session establishment request sent by the terminal; A first acquisition submodule is configured to acquire a UE ID, an identifier of a target data network, and an EAP ID from the PDU session establishment request, wherein the EAP ID carried in the PDU session establishment request is the same as the EAP ID carried in the re-authentication request; or A fourth receiving submodule, configured to receive a PDU session establishment request sent by the terminal; A first processing submodule, configured to obtain a UE ID and an identifier of a target data network from the PDU session establishment request, and send an Extensible Authentication Protocol EAP identity request to the terminal according to the PDU session establishment request; A fifth receiving submodule, configured to receive an EAP identity response fed back by the terminal according to the EAP identity request; A second acquisition submodule, configured to acquire an EAP ID from the EAP identity response; The EAP ID carried in the EAP identity response is the same as the EAP ID carried in the re-authentication request.

18. The authentication device according to claim 14, characterized in that: The first mapping relationship and the secondary authentication status information are both stored locally or in a unified data management device UDM.

19. A session management function entity, characterized in that: include: processor and transceiver; The processor is configured to receive, by using the transceiver, a re-authentication request sent by a server, wherein the re-authentication request carries an extensible authentication protocol identity identifier EAP ID; Obtaining an identification of a target data network according to the address of the server; Obtaining a terminal identification UE ID according to the EAP ID, an identification of a target data network and a first mapping relationship; According to the UE ID, trigger the corresponding terminal to perform a re-authentication operation with the server; The first mapping relationship includes a mapping relationship between an EAP ID, an identifier of a target data network, and a UE ID.

20. A session management function entity, comprising a memory, a processor, and a program stored in the memory and executable on the processor; characterized in that: When the processor executes the program, the authentication method according to any one of claims 1 to 9 is implemented.

21. A readable storage medium having a program stored thereon, characterized in that: When the program is executed by a processor, the steps of the authentication method according to any one of claims 1 to 9 are implemented.