Authentication method based on general boot architecture (GBA) and corresponding device
By negotiating with the application layer gateway and applying the same key algorithm suite in the GBA architecture, the problem of authentication failure caused by the use of different key algorithm suites by the UE and the AP is solved, improving user experience and authentication success rate.
Patent Information
- Application Number
- CN202010819512.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-14
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2040-08-14
AI Technical Summary
In the GBA architecture, after the UE and the AP establish TLS tunnels with the ALG respectively, using different key algorithm suites causes authentication failure, affecting the AP's authentication of the UE.
Through secure transport layer protocol negotiation with the application layer gateway, confirm and apply the same secret key algorithm suite to the wireless access node, so that it uses the same secret key algorithm suite for authentication, ensuring that the AP and UE sides use the same secret key algorithm The suite calculates authentication parameters.
This avoids authentication failures, improves user experience, and ensures successful authentication of the UE by the AP.
Smart Images

Figure CN114143016B
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to, but are not limited to, the field of communication technology, and specifically, relate to, but are not limited to, an authentication method based on a general bootstrapping architecture (GBA), and a corresponding device. Background Art
[0002] With the development of communication technology, in many communication services, many applications require interaction between UE (User Equipment) and AS (Access Stratum), such as service activation, service settings, service access, etc. In order to ensure the security of service applications, two-way authentication is required between UE and AS. If UE and AS interact directly, there are two serious problems: independent authentication must be performed between UE and each AS, including negotiation of authentication mechanism and management of secret keys; UE needs to enter secret keys every time it logs in to different ASs, resulting in poor user experience. Therefore, the 3GPP (The Third Generation Partnership Project) standard organization proposed the concept of a general authentication architecture, among which GBA (General Bootstrapping Architecture) is a general authentication architecture based on shared secret keys. GBA uses Authentication and Key Agreement (AKA, Authentication and Key Agreement, the authentication and key agreement protocol of the third-generation mobile communication network) to provide a mechanism for key sharing, mutual authentication and service protection between UE and the network. It has high security and versatility. In GBA, AP (Access Point, wireless access node) is added between UE and AS. AP acts as an authentication agent to authenticate the UE and complete the authentication of the UE on behalf of AS.
[0003] Because GBA provides public network service addresses to the outside world, considering security factors, the actual networking introduces ALG (Application Layer Gateway), also called application layer gateway. ALG implements access control, such as firewall, anti-virus, intrusion detection, user access active authentication and other functions, providing GBA with a full range of access security management solutions. After the introduction of ALG, UE and AP respectively establish TLS (Transport Layer Security) tunnels with ALG, which affects the AP's authentication of UE. Summary of the invention
[0004] The authentication method based on the general bootstrapping architecture (GBA) and the corresponding device provided by the embodiment of the present invention mainly solve the technical problem that after the UE and the AP respectively establish TLS tunnels with the ALG, different key algorithm suites are used, resulting in authentication failure, affecting the authentication of the AP to the UE.
[0005] In order to solve the above technical problems, an embodiment of the present invention provides an authentication based on a general bootstrapping architecture (GBA) applied to a terminal side, including:
[0006] Negotiate the secure transport layer protocol with the application layer gateway to confirm the key algorithm suite to be used;
[0007] The key algorithm suite is applied to a wireless access node through the application layer gateway, so that the wireless access node uses the key algorithm suite for authentication.
[0008] Based on the same inventive concept, an embodiment of the present invention further provides an authentication method based on a general bootstrapping architecture (GBA) applied to a gateway side, comprising:
[0009] Performing secure transport layer protocol negotiation with the user terminal to confirm the key algorithm suite used by the user terminal;
[0010] The key algorithm suite is applied to a wireless access node, so that the wireless access node uses the key algorithm suite for authentication.
[0011] Based on the same inventive concept, an embodiment of the present invention further provides an authentication method based on a general bootstrapping architecture (GBA) applied to a wireless access node side, comprising:
[0012] Authentication is performed using the key algorithm suite applied by the application layer gateway to the wireless access point;
[0013] The key algorithm suite is a key algorithm suite used by the user terminal confirmed by the application layer gateway during the secure transport layer protocol negotiation between the application layer gateway and the user terminal.
[0014] An embodiment of the present invention further provides a terminal, the terminal comprising a first processor, a first memory and a first communication bus;
[0015] The first communication bus is used to realize the connection and communication between the first processor and the first memory;
[0016] The first processor is used to execute one or more computer programs stored in the first memory to implement the steps of the authentication method based on the general bootstrapping architecture (GBA) applied to the terminal test as described above;
[0017] An embodiment of the present invention further provides a gateway, the gateway comprising a second processor, a second memory and a second communication bus;
[0018] The second communication bus is used to realize the connection and communication between the second processor and the second memory;
[0019] The second processor is used to execute one or more computer programs stored in the second memory to implement the steps of the authentication method based on the general bootstrapping architecture (GBA) applied to the gateway side as described above.
[0020] An embodiment of the present invention further provides a wireless access node, the wireless access node comprising a third processor, a third memory and a third communication bus;
[0021] The third communication bus is used to realize the connection and communication between the third processor and the third memory;
[0022] The third processor is used to execute one or more computer programs stored in the third memory to implement the steps of the authentication method based on the general bootstrapping architecture (GBA) applied to the wireless access node side as described above.
[0023] An embodiment of the present invention also provides a computer storage medium, wherein the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the authentication method based on the general bootstrapping architecture (GBA) applied to the terminal side, gateway side or wireless access node side as described above.
[0024] According to the authentication method based on the general bootstrapping architecture (GBA) and the corresponding device provided by the embodiment of the present invention, a secure transport layer protocol negotiation is performed with the user terminal to confirm the key algorithm suite used by the user terminal; the key algorithm suite is applied to the wireless access node wireless access node, so that the wireless access node uses the key algorithm suite for authentication; in certain implementation processes, after the UE and the AP respectively establish TLS tunnels with the ALG, the AP side and the UE side use the same key algorithm suite to calculate the authentication parameters for authentication, thereby avoiding the problem that after the UE and the AP respectively establish TLS tunnels with the ALG, different key algorithm suites are used, resulting in authentication failure, affecting the authentication of the UE by the AP, and improving the user experience.
[0025] Other features and corresponding beneficial effects of the present invention are described in the latter part of the specification, and it should be understood that at least part of the beneficial effects become obvious from the description in the specification of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 A schematic diagram of a basic GBA architecture according to a first embodiment of the present invention;
[0027] Figure 2 This is a schematic diagram of a basic authentication process of GBA according to the first embodiment of the present invention;
[0028] Figure 3 It is a schematic diagram of the flow of an authentication method of a general bootstrapping architecture GBA according to the first embodiment of the present invention;
[0029] Figure 4 A schematic diagram of a basic process of applying a key algorithm suite to a wireless access node through an application layer gateway according to a first embodiment of the present invention;
[0030] Figure 5 This is another basic flow diagram of applying a key algorithm suite to a wireless access node through an application layer gateway according to the first embodiment of the present invention;
[0031] Figure 6 This is another basic flow diagram of applying a key algorithm suite to a wireless access node through an application layer gateway according to the first embodiment of the present invention;
[0032] Figure 7 This is another basic flow diagram of applying a key algorithm suite to a wireless access node through an application layer gateway according to the first embodiment of the present invention;
[0033] Figure 8 A schematic diagram of a basic flow chart of an authentication method of a general bootstrapping architecture (GBA) according to a second embodiment of the present invention;
[0034] Fig. 9 This is a schematic diagram of the basic structure of a terminal according to Embodiment 3 of the present invention;
[0035] Fig.10 A schematic diagram of the basic structure of a gateway according to the third embodiment of the present invention;
[0036] Fig.11 This is a schematic diagram of the basic structure of a wireless access node according to Embodiment 3 of the present invention. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the following is a further detailed description of the embodiments of the present invention through specific implementation methods combined with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0038] Embodiment 1:
[0039] In related technologies, such as Figure 1 As shown, Figure 1Schematic diagram of the basic architecture of GBA, which includes: HSS (Home Subscribe Server), BSF (Bootstrapping Server Function), NAF (Network Application Function) or AP (Access Point), ALG. It should be understood that NAF is used to perform the same function as AP, that is, only one of AP or NAF is required; ALG establishes TLS channels with UE and AP respectively, and performs authentication, such as Figure 2 As shown, the UE negotiates a TLS connection with the ALG and confirms the cipher suite used. The final cipher suite used is "yyzz". The UE sends a service request (HTTP GET) to the ALG. The ALG negotiates a TLS connection with the AP and confirms the cipher suite used. The final cipher suite used is "aabb". The ALG forwards the HTTP GET to the AP. After the AP responds with 401 Unauthorized to the UE, the UE generates the first Ks_NAF / Ks_int_NAF according to the TLS cipher suite "yyzz" negotiated with the ALG and other parameters, and then uses the first Ks_NAF / Ks_int_NAF as a key to calculate the first response response, and sends the first response to the AP through the ALG. The AP negotiates the TLS cipher suite based on the ALG. The suite "aabb" and other parameters are used to obtain the second Ks_NAF / Ks_int_NAF from the BSF, and then the second Ks_NAF / Ks_int_NAF is used as the key to calculate the second response. The AP compares the second response calculated by itself with the first response sent by the UE. If the second response is consistent with the first response, the authentication is successful. Because the TLS cipher suite used by the AP is inconsistent with the TLS cipher suite used by the UE, the calculated Ks_NAF / Ks_int_NAF and response will also be inconsistent, which will lead to AP authentication failure.
[0040] In order to solve the problem in the related art that after the UE and the AP respectively establish TLS tunnels with the ALG, they use different key algorithm suites, resulting in authentication failure, which affects the authentication of the AP to the UE, the embodiment of the present invention provides an authentication method based on the general bootstrapping architecture GBA applied to the user terminal side, see Figure 3 , which include but are not limited to:
[0041] S301, negotiate a secure transport layer protocol with the application layer gateway to confirm the key algorithm suite to be used;
[0042] S302: Apply the key algorithm suite to the wireless access point through the application layer gateway, so that the wireless access point uses the key algorithm suite for authentication.
[0043] In some embodiments, the user terminal UE negotiates a secure transport layer protocol TLS connection with the application layer gateway ALG to confirm the key algorithm suite Cipher Suite used by the UE and the ALG; it should be understood that this embodiment does not limit the way in which the user terminal and the application layer gateway negotiate the secure transport layer protocol, and finally it is sufficient to determine the key algorithm suite that can be used between the user terminal and the application layer gateway.
[0044] In this embodiment, applying the key algorithm suite determined by the user terminal and the application layer gateway to the wireless access point AP includes but is not limited to the following two methods:
[0045] The first method: forwarding the key algorithm suite to the wireless access point through the application layer gateway, so as to apply the key algorithm suite to the wireless access point;
[0046] The second method: Use the key algorithm suite to negotiate the secure transport layer protocol with the wireless access point through the application layer gateway, so as to apply the key algorithm suite to the wireless access point.
[0047] In some embodiments, the first method includes but is not limited to: sending a service request to an application layer gateway; forwarding the service request to a wireless access node through the application layer gateway, and the application layer gateway carries a key algorithm suite when forwarding the service request to the wireless access node. Among them, the user terminal sends a service request to the application layer gateway, and the application layer gateway sends the key algorithm suite used by the user terminal side to the wireless access node through an extended parameter. When the wireless access node authenticates, it authenticates according to the key algorithm suite sent by the ALG; for example, Figure 4 As shown,
[0048] Steps 1 and 2: The user terminal UE negotiates a secure transport layer protocol TLS connection with the application layer gateway ALG, and confirms that the key algorithm suite Cipher Suite used by the UE and ALG is "yyzz";
[0049] Step 3: The user terminal initiates a service request (HTTP GET) to the application layer gateway;
[0050] Steps 4 and 5: The application layer gateway negotiates a TLS connection with the AP, confirms the cipher suite used by the AP, and confirms that the cipher suite finally used by the AP is "aabb".
[0051] Step 6: ALG forwards the HTTP GET request of the UE and brings the cipher suite "yyzz" used by the UE to the AP through the extended parameters, so that the AP performs authentication based on the UE carried by the ALG and the key algorithm suite "yyzz" used by the ALG. That is, the key algorithm suite is applied to the wireless access point through the application layer gateway, so that the wireless access point uses the same key algorithm suite "yyzz" as the user terminal to achieve authentication;
[0052] Specifically, enabling the wireless access node to use the same key algorithm suite "yyzz" as the user terminal to implement authentication includes the following steps:
[0053] Steps 7-8: After receiving the cipher suite "yyzz" used by the UE, the AP sends a 401 unauthorized response to the ALG, which is then forwarded to the UE.
[0054] Step 9: The UE generates the first Ks_NAF / KS_int_NAF according to the UE-side cipher suite "yyzz" and other parameters negotiated with the ALG, and then uses the first Ks_NAF / KS_int_NAF as a key to calculate the first response, which is sent to the ALG and forwarded to the AP.
[0055] Step 10: AP obtains the second KS_NAF / KS_int_NAF from BSF according to the cipher suite ("yyzz") used by the UE side carried by ALG and other parameters, and then uses the second KS_NAF / KS_int_NAF as the key to calculate the second response. AP compares the first response and the second response. If they are the same, authentication succeeds because the cipher suite used by AP is consistent with the cipher suite used by UE. The calculated Ks_NAF / Ks_int_NAF and response are also consistent, and finally AP authentication succeeds.
[0056] In some embodiments, the first method includes but is not limited to: sending a service request to an application layer gateway, the service request carries a key algorithm suite; forwarding the service request to a wireless access node through the application layer gateway. When a user terminal sends a service request to an application layer gateway, the user terminal carries the key algorithm suite used by the user terminal side in the service request through an extended parameter and sends it to the application layer gateway, the application layer gateway forwards the service request to the wireless access node, and the wireless access node performs authentication according to the key algorithm suite in the service request sent by the UE; for example, Figure 5 As shown,
[0057] Steps 1 and 2: The user terminal UE negotiates a secure transport layer protocol TLS connection with the application layer gateway ALG, and confirms that the key algorithm suite Cipher Suite used by the UE and ALG is "yyzz";
[0058] Step 3: The UE initiates a service request (HTTP GET) to the ALG. The (HTTP GET) request carries the determined key algorithm suite ("yyzz") through an extended parameter.
[0059] Steps 4 and 5: The application layer gateway negotiates a TLS connection with the AP and confirms the cipher suite used by the AP. The cipher suite used by the AP is "aabb".
[0060] Step 6: When the ALG forwards the HTTP GET request of the UE, the cipher suite ("yyzz") extended parameter sent by the UE is transparently transmitted to the AP; the AP performs authentication based on the key algorithm suite "yyzz" used by the UE and the ALG carried by the ALG, that is, the key algorithm suite is applied to the wireless access node through the application layer gateway, so that the wireless access node uses the same key algorithm suite "yyzz" as the user terminal to achieve authentication;
[0061] It should be understood that in some examples, after transparently transmitting the cipher suite ("yyzz") extended parameter sent by the UE to the AP, the wireless access node uses the same key algorithm suite "yyzz" as the user terminal to implement authentication, including the following steps:
[0062] Steps 7-8: The AP sends a 401 unauthorized response to the ALG, which then sends it to the UE.
[0063] Step 9: The UE generates a first Ks_NAF / KS_int_NAF based on the UE-side cipher suite and other parameters negotiated with the ALG, and then uses the first Ks_NAF / KS_int_NAF as a key to calculate the first response. At this time, the cipher suite ("yyzz") can also be carried in the first response through an extended parameter and sent to the ALG.
[0064] Step 10, ALG forwards the HTTP GET request of the UE. Specifically, when ALG forwards the HTTP GET request of the UE, it transparently transmits the cipher suite ("yyzz") extended parameter sent by the UE to the AP; the AP obtains the second KS_NAF / KS_int_NAF from the BSF according to the ciphersuite ("yyzz") and other parameters used by the UE side carried by the ALG, and then uses the second KS_NAF / KS_int_NAF as a key to calculate the second response. The AP compares the first response and the second response. If they are the same, the authentication is successful, because the cipher suite used by the AP is consistent with the cipher suite used by the UE, the calculated Ks_NAF / Ks_int_NAF and response will also be consistent, and finally the AP authentication is successful.
[0065] In some embodiments, in a second manner, the application layer gateway uses the key algorithm suite to negotiate a secure transport layer protocol with the wireless access node, thereby applying the key algorithm suite to the wireless access node; for example, Figure 6 As shown,
[0066] Steps 1 and 2: UE negotiates TLS connection with ALG, confirms the cipher suite used on the UE side, and confirms that the final cipher suite used is "yyzz";
[0067] Step 3: UE initiates a service request (HTTP GET) to ALG;
[0068] In steps 4 and 5, when ALG negotiates the TLS connection with AP, it only carries the cipher suite "yyzz" used by the UE side, ensuring that the AP side can only use the same cipher suite "yyzz" as the UE side, so that the cipher suite used by the AP side is also "yyzz", and the wireless access node AP uses the same key algorithm suite "yyzz" as the user terminal UE to achieve authentication.
[0069] Specifically, the cipher suite used by the AP side is also "yyzz", and the wireless access node AP uses the same secret key algorithm suite "yyzz" as the user terminal UE to implement authentication, including the following steps:
[0070] Step 6: ALG forwards the HTTP GET request of the UE.
[0071] Steps 7-8: The AP sends a 401 unauthorized response to the UE via the ALG.
[0072] Steps 9-10: The UE generates the first Ks_NAF / KS_int_NAF according to the UE-side cipher suite "yyzz" and other parameters negotiated by the ALG, and then uses the first Ks_NAF / KS_int_NAF as a key to calculate the first response, which is sent to the ALG and forwarded to the AP.
[0073] Step 11: AP obtains the second KS_NAF / KS_int_NAF from BSF according to the TLS cipher suite ("yyzz") and other parameters used by the AP side, and then uses the second KS_NAF / KS_int_NAF as the key to calculate the second response. AP compares the first response and the second response. If they are the same, authentication is successful. Because the TLS cipher suite used by AP is consistent with the TLS cipher suite used by UE, the calculated Ks_NAF / Ks_int_NAF and response are also consistent, and finally AP authentication is successful.
[0074] In some embodiments, performing secure transport layer protocol negotiation with an application layer gateway to confirm the key algorithm suite to be used includes: performing secure transport layer protocol negotiation with an application layer gateway to confirm a set of supported key algorithm suites, wherein the set of key algorithm suites includes at least two key algorithm suites that can be used; performing secure transport layer protocol negotiation with a wireless access node using a key algorithm suite through an application layer gateway includes: performing secure transport layer protocol negotiation with a wireless access node using a set of key algorithm suites through an application layer gateway to determine the key algorithm suite used by the application layer gateway and the wireless access node. For example, Figure 7 As shown,
[0075] Step 1: UE initiates TLS negotiation with ALG. Client Hello carries the cipher suite list (0xC030, 0x0035, 0x002D) supported by the UE.
[0076] Step 2: ALG initiates TLS negotiation to AP. Specifically, Client Hello uses the intersection of ciphersuite lists supported by UE and ALG (0xC030, 0x002D), so that the cipher suite used by AP must be the cipher suite that can be used by UE.
[0077] Step 3: ALG receives Server Hello from AP and confirms the cipher suite (0xC030) used by AP.
[0078] Step 4: ALG sends Server Hello back to the UE, using the cipher suite (0xC030) used by the AP, so that the UE uses the same cipher suite as the AP.
[0079] Steps 5-6: UE initiates a service request (HTTP GET), and ALG forwards the HTTP GET request of the UE.
[0080] Steps 7-8: The AP sends a 401 unauthorized response to the UE via the ALG.
[0081] Step 9: The UE generates the first Ks_NAF / KS_int_NAF according to the UE-side cipher suite (0xC030) and other parameters negotiated with the ALG, and then uses the first Ks_NAF / KS_int_NAF as a key to calculate the first response, which is sent to the ALG and forwarded to the AP.
[0082] Step 10: AP forwards the UE's first response request to AP.
[0083] Step 11, AP obtains the second KS_NAF / KS_int_NAF from BSF according to the cipher suite (0xC030) and other parameters used by the AP side, and then uses the second KS_NAF / KS_int_NAF as the key to calculate the second response. AP compares the second response calculated by itself with the first response sent by UE. If they are the same, authentication is successful, because the cipher suite used by AP is consistent with the cipher suite used by UE, and the calculated Ks_NAF / Ks_int_NAF and response are also consistent, and finally AP authentication is successful.
[0084] The authentication method based on the general bootstrap architecture (GBA) and applied to the user terminal side provided by the embodiment of the present invention confirms the key algorithm suite to be used by negotiating the secure transport layer protocol with the application layer gateway; applies the key algorithm suite to the wireless access node through the application layer gateway, so that the wireless access node uses the key algorithm suite for authentication; that is, after the UE and the AP respectively establish TLS tunnels with the ALG, the key algorithm suite used by the UE side is applied to the AP side through the ALG, so that the AP side and the UE side use the same key algorithm suite to calculate the authentication parameters for authentication, thereby avoiding the problem that after the UE and the AP respectively establish TLS tunnels with the ALG, different key algorithm suites are used, resulting in authentication failure, affecting the authentication of the UE by the AP, and improving the user experience.
[0085] Embodiment 2:
[0086] The embodiment of the present invention also provides an authentication method based on the general bootstrapping architecture (GBA) and applied to the application layer gateway side. Figure 8 As shown, the method includes but is not limited to:
[0087] S801, negotiate a secure transport layer protocol with the user terminal to confirm the key algorithm suite used by the user terminal;
[0088] S802: Apply the key algorithm suite to the wireless access node, so that the wireless access node uses the key algorithm suite for authentication.
[0089] In some embodiments, the application layer gateway ALG negotiates a secure transport layer protocol TLS connection with the user terminal UE and confirms the key algorithm suite Cipher Suite used by the UE and the ALG; it should be understood that this embodiment does not limit the way in which the user terminal and the application layer gateway negotiate the secure transport layer protocol, and finally it is sufficient to determine the key algorithm suite that can be used between the user terminal and the application layer gateway.
[0090] In some embodiments, the method of applying the key algorithm suite to the wireless access node so that the wireless access node uses the key algorithm suite for authentication is the same as the method in the above example and will not be repeated here.
[0091] The authentication method based on the general bootstrap architecture (GBA) and applied to the application layer gateway side provided by the embodiment of the present invention performs secure transport layer protocol negotiation with the user terminal to confirm the key algorithm suite used by the user terminal; applies the key algorithm suite to the wireless access node, so that the wireless access node uses the key algorithm suite for authentication; that is, after the UE and the AP respectively establish TLS tunnels with the ALG, the AP side and the UE side use the same key algorithm suite to calculate the authentication parameters for authentication, thereby avoiding the problem that after the UE and the AP respectively establish TLS tunnels with the ALG, different key algorithm suites are used, resulting in authentication failure and affecting the authentication of the UE by the AP, thereby improving the user experience.
[0092] An embodiment of the present invention also provides an authentication method based on a general bootstrapping architecture (GBA) and applied to a wireless access node side. The method includes but is not limited to: using a key algorithm suite applied by an application layer gateway to the wireless access node for authentication, wherein the key algorithm suite is a key algorithm suite used by a user terminal confirmed by the application layer gateway in a secure transport layer protocol negotiation with the user terminal.
[0093] In some embodiments, the application layer gateway ALG negotiates a secure transport layer protocol TLS connection with the user terminal UE, and after confirming the key algorithm suite Cipher Suite used by the UE and the ALG, applies the key algorithm suite to the wireless access node, so that the wireless access node performs authentication based on the key algorithm suite; it should be understood that this embodiment does not limit the way in which the user terminal and the application layer gateway negotiate the secure transport layer protocol, and finally it is sufficient to determine the key algorithm suite that can be used between the user terminal and the application layer gateway.
[0094] In some embodiments, the method of applying the key algorithm suite to the wireless access node so that the wireless access node uses the key algorithm suite for authentication is the same as the method in the above example and will not be repeated here.
[0095] The authentication method based on the general bootstrap architecture (GBA) and applied to the wireless access node side provided by the embodiment of the present invention uses the key algorithm suite applied by the application layer gateway to the wireless access node for authentication; the key algorithm suite is the key algorithm suite used by the user terminal confirmed by the application layer gateway and the user terminal for negotiating the secure transport layer protocol; that is, after the UE and the AP respectively establish TLS tunnels with the ALG, the AP side uses the same key algorithm suite as the UE side to calculate the authentication parameters for authentication, thereby avoiding the problem that after the UE and the AP respectively establish TLS tunnels with the ALG, different key algorithm suites are used, resulting in authentication failure, affecting the authentication of the UE by the AP, and improving the user experience.
[0096] Embodiment three:
[0097] This embodiment further provides a terminal, which includes a first processor 901, a first memory 902 and a first communication bus 903;
[0098] The first communication bus 903 is used to realize the connection and communication between the first processor 901 and the first memory 902;
[0099] The first processor 901 is used to execute one or more computer programs stored in the first memory 902 to implement the steps of the authentication method based on the general bootstrapping architecture (GBA) executed by the user terminal side in the first embodiment and the second embodiment.
[0100] This embodiment further provides a gateway, which includes a second processor 1001, a second memory 1002 and a second communication bus 1003;
[0101] The second communication bus 1003 is used to realize the connection and communication between the second processor 1001 and the second memory 1002;
[0102] The second processor 1001 is used to execute one or more computer programs stored in the second memory 1002 to implement the steps of the authentication method based on the general bootstrapping architecture (GBA) executed by the application layer gateway side in the first and second embodiments.
[0103] This embodiment further provides a wireless access node, the wireless access node includes a third processor 1101, a third memory 1102 and a third communication bus 1103;
[0104] The third communication bus 1103 is used to realize the connection and communication between the third processor 1101 and the third memory 1102;
[0105] The third processor 1101 is used to execute one or more computer programs stored in the third memory 1102 to implement the steps of the authentication method based on the general bootstrapping architecture (GBA) performed by the wireless access node side in the first and second embodiments.
[0106] The present embodiment also provides a computer-readable storage medium, which includes volatile or non-volatile, removable or non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, computer program modules or other data). Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable read only memory), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory), digital versatile disk (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 desired information and can be accessed by a computer.
[0107] The computer-readable storage medium in this embodiment can be used to store one or more computer programs, and the one or more computer programs stored therein can be executed by a processor to implement at least one step of the authentication method based on the general bootstrapping architecture GBA applied to the terminal side, gateway side or wireless access node side in the above-mentioned embodiments one and two.
[0108] It can be seen that those skilled in the art should understand that all or some of the steps, systems, and functional modules / units in the above disclosed methods can be implemented as software (which can be implemented with computer program code executable by a computing device), 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 can have multiple functions, or a function or step can be performed by several physical components in cooperation. Some or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit.
[0109] In addition, it is well known to those skilled in the art that communication media generally contain computer readable instructions, data structures, computer program modules or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery media. Therefore, the present invention is not limited to any specific hardware and software combination.
[0110] The above contents are further detailed descriptions of the embodiments of the present invention in combination with specific implementation methods, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. An authentication method based on a general bootstrapping architecture (GBA), applied to a user terminal side, comprising: After the user terminal and the wireless access point establish a TLS channel with the application layer gateway respectively, they negotiate the secure transport layer protocol with the application layer gateway to confirm the key algorithm suite to be used; The key algorithm suite is applied to a wireless access node through the application layer gateway, so that the wireless access node uses the key algorithm suite for authentication.
2. The authentication method based on the general bootstrapping architecture (GBA) as claimed in claim 1, characterized in that: Applying the key algorithm suite to the wireless access node through the application layer gateway includes: forwarding the key algorithm suite to the wireless access node through the application layer gateway, thereby applying the key algorithm suite to the wireless access node; and / or, The application layer gateway uses the key algorithm suite to perform secure transport layer protocol negotiation with the wireless access node, thereby applying the key algorithm suite to the wireless access node.
3. The authentication method based on the general bootstrapping architecture (GBA) as claimed in claim 2, characterized in that: Forwarding the key algorithm suite to the wireless access node through the application layer gateway includes: Sending a service request to the application layer gateway; The service request is forwarded to the wireless access node through the application layer gateway, and the application layer gateway carries the key algorithm suite when forwarding the service request to the wireless access node.
4. The authentication method based on the general bootstrapping architecture (GBA) as claimed in claim 2, characterized in that: The forwarding the key algorithm suite to the wireless access node through the application layer gateway includes: Sending a service request to the application layer gateway, wherein the service request carries the key algorithm suite; The service request is forwarded to the wireless access node through the application layer gateway.
5. The authentication method based on the general bootstrapping architecture (GBA) as claimed in claim 2, characterized in that: The secure transport layer protocol negotiation with the application layer gateway confirms that the key algorithm suite used includes: Performing a secure transport layer protocol negotiation with the application layer gateway to confirm a set of supported key algorithm suites, wherein the set of key algorithm suites includes at least two usable key algorithm suites; The performing secure transport layer protocol negotiation with the wireless access node by using the key algorithm suite through the application layer gateway includes: The application layer gateway uses the key algorithm suite set to perform secure transport layer protocol negotiation with the wireless access node to determine the key algorithm suite used by the application layer gateway and the wireless access node.
6. An authentication method based on a general bootstrapping architecture (GBA), applied to an application layer gateway side, comprising: After the user terminal and the wireless access point respectively establish a transport layer security protocol TLS channel with the application layer gateway, perform a secure transport layer protocol negotiation with the user terminal to confirm the key algorithm suite used by the user terminal; The key algorithm suite is applied to a wireless access node, so that the wireless access node uses the key algorithm suite for authentication.
7. An authentication method based on a general bootstrapping architecture (GBA), applied to a wireless access node, comprising: After the user terminal and the wireless access point establish a TLS channel with the application layer gateway respectively, authentication is performed using the key algorithm suite applied by the application layer gateway to the wireless access point; The key algorithm suite is a key algorithm suite used by the user terminal confirmed by the application layer gateway and the user terminal during the secure transport layer protocol negotiation.
8. A terminal comprising a first processor, a first memory and a first communication bus; The first communication bus is used to realize the connection and communication between the first processor and the first memory; The first processor is used to execute one or more computer programs stored in the first memory to implement the steps of the authentication method based on general bootstrapping architecture (GBA) as claimed in any one of claims 1 to 5.
9. A gateway, comprising a second processor, a second memory and a second communication bus; The second communication bus is used to realize the connection and communication between the second processor and the second memory; The second processor is used to execute one or more computer programs stored in the second memory to implement the steps of the authentication method based on the general bootstrapping architecture (GBA) as claimed in claim 6.
10. A wireless access node, the wireless access node comprising a third processor, a third memory and a third communication bus; The third communication bus is used to realize the connection and communication between the third processor and the third memory; The third processor is used to execute one or more computer programs stored in the third memory to implement the steps of the authentication method based on the general bootstrapping architecture (GBA) as claimed in claim 7.
11. A computer-readable storage medium, characterized in that: The computer readable storage medium One or more computer programs are stored, and the one or more computer programs can be executed by one or more processors to implement the steps of the authentication method based on the general bootstrapping architecture (GBA) as claimed in any one of claims 1 to 5, claim 6 or claim 7.
