Authentication method and device and storage medium

CN118633266APending Publication Date: 2024-09-10BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380007886.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-01-09
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

In mobile edge computing scenarios, multiple authentication failures or unsuccessful authentications are prone to occur during the security authentication process between terminal devices and edge configuration servers or edge enablement servers, resulting in increased business processing delays and reduced user experience.

Method used

By receiving the message sent by the second entity, the security capability information and authentication mechanism supported by it are determined, and an appropriate authentication mechanism is selected for security authentication based on this information to avoid authentication failure or multiple repeated authentications caused by unreasonable authentication mechanism selection.

Benefits of technology

It improves the reliability and efficiency of security authentication, reduces data transmission delay, and improves user experience and business processing speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118633266A
    Figure CN118633266A
Patent Text Reader

Abstract

The invention relates to an authentication method and device and a storage medium. The method comprises: a first entity receiving a first message sent by a second entity, determining a first authentication mechanism according to security capability information in the first message, and performing security authentication according to the first authentication mechanism. Wherein the first message can comprise security capability information supported by the second entity, and the security capability information is used for indicating a candidate authentication mechanism supported by the second entity. Thus, the first entity can determine the first authentication mechanism according to the security capability information of the second entity, so that the problem of authentication failure or repeated authentication caused by unreasonable selection of the authentication mechanism can be avoided, and the reliability and efficiency of security authentication are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Authentication method, device and storage medium Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular, to an authentication method, device, and storage medium. Background Art

[0002] With the development of wireless communication technology, the popularization of various smart terminal devices, and the emergence of various new services (such as high-definition video, virtual reality, augmented reality, etc.), traditional cloud computing technology has become unable to meet the growing business needs. The 3rd Generation Partnership Project (3GPP) proposed the concept of Mobile Edge Computing (MEC), which is to implement edge computing in wireless communication networks and provide edge computing services to terminal devices. This speeds up business processing in wireless communication networks, reduces data transmission latency, and improves user experience. To implement mobile edge computing, an edge enabler client (EEC) can be deployed on the terminal device, and an edge configuration server (ECS) and / or edge enabler server (EES) can be deployed on the network device. Security authentication must first be performed between the EEC and the ECS / EES, and a connection can only be established after authentication is passed. After that, the network device can provide edge computing services to the terminal device. It should be noted that the above-mentioned mobile edge computing can include multi-access edge computing (MultiAccess Edge Computing).

[0003] In the related art, during the security authentication process between EEC and ECS / EES, there are cases where multiple authentications are required to succeed or authentication fails.

[0004] Summary of the Invention

[0005] In order to overcome the above-mentioned problems existing in the related art, the present disclosure provides an authentication method, device and storage medium.

[0006] According to a first aspect of an embodiment of the present disclosure, there is provided an authentication method, applied to a first entity, the method comprising:

[0007] receiving a first message sent by a second entity; wherein the first message includes security capability information supported by the second entity, and the security capability information is used to indicate a candidate authentication mechanism supported by the second entity;

[0008] determining a first authentication mechanism according to the security capability information;

[0009] Perform security authentication according to the first authentication mechanism.

[0010] In some embodiments, the first message further includes a second authentication mechanism determined by the second entity; and determining the first authentication mechanism according to the security capability information includes:

[0011] The first authentication mechanism is determined according to the security capability information and the second authentication mechanism.

[0012] In some embodiments, determining the first authentication mechanism based on the security capability information and the second authentication mechanism includes:

[0013] determining, according to the security capability information, a candidate authentication mechanism supported by the second entity;

[0014] When the candidate authentication mechanism includes at least one of an authentication mechanism based on Application Authentication and Key Management AKMA and an authentication mechanism based on Generic Bootstrapping Architecture GBA, and the second authentication mechanism includes an authentication mechanism based on one-way authentication of a server certificate, the first authentication mechanism may include an authentication mechanism based on a shared key and certificate.

[0015] In some embodiments, determining the first authentication mechanism based on the security capability information and the second authentication mechanism includes:

[0016] When the candidate authentication mechanism does not include an AKMA-based authentication mechanism and a GBA-based authentication mechanism, and the second authentication mechanism includes an authentication mechanism based on a one-way authentication of a server certificate, the first authentication mechanism does not include an authentication mechanism based on a shared key and a certificate.

[0017] In some embodiments, the method further comprises:

[0018] A second message is sent to the second entity; the second message is used to instruct the second entity to send a first message to the first entity.

[0019] In some embodiments, the first message is an authentication mechanism selection response message, and the second message is an authentication mechanism selection request message.

[0020] In some embodiments, the second message includes an authentication mechanism identifier and / or a key identifier supported by the first entity.

[0021] In some embodiments, the first entity includes an edge enabling client EEC, and the second entity includes an edge configuration server ECS or an edge enabling server EES.

[0022] In some embodiments, the edge-enabled client EEC is deployed on a terminal device.

[0023] According to a second aspect of an embodiment of the present disclosure, there is provided an authentication method, applied to a second entity, the method comprising:

[0024] A first message is sent to a first entity; wherein the first message includes security capability information supported by the second entity, and the security capability information is used to indicate a candidate authentication mechanism supported by the second entity.

[0025] In some embodiments, the first message further includes a second authentication mechanism determined by the second entity.

[0026] In some embodiments, the candidate authentication mechanism includes at least one of an authentication mechanism based on Application Authentication and Key Management (AKMA) and an authentication mechanism based on Generic Bootstrapping Architecture (GBA).

[0027] In some embodiments, the method further comprises:

[0028] In response to receiving a second message sent by the first entity, determining the security capability information supported by the second entity.

[0029] In some embodiments, the first message is an authentication mechanism selection response message; and the second message is an authentication mechanism selection request message.

[0030] In some embodiments, the second message includes an authentication mechanism identifier and / or a key identifier supported by the first entity.

[0031] In some embodiments, the first entity includes an edge enabling client EEC, and the second entity includes an edge configuration server ECS or an edge enabling server EES.

[0032] In some embodiments, the edge-enabled client EEC is deployed on a terminal device.

[0033] According to a third aspect of an embodiment of the present disclosure, there is provided an authentication device, applied to a first entity, the device comprising:

[0034] A first receiving module is configured to receive a first message sent by a second entity; wherein the first message includes security capability information supported by the second entity, and the security capability information is used to indicate a candidate authentication mechanism supported by the second entity;

[0035] The first processing module is configured to determine a first authentication mechanism according to the security capability information; and perform security authentication according to the first authentication mechanism.

[0036] According to a fourth aspect of an embodiment of the present disclosure, there is provided an authentication device, applied to a second entity, the device comprising:

[0037] The second sending module is configured to send a first message to the first entity; wherein the first message includes security capability information supported by the second entity, and the security capability information is used to indicate the candidate authentication mechanism supported by the second entity.

[0038] According to a fifth aspect of an embodiment of the present disclosure, there is provided an authentication device, including:

[0039] processor;

[0040] a memory for storing processor-executable instructions;

[0041] The processor is configured to execute the steps of the authentication method provided in the first aspect of the present disclosure.

[0042] According to a sixth aspect of an embodiment of the present disclosure, there is provided an authentication device, including:

[0043] processor;

[0044] a memory for storing processor-executable instructions;

[0045] The processor is configured to execute the steps of the authentication method provided in the second aspect of the present disclosure.

[0046] According to a seventh aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the steps of the authentication method provided in the first aspect of the present disclosure are implemented.

[0047] According to an eighth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the steps of the authentication method provided in the second aspect of the present disclosure are implemented.

[0048] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: a first entity receives a first message sent by a second entity, determines a first authentication mechanism based on the security capability information in the first message, and performs security authentication based on the first authentication mechanism. The first message may include security capability information supported by the second entity, and the security capability information is used to indicate candidate authentication mechanisms supported by the second entity. In this way, the first entity can determine the first authentication mechanism based on the security capability information of the second entity, thereby avoiding authentication failures or repeated authentication problems caused by unreasonable selection of authentication mechanisms, and improving the reliability and efficiency of security authentication.

[0049] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0051] Fig. 1 is a schematic diagram showing a communication system according to an exemplary embodiment.

[0052] Fig. 2 is a schematic diagram showing another communication system according to an exemplary embodiment.

[0053] Fig. 3 is a flow chart showing an authentication method according to an exemplary embodiment.

[0054] Fig. 4 is a flow chart showing an authentication method according to an exemplary embodiment.

[0055] Fig. 5 is a flowchart showing an authentication method according to an exemplary embodiment.

[0056] Fig. 6 is a flowchart showing an authentication method according to an exemplary embodiment.

[0057] Fig. 7 is a flowchart showing an authentication method according to an exemplary embodiment.

[0058] Fig. 8 is a flowchart showing an authentication method according to an exemplary embodiment.

[0059] Fig. 9 is a flowchart showing an authentication method according to an exemplary embodiment.

[0060] Fig. 10 is a flowchart showing an authentication method according to an exemplary embodiment.

[0061] Fig. 11 is a block diagram showing an authentication device according to an exemplary embodiment.

[0062] Fig. 12 is a block diagram showing an authentication device according to an exemplary embodiment.

[0063] Fig. 13 is a block diagram showing an authentication device according to an exemplary embodiment.

[0064] Fig. 14 is a block diagram showing an authentication device according to an exemplary embodiment.

[0065] Fig. 15 is a block diagram showing an authentication device according to an exemplary embodiment. DETAILED DESCRIPTION

[0066] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.

[0067] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the corresponding data protection laws and policies of the country where they are located and with the authorization given by the owner of the corresponding device.

[0068] In the description of the present disclosure, terms such as "first" and "second" are used to distinguish similar objects and are not necessarily to be understood as implying a specific order or precedence. In addition, in the description with reference to the accompanying drawings, the same reference numerals in different drawings represent the same elements unless otherwise indicated.

[0069] In the description of the present disclosure, unless otherwise specified, "multiple" refers to two or more than two, and other quantifiers are similar thereto. "At least one item (individual)", "one (individual) or multiple items (individual)" or similar expressions refer to any combination of these items (individuals), including any combination of single items (individuals) or plural items (individuals). For example, at least one item (individual) can represent any number; for another example, one (individual) or multiple items (individuals) among a, b and c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple. "And / or" is a kind of association relationship that describes the associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " indicates that the associated objects before and after are in an "or" relationship. The singular forms "a", "a", "an", "an", "said" and "the" are also intended to include the plural forms unless the context clearly indicates otherwise.

[0070] Although operations or steps are described in a specific order in the embodiments or drawings of the present disclosure, it should not be understood that these operations or steps must be performed in the specific order shown or in a serial order, or that all of the operations or steps shown must be performed to obtain the desired result. In the embodiments of the present disclosure, the operations or steps may be performed in any order, in parallel, or partially, unless otherwise specified. The operations or steps in multiple embodiments or drawings may be combined in any order, and the present disclosure is not limited thereto.

[0071] The following first introduces the implementation environment of the embodiments of the present disclosure.

[0072] The technical solutions of the embodiments of the present disclosure can be applied to various communication systems. The communication system may include one or more of a 4G (the 4th Generation, fourth generation) communication system, a 5G (the 5th Generation, fifth generation) communication system, and other future wireless communication systems (such as 6G). The communication system may also include a land public mobile communication network (Public Land Mobile Network, PLMN) network, a device-to-device (D2D) communication system, a machine-to-machine (M2M) communication system, an Internet of Things (IoT) communication system, a vehicle-to-everything (V2X) communication system, or one or more of other communication systems.

[0073] Figure 1 is a schematic diagram of a communication system 100 according to an exemplary embodiment. As shown in Figure 1, the communication system may include a first entity 151 and a second entity 161. The first entity 151 may be an entity that supports edge computing functions (e.g., an edge enabling client EEC), and the second entity 161 may include an entity that supports edge computing configuration functions (e.g., an edge configuration server ECS) and / or an entity that supports edge computing enabling functions (e.g., an edge enabling server EES). The entity shown in Figure 1 (e.g., the first entity or the second entity) may be hardware, or functionally divided software, or a structure that is a combination of the above two, and this disclosure does not limit this.

[0074] In some embodiments, the first entity may include an edge enabling client EEC, which may be a functional entity provided in a terminal device to provide services for an application client of the terminal device. Each terminal device may include one or more first entities.

[0075] In some embodiments, the second entity 161 may include an edge enabling server (EES), which may be a functional entity disposed in an edge hosting environment and providing services for edge application servers and edge enabler clients.

[0076] In some embodiments, the second entity 161 may include an edge configuration server ECS, which may provide support functions required for connecting the EEC with the EES.

[0077] It should be noted that, in the communication system, the number of the first entity and the second entity can be one or more. The number of the first entity and the second entity in the communication system shown in FIG1 is only an adaptive example and is not limited in this disclosure.

[0078] FIG2 is a schematic diagram of another communication system 100 according to an exemplary embodiment. As shown in FIG2 , the communication system 100 may include a terminal device 150 and a network device 160, wherein the terminal device 150 may include the first entity 151 described above, and the network device 160 may include the second entity 161 described above.

[0079] The terminal device 150 in FIG. 2 can be an electronic device that provides voice or data connectivity. For example, the terminal device can also be referred to as user equipment (UE), subscriber unit (SU), mobile station (MS), station (ST), terminal, etc. For example, the terminal device can include a smartphone, smart wearable device, smart speaker, smart tablet, wireless modem, wireless local loop (WLL) station, personal digital assistant (PDA), customer premises equipment (CPE), etc. With the development of wireless communication technology, devices that can access a communication system, can communicate with network devices of a communication system, can communicate with other objects through a communication system, or can directly communicate between two or more devices can all be terminal devices in the embodiments of the present disclosure; for example, terminals and cars in smart transportation, household appliances in smart homes, power meter reading instruments, voltage monitoring instruments, environmental monitoring instruments in smart grids, video monitoring instruments in smart security networks, cash registers, etc. In the embodiments of the present disclosure, the terminal device can communicate with network devices. Multiple terminal devices can also communicate with each other. The terminal device can be static or mobile, and this disclosure does not limit this.

[0080] In some embodiments, the terminal device 150 may include a first entity 151 , which may be an edge-enabled client EEC.

[0081] In some other embodiments, the terminal device 150 may further include a third entity 152 , which may be an application client (AC). The AC may be an application software provided in the terminal device for executing client functions.

[0082] It should be noted that the first entity 151 can be a software module, a hardware module, or a combination of software and hardware in the terminal device. Similarly, the third entity 152 can also be a software module, a hardware module, or a combination of software and hardware in the terminal device.

[0083] The network devices 160 in Figure 2 may include access network devices and core network devices. Terminal devices may be connected to access network devices wirelessly, and access network devices may be connected to core network devices wirelessly or via wired connections. Core network devices and access network devices may be independent, distinct physical devices. Alternatively, the functions of the core network device and the logical functions of the access network device may be integrated into the same physical device. Alternatively, a single physical device may integrate some of the functions of the core network device and some of the functions of the access network device.

[0084] The access network equipment can be used to support terminal device access. For example, the access network equipment can be an evolved base station (eNB or eNodeB) in LTE; the access network equipment can also be the next generation base station (gNB or gNodeB) in a 5G network; the access network equipment can also be a radio access network (NG-Radio Access Network, NG-RAN) device in a 5G network; the access network equipment can also be a base station, broadband network service gateway (BNG), aggregation switch or non-3GPP access equipment in a future evolved public land mobile network (PLMN). Optionally, the access network device in the embodiments of the present disclosure may include various forms of base stations, such as: macro base stations, micro base stations (also known as small stations), relay stations, access points, 5G base stations or future base stations, satellites, transmission points (Transmitting and Receiving Point, TRP), transmission points (Transmitting Point, TP), mobile switching centers and device-to-device (D2D), machine-to-machine (M2M), Internet of Things (IoT), vehicle-to-everything (V2X) or other devices that assume the function of a base station in a communication system, etc., and the embodiments of the present disclosure do not specifically limit this. For the convenience of description, in all embodiments of the present disclosure, the devices that provide wireless communication functions for terminal devices are collectively referred to as access network devices or base stations.

[0085] The core network equipment can be used to perform one or more of the following functions for terminal devices: mobility management, call control, session management, registration authentication, and billing. The core network equipment can include one or more entities, which can be hardware, functionally divided software, or a combination of the two. It should be noted that the entity can also be referred to as a function.

[0086] In some embodiments, the network device 160 may include a second entity 161 , which may include, for example, an edge configuration server ECS and / or an edge enabling server EES.

[0087] It should be noted that the second entity can be an entity or function deployed on the access network device or the core network device, or it can be an entity or function outside the access network device and the core network device. For example, the second entity can be a server deployed by a third party other than the operator.

[0088] FIG3 is a flow chart of an authentication method according to an exemplary embodiment. The method can be applied to the first entity in the above communication system. As shown in FIG3 , the method may include:

[0089] S301: A first entity receives a first message sent by a second entity.

[0090] The first message may include security capability information supported by the second entity.

[0091] The security capability information may be used to indicate candidate authentication mechanisms supported by the second entity.

[0092] The candidate authentication mechanism may include any authentication mechanism supported by the second entity. For example, the candidate authentication mechanism may include at least one of the following:

[0093] Authentication mechanism based on Authentication and Key Management for Applications (AKMA);

[0094] An authentication mechanism based on the Generic Bootstrapping Architecture (GBA).

[0095] It should be noted that, regarding the above-mentioned AKMA-based authentication mechanism and GBA-based authentication mechanism, reference may be made to the relevant description in the 3GPP protocol, which will not be elaborated in this disclosure.

[0096] It should also be noted that the above-mentioned candidate authentication mechanism can also be other authentication mechanisms, and the embodiments of the present application do not limit this.

[0097] It should be noted that the first message may include any message in which the second entity sends security capability information to the first entity. For example, the first message may be an authentication method selection response message (Authentication Method Selection Response).

[0098] S302: The first entity determines a first authentication mechanism according to the security capability information in the first message.

[0099] In some embodiments, the first entity may first determine a candidate authentication mechanism supported by the second entity based on the security capability information; and then determine the first authentication mechanism based on the candidate authentication mechanism.

[0100] In one implementation, if there is only one candidate authentication mechanism, the candidate authentication mechanism may be used as the first authentication mechanism.

[0101] In another implementation, if there are multiple candidate authentication mechanisms, any one of the multiple candidate authentication mechanisms may be selected as the first authentication mechanism. For example, a candidate authentication mechanism may be randomly selected as the first authentication mechanism.

[0102] In another implementation, if the candidate authentication mechanisms include at least one of an authentication mechanism based on Application Authentication and Key Management (AKMA) and an authentication mechanism based on Generic Bootstrapping Architecture (GBA), the first authentication mechanism may include a shared key-based authentication mechanism. The shared key-based authentication mechanism may be a shared key-based EEC / ECS / EES authentication mechanism. For example, the shared key-based authentication mechanism may enable the EEC or a terminal device corresponding to the EEC to authenticate the EEC / ECS / EES based on a server certificate.

[0103] In another implementation, if the candidate authentication mechanism includes at least one of an authentication mechanism based on Application Authentication and Key Management (AKMA) and an authentication mechanism based on General Bootstrapping Architecture (GBA), and the first entity obtains a server certificate corresponding to the second entity, the first authentication mechanism may include an authentication mechanism based on a shared key and a certificate. For example, the authentication mechanism based on a shared key and a certificate may be shared key-based EEC authentication with certificate-based ECS / EES authentication. It should be noted that the server certificate may be a certificate pre-configured by the second entity, and the second entity may send the server certificate to the first entity. For example, the first entity may receive the server certificate through a third message.

[0104] For example, if the candidate authentication mechanisms include only AKMA-based authentication mechanisms, the first authentication mechanism may include an AKMA-based shared key and certificate authentication mechanism. The AKMA-based shared key and certificate authentication mechanism may include: generating a shared key based on AKMA to authenticate the EEC or the terminal device corresponding to the EEC, and authenticating the ECS and / or EES based on the certificate.

[0105] For another example, if the candidate authentication mechanisms include only GBA-based authentication mechanisms, the first authentication mechanism may include a GBA-based shared key and certificate-based authentication mechanism. The GBA-based shared key and certificate-based authentication mechanism may include: generating a shared key based on GBA to authenticate the EEC or the terminal device corresponding to the EEC, and authenticating the ECS and / or EES based on the certificate.

[0106] For another example, if the candidate authentication mechanisms include an AKMA-based authentication mechanism and a GBA-based authentication mechanism, the first authentication mechanism may include an AKMA-based shared key and certificate authentication mechanism and / or a GBA-based shared key and certificate authentication mechanism.

[0107] In another implementation, if the above-mentioned candidate authentication mechanism does not include an AKMA-based authentication mechanism and a GBA-based authentication mechanism, the first authentication mechanism does not include an authentication mechanism based on a shared key and a certificate. For example, when the first entity obtains the server certificate corresponding to the second entity, the first authentication mechanism may include an authentication mechanism based on a one-way authentication of the server certificate. The authentication mechanism based on a one-way authentication of the server certificate can enable the EEC or the terminal device corresponding to the EEC to authenticate the second entity (such as ECS or EES) based on the server certificate. The server certificate can be a certificate pre-configured by the second entity, and the second entity can send the server certificate to the first entity. For example, the first entity can receive the server certificate through a third message.

[0108] In this way, by adopting any of the above methods, the first authentication mechanism can be determined according to the security capability information, so that the determined first authentication mechanism matches the security capability information of the second entity, thereby avoiding authentication failure.

[0109] S303: The first entity performs security authentication according to the first authentication mechanism.

[0110] For example, the first entity may perform security authentication with the second entity based on a first authentication mechanism. For example, if the first authentication mechanism includes an authentication mechanism based on a shared key and a certificate, the first entity may authenticate the first entity (e.g., EEC) based on the shared key, and authenticate the second entity (e.g., ECS or EES) based on the certificate.

[0111] It should be noted that the above authentication mechanism (Authentication Mechanism) can also be called an authentication method (Authentication Method), which is not limited in this disclosure.

[0112] Using the above method, a first entity receives a first message sent by a second entity, determines a first authentication mechanism based on the security capability information in the first message, and performs security authentication based on the first authentication mechanism. The first message may include security capability information supported by the second entity, indicating candidate authentication mechanisms supported by the second entity. In this way, the first entity can determine the first authentication mechanism based on the security capability information of the second entity, thereby avoiding authentication failures or repeated authentications caused by improper authentication mechanism selection, and improving the reliability and efficiency of security authentication.

[0113] In some embodiments, the first entity may include an edge enabling client EEC, and the second entity may include an edge configuration server ECS or an edge enabling server EES.

[0114] In some embodiments, the edge-enabled client EEC may be deployed on a terminal device.

[0115] In some embodiments, after the first entity is successfully authenticated, it can communicate with the second entity to implement edge computing.

[0116] In this way, in the edge computing scenario, the edge-enabled client can determine the appropriate first authentication mechanism for authentication based on the above security capability information, thereby improving authentication reliability.

[0117] FIG4 is a flow chart of an authentication method according to an exemplary embodiment. The method can be applied to the first entity described above. As shown in FIG4 , the method may include:

[0118] S401: A first entity receives a first message sent by a second entity.

[0119] The first message may include security capability information supported by the second entity and a second authentication mechanism determined by the second entity.

[0120] In some embodiments, the second entity may determine the second authentication mechanism based on the authentication mechanisms supported by the first entity and / or pre-configured policies. The pre-configured policies may include priorities of authentication mechanisms supported by the network configured by a 3GPP operator or a provider providing the second entity.

[0121] For example, the second entity may randomly select one from the authentication mechanisms supported by the first entity as the second authentication mechanism.

[0122] For another example, the second entity may select an authentication mechanism with the highest priority from authentication mechanisms supported by the network as the second authentication mechanism.

[0123] For another example, the second entity may select an authentication mechanism with the highest priority from the intersection of the authentication mechanisms supported by the network and the authentication mechanisms supported by the first entity as the second authentication mechanism.

[0124] In some embodiments, the second authentication mechanism may include a one-way authentication mechanism based on a server certificate. The one-way authentication mechanism based on a server certificate may be used to instruct the first entity to authenticate the ECS / EES based on a certificate (certificate-based ECS / EES authentication). It should be noted that the certificate used to authenticate the ECS / EES may be the server certificate indicated by the second authentication mechanism, which may be included in the first message, or may be a certificate received by the second entity through a message other than the first message.

[0125] S402: The first entity determines a first authentication mechanism according to the security capability information in the first message and the second authentication mechanism.

[0126] The first authentication mechanism and the second authentication mechanism may be the same or different.

[0127] In some embodiments, the first entity may first determine a candidate authentication mechanism supported by the second entity based on the security capability information; and then determine the first authentication mechanism based on the candidate authentication mechanism and the second authentication mechanism.

[0128] In one implementation, when the candidate authentication mechanism includes at least one of an authentication mechanism based on Application Authentication and Key Management (AKMA) and an authentication mechanism based on Generic Bootstrapping Architecture (GBA), and the second authentication mechanism includes an authentication mechanism based on one-way authentication using a server certificate, the first authentication mechanism may include an authentication mechanism based on a shared key and a certificate. The shared key and certificate-based authentication mechanism may be shared key-based EEC authentication with certificate-based ECS / EES authentication. It should be noted that the certificate used to authenticate the ECS / EES may be the server certificate indicated by the second authentication mechanism.

[0129] For example, when the candidate authentication mechanism includes an AKMA-based authentication mechanism and the second authentication mechanism includes an authentication mechanism for one-way authentication based on a server certificate, the first authentication mechanism may include an AKMA-based shared key and certificate authentication mechanism. The AKMA-based shared key and certificate authentication mechanism may include: authenticating the EEC or the terminal device corresponding to the EEC by generating a shared key based on AKMA, and authenticating the ECS and / or EES based on the certificate. It should be noted that the certificate used to authenticate the ECS and / or EES may be the server certificate indicated by the second authentication mechanism.

[0130] For another example, if the candidate authentication mechanism includes a GBA-based authentication mechanism and the second authentication mechanism includes a one-way authentication mechanism based on a server certificate, the first authentication mechanism may include a GBA-based shared key and certificate-based authentication mechanism. This GBA-based shared key and certificate-based authentication mechanism may include: generating a shared key based on GBA to authenticate the EEC or the terminal device corresponding to the EEC, and authenticating the ECS and / or EES based on the certificate. It should be noted that the certificate used to authenticate the ECS and / or EES may be the server certificate indicated by the second authentication mechanism.

[0131] For another example, when the candidate authentication mechanism includes an AKMA-based authentication mechanism and a GBA-based authentication mechanism, and the second authentication mechanism includes an authentication mechanism based on a one-way authentication of a server certificate, the first authentication mechanism may include an AKMA-based shared key and certificate authentication mechanism, and the first authentication mechanism may also include a GBA-based shared key and certificate authentication mechanism.

[0132] In another implementation, if the candidate authentication mechanism does not include an AKMA-based authentication mechanism and a GBA-based authentication mechanism, and the second authentication mechanism includes a one-way authentication mechanism based on a server certificate, the first authentication mechanism does not include the above-mentioned shared key and certificate-based authentication mechanism. For example, the first authentication mechanism may include a one-way authentication mechanism based on a server certificate. This one-way authentication mechanism based on a server certificate enables the EEC or the terminal device corresponding to the EEC to authenticate the server (e.g., ECS or EES) through a certificate.

[0133] S403: The first entity performs security authentication according to the first authentication mechanism.

[0134] It should be noted that, unless there is any contradiction, this embodiment can be combined with the aforementioned embodiments or implementation methods of the present disclosure and their various optional schemes. The specific implementation methods of the above steps in this embodiment can also refer to the description in the aforementioned embodiments of the present disclosure and will not be repeated here.

[0135] In this way, the first entity can determine the first authentication mechanism based on the security capability information and the second authentication mechanism sent by the second entity, thereby avoiding authentication failure or multiple repeated authentication problems caused by unreasonable selection of authentication mechanisms, and improving the reliability and efficiency of security authentication.

[0136] FIG5 is a flow chart of an authentication method according to an exemplary embodiment. The method can be applied to the first entity described above. As shown in FIG5 , the method may include:

[0137] S501: A first entity sends a second message to a second entity.

[0138] The second message is used to instruct the second entity to send the first message to the first entity. In some embodiments, the second message may be an authentication method selection request message (Authentication Method Selection Request).

[0139] In some embodiments, the second message may include an authentication mechanism identifier and / or a key identifier supported by the first entity.

[0140] The authentication mechanism identifier may be used to indicate an authentication mechanism supported by the first entity. The authentication mechanism supported by the first entity may include at least one of an authentication mechanism supporting AKMA, an authentication mechanism based on GBA, and an authentication mechanism based on a shared key (eg, Ks_int_NAF).

[0141] The key identifier may include an AKMA key identifier (AKMA Key Identifier, A-KID) or an authentication transaction identifier (Bootstrapping Transaction Identifier, B-TID).

[0142] S502: The first entity receives a first message sent by the second entity.

[0143] In some embodiments, the second entity may send the first message in response to receiving the second message.

[0144] In some embodiments, the first message may be an authentication method selection response message (Authentication Method Selection Response).

[0145] In some embodiments, the first message may include security capability information supported by the second entity.

[0146] In other embodiments, the first message may include security capability information supported by the second entity and a second authentication mechanism determined by the second entity.

[0147] S503: The first entity determines a first authentication mechanism according to the first message.

[0148] In some embodiments, the first entity determines the first authentication mechanism based on security capability information in the first message.

[0149] In some embodiments, the first entity determines the first authentication mechanism based on the security capability information in the first message and the second authentication mechanism.

[0150] S504: The first entity performs security authentication according to the first authentication mechanism.

[0151] It should be noted that, unless there is any contradiction, this embodiment can be combined with the aforementioned embodiments or implementation methods of the present disclosure and their various optional schemes. The specific implementation methods of the above steps in this embodiment can also refer to the description in the aforementioned embodiments of the present disclosure and will not be repeated here.

[0152] In this way, through the above process, the first entity can determine the first authentication mechanism based on the first message sent by the second entity, thereby avoiding authentication failure or multiple repeated authentication problems caused by unreasonable selection of the authentication mechanism, and improving the reliability and efficiency of security authentication.

[0153] FIG6 is a flow chart of an authentication method according to an exemplary embodiment. The method can be applied to the second entity in the above communication system. As shown in FIG6 , the method may include:

[0154] S601: A second entity sends a first message to a first entity.

[0155] In some embodiments, the first message may include security capability information supported by the second entity, and the security capability information may be used to indicate candidate authentication mechanisms supported by the second entity.

[0156] The candidate authentication mechanism may include any authentication mechanism supported by the second entity. For example, the candidate authentication mechanism may include at least one of the following:

[0157] AKMA-based authentication mechanism;

[0158] GBA-based authentication mechanism.

[0159] It should be noted that the first message may include any message in which the second entity sends security capability information to the first entity. For example, the first message may be an authentication mechanism selection response message.

[0160] In some embodiments, the security capability information may also be used to instruct the first entity to determine a first authentication mechanism according to the security capability information.

[0161] For example, the first entity may first determine a candidate authentication mechanism supported by the second entity according to the security capability information; and then determine the first authentication mechanism according to the candidate authentication mechanism.

[0162] It should be noted that the manner in which the first entity determines the first authentication mechanism may refer to the description in the aforementioned embodiments of the present disclosure, and will not be repeated here.

[0163] In some embodiments, the first entity may include an edge enabling client EEC, and the second entity may include an edge configuration server ECS or an edge enabling server EES.

[0164] In some embodiments, the edge-enabled client EEC may be deployed on a terminal device.

[0165] It should be noted that, unless there is any contradiction, this embodiment can be combined with the aforementioned embodiments or implementation methods of the present disclosure and their various optional schemes. The specific implementation methods of the above steps in this embodiment can also refer to the description in the aforementioned embodiments of the present disclosure and will not be repeated here.

[0166] Using the above method, a second entity sends a first message to a first entity. The first message may include security capability information supported by the second entity, indicating the candidate authentication mechanisms supported by the second entity. The second entity can then send its supported security capability information to the first entity, instructing the first entity to determine the first authentication mechanism based on the security capability information. This can avoid authentication failures or repeated authentications caused by improper authentication mechanism selection, thereby improving the reliability and efficiency of security authentication.

[0167] In some embodiments of the present disclosure, the first message may also include a second authentication mechanism determined by the second entity. The first message may instruct the first entity to determine the first authentication mechanism based on the security capability information and the second authentication mechanism in the first message. It should also be noted that the manner in which the first entity determines the first authentication mechanism can be referenced to the description in the preceding embodiments of the present disclosure and will not be further elaborated here.

[0168] The first authentication mechanism and the second authentication mechanism may be the same or different.

[0169] In some embodiments, the second entity may determine the second authentication mechanism based on the authentication mechanisms supported by the first entity and / or pre-configured policies. The pre-configured policies may include priorities of authentication mechanisms supported by the network configured by a 3GPP operator or a provider providing the second entity.

[0170] For example, the second entity may randomly select one from the authentication mechanisms supported by the first entity as the second authentication mechanism.

[0171] For another example, the second entity may select an authentication mechanism with the highest priority from authentication mechanisms supported by the network as the second authentication mechanism.

[0172] For another example, the second entity may select an authentication mechanism with the highest priority from the intersection of the authentication mechanisms supported by the network and the authentication mechanisms supported by the first entity as the second authentication mechanism.

[0173] For example, the second authentication mechanism may include a one-way authentication mechanism based on a server certificate. This one-way authentication mechanism based on a server certificate may be used to instruct the first entity to authenticate the ECS / EES based on a certificate (certificate-based ECS / EES authentication). It should be noted that the certificate used to authenticate the ECS / EES may be the server certificate indicated by the second authentication mechanism, which may be included in the first message, or may be a certificate received by the second entity through a message other than the first message.

[0174] In this way, the second entity can send the security capability information and the second authentication mechanism to the first entity, instructing the first entity to determine the first authentication mechanism based on the security capability information and the second authentication mechanism, thereby avoiding authentication failure or multiple repeated authentication problems caused by unreasonable selection of the authentication mechanism, and further improving the reliability and efficiency of security authentication.

[0175] In some embodiments of the present disclosure, the second entity may first determine security capability information supported by the second entity, and send a first message to the first entity according to the security capability information.

[0176] For example, the second entity may determine security capability information supported by the second entity in response to receiving the second message sent by the first entity.

[0177] In some implementations, the second message may include an authentication mechanism selection request message.

[0178] FIG7 is a flow chart of an authentication method according to an exemplary embodiment. The method may be applied to a second entity. As shown in FIG7 , the method may include:

[0179] S701: A second entity receives a second message sent by a first entity.

[0180] In some embodiments, the second message may include an authentication mechanism identifier and / or a key identifier supported by the first entity.

[0181] The authentication mechanism identifier may be used to indicate an authentication mechanism supported by the first entity. The authentication mechanism supported by the first entity may include at least one of an authentication mechanism supporting AKMA, an authentication mechanism based on GBA, and an authentication mechanism based on a shared key (eg, Ks_int_NAF).

[0182] The key identifier may include an AKMA key identifier A-KID or an authentication transaction identifier B-TID.

[0183] In some embodiments, the second message may be an authentication mechanism selection request message.

[0184] S702: The second entity sends a first message to the first entity.

[0185] In some embodiments, the second entity may determine security capability information supported by the second entity and carry the security capability information in the first message.

[0186] In other embodiments, the second entity may determine security capability information and a second authentication mechanism supported by the second entity, and carry the security capability information and the second authentication mechanism in the first message.

[0187] In some embodiments, the second entity may determine the second authentication mechanism based on the authentication mechanisms supported by the first entity and / or pre-configured policies. The pre-configured policies may include priorities of authentication mechanisms supported by the network configured by a 3GPP operator or a provider providing the second entity.

[0188] For example, the second entity may randomly select one from the authentication mechanisms supported by the first entity as the second authentication mechanism.

[0189] For another example, the second entity may select an authentication mechanism with the highest priority from authentication mechanisms supported by the network as the second authentication mechanism.

[0190] For another example, the second entity may select an authentication mechanism with the highest priority from the intersection of the authentication mechanisms supported by the network and the authentication mechanisms supported by the first entity as the second authentication mechanism.

[0191] In some embodiments, the second authentication mechanism may include a one-way authentication mechanism based on a server certificate.

[0192] It should be noted that, unless there is any contradiction, this embodiment can be combined with the aforementioned embodiments or implementation methods of the present disclosure and their various optional schemes. The specific implementation methods of the above steps in this embodiment can also refer to the description in the aforementioned embodiments of the present disclosure and will not be repeated here.

[0193] In this way, through the above process, the second entity can send a first message to the first entity, instructing the first entity to determine the first authentication mechanism.

[0194] In some embodiments, the first message may be an authentication mechanism selection response message; the second message may be an authentication mechanism selection request message.

[0195] FIG8 is a flow chart of an authentication method according to an exemplary embodiment. As shown in FIG8 , the method may include:

[0196] S801. A second entity sends a first message to a first entity.

[0197] In some embodiments, the first message may include security capability information supported by the second entity, and the first entity may determine the first authentication mechanism according to the security capability information in the first message.

[0198] Optionally, the first message may further include a second authentication mechanism supported by the second entity.

[0199] S802: The first entity determines a first authentication mechanism according to the received first message.

[0200] S803: The first entity performs security authentication according to the first authentication mechanism.

[0201] In other embodiments, the first message may include security capability information supported by the second entity and a second authentication mechanism determined by the second entity. The first entity may determine the first authentication mechanism based on the security capability information and the second authentication mechanism in the first message.

[0202] It should be noted that, unless there is any contradiction, this embodiment can be combined with the aforementioned embodiments or implementation methods of the present disclosure and their various optional schemes. The specific implementation methods of the above steps in this embodiment can also refer to the description in the aforementioned embodiments of the present disclosure and will not be repeated here.

[0203] In this way, through the above process, the first entity can determine the first authentication mechanism based on the first message sent by the second entity, thereby avoiding authentication failure or multiple repeated authentication problems caused by unreasonable selection of the authentication mechanism, and improving the reliability and efficiency of security authentication.

[0204] In some embodiments, before step S801, the method may further include: the first entity sending a second message to the second entity.

[0205] The second message is used to instruct the second entity to send the first message to the first entity.

[0206] In some embodiments, the second message may be an authentication mechanism selection request message.

[0207] In some embodiments, the second message may include an authentication mechanism identifier and / or a key identifier supported by the first entity.

[0208] In some embodiments, the second entity may send the first message in response to receiving the second message.

[0209] In this way, through the above process, the first entity can determine the first authentication mechanism through message interaction with the second entity, thereby avoiding authentication failure or repeated authentication problems caused by unreasonable selection of the authentication mechanism.

[0210] FIG9 is a flow chart of an authentication method according to an exemplary embodiment. As shown in FIG9 , the method may include:

[0211] S901. EEC sends a second message to ECS / EES.

[0212] In some embodiments, the second message may include an authentication mechanism selection request message.

[0213] For example, the EEC may send an authentication mechanism selection request message to the ECS / EES. The EEC may carry the authentication mechanism identifier and / or key identifier supported by the EEC in the authentication mechanism selection request message.

[0214] The authentication mechanism identifier may be used to indicate an authentication mechanism supported by the EEC. The authentication mechanism supported by the EEC may include at least one of the following: AKMA-based Transport Layer Security (TLS), GBA-based TLS, and a shared key Ks_int_NAF).

[0215] The key identification may include an A-KID or a B-TID.

[0216] S902. ECS / EES determines a second authentication mechanism.

[0217] In some embodiments, after the ECS / EES receives the above-mentioned second message (authentication mechanism selection request message), the ECS / EES can select an authentication mechanism based on the authentication mechanisms supported by the EEC and a pre-configured policy, that is, determine the second authentication mechanism. The pre-configured policy may include the priority of the authentication mechanisms supported by the network configured by the 3GPP operator or the ECS / EES provider. The ECS / EES can select an authentication mechanism based on the priority of the authentication mechanisms supported by the network. For example, the authentication mechanism with the highest priority can be selected as the second authentication mechanism.

[0218] S903. ECS / EES obtains the authentication key.

[0219] In some embodiments, if the ECS / EES selects an AKMA or GBA-based authentication mechanism as the second authentication mechanism, the ECS / EES may request an authentication key from the AKMA Anchor Function (AAnF) or Bootstrapping Server Function (BSF) in the home network corresponding to the EEC (or the terminal device to which the EEC belongs). Otherwise, step S903 may be skipped and step S904 may be executed directly.

[0220] In some embodiments, the ECS / EES may identify the home network of the EEC (or the terminal device to which the EEC belongs) based on the key identifier (eg, A-KID / B-TID) in the second message.

[0221] In some embodiments, if the ECS / EES selects an AKMA-based authentication mechanism, the authentication key may be the ECS / EES application function key K AF .

[0222] If the ECS / EES is not located in the home network, it can request the AAnF in the home network through the Network Exposure Function (NEF). AF If the ECS / EES is located in the above home network, it can directly request K from the AAnF in the home network. AF .

[0223] In some other embodiments, if the ECS / EES selects a GBA-based authentication mechanism, the authentication key may be an ECS / EES Network Application Function (NAF) key.

[0224] If the ECS / EES is not located in the above-mentioned home network, it can request the NAF key from the BSF in the home network through the Zn interface proxy (Zn-Proxy); if the ECS / EES is located in the above-mentioned home network, it can directly request the NAF key from the BSF in the home network.

[0225] The specific implementation of the authentication key request process is related to the second authentication mechanism selected by the second entity.

[0226] For example, when ECS / EES selects an authentication mechanism based on AKMA or GBA as the above-mentioned second authentication mechanism, if ECS / EES can obtain the authentication key corresponding to the second cognitive mechanism, then ECS / EES can determine to use the second authentication mechanism method for authentication, that is, send the second authentication mechanism to the first entity.

[0227] If the ECS / EES cannot obtain the authentication key corresponding to the second authentication mechanism, it is necessary to exclude the authentication mechanism for which the authentication key cannot be obtained and reselect an authentication mechanism. For example, the process can jump back to step S902 to re-determine a new second authentication mechanism. During the process of re-determining the new second authentication mechanism, it is necessary to skip the authentication mechanism that was excluded in step S903, that is, to exclude the authentication mechanism for which the authentication key cannot be obtained.

[0228] S904. ECS / EES sends a first message to EEC.

[0229] In some embodiments, the ECS / EES may send the selected second authentication mechanism to the EEC via a first message.

[0230] In some embodiments, if the EEC supports TLS based on the AKMA / GBA authentication mechanism (that is, the candidate authentication mechanisms supported by the second entity include the AKMA-based authentication mechanism and the GBA-based authentication mechanism), and the ECS / EES chooses to authenticate through a certificate (that is, the above-mentioned second authentication mechanism is a one-way authentication mechanism based on a server certificate), then the ECS / EES indicates to the EEC whether it supports TLS based on AKMA / GBA.

[0231] In some embodiments, the first message may include security capability information, which may be used to indicate whether the ECS / EES supports TLS based on AKMA / GBA, that is, the security capability information may be used to indicate the candidate authentication mechanisms supported by the second entity (ECS / EES).

[0232] S905. The EEC determines a first authentication mechanism according to the received first message.

[0233] In some embodiments, if ECS / EES supports TLS based on AKMA / GBA and ECS / EES chooses to authenticate through certificates, the EEC can select shared key-based EEC authentication and certificate-based ECS / EES authentication (shared key-based EEC authentication with certificate-based ECS / EES authentication) based on the security capabilities of the ECS / EEE.

[0234] In some embodiments, if ECS / EES does not support TLS based on AKMA / GBA, and ECS / EES chooses to authenticate through certificates (that is, the above-mentioned second authentication mechanism is a one-way authentication mechanism based on server certificates), EEC will not select EEC authentication based on shared keys and ECS / EES authentication based on certificates.

[0235] It should be noted that, unless there is any contradiction, this embodiment can be combined with the aforementioned embodiments or implementation methods of the present disclosure and their various optional schemes. The specific implementation methods of the above steps in this embodiment can also refer to the description in the aforementioned embodiments of the present disclosure and will not be repeated here.

[0236] In this way, through the above process, the first entity can determine the first authentication mechanism, thereby avoiding authentication failure or repeated authentication problems caused by unreasonable selection of the authentication mechanism, and improving the reliability and efficiency of security authentication.

[0237] FIG10 is a flow chart of an authentication method according to an exemplary embodiment. The method can be applied to a terminal device in the above communication system. As shown in FIG3 , the method may include:

[0238] S1001. A terminal device receives a first message sent by a network device.

[0239] The terminal device may include at least one EEC, and the network device may be an ECS or an EES.

[0240] In some embodiments, the first message may include security capability information supported by the network device, and the security capability information may be used to indicate candidate authentication mechanisms supported by the network device.

[0241] In other embodiments, the first message may include security capability information supported by the network device and a second authentication mechanism determined by the network device.

[0242] S1002. The terminal device determines a first authentication mechanism according to the security capability information in the first message.

[0243] In some embodiments, the terminal device may determine the first authentication mechanism based on the security capability information in the first message.

[0244] In other embodiments, the terminal device may determine the first authentication mechanism based on the security capability information and the second authentication mechanism in the first message, wherein the first authentication mechanism and the second authentication mechanism may be the same or different.

[0245] S1003. The terminal device performs security authentication according to the first authentication mechanism.

[0246] It should be noted that, unless there is any contradiction, this embodiment can be combined with the aforementioned embodiments or implementation methods of the present disclosure and their various optional schemes. The specific implementation methods of the above steps in this embodiment can also refer to the description in the aforementioned embodiments of the present disclosure and will not be repeated here.

[0247] In this way, the terminal device can determine the first authentication mechanism based on the first message sent by the network device, thereby avoiding authentication failure or repeated authentication problems caused by unreasonable selection of the authentication mechanism, and improving the reliability and efficiency of security authentication.

[0248] Optionally, before step S1001, the method may further include: the terminal device sends a second message to the network device.

[0249] The second message may be used to instruct the second entity to send the first message to the first entity.

[0250] In some embodiments, the second message may be an authentication mechanism selection request message.

[0251] In some embodiments, the second message may include an authentication mechanism identifier and / or a key identifier supported by the first entity.

[0252] In some embodiments, the second entity may send the first message in response to receiving the second message.

[0253] In this way, through the above process, the terminal device can determine the first authentication mechanism through message interaction with the network device, thereby avoiding authentication failure or repeated authentication problems caused by unreasonable selection of the authentication mechanism.

[0254] FIG11 is a block diagram of an authentication device 2100 according to an exemplary embodiment. The authentication device may be applied to a first entity. As shown in FIG11 , the device 2100 may include:

[0255] A first receiving module 2101 is configured to receive a first message sent by a second entity; wherein the first message includes security capability information supported by the second entity, and the security capability information is used to indicate a candidate authentication mechanism supported by the second entity;

[0256] The first processing module 2102 is configured to determine a first authentication mechanism according to the security capability information; and perform security authentication according to the first authentication mechanism.

[0257] In some embodiments, the first message further includes a second authentication mechanism determined by the second entity; and the first processing module 2102 is configured to determine the first authentication mechanism according to the security capability information and the second authentication mechanism.

[0258] In some embodiments, the first processing module 2102 is configured to determine a candidate authentication mechanism supported by the second entity based on the security capability information; when the candidate authentication mechanism includes at least one of an authentication mechanism based on application authentication and key management AKMA and an authentication mechanism based on general bootstrapping architecture GBA, and the second authentication mechanism includes an authentication mechanism based on a one-way authentication of a server certificate, the first authentication mechanism may include an authentication mechanism based on a shared key and a certificate.

[0259] In some embodiments, the first processing module 2102 is configured to, when the candidate authentication mechanism does not include an AKMA-based authentication mechanism and a GBA-based authentication mechanism, and the second authentication mechanism is a one-way authentication mechanism based on a server certificate, not include an authentication mechanism based on a shared key and a certificate.

[0260] FIG12 is a block diagram of an authentication device 2100 according to an exemplary embodiment. As shown in FIG12 , the device 2100 may further include:

[0261] The first sending module 2103 is configured to send a second message to the second entity; the second message is used to instruct the second entity to send the first message to the first entity.

[0262] In some embodiments, the first message is an authentication mechanism selection response message, and the second message is an authentication mechanism selection request message.

[0263] In some embodiments, the second message includes an authentication mechanism identifier and / or a key identifier supported by the first entity.

[0264] In some embodiments, the first entity includes an edge enabling client EEC, and the second entity includes an edge configuration server ECS or an edge enabling server EES.

[0265] In some embodiments, the edge-enabled client EEC is deployed on a terminal device.

[0266] FIG13 is a block diagram of an authentication device 2200 according to an exemplary embodiment. The authentication device may be applied to a second entity. As shown in FIG13 , the device 2200 may include:

[0267] The second sending module 2201 is configured to send a first message to the first entity; wherein the first message includes security capability information supported by the second entity, and the security capability information is used to indicate the candidate authentication mechanisms supported by the second entity.

[0268] In some embodiments, the first message further includes a second authentication mechanism determined by the second entity.

[0269] In some embodiments, the candidate authentication mechanism includes at least one of an authentication mechanism based on Application Authentication and Key Management (AKMA) and an authentication mechanism based on Generic Bootstrapping Architecture (GBA).

[0270] FIG14 is a block diagram of an authentication device 2200 according to an exemplary embodiment. As shown in FIG14 , the device 2200 may further include:

[0271] The second processing module 2202 is configured to determine the security capability information supported by the second entity in response to receiving the second message sent by the first entity.

[0272] In some embodiments, the first message is an authentication mechanism selection response message; and the second message is an authentication mechanism selection request message.

[0273] In some embodiments, the second message includes an authentication mechanism identifier and / or a key identifier supported by the first entity.

[0274] In some embodiments, the first entity includes an edge enabling client EEC, and the second entity includes an edge configuration server ECS or an edge enabling server EES.

[0275] In some embodiments, the edge-enabled client EEC is deployed on a terminal device.

[0276] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0277] Fig. 15 is a block diagram of an authentication device according to an exemplary embodiment. The authentication device 3000 may be the first entity or the second entity in the communication system shown in Fig. 1 .

[0278] 15 , the apparatus 3000 may include one or more of the following components: a processing component 3002 , a memory 3004 , and a communication component 3006 .

[0279] The processing component 3002 can be used to control the overall operation of the device 3000, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component 3002 can include one or more processors 3020 to execute instructions to complete all or part of the steps of the authentication method described above. In addition, the processing component 3002 can include one or more modules to facilitate interaction between the processing component 3002 and other components. For example, the processing component 3002 can include a multimedia module to facilitate interaction between the multimedia component and the processing component 3002.

[0280] The memory 3004 is configured to store various types of data to support operations on the device 3000. Examples of such data include instructions for any application or method operating on the device 3000, contact data, phone book data, messages, pictures, videos, etc. The memory 3004 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.

[0281] The communication component 3006 is configured to facilitate wired or wireless communication between the device 3000 and other devices. The device 3000 can access a wireless network based on a communication standard, such as Wi-Fi, 2G, 3G, 4G, 5G, 6G, NB-IOT, eMTC, etc., or a combination thereof. In an exemplary embodiment, the communication component 3006 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 3006 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0282] In an exemplary embodiment, the apparatus 3000 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-described authentication method.

[0283] The above-mentioned device 3000 can be an independent electronic device or a part of an independent electronic device. For example, in one embodiment, the electronic device can be an integrated circuit (IC) or a chip, wherein the integrated circuit can be a single IC or a collection of multiple ICs; the chip can include but is not limited to the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip, SoC), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or codes) to implement the above-mentioned authentication method. The executable instructions can be stored in the integrated circuit or chip, or obtained from other devices or equipment. For example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instruction may be stored in the processor, and when the executable instruction is executed by the processor, the above-mentioned authentication method is implemented; alternatively, the integrated circuit or chip may receive the executable instruction through the interface and transmit it to the processor for execution, so as to implement the above-mentioned authentication method.

[0284] In an exemplary embodiment, the present disclosure further provides a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implement the steps of the authentication method provided by the present disclosure. For example, the computer-readable storage medium may be a non-transitory computer-readable storage medium including instructions, for example, the aforementioned memory 3004 including instructions, which may be executed by the processor 3020 of the device 3000 to perform the aforementioned authentication method. For example, the non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, or the like.

[0285] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program executable by a programmable device, and has a code portion for performing the above-mentioned authentication method when executed by the programmable device.

[0286] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the present disclosure. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.

[0287] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. An authentication method, characterized in that: Applied to a first entity, the method comprises: receiving a first message sent by a second entity; wherein the first message includes security capability information supported by the second entity, and the security capability information is used to indicate a candidate authentication mechanism supported by the second entity; determining a first authentication mechanism according to the security capability information; Perform security authentication according to the first authentication mechanism.

2. The method according to claim 1, characterized in that The first message also includes a second authentication mechanism determined by the second entity; and determining the first authentication mechanism according to the security capability information includes: The first authentication mechanism is determined according to the security capability information and the second authentication mechanism.

3. The method according to claim 2, characterized in that The determining, according to the security capability information and the second authentication mechanism, the first authentication mechanism includes: determining, according to the security capability information, a candidate authentication mechanism supported by the second entity; When the candidate authentication mechanism includes at least one of an authentication mechanism based on Application Authentication and Key Management AKMA and an authentication mechanism based on Generic Bootstrapping Architecture GBA, and the second authentication mechanism includes an authentication mechanism based on one-way authentication of a server certificate, the first authentication mechanism may include an authentication mechanism based on a shared key and certificate.

4. The method according to claim 3, characterized in that The determining, according to the security capability information and the second authentication mechanism, the first authentication mechanism includes: When the candidate authentication mechanism does not include an AKMA-based authentication mechanism and a GBA-based authentication mechanism, and the second authentication mechanism includes an authentication mechanism based on a one-way authentication of a server certificate, the first authentication mechanism does not include an authentication mechanism based on a shared key and a certificate.

5. The method according to claim 1, wherein The method further comprises: A second message is sent to the second entity; the second message is used to instruct the second entity to send a first message to the first entity.

6. The method according to claim 5, characterized in that The first message is an authentication mechanism selection response message, and the second message is an authentication mechanism selection request message.

7. The method according to claim 6, characterized in that The second message includes an authentication mechanism identifier and / or a key identifier supported by the first entity.

8. The method according to any one of claims 1 to 7, characterized in that The first entity includes an edge enabling client EEC, and the second entity includes an edge configuration server ECS or an edge enabling server EES.

9. The method according to claim 8, characterized in that The edge enabling client EEC is deployed on the terminal device.

10. An authentication method, characterized in that: Applied to the second entity, the method comprises: A first message is sent to a first entity; wherein the first message includes security capability information supported by the second entity, and the security capability information is used to indicate a candidate authentication mechanism supported by the second entity.

11. The method according to claim 10, characterized in that The first message also includes a second authentication mechanism determined by the second entity.

12. The method according to claim 11, characterized in that The candidate authentication mechanism includes at least one of an authentication mechanism based on Application Authentication and Key Management (AKMA) and an authentication mechanism based on Generic Bootstrapping Architecture (GBA).

13. The method according to claim 10, characterized in that The method further comprises: In response to receiving a second message sent by the first entity, determining the security capability information supported by the second entity.

14. The method according to claim 13, characterized in that The first message is an authentication mechanism selection response message; the second message is an authentication mechanism selection request message.

15. The method according to claim 14, characterized in that The second message includes an authentication mechanism identifier and / or a key identifier supported by the first entity.

16. The method according to any one of claims 10 to 15, characterized in that The first entity includes an edge enabling client EEC, and the second entity includes an edge configuration server ECS or an edge enabling server EES.

17. The method according to claim 16, characterized in that The edge enabling client EEC is deployed on the terminal device.

18. An authentication device, characterized in that: Applied to a first entity, the apparatus includes: A first receiving module is configured to receive a first message sent by a second entity; wherein the first message includes security capability information supported by the second entity, and the security capability information is used to indicate a candidate authentication mechanism supported by the second entity; The first processing module is configured to determine a first authentication mechanism according to the security capability information; and perform security authentication according to the first authentication mechanism.

19. An authentication device, characterized in that: Applied to a second entity, the apparatus includes: The second sending module is configured to send a first message to the first entity; wherein the first message includes security capability information supported by the second entity, and the security capability information is used to indicate the candidate authentication mechanism supported by the second entity.

20. An authentication device, characterized in that: The device comprises: processor; a memory for storing processor-executable instructions; The processor is configured to execute the steps of the method according to any one of claims 1 to 9, or the processor is configured to execute the steps of the method according to any one of claims 10 to 17.

21. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented; or when the computer program instructions are executed by a processor, the steps of the method according to any one of claims 10 to 17 are implemented.