Authentication method, device and system

By receiving and analyzing user identification configuration information, verifying encryption mode and key identification, ensuring the reasonable message size, solving the data traffic problem caused by the large size of ciphertext user identification, and improving the authentication processing capability and data forwarding efficiency of the home network.

CN110536291BActive Publication Date: 2024-11-01ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910049495.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-01-18
Publication Date
2024-11-01
Estimated Expiration
2039-01-18

Smart Images

  • Figure CN110536291B_ABST
    Figure CN110536291B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses an authentication method, device and system, the authentication method comprising: receiving a first message from a first node; wherein the first message comprises: a hidden user identifier, the hidden user identifier comprises encryption information and any one of the following: a plaintext encryption mode identifier; a plaintext encryption mode identifier and a plaintext key identifier; determining whether to forward the first message of the first node according to the hidden user identifier and user identifier configuration information. The embodiment of the present invention determines whether to forward the first message based on the user identifier configuration information, thereby improving the authentication processing capability of the home network for normal users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to but are not limited to the field of communications, and in particular to an authentication method, device and system. Background Art

[0002] 3rd Generation Partnership Project (3GPP, 3 rd The 1st Generation Partnership Project has formulated a specification for hiding user identities. That is, the terminal obtains the public key of the home network in advance through other means (for example, it is pre-written into the Universal Subscriber Identity Module (USIM) card), and the terminal uses the public key of the home network to encrypt the user identity and transmit it to the home network. The home network uses the private key corresponding to the public key to decrypt the user identity in plain text, and then queries the user-related information based on the plain text user identity.

[0003] Based on the relevant user ID hiding technology, the generated ciphertext user ID may be very large in size. Attackers can generate huge-sized fake ciphertext user IDs on a large scale and send them to the network, making the data traffic at the relevant interface of the home network very large, thereby reducing the data forwarding efficiency of the relevant interface and affecting the home network's authentication processing capabilities for normal users. Summary of the invention

[0004] The embodiment of the present invention provides an authentication method, device and system, which can improve the authentication processing capability of a home network for normal users.

[0005] An embodiment of the present invention provides an authentication method, including:

[0006] Receive a first message from a first node; wherein the first message includes: a hidden user identifier, the hidden user identifier includes encryption information and any one of the following: a plaintext encryption mode identifier; a plaintext encryption mode identifier and a plaintext key identifier;

[0007] Determine whether to forward the first message of the first node according to the hidden user identifier and user identifier configuration information.

[0008] The embodiment of the present invention provides an authentication method, including any one of the following:

[0009] receiving a second message; sending a third message; wherein the third message includes part or all of the user identification configuration information;

[0010] receiving and forwarding a second message; receiving and forwarding a third message; wherein the third message includes part or all of the user identification configuration information;

[0011] Receive a fourth message from the second node; wherein the fourth message includes: a hidden user identifier, the hidden user identifier includes encryption information and any one of the following: a plaintext encryption mode identifier; a plaintext encryption mode identifier and a plaintext key identifier; send a fifth message, the fifth message includes part or all of the user identifier configuration information.

[0012] An embodiment of the present invention provides an authentication device, including:

[0013] A first receiving module, configured to receive a first message from a first node; wherein the first message includes: a hidden user identifier, the hidden user identifier includes encryption information and any one of the following: a plaintext encryption mode identifier; a plaintext encryption mode identifier and a plaintext key identifier;

[0014] A determination module is used to determine whether to forward the first message of the first node according to the hidden user identity and user identity configuration information.

[0015] An embodiment of the present invention provides an authentication device, including:

[0016] The second receiving module is configured to perform any one of the following:

[0017] receiving a second message;

[0018] Receiving a third message; wherein the third message includes part or all of the user identification configuration information;

[0019] Receive a fourth message from the second node; wherein the fourth message includes: a hidden user identifier, the hidden user identifier includes encryption information and any one of the following: a plaintext encryption mode identifier; a plaintext encryption mode identifier and a plaintext key identifier;

[0020] Send module, used to perform any of the following:

[0021] Sending a third message; wherein the third message includes part or all of the user identification configuration information;

[0022] Forwarding a third message; wherein the third message includes part or all of the user identification configuration information;

[0023] Sending a fifth message, wherein the fifth message includes part or all of the user identification configuration information;

[0024] A sixth message is sent, where the sixth message includes part or all of the user identification configuration information.

[0025] An embodiment of the present invention provides an authentication device, including a processor and a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, and when the instructions are executed by the processor, any of the above authentication methods is implemented.

[0026] An embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above authentication methods are implemented.

[0027] An embodiment of the present invention provides an authentication system, including:

[0028] A first network function is used to receive a first message from a first node; wherein the first message includes: a hidden user identifier, the hidden user identifier includes encryption information and any one of the following: a plaintext encryption mode identifier; a plaintext encryption mode identifier and a plaintext key identifier; and determining whether to forward the first message of the first node based on the hidden user identifier and the user identifier configuration information.

[0029] The embodiment of the present invention includes: receiving a first message from a first node; wherein the first message includes: a hidden user identifier, the hidden user identifier includes encryption information and any one of the following: a plaintext encryption mode identifier; a plaintext encryption mode identifier and a plaintext key identifier; determining whether to forward the first message from the first node according to the hidden user identifier and user identifier configuration information. The embodiment of the present invention determines whether to forward the first message based on the user identifier configuration information, thereby improving the authentication processing capability of the home network for normal users.

[0030] Other features and advantages of the embodiments of the present invention will be described in the following description, and partly become apparent from the description, or be understood by implementing the embodiments of the present invention. The purposes and other advantages of the embodiments of the present invention can be achieved and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The accompanying drawings are used to provide a further understanding of the technical solutions of the embodiments of the present invention and constitute a part of the specification. Together with the embodiments of the embodiments of the present invention, they are used to explain the technical solutions of the embodiments of the present invention and do not constitute a limitation on the technical solutions of the embodiments of the present invention.

[0032] Figure 1 A flowchart of an authentication method proposed by an embodiment of the present invention;

[0033] Figure 2 This is a flow chart of the authentication method proposed in Example 1 of the embodiment of the present invention;

[0034] Figure 3This is a flow chart of the authentication method proposed in Example 2 of the embodiment of the present invention;

[0035] Figure 4 This is a flow chart of the authentication method proposed in Example 3 of the embodiment of the present invention;

[0036] Figure 5 This is a flow chart of the authentication method proposed in Example 4 of the embodiment of the present invention;

[0037] Figure 6 A schematic diagram of the structure of an authentication device proposed in another embodiment of the present invention;

[0038] Figure 7 This is a schematic diagram of the structural composition of an authentication device proposed in another embodiment of the present invention. DETAILED DESCRIPTION

[0039] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other at will.

[0040] The steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions. Also, although a logical sequence is shown in the flowchart, in some cases, the steps shown or described can be performed in a sequence different from that shown here.

[0041] See also Figure 1 An embodiment of the present invention provides an authentication method, comprising:

[0042] Step 100, receiving a first message from a first node; wherein the first message includes: a hidden user identifier, the hidden user identifier includes encryption information and any one of the following: a plaintext encryption mode identifier; a plaintext encryption mode identifier and a plaintext key identifier.

[0043] In the embodiment of the present invention, the first message may be a registration request message.

[0044] In the embodiment of the present invention, the encrypted information is obtained by encrypting part or all of the plaintext user identification information.

[0045] Step 101: Determine whether to forward a first message of the first node according to the hidden user identity and user identity configuration information.

[0046] In an embodiment of the present invention, the user identification configuration information includes at least one of the following:

[0047] User ID encryption mode ID list;

[0048] User ID encryption key ID list;

[0049] Maximum size information;

[0050] Each encryption mode identifies the corresponding maximum size information.

[0051] In the embodiment of the present invention, determining whether to forward the first message according to the hidden user identifier and the user identifier configuration information includes:

[0052] When at least one of the following conditions is met, the first message is rejected:

[0053] The encryption mode identifier is not in the user identifier encryption mode identifier list;

[0054] The key identifier is not in the user identifier encryption key identifier list;

[0055] The size of part or all of the hidden user identifiers is larger than the maximum size information, wherein the part or all of the hidden user identifiers at least include the encrypted information;

[0056] The size of part or all of the hidden user identifiers is larger than the maximum size information corresponding to the encryption mode identifier, wherein part or all of the hidden user identifiers at least include the encryption information.

[0057] In the embodiment of the present invention, determining whether to forward the first message according to the hidden user identifier and the user identifier configuration information includes:

[0058] When at least one of the following conditions is met, the first message is forwarded:

[0059] The encryption mode identifier is in the user identifier encryption mode identifier list;

[0060] The key identifier is in the user identifier encryption key identifier list;

[0061] The size of part or all of the hidden user identifiers is smaller than or equal to the maximum size information, wherein the part or all of the hidden user identifiers at least include the encrypted information;

[0062] The size of part or all of the hidden user identifiers is smaller than or equal to the maximum size information corresponding to the encryption mode identifier, wherein part or all of the hidden user identifiers at least include the encryption information.

[0063] In another embodiment of the present invention, before receiving the first message, the method further includes:

[0064] Obtain part or all of the user identification configuration information.

[0065] Of course, part or all of the user identification configuration information may also be configured in a pre-configured manner.

[0066] The acquiring of part or all of the user identification configuration information includes any of the following:

[0067] Sending a second message; receiving a third message; wherein the third message includes part or all of the user identification configuration information;

[0068] receiving and forwarding a fourth message from the second node; receiving a fifth message, and sending the fifth message to the second node, wherein the fifth message includes part or all of the user identification configuration information;

[0069] A sixth message from the third node is received, where the sixth message includes part or all of the user identification configuration information.

[0070] In an embodiment of the present invention, the second message is a request for obtaining user identification configuration information (such as an Identifier Configuration Request message), the third message is a response for obtaining user identification configuration information (such as an Identifier Configuration Response message), the fourth message is a registration request (such as a Registration Request message), the fifth message is a registration response (such as an Authentication Request message), and the sixth message can be any message, such as a registration request (such as a Registration Request message).

[0071] The embodiment of the present invention determines whether to forward the first message based on the user identification configuration information, thereby improving the authentication processing capability of the home network for normal users.

[0072] Another embodiment of the present invention provides an authentication method, including any one of the following:

[0073] receiving a second message; sending a third message; wherein the third message includes part or all of the user identification configuration information;

[0074] receiving and forwarding a second message; receiving and forwarding a third message; wherein the third message includes part or all of the user identification configuration information;

[0075] Receive a first message from a second node; wherein the first message includes: a hidden user identifier, the hidden user identifier includes encryption information and any one of the following: a plaintext encryption mode identifier; a plaintext encryption mode identifier and a plaintext key identifier; send a first response, the first response includes part or all of the user identifier configuration information;

[0076] A sixth message is sent, where the sixth message includes part or all of the user identification configuration information.

[0077] The specific implementation process of the above method is described below through specific examples. The examples listed are not used to limit the protection scope of the authentication method of the embodiment of the present invention.

[0078] Example 1

[0079] See also Figure 2 , the process includes:

[0080] Step 201: Security Edge Protection Proxy (SEPP) 1 (SEPP1) of a visited network sends a request for obtaining user identifier configuration information to Security Edge Protection Proxy 2 (SEPP2) of a home network, such as sending an Identifier Configuration Request message.

[0081] Step 202: SEPP2 forwards the user identification configuration information acquisition request to the contract data management function (such as the authentication server function (AUSF) or the unified data management (UDM)).

[0082] Step 203: The subscriber data management function sends a user identifier configuration information acquisition response to SEPP2, such as an Identifier Configuration Response message.

[0083] In this step, the user identification configuration information acquisition response includes user identification configuration information, and the user identification configuration information includes at least one of the following:

[0084] User ID encryption mode ID list;

[0085] User ID encryption key ID list;

[0086] Maximum size information;

[0087] Each encryption mode identifies the corresponding maximum size information.

[0088] Step 204: SEPP2 forwards the user identification configuration information acquisition response to SEPP1.

[0089] Step 205: The mobile terminal in the visited network where SEPP1 is located initiates a registration request, such as sending a Registration Request message. The registration request will be forwarded to the home network. In this embodiment, the home network of the mobile terminal is the network where SEPP2 is located. The registration request message will reach SEPP2 through SEPP1.

[0090] In this step, the registration request carries a hidden user identifier, which includes encryption information and a plaintext encryption mode identifier, and may include a key identifier. The encryption information is obtained by encrypting part of the plaintext user identifier.

[0091] Step 206: SEPP1 determines whether to forward the registration request of the mobile terminal according to the hidden user identity and user identity configuration information.

[0092] In this step, the registration request is rejected when at least one of the following conditions is met:

[0093] The encryption mode identifier is not in the user identifier encryption mode identifier list;

[0094] The key identifier is not in the user identifier encryption key identifier list;

[0095] The size of part or all of the hidden user identifiers is larger than the maximum size information, wherein the part or all of the hidden user identifiers at least include the encrypted information;

[0096] The size of part or all of the hidden user identifiers is larger than the maximum size information corresponding to the encryption mode identifier, wherein the part or all of the hidden user identifiers at least include the encryption information.

[0097] When at least one of the following conditions is met, the registration request is forwarded:

[0098] The encryption mode identifier is in the user identifier encryption mode identifier list;

[0099] The key identifier is in the user identifier encryption key identifier list;

[0100] The size of part or all of the hidden user identifiers is smaller than or equal to the maximum size information, wherein the part or all of the hidden user identifiers at least include the encrypted information;

[0101] The size of part or all of the hidden user identifiers is smaller than or equal to the maximum size information corresponding to the encryption mode identifier, wherein part or all of the hidden user identifiers at least include the encryption information.

[0102] Example 2

[0103] See also Figure 3 , the process includes:

[0104] Step 301: Security Edge Protection Proxy (SEPP) 1 (SEPP1) of a visited network sends a request for obtaining user identifier configuration information to Security Edge Protection Proxy 2 (SEPP2) of a home network, such as sending an Identifier Configuration Request message.

[0105] Step 302: SEPP2 sends a user identification configuration information acquisition response to SEPP1.

[0106] In this step, the user identification configuration information acquisition response includes user identification configuration information, and the user identification configuration information includes at least one of the following:

[0107] User ID encryption mode ID list;

[0108] User ID encryption key ID list;

[0109] Maximum size information;

[0110] Each encryption mode identifies the corresponding maximum size information.

[0111] Step 303: The mobile terminal in the visited network where SEPP1 is located initiates a registration request, such as sending a Registration Request message. The registration request will be forwarded to the home network. In this embodiment, the home network of the mobile terminal is the network where SEPP2 is located. The registration request message will reach SEPP2 through SEPP1.

[0112] In this step, the registration request carries a hidden user identifier, which includes encryption information and a plaintext encryption mode identifier, and may include a key identifier. The encryption information is obtained by encrypting part of the plaintext user identifier.

[0113] Step 304: SEPP1 determines whether to forward the registration request of the mobile terminal according to the hidden user identity and user identity configuration information.

[0114] In this step, the registration request is rejected when at least one of the following conditions is met:

[0115] The encryption mode identifier is not in the user identifier encryption mode identifier list;

[0116] The key identifier is not in the user identifier encryption key identifier list;

[0117] The size of part or all of the hidden user identifiers is larger than the maximum size information, wherein the part or all of the hidden user identifiers at least include the encrypted information;

[0118] The size of part or all of the hidden user identifiers is larger than the maximum size information corresponding to the encryption mode identifier, wherein the part or all of the hidden user identifiers at least include the encryption information.

[0119] When at least one of the following conditions is met, the registration request is forwarded:

[0120] The encryption mode identifier is in the user identifier encryption mode identifier list;

[0121] The key identifier is in the user identifier encryption key identifier list;

[0122] The size of part or all of the hidden user identifiers is smaller than or equal to the maximum size information, wherein the part or all of the hidden user identifiers include the encrypted information;

[0123] The size of part or all of the hidden user identifiers is smaller than or equal to the maximum size information corresponding to the encryption mode identifier, wherein part or all of the hidden user identifiers contain the encryption information.

[0124] Example 3

[0125] See also Figure 4 , the process includes:

[0126] Step 401: SEPP2 forwards a request for obtaining user identity configuration information to a subscription data management function (such as AUSF or UDM).

[0127] Step 402: The subscriber data management function sends a user identifier configuration information acquisition response to SEPP2, such as an Identifier Configuration Response message.

[0128] In this step, the user identification configuration information acquisition response includes user identification configuration information, and the user identification configuration information includes at least one of the following:

[0129] User ID encryption mode ID list;

[0130] User ID encryption key ID list;

[0131] Maximum size information;

[0132] Each encryption mode identifies the corresponding maximum size information.

[0133] Step 403: The mobile terminal in the visited network where SEPP1 is located initiates a registration request, such as sending a Registration Request message. The registration request will be forwarded to the home network. In this embodiment, the home network of the mobile terminal is the network where SEPP2 is located. The registration request message will reach SEPP2 through SEPP1.

[0134] In this step, the registration request carries a hidden user identifier, which includes encryption information and a plaintext encryption mode identifier, and may include a key identifier. The encryption information is obtained by encrypting part of the plaintext user identifier.

[0135] Step 404: SEPP2 determines whether to forward the registration request of the mobile terminal according to the hidden user identity and user identity configuration information.

[0136] In this step, the registration request is rejected when at least one of the following conditions is met:

[0137] The encryption mode identifier is not in the user identifier encryption mode identifier list;

[0138] The key identifier is not in the user identifier encryption key identifier list;

[0139] The size of part or all of the hidden user identifiers is larger than the maximum size information, wherein the part or all of the hidden user identifiers at least include the encrypted information;

[0140] The size of part or all of the hidden user identifiers is larger than the maximum size information corresponding to the encryption mode identifier, wherein the part or all of the hidden user identifiers at least include the encryption information.

[0141] When at least one of the following conditions is met, the registration request is forwarded:

[0142] The encryption mode identifier is in the user identifier encryption mode identifier list;

[0143] The key identifier is in the user identifier encryption key identifier list;

[0144] The size of part or all of the hidden user identifiers is smaller than or equal to the maximum size information, wherein the part or all of the hidden user identifiers at least include the encrypted information;

[0145] The size of part or all of the hidden user identifiers is smaller than or equal to the maximum size information corresponding to the encryption mode identifier, wherein part or all of the hidden user identifiers at least include the encryption information.

[0146] Example 4

[0147] See also Figure 5 , the process includes:

[0148] The following steps 501 to 504 are optional steps.

[0149] Step 501, the mobile terminal 1 in the visited network where the core network control function (such as the access management function (AMF, Access Management)) is located initiates a registration request, such as sending a Registration Request message, and the registration request will be forwarded to the home network. In this embodiment, the home network of this mobile terminal 1 is the network where the contract data management function (such as AUSF or UDM) is located, and the registration request message will reach the core network control function.

[0150] In this step, the registration request carries a hidden user identifier, which includes encryption information and a plaintext encryption mode identifier, and may include a key identifier. The encryption information is obtained by encrypting part of the plaintext user identifier.

[0151] Step 502: The core network control function forwards the registration request to the subscription data management function.

[0152] Step 503: The subscription data management function sends a registration response to the core network control function, such as sending an Authentication Request message.

[0153] In this step, the registration response includes user identification configuration information, and the user identification configuration information includes at least one of the following:

[0154] User ID encryption mode ID list;

[0155] User ID encryption key ID list;

[0156] Maximum size information;

[0157] Each encryption mode identifies the corresponding maximum size information.

[0158] Step 504: The core network control function sends a registration response message to the mobile terminal 1 without carrying the user identification configuration information, thereby completing the network access process of the mobile terminal 1.

[0159] Step 505: The core network control function (such as AMF) obtains the user identification configuration information through steps 501 to 504, or obtains the user identification configuration information through the push of the network management server (i.e., the network management server sends the user identification configuration information to the core network control function). The mobile terminal 2 in the visited network where the core network control function (such as AMF) is located initiates a registration request, such as sending a Registration Request message, and the registration request will be forwarded to the home network. In this embodiment, the home network of this mobile terminal 2 is the network where the subscription data management function (such as AUSF or UDM) is located, and the registration request message will reach the core network control function.

[0160] In this step, the registration request carries a hidden user identifier, which includes encryption information and a plaintext encryption mode identifier, and may include a key identifier. The encryption information is obtained by encrypting part of the plaintext user identifier.

[0161] Step 506: The core network control function determines whether to forward the registration request of mobile terminal 2 according to the hidden user identity and user identity configuration information.

[0162] In this step, the registration request is rejected when at least one of the following conditions is met:

[0163] The encryption mode identifier is not in the user identifier encryption mode identifier list;

[0164] The key identifier is not in the user identifier encryption key identifier list;

[0165] The size of part or all of the hidden user identifiers is larger than the maximum size information, wherein the part or all of the hidden user identifiers at least include the encrypted information;

[0166] The size of part or all of the hidden user identifiers is larger than the maximum size information corresponding to the encryption mode identifier, wherein the part or all of the hidden user identifiers at least include the encryption information.

[0167] When at least one of the following conditions is met, the registration request is forwarded:

[0168] The encryption mode identifier is in the user identifier encryption mode identifier list;

[0169] The key identifier is in the user identifier encryption key identifier list;

[0170] The size of part or all of the hidden user identifiers is smaller than or equal to the maximum size information, wherein the part or all of the hidden user identifiers at least include the encrypted information;

[0171] The size of part or all of the hidden user identifiers is smaller than or equal to the maximum size information corresponding to the encryption mode identifier, wherein part or all of the hidden user identifiers at least include the encryption information.

[0172] See also Figure 6 Another embodiment of the present invention provides an authentication device (for example, a security border protection agent 1 of a visited network, or a security border protection agent 2 of a home network, or a core network control function, etc.), comprising:

[0173] The first receiving module 601 is used to receive a first message from a first node; wherein the first message includes: a hidden user identifier, the hidden user identifier includes encryption information and any one of the following: a plaintext encryption mode identifier; a plaintext encryption mode identifier and a plaintext key identifier;

[0174] The determination module 602 is configured to determine whether to forward the first message of the first node according to the hidden user identity and user identity configuration information.

[0175] In the embodiment of the present invention, the encrypted information is obtained by encrypting part or all of the plaintext user identification information.

[0176] In an embodiment of the present invention, the user identification configuration information includes at least one of the following:

[0177] User ID encryption mode ID list;

[0178] User ID encryption key ID list;

[0179] Maximum size information;

[0180] Each encryption mode identifies the corresponding maximum size information.

[0181] In the embodiment of the present invention, the determination module 602 is specifically used for:

[0182] When at least one of the following conditions is met, the first message is rejected:

[0183] The encryption mode identifier is not in the user identifier encryption mode identifier list;

[0184] The key identifier is not in the user identifier encryption key identifier list;

[0185] The size of part or all of the hidden user identifiers is larger than the maximum size information, wherein the part or all of the hidden user identifiers at least include the encrypted information;

[0186] The size of part or all of the hidden user identifiers is larger than the maximum size information corresponding to the encryption mode identifier, wherein the part or all of the hidden user identifiers at least include the encryption information.

[0187] In the embodiment of the present invention, the determination module 602 is specifically used for:

[0188] When at least one of the following conditions is met, the first message is forwarded:

[0189] The encryption mode identifier is in the user identifier encryption mode identifier list;

[0190] The key identifier is in the user identifier encryption key identifier list;

[0191] The size of part or all of the hidden user identifiers is smaller than or equal to the maximum size information, wherein the part or all of the hidden user identifiers at least include the encrypted information;

[0192] The size of part or all of the hidden user identifiers is smaller than or equal to the maximum size information corresponding to the encryption mode identifier, wherein part or all of the hidden user identifiers at least include the encryption information.

[0193] In another embodiment of the present invention, it also includes:

[0194] The acquisition module 603 is used to acquire part or all of the user identification configuration information.

[0195] The acquiring of part or all of the user identification configuration information includes any of the following:

[0196] Sending a second message; receiving a third message; wherein the third message includes part or all of the user identification configuration information;

[0197] receiving and forwarding a fourth message from the second node; receiving a fifth message, and sending the fifth message to the second node, wherein the fifth message includes part or all of the user identification configuration information;

[0198] A sixth message from the third node is received, where the sixth message includes part or all of the user identification configuration information.

[0199] In an embodiment of the present invention, the second message is a request for obtaining user identification configuration information (such as an Identifier Configuration Request message), the third message is a response for obtaining user identification configuration information (such as an Identifier Configuration Response message), the fourth message is a registration request (such as a Registration Request message), the fifth message is a registration response (such as an Authentication Request message), and the sixth message can be any message, such as a registration request (such as a Registration Request message).

[0200] The embodiment of the present invention determines whether to forward the first message based on the user identification configuration information, thereby improving the authentication processing capability of the home network for normal users.

[0201] See also Figure 7 Another embodiment of the present invention provides an authentication device (for example, a security boundary protection agent 2 of a home network, or a subscription data management function), comprising:

[0202] The second receiving module 701 is configured to perform any one of the following:

[0203] receiving a second message;

[0204] Receive a third message; wherein the third message includes: part or all of the user identification configuration information;

[0205] Receive a fourth message from the second node; wherein the fourth message includes: a hidden user identifier, the hidden user identifier includes encryption information and any one of the following: a plaintext encryption mode identifier; a plaintext encryption mode identifier and a plaintext key identifier;

[0206] The sending module 702 is used to perform any one of the following:

[0207] Sending the third message; wherein the third message includes: part or all of the user identification configuration information;

[0208] Forwarding the third message; wherein the third message includes: part or all of the user identification configuration information;

[0209] Sending a fifth message, wherein the fifth message includes part or all of the user identification configuration information;

[0210] A sixth message is sent, where the sixth message includes part or all of the user identification configuration information.

[0211] Another embodiment of the present invention provides an authentication device, including a processor and a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, and when the instructions are executed by the processor, any of the above authentication methods is implemented.

[0212] Another embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of any one of the above authentication methods when executed by a processor.

[0213] Another embodiment of the present invention provides an authentication system, comprising:

[0214] A first network function is used to receive a first message from a first node; wherein the first message includes: a hidden user identifier, the hidden user identifier includes encryption information and any one of the following: a plaintext encryption mode identifier; a plaintext encryption mode identifier and a plaintext key identifier; and determining whether to forward the first message of the first node based on the hidden user identifier and the user identifier configuration information.

[0215] In this embodiment of the present invention, the first network function is further used to:

[0216] Obtain part or all of the user identification configuration information.

[0217] In an embodiment of the present invention, the first network function is specifically used to implement the acquisition of part or all of the user identification configuration information in any of the following ways:

[0218] Sending a second message; receiving a third message; wherein the third message includes part or all of the user identification configuration information;

[0219] receiving and forwarding a fourth message from the second node; receiving a fifth message, and sending the fifth message to the second node, wherein the fifth message includes part or all of the user identification configuration information;

[0220] receiving a sixth message from the third node, wherein the sixth message includes part or all of the user identification configuration information;

[0221] The authentication system further includes: a second network function; or a second network function and a third network function; or a third node; wherein the second network function is used to perform any one of the following:

[0222] receiving a second message; sending the third message; wherein the third message includes part or all of the user identification configuration information;

[0223] receiving a fourth message from the second node; sending a fifth message, wherein the fifth message includes part or all of the user identification configuration information;

[0224] The third network function is used to receive and forward the second message; receive and forward the third message; wherein the third message includes part or all of the user identification configuration information;

[0225] The third node is used to send a sixth message, where the sixth message includes part or all of the user identification configuration information.

[0226] The user identification configuration information includes at least one of the following:

[0227] User ID encryption mode ID list;

[0228] User ID encryption key ID list;

[0229] Maximum size information;

[0230] Each encryption mode identifies the corresponding maximum size information.

[0231] The first network function is specifically used to implement the determination of whether to forward the first message according to the hidden user identifier and user identifier configuration information in the following manner:

[0232] When at least one of the following conditions is met, the first message is rejected:

[0233] The encryption mode identifier is not in the user identifier encryption mode identifier list;

[0234] The key identifier is not in the user identifier encryption key identifier list;

[0235] The size of part or all of the hidden user identifiers is larger than the maximum size information, wherein the part or all of the hidden user identifiers at least include the encrypted information;

[0236] The size of part or all of the hidden user identifiers is larger than the maximum size information corresponding to the encryption mode identifier, wherein the part or all of the hidden user identifiers at least include the encryption information.

[0237] The first network function is specifically used to implement the determination of whether to forward the first message according to the hidden user identifier and user identifier configuration information in the following manner:

[0238] When at least one of the following conditions is met, the first message is forwarded:

[0239] The encryption mode identifier is in the user identifier encryption mode identifier list;

[0240] The key identifier is in the user identifier encryption key identifier list;

[0241] The size of part or all of the hidden user identifiers is smaller than or equal to the maximum size information, wherein the part or all of the hidden user identifiers at least include the encrypted information;

[0242] The size of part or all of the hidden user identifiers is smaller than or equal to the maximum size information corresponding to the encryption mode identifier, wherein part or all of the hidden user identifiers at least include the encryption information.

[0243] In the embodiment of the present invention, the first network function is a virtualized network element, such as any one of the following: a security boundary protection agent 1 of a visited network, a security boundary protection agent 2 of a home network, a core network control function, and a network management server.

[0244] The second network function is a virtualized network element, such as a subscription data management function, and the third network function is a virtualized network element, such as a security boundary protection agent 2 of a home network.

[0245] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0246] Although the implementation methods disclosed in the embodiments of the present invention are as above, the contents described are only implementation methods adopted to facilitate understanding of the embodiments of the present invention, and are not intended to limit the embodiments of the present invention. Any technician in the field to which the embodiments of the present invention belong may make any modifications and changes in the form and details of implementation without departing from the spirit and scope disclosed in the embodiments of the present invention, but the scope of patent protection of the embodiments of the present invention shall still be subject to the scope defined in the attached claims.

Claims

1. An authentication method, comprising: Receive a first message from a first node; wherein the first message includes a hidden user identifier, and the hidden user identifier includes encryption information and any one of the following: a plaintext encryption mode identifier; a plaintext encryption mode identifier and a plaintext key identifier; wherein the encryption information is obtained by encrypting part or all of the plaintext user identifier; Determining whether to forward the first message of the first node according to the hidden user identifier and user identifier configuration information; Before receiving the first message, the method further includes: Acquire part or all of the user identification configuration information; the user identification configuration information includes at least one of the following: a user identification encryption mode identification list; and maximum size information corresponding to each encryption mode identification.

2. The authentication method according to claim 1, characterized in that: in, The obtaining of part or all of the user identification configuration information includes any of the following: Sending a second message; receiving a third message; wherein the third message includes part or all of the user identification configuration information; receiving and forwarding a fourth message from the second node; receiving a fifth message, and sending the fifth message to the second node, wherein the fifth message includes part or all of the user identification configuration information; A sixth message from the third node is received, where the sixth message includes part or all of the user identification configuration information.

3. The authentication method according to claim 2, characterized in that: The second message is a user identification configuration information acquisition request message, the third message is a user identification configuration information acquisition response message, the fourth message is a registration request message, and the fifth message is a registration response message.

4. The authentication method according to claim 1, characterized in that: in, The determining whether to forward the first message of the first node according to the hidden user identifier and user identifier configuration information includes: When at least one of the following conditions is met, the first message is rejected: The encryption mode identifier is not in the user identifier encryption mode identifier list; The size of part or all of the hidden user identifiers is larger than the maximum size information corresponding to the encryption mode identifier, wherein part or all of the hidden user identifiers at least include the encryption information.

5. The authentication method according to claim 1, characterized in that: in, The determining whether to forward the first message of the first node according to the hidden user identifier and user identifier configuration information comprises: When at least one of the following conditions is met, the first message is forwarded: The encryption mode identifier is in the user identifier encryption mode identifier list; The size of part or all of the hidden user identifiers is smaller than or equal to the maximum size information corresponding to the encryption mode identifier, wherein part or all of the hidden user identifiers at least include the encryption information.

6. The authentication method according to claim 1, characterized in that: Include any of the following: receiving a second message; sending a third message; wherein the third message includes part or all of the user identification configuration information; receiving and forwarding a second message; receiving and forwarding a third message; wherein the third message includes part or all of the user identification configuration information; Receive a fourth message from the second node; wherein the fourth message includes: a hidden user identifier, the hidden user identifier includes encryption information and any one of the following: a plaintext encryption mode identifier; a plaintext encryption mode identifier and a plaintext key identifier; send a fifth message, the fifth message includes part or all of the user identifier configuration information; wherein the encryption information is obtained by encrypting part or all of the plaintext user identifier information; A sixth message is sent, where the sixth message includes part or all of the user identification configuration information.

7. An authentication device, comprising: A first receiving module, configured to receive a first message from a first node; wherein the first message includes: a hidden user identifier, the hidden user identifier includes encryption information and any one of the following: a plaintext encryption mode identifier; a plaintext encryption mode identifier and a plaintext key identifier; wherein the encryption information is obtained by encrypting part or all of the plaintext user identifier; a determination module, configured to determine whether to forward the first message of the first node according to the hidden user identifier and user identifier configuration information; The acquisition module acquires part or all of the user identification configuration information; the user identification configuration information includes at least one of the following: a user identification encryption mode identification list; and maximum size information corresponding to each encryption mode identification.

8. The authentication device according to claim 7, characterized in that: include: The second receiving module is configured to perform any one of the following: receiving a second message; Receive a third message; wherein the third message includes: part or all of the user identification configuration information; Receive a fourth message from the second node; wherein the fourth message includes: a hidden user identifier, the hidden user identifier includes encryption information and any one of the following: a plaintext encryption mode identifier; a plaintext encryption mode identifier and a plaintext key identifier; wherein the encryption information is obtained by encrypting part or all of the plaintext user identifier; Send module, used to perform any of the following: Sending the third message; wherein the third message includes: part or all of the user identification configuration information; Forwarding the third message; wherein the third message includes: part or all of the user identification configuration information; Sending a fifth message, wherein the fifth message includes part or all of the user identification configuration information; A sixth message is sent, where the sixth message includes part or all of the user identification configuration information.

9. An authentication device, comprising a processor and a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, characterized in that: When the instruction is executed by the processor, the authentication method as described in any one of claims 1 to 6 is implemented.

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

11. An authentication system comprising: A first network function, configured to receive a first message from a first node; wherein the first message includes: a hidden user identifier, the hidden user identifier includes encryption information and any one of the following: a plaintext encryption mode identifier; a plaintext encryption mode identifier and a plaintext key identifier; determining whether to forward the first message of the first node according to the hidden user identifier and the user identifier configuration information, wherein the encryption information is obtained by encrypting part or all of the plaintext user identifier; The first network function is further used to: obtain part or all of the user identification configuration information; the user identification configuration information includes at least one of the following: a user identification encryption mode identification list; and maximum size information corresponding to each encryption mode identification.

12. The authentication system according to claim 11, characterized in that: The first network function is specifically configured to implement the acquisition of part or all of the user identification configuration information in any of the following ways: Sending a second message; receiving a third message; wherein the third message includes part or all of the user identification configuration information; receiving and forwarding a fourth message from the second node; receiving a fifth message, and sending the fifth message to the second node, wherein the fifth message includes part or all of the user identification configuration information; receiving a message from a third node, wherein the message includes part or all of the user identification configuration information; The authentication system further includes: a second network function; or a second network function and a third network function; or a third node; wherein the second network function is used to perform any one of the following: receiving a second message; sending the third message; wherein the third message includes part or all of the user identification configuration information; receiving a fourth message from the second node; sending a fifth message, wherein the fifth message includes part or all of the user identification configuration information; The third network function is used to receive and forward the second message; receive and forward the third message; wherein the third message includes part or all of the user identification configuration information; The third node is used to send a sixth message, where the sixth message includes part or all of the user identification configuration information.

13. The authentication system according to claim 11, characterized in that: in, The user identification configuration information includes at least one of the following: User ID encryption mode ID list; Each encryption mode identifies the corresponding maximum size information.

14. The authentication system according to claim 11, characterized in that: in, The first network function is specifically configured to implement the determination of whether to forward the first message of the first node according to the hidden user identifier and user identifier configuration information in the following manner: When at least one of the following conditions is met, the first message is rejected: The encryption mode identifier is not in the user identifier encryption mode identifier list; The size of part or all of the hidden user identifiers is larger than the maximum size information corresponding to the encryption mode identifier, wherein the part or all of the hidden user identifiers at least include the encryption information.

15. The authentication system according to claim 11, characterized in that: in, The first network function is specifically configured to implement the determination of whether to forward the first message of the first node according to the hidden user identifier and user identifier configuration information in the following manner: When at least one of the following conditions is met, the first message is forwarded: The encryption mode identifier is in the user identifier encryption mode identifier list; The size of part or all of the hidden user identifiers is smaller than or equal to the maximum size information corresponding to the encryption mode identifier, wherein part or all of the hidden user identifiers at least include the encryption information.