Terminal authentication methods, systems, and storage media
By using the terminal identity authentication method in the layered authentication architecture, and using the terminal key to generate the public key for identity verification, the problem of low identity authentication efficiency in multi-layered networks is solved, and an efficient identity authentication process is achieved while reducing the overhead of the central platform.
Patent Information
- Application Number
- CN202110994892.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-27
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2041-08-27
AI Technical Summary
In scenarios such as 5G industrial internet, identity authentication at multiple levels, including terminal equipment layer, industrial control layer, and network platform layer, suffers from problems such as high central platform performance overhead, long identity authentication process, and low efficiency.
The terminal generates terminal signature information using the private key of the key pair, and generates an identity authentication request in the hierarchical authentication architecture. The upper-level node generates a public key based on the terminal identifier for identity verification, thereby realizing hierarchical identity authentication.
It reduces the performance overhead of the central platform, shortens the identity authentication process, and improves the efficiency of terminal identity authentication.
Smart Images

Figure CN115733634B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to a terminal authentication method, system, and storage medium. Background Technology
[0002] In scenarios with massive numbers of terminal devices, such as 5G and the Industrial Internet, the network consists of multiple layers, including the terminal device layer, industrial control layer, network platform layer, and business application layer. Furthermore, the industrial control layer and the terminal device layer have requirements for high security, high real-time performance, and high business continuity. Therefore, the terminal authentication scheme and its efficiency directly impact business operations. Currently, when performing authentication across multiple layers such as terminal devices, industrial control, and network platforms, there are problems such as high performance overhead of the central platform, long authentication processes, and low authentication efficiency. Summary of the Invention
[0003] In view of this, one technical problem to be solved by the present invention is to provide a terminal identity authentication method, system and storage medium.
[0004] According to a first aspect of this disclosure, a terminal authentication method is provided, comprising: a terminal generating terminal signature information using the private key of a key pair, generating an authentication request based on the terminal signature information and sending it to a first superior node; the first superior node determining an authentication node corresponding to the authentication request, such that the authentication node generates a public key of the key pair based on the terminal identifier of the terminal, and performs authentication processing on the terminal based on the public key.
[0005] Optionally, the authentication node includes: a first superior node and a second superior node; the first superior node determines the authentication node corresponding to the identity authentication request by: the first superior node determining the business system corresponding to the identity authentication request; the first superior node determines the authentication node as the first superior node or the second superior node based on the business system.
[0006] Optionally, the first superior node extracts the business system identifier from the identity authentication request and determines the business system based on the business system identifier.
[0007] Optionally, the authentication node generates a public key for the key pair based on the terminal identifier of the terminal, and performs authentication processing on the terminal based on the public key, including: if the first upper-level node determines that the authentication node is itself, it extracts the terminal identifier from the authentication request; the first upper-level node generates the public key based on the terminal identifier, and performs authentication processing on the terminal with the corresponding business system based on the public key.
[0008] Optionally, the authentication node generates a public key for the key pair based on the terminal identifier of the terminal, and performs authentication processing on the terminal based on the public key, including: if the first superior node determines that the authentication node is the second superior node, it forwards the authentication request to the second superior node; the second superior node extracts the terminal identifier and the business system identifier from the authentication request; the second superior node generates the public key based on the terminal identifier and determines the business system based on the business system identifier; the second superior node and the corresponding business system perform authentication processing on the terminal based on the public key.
[0009] Optionally, the first upstream node generates the key pair based on the terminal identifier and sends the key pair to the terminal.
[0010] According to a second aspect of this disclosure, a terminal identity authentication system is provided, comprising: a terminal, configured to generate terminal signature information using the private key of a key pair, generate an identity authentication request based on the terminal signature information and send it to a first superior node; the first superior node, configured to determine an authentication node corresponding to the identity authentication request, so that the authentication node generates a public key of the key pair based on the terminal identifier of the terminal, and performs identity authentication processing on the terminal based on the public key.
[0011] Optionally, the authentication node includes: a first superior node and a second superior node; the first superior node is used to determine the business system corresponding to the identity authentication request; and the authentication node is determined to be the first superior node or the second superior node based on the business system.
[0012] Optionally, the first parent node is configured to extract a business system identifier from the identity authentication request and determine the business system based on the business system identifier.
[0013] Optionally, the first parent node is specifically configured to, if it determines that the authentication node is itself, extract the terminal identifier from the identity authentication request; generate the public key based on the terminal identifier; and perform identity authentication processing on the terminal with the corresponding business system based on the public key.
[0014] Optionally, the first superior node is configured to forward the identity authentication request to the second superior node if the authentication node is determined to be the second superior node; the second superior node is configured to extract the terminal identifier and the business system identifier from the identity authentication request; generate the public key based on the terminal identifier, determine the business system based on the business system identifier, and perform identity authentication processing on the terminal with the corresponding business system based on the public key.
[0015] Optionally, the first parent node is configured to generate the key pair based on the terminal identifier and send the key pair to the terminal.
[0016] According to a third aspect of this disclosure, a computer-readable storage medium is provided that stores computer instructions which are executed by a processor using the method described above.
[0017] The terminal authentication method, system, and storage medium disclosed herein can solve the authentication problem between multiple layers in a network. By implementing a layered authentication approach, the authentication mechanism becomes more flexible, reducing the performance overhead of the central platform, shortening the terminal authentication process, and improving the efficiency of terminal authentication. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a flowchart illustrating an embodiment of the terminal identity authentication method according to the present disclosure;
[0020] Figure 2 This is a schematic diagram of a layered identity authentication architecture;
[0021] Figure 3 This is a schematic diagram illustrating endpoint authentication within a layered authentication architecture.
[0022] Figure 4 This is a schematic diagram illustrating terminal identity authentication according to another embodiment of the terminal identity authentication method of this disclosure;
[0023] Figure 5 This is a schematic diagram of a module of an embodiment of a terminal identity authentication device according to the present disclosure. Detailed Implementation
[0024] The present disclosure will now be described more fully with reference to the accompanying drawings, which illustrate exemplary embodiments of the present disclosure. The technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present disclosure, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present disclosure without creative effort are within the scope of protection of the present disclosure.
[0025] The terms "first" and "second" used in the following text are only used to describe the differences between them and have no other special meaning.
[0026] Figure 1 This is a flowchart illustrating an embodiment of the terminal authentication method according to the present disclosure, as follows: Figure 1 As shown:
[0027] Step 101: The terminal uses the private key of the key pair to generate terminal signature information, generates an identity authentication request based on the terminal signature information, and sends it to the first superior node.
[0028] In one embodiment, the terminal can be a mobile phone, PC, IoT terminal, etc. The upper-level node is a node in a multi-layer network, which includes multiple layers such as terminal devices, industrial control, and network platforms. The upper-level nodes of the terminal include aggregation nodes, edge nodes, and central platforms. The first upper-level node generates a key pair based on the terminal identifier and sends the key pair to the terminal. The terminal identifier can be a terminal ID, terminal name, etc.
[0029] The first-level node can use various existing key generation methods to generate a key pair based on the terminal identifier. For example, the first-level node can use an identifier cryptography algorithm to generate a public key and a private key based on the terminal identifier; the identifier cryptography algorithm can be any existing algorithm. For example, it can use an identifier cryptography algorithm to generate two random numbers based on the terminal identifier and its own private key, which are used as the public key and private key respectively.
[0030] Step 102: The first parent node determines the authentication node corresponding to the authentication request, so that the authentication node generates a public key for a key pair based on the terminal's terminal identifier, and performs authentication processing on the terminal based on the public key. After generating the public key, the authentication node can use various existing methods to authenticate the terminal based on the public key. For example, the terminal identifier and public key can be sent to the business system for authentication.
[0031] The terminal authentication method in the above embodiments can solve the authentication problem between multiple levels such as terminal devices, industrial control, and network platforms. By implementing a layered authentication approach, it achieves flexibility in the authentication mechanism, reduces the performance overhead of the central platform, shortens the terminal authentication process, and improves the efficiency of terminal authentication.
[0032] In one embodiment, the authentication node includes a first parent node and a second parent node, etc. The first parent node determines the business system corresponding to the authentication request. For example, the first parent node extracts a business system identifier from the authentication request, determines the business system based on the business system identifier, and then determines whether the authentication node is the first parent node or the second parent node based on the business system. The first and second parent nodes use the identifier cryptographic algorithm of the system that generates the key pair and generate a public key based on the terminal identifier.
[0033] If the first-level parent node identifies itself as the authentication node, it extracts the terminal identifier from the authentication request. Based on the terminal identifier, the first-level parent node generates a public key, which is then used by the corresponding business system to perform authentication processing on the terminal.
[0034] If the first-level node determines that the authentication node is the second-level node, it forwards the authentication request to the second-level node. The second-level node extracts the terminal identifier and the business system identifier from the authentication request; it generates a public key based on the terminal identifier and identifies the business system based on the business system identifier. The second-level node and the corresponding business system then perform authentication processing on the terminal using the public key.
[0035] In one embodiment, each device's public and private keys are calculated by its parent device using its private key and the device's identifier. The parent device can then calculate the public key of the downstream device based on the downstream device's identifier. When a downstream device initiates an authentication request, the parent node connected to the corresponding business system performs the authentication. This parent node calculates the target device's public key based on the device identifier and completes the authentication through a signature verification operation. This achieves device authentication while reducing the performance burden on the central node and the number of authentication steps, thus minimizing overall latency.
[0036] Layered identity authentication architecture, such as Figure 2 As shown, the upper-level nodes include the central platform, aggregation node 1, and edge node 2, etc., and the devices include device 1 and device 2, etc. Each upper-level node includes a key calculation module and an identity authentication module, etc. The device identity authentication function can be completed by the device's direct upper-level node (uplink device). The device's public and private keys are allocated by the direct upper-level node: the identity public and private keys of each device are calculated and generated by the direct upper-level node using its own private key and the identifier of the target device. After allocation, the upper-level node does not store the public and private keys.
[0037] In one embodiment, such as Figure 3As shown, device authentication requests can be completed by any of the device's parent nodes, including direct parent nodes or parent nodes of direct parent nodes. For example, authentication requests for device 1 can be completed by the aggregation node or central platform, while authentication requests for device 2 can be completed by edge nodes. Authentication nodes can be freely selected based on the deployment and integration mode of business applications 1, 2, and 3. For example, nodes connected to business applications 1, 2, and 3 can perform authentication for devices accessing that business.
[0038] Figure 4 This is a schematic diagram of terminal identity authentication according to another embodiment of the terminal identity authentication method of this disclosure, as shown below. Figure 4 As shown:
[0039] In step S1, the terminal sends an authentication request to the access node (the first upstream node). The access node routes the authentication request based on information such as the business system identifier, and the node connected to the business system completes the authentication.
[0040] Scenario 1: Step S2, the access node (layer 3) calculates the public key of the terminal (layer 4) based on the device identifier.
[0041] Step S3: Use the public key to perform signature verification to complete identity authentication.
[0042] Scenario 2: Step S2', the access node forwards the identity authentication request to the aggregation node (the second superior node) based on the business system identifier.
[0043] Step S4`, the aggregation node (layer 2) directly calculates the terminal's public key (layer 4) based on the device identifier.
[0044] Step S5': Use the public key to perform signature verification to complete identity authentication.
[0045] In one embodiment, as Figure 3 and 4 In a four-layer network, within a hierarchical tree-structured network architecture, the identifier of each device in each layer inherits from the identifier of the directly connected device, and the public / private key pair is also generated and distributed by the connected device. The terminal and the business system interface on the same node, such as... Figure 4 In Scenario 1, the Layer 4 terminal device uses its private key to generate authentication information via a signature method and sends it to the directly connected device, the Layer 3 access node. The Layer 3 access node, based on access information such as the business system identifier, determines that it should authenticate the device and calculates the terminal device's public key using the terminal device's identifier. The Layer 3 access node then uses the terminal device's public key to complete the authentication of the terminal device via a signature verification method.
[0046] The terminal and the business system interface are at different nodes, such as... Figure 4In Scenario 2, the Layer 4 terminal device generates authentication information using its private key via a signature method and sends it to the directly connected device, the Layer 3 access node. Based on access information such as the business system identifier, the Layer 3 access node determines that it should not be responsible for authenticating this device and forwards the terminal authentication request to the Layer 2 aggregation node. The Layer 2 aggregation node, based on access information such as the business system identifier, determines that it should be responsible for authenticating this device and calculates the terminal device's public key using its identifier. The Layer 2 aggregation node then uses the terminal device's public key to complete the authentication of the terminal device using a signature verification method.
[0047] In one embodiment, such as Figure 5 As shown, this disclosure provides a terminal identity authentication system, including a terminal 51 and authentication nodes, such as a first superior node 52 and a second superior node 53. The terminal 51 uses the private key of a key pair to generate terminal signature information, generates an identity authentication request based on the terminal signature information, and sends it to the first superior node.
[0048] The first upstream node 52 generates a key pair based on the terminal identifier and sends the key pair to the terminal 51. The first upstream node 52 determines the authentication node corresponding to the authentication request, so that the authentication node generates the public key of the key pair based on the terminal identifier of the terminal, and performs authentication processing on the terminal based on the public key.
[0049] In one embodiment, the first parent node 52 determines the business system 54 corresponding to the authentication request, and determines the authentication node as either the first parent node 52 or the second parent node 53 based on the business system 54. For example, the first parent node 52 extracts the business system identifier from the authentication request and determines the business system 54 based on the business system identifier.
[0050] If the first parent node 52 determines that the authentication node is itself, it extracts the terminal identifier from the identity authentication request, generates a public key based on the terminal identifier, and performs identity authentication processing on the terminal with the corresponding business system 54 based on the public key.
[0051] If the first parent node 52 determines that the authentication node is the second parent node, it forwards the identity authentication request to the second parent node 53. The second parent node 53 extracts the terminal identifier and the business system identifier from the identity authentication request, generates a public key based on the terminal identifier, determines the business system 55 based on the business system identifier, and performs identity authentication processing on the terminal based on the corresponding business system 55.
[0052] In one embodiment, this disclosure provides a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the terminal authentication method as described in any of the above embodiments.
[0053] The terminal authentication method, system, and storage medium in the above embodiments can solve the authentication problem between multiple layers in the network. By implementing a layered authentication approach, the authentication mechanism becomes more flexible, reducing the performance overhead of the central platform, shortening the terminal authentication process, improving the efficiency of terminal authentication, and enhancing the user experience.
[0054] The methods and systems of this disclosure may be implemented in many ways. For example, they may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order of steps for the methods is for illustrative purposes only, and the steps of the methods of this disclosure are not limited to the order specifically described above unless otherwise specifically stated. Furthermore, in some embodiments, this disclosure may also be implemented as a program recorded on a recording medium, the program including machine-readable instructions for implementing the methods according to this disclosure. Thus, this disclosure also covers recording media storing programs for performing the methods according to this disclosure.
[0055] The description in this disclosure is provided for illustrative and descriptive purposes only and is not intended to be exhaustive or to limit the disclosure to its forms. Many modifications and variations will be apparent to those skilled in the art. The embodiments were chosen and described in order to better illustrate the principles and practical application of this disclosure and to enable those skilled in the art to understand this disclosure and to design various embodiments with various modifications suitable for a particular purpose.
Claims
1. A terminal authentication method, comprising: The terminal uses the private key of the key pair to generate terminal signature information, generates an identity authentication request based on the terminal signature information, and sends it to the first superior node; The first superior node determines the authentication node corresponding to the identity authentication request, so that the authentication node generates the public key of the key pair based on the terminal identifier of the terminal, and performs identity authentication processing on the terminal based on the public key; The authentication node includes: a first superior node and a second superior node; the authentication node performs authentication processing on the terminal based on the public key, including: If the first parent node determines that the authentication node is itself, it extracts the terminal identifier from the identity authentication request, generates the public key based on the terminal identifier, and performs identity authentication processing on the terminal with the corresponding business system based on the public key; If the first superior node determines that the authentication node is the second superior node, it forwards the identity authentication request to the second superior node. The second superior node extracts the terminal identifier and the business system identifier from the identity authentication request. The second superior node generates the public key based on the terminal identifier, determines the business system based on the business system identifier, and performs identity authentication processing on the terminal with the corresponding business system based on the public key. The first parent node determines the authentication node corresponding to the identity authentication request, including: The first superior node determines the business system corresponding to the identity authentication request; based on the deployment status and connection mode of the business system, the first superior node determines the authentication node to be either the first superior node or the second superior node.
2. The method of claim 1, further comprising: The first superior node extracts the business system identifier from the identity authentication request and determines the business system based on the business system identifier.
3. The method as described in any one of claims 1 to 2, comprising: The first upstream node generates the key pair based on the terminal identifier and sends the key pair to the terminal.
4. A terminal identity authentication system, comprising: The terminal is used to generate terminal signature information using the private key of the key pair, generate an identity authentication request based on the terminal signature information, and send it to the first superior node. The first parent node is used to determine the authentication node corresponding to the identity authentication request, so that the authentication node generates the public key of the key pair based on the terminal identifier of the terminal, and performs identity authentication processing on the terminal based on the public key; The authentication node includes: a first parent node and a second parent node; the first parent node is specifically used to extract the terminal identifier from the identity authentication request if it determines that the authentication node is itself; generate the public key based on the terminal identifier, and perform identity verification processing on the terminal with the corresponding business system based on the public key; The first superior node is configured to forward the identity authentication request to the second superior node if it is determined that the authentication node is the second superior node; The first superior node is used to determine the business system corresponding to the identity authentication request; based on the deployment status and connection mode of the business system, the authentication node is determined to be the first superior node or the second superior node. The second parent node is used to extract the terminal identifier and the business system identifier from the identity authentication request; generate the public key based on the terminal identifier; determine the business system based on the business system identifier; and perform identity authentication processing on the terminal with the corresponding business system based on the public key.
5. The system as described in claim 4, wherein, The first parent node is used to extract the business system identifier from the identity authentication request and determine the business system based on the business system identifier.
6. The system according to any one of claims 4 to 5, wherein, The first parent node is used to generate the key pair based on the terminal identifier and send the key pair to the terminal.
7. A computer-readable storage medium storing computer instructions that are executed by a processor according to any one of claims 1 to 3.
Citation Information
Patent Citations
Identity authentication method, personal safety kernel node and medium
CN110245472A
Identity authentication method, terminal and server
CN112291190A
