End node authentication method and device, electronic equipment and storage medium
By using trusted proxy edge nodes in the computing power network for end node authentication, building a regional authentication network domain and managing session keys, the performance challenges brought by the unified authentication center are solved and the authentication speed and system performance are improved.
Patent Information
- Application Number
- CN202410359056.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-27
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-03-27
AI Technical Summary
In a complex computing network environment, the unified identity authentication center brings performance challenges to peer node authentication and authorization, resulting in slow authentication speeds and affecting the computing performance of the computing network.
Trusted proxy edge nodes are used to authenticate end nodes, and through the construction of regional authentication network domains and session key management, the dependence on the unified authentication center is reduced and distributed authentication is achieved.
It improves the speed of end node authentication, avoids the negative impact of slow authentication speed on the computing performance of the computing power network, and improves the security and performance of the overall system.
Smart Images

Figure CN118802290A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to an end node authentication method, device, electronic device and storage medium. Background Art
[0002] The computing network has been developing along with the substantial increase in the demand for data resource storage, computing and application. At this time, the computing network stores a large amount of sensitive data including personal identity information, financial data, transaction records, traffic management and other data. However, in the process of end nodes in various application scenarios joining the computing network, threats such as hacker attacks, data leakage, malware, network viruses, etc. continue to threaten the security of the computing network, bringing serious security risks to the entire computing network system.
[0003] Among them, identity authentication when the end node joins the computing network is the first door of security protection and is a key step to ensure access control and security protection.
[0004] At present, when an end node joins the computing power network, it is often authenticated by a unified identity authentication center. That is, after a unified identity authentication center is designed, a C / S structure is used for authority authentication.
[0005] However, this end node authentication method cannot meet the needs of complex computing network environments. Because in a massive computing network environment, if all end nodes are authenticated and authorized by a unified identity authentication center, it will inevitably bring great performance challenges to the authentication center, slowing down the speed of end node authentication and even affecting the computing performance of the computing network. Summary of the invention
[0006] The present invention provides an end node authentication method, device, electronic device and storage medium, which are used to solve the defects of the prior art that the end node is authenticated and authorized by a unified identity authentication center, and realize a method for authenticating the end node by a trusted proxy edge node.
[0007] In a first aspect, the present invention provides an end node authentication method, which is applied to a trusted proxy edge node, comprising:
[0008] Receiving an authentication request sent by any end node to be authenticated, the authentication request at least carrying a first area identifier of a regional authentication network domain where the end node to be authenticated is located;
[0009] Verify the first area identifier, and if the verification passes, return an authentication pass response to the end node to be authenticated, wherein the authentication pass response carries an authentication certificate;
[0010] The regional authentication network domain is determined based on the end node set of each edge node in the network area where the end node to be authenticated is located. The end node set is a set of all end nodes that establish node association with the edge node.
[0011] According to an end node authentication method provided by the present invention, the verifying the first area identifier includes:
[0012] Obtain a first comparison result of the first regional identifier and a second regional identifier of the regional authentication network domain where the trusted proxy edge node is located;
[0013] If the first comparison results are consistent, it is determined that the verification is passed.
[0014] According to an end node authentication method provided by the present invention, if the first comparison result is inconsistent, a third area identifier is retrieved from the authentication request of the end node to be authenticated, and the third area identifier is the area identifier of the regional authentication network domain where the end node to be authenticated was most recently located;
[0015] Obtaining a second comparison result between the third area identifier and a fourth area identifier, wherein the fourth area identifier is the area identifier of the regional authentication network domain where the trusted proxy edge node was most recently located;
[0016] If the second comparison results are consistent, it is determined that the verification is passed.
[0017] According to an end node authentication method provided by the present invention, the regional authentication network domain is pre-constructed by adopting the following steps, including:
[0018] Determine whether the preset trigger condition is met;
[0019] If it is determined that the conditions are met, computing the identity information hash values of all the end nodes that establish node association with the trusted proxy edge node, and constructing an end node set of the trusted proxy edge node;
[0020] Broadcasting authentication network domain reconstruction information in the network area, the authentication network domain reconstruction information carries at least the current timestamp, reconstruction notification information and the fingerprint ID and end node set of the trusted proxy edge node;
[0021] Receiving response information broadcasted by any other edge node in the network area in response to the authentication network domain reconstruction information, the response information at least including a current timestamp, reconstruction feedback information, and a fingerprint ID and an end node set of any other edge node;
[0022] Counting the proportion of the reconstruction feedback information in the received response information that includes the information of agreeing to reconstruct the authentication network domain;
[0023] If the proportion is greater than the first threshold, the maximum intersection of all the end node sets is obtained, the regional authentication network domain is constructed, and a local end node list is generated.
[0024] According to an end node authentication method provided by the present invention, after constructing the regional authentication network domain and generating a local end node list, the method further includes:
[0025] Submitting an authentication application for the regional authentication network domain to an authentication center, the authentication application including a regional identifier of the regional authentication network domain and a list of local end nodes;
[0026] Receiving the authentication certificate returned by the authentication center, the authentication certificate including the session key between the nodes in the regional authentication network domain;
[0027] The hash digest of the local end node list, the fingerprint ID of the trusted proxy edge node, the current timestamp and the authentication certificate are broadcasted to synchronize to other edge nodes and each end node in the network area.
[0028] According to an end node authentication method provided by the present invention, after broadcasting the hash summary of the local end node list, the fingerprint ID of the trusted proxy edge node, the current timestamp and the authentication certificate to synchronize to other edge nodes and each end node in the network area, it also includes:
[0029] Any two end nodes located in the same regional authentication network domain use the session key to conduct an encrypted conversation.
[0030] According to an end node authentication method provided by the present invention, the method further includes:
[0031] Before any end node initiates a session request to another end node located in a different regional authentication network domain, a domain entry authentication request is sent to a trusted proxy edge node in the regional authentication network domain where the other end node is located;
[0032] After the domain entry authentication request, the either end node and the other end node conduct an encrypted conversation using a session key of the regional authentication network domain where the other end node is located.
[0033] According to an end node authentication method provided by the present invention, the trusted proxy edge node is regularly elected from all edge nodes in the network area.
[0034] According to an end node authentication method provided by the present invention, all edge nodes in the network area are pre-registered in a registration center, and the registration process of any edge node includes:
[0035] The edge node sends an edge node registration request to a registration center, where the edge node registration request at least includes identity information of the edge node;
[0036] After verifying that the identity information is correct, the registration center generates registration information based on bilinear mapping and sends it to the edge node and synchronizes it to the authentication center;
[0037] The edge node generates an edge node private key and an edge node public key based on the registration information, and sends the edge node private key, the edge node public key and a current timestamp to the registration center;
[0038] The registration center generates a digital certificate based on its own private key, the edge node public key and the identity information of the edge node, sends it to the edge node and synchronizes it to the blockchain.
[0039] According to an end node authentication method provided by the present invention, all end nodes in the network area are pre-registered in a registration center, and the registration process of any end node includes:
[0040] The end node sends an end node registration request to a registration center, where the end node registration request includes at least identity information of the end node, and the identity information includes at least information of whether the end node is a fixed end node;
[0041] The registration center responds to the end node registration request, hashes the identity information of the end node to obtain a first hash value, uses its own private key to hash a random number to obtain a second hash value, and determines a chaotic mapping value according to the first hash value and the second hash value;
[0042] The registration center uploads the chaotic mapping value and the identity information of the end node to the blockchain and synchronizes them to the end node.
[0043] According to an end node authentication method provided by the present invention, the determining whether a preset trigger condition is met includes:
[0044] Determine the proportion of edge nodes in the network area whose number of end nodes is greater than a second threshold;
[0045] If the proportion is greater than the third threshold, the revenue values of all end nodes are calculated;
[0046] If the revenue value is greater than a fourth threshold, determining that the preset trigger condition is met;
[0047] The benefit value is determined based on the regional authentication energy and delay benefit values of all end nodes.
[0048] In a second aspect, the present invention further provides an end node authentication method, applied to an end node to be authenticated, comprising:
[0049] Sending an authentication request to a trusted proxy edge node, the authentication request carrying at least a first regional identifier of a regional authentication network domain where the end node to be authenticated is located;
[0050] receiving an authentication success response returned by the trusted proxy edge node, wherein the authentication success response carries an authentication certificate and is returned by the trusted proxy edge node after verifying that the first area identifier is passed;
[0051] The regional authentication network domain is determined based on the end node set of each edge node in the network area where the end node to be authenticated is located. The end node set is a set of all end nodes that establish node association with the edge node.
[0052] In a third aspect, the present invention provides an end node authentication device, comprising:
[0053] An authentication request receiving unit, configured to receive an authentication request sent by any end node to be authenticated, wherein the authentication request carries at least a first area identifier of a regional authentication network domain where the end node to be authenticated is located;
[0054] An area identifier verification unit, configured to verify the first area identifier, and return an authentication success response to the end node to be authenticated if the verification is successful, wherein the authentication success response carries an authentication certificate;
[0055] The regional authentication network domain is determined based on the end node set of each edge node in the network area where the end node to be authenticated is located. The end node set is a set of all end nodes that establish node association with the edge node.
[0056] In a fourth aspect, the present invention further provides an end node authentication device, comprising:
[0057] An authentication request sending unit, configured to send an authentication request to a trusted proxy edge node, wherein the authentication request carries at least a first regional identifier of a regional authentication network domain where the end node to be authenticated is located;
[0058] An authentication success response receiving unit, used to receive an authentication success response returned by the trusted proxy edge node, the authentication success response carrying an authentication certificate, and the authentication success response is returned by the trusted proxy edge node after verifying the first area identifier;
[0059] The regional authentication network domain is determined based on the end node set of each edge node in the network area where the end node to be authenticated is located. The end node set is a set of all end nodes that establish node association with the edge node.
[0060] In a fifth aspect, the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the end node authentication method as described above is implemented.
[0061] In a sixth aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-described end node authentication methods.
[0062] The end node authentication method, device, electronic device and storage medium provided by the present invention no longer perform verification by a unified authentication center when authenticating the end node to join a computing power network. Instead, the end node performs authentication verification on a trusted proxy node in a distributed regional authentication network domain corresponding to the computing power network that it intends to join. This overcomes the performance challenges that unified verification brings to the authentication center in a complex computing power network environment, improves the speed of end node authentication, and avoids the adverse effects of slow authentication speed on the computing performance of the computing power network. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0064] Figure 1 This is one of the flow charts of the end node authentication method provided by the present invention;
[0065] Figure 2 This is the second flow chart of the end node authentication method provided by the present invention;
[0066] Figure 3 It is a schematic diagram of the process of constructing a regional authentication network domain provided by the present invention;
[0067] Figure 4 It is a schematic diagram of the process of regional authentication network domain authenticating to the authentication center provided by the present invention;
[0068] Figure 5 It is a timing diagram of edge node registration provided by the present invention;
[0069] Figure 6 It is a timing diagram of the end node registration provided by the present invention;
[0070] Figure 7 This is the third flow chart of the end node authentication method provided by the present invention;
[0071] Figure 8 This is one of the structural diagrams of the end node authentication device provided by the present invention;
[0072] Fig. 9 This is the second structural diagram of the end node authentication device provided by the present invention;
[0073] Fig.10 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0074] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0075] It should be noted that, in the description of the present invention, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "includes a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.
[0076] The terms "first", "second", etc. in the present invention are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present invention can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more.
[0077] Combine the following Figure 1-Figure 10 The present invention describes an end node authentication method, device, electronic device and storage medium.
[0078] As new technologies such as 5G, artificial intelligence, and the Internet of Things penetrate into various fields, society's demand for data resource storage, computing, and application has increased significantly. Computing power networks continue to develop and are widely used in various fields.
[0079] At the same time, the computing network stores a large amount of sensitive data including personal identity information, financial data, transaction records, traffic management, etc. However, in the process of end nodes in various application scenarios joining the computing network, threats such as hacker attacks, data leaks, malware, network viruses, etc. continue to threaten the security of the computing network, bringing serious security risks to the entire computing network system.
[0080] Therefore, in order to ensure the security of the computing network, comprehensive security measures and strategies must be adopted. Among them, identity authentication when the end node joins the computing network is the first door of security protection and a key step to ensure access control and security protection.
[0081] In the computing power network architecture, computing power network nodes can be divided into cloud nodes, edge nodes and end nodes according to level and region.
[0082] End nodes can be divided into fixed-position end nodes and movable-position end nodes. Movable-position end nodes include but are not limited to mobile phones, notebooks, smart connected cars and other end nodes, while fixed-position end nodes include but are not limited to desktop computers, servers placed in fixed locations such as data centers or computer rooms, etc. In the case where there are fixed-position end nodes and movable-position end nodes, the network composed of end nodes is a topological network structure that changes dynamically at any time.
[0083] The edge nodes include, but are not limited to, one or more of roadside computing nodes, regional computing nodes, edge computing nodes, and the like.
[0084] A cloud node refers to a node that provides cloud resource services, including video, text, voice, computing power and other service content.
[0085] In addition, the computing power network architecture also includes a unified identity registration center and authentication center. The corresponding registration center can be used to register cloud nodes, edge nodes and end nodes, and the authentication center is used to verify and authenticate end nodes when they join the computing power network.
[0086] At present, when an end node joins the computing power network, it is often authenticated by a unified identity authentication center. That is, after a unified identity authentication center is designed, a C / S structure is used for authority authentication.
[0087] However, this end node authentication method cannot meet the needs of complex computing network environments. Because in a massive computing network environment, if all end nodes are authenticated and authorized by a unified identity authentication center, it will inevitably bring great performance challenges to the authentication center, slowing down the speed of end node authentication and even affecting the computing performance of the computing network.
[0088] Figure 1 This is one of the flow charts of the end node authentication method provided by the present invention, such as Figure 1 As shown, the end node authentication method is applied to a trusted proxy edge node, including but not limited to the following steps:
[0089] Step 101: Receive an authentication request sent by any end node to be authenticated. The authentication request carries at least a first area identifier of a regional authentication network domain where the end node to be authenticated is located. The regional authentication network domain is determined based on an end node set of each edge node in the network area where the end node to be authenticated is located, and the end node set is a set of all end nodes that establish node association with the edge node.
[0090] Among them, any edge node in a certain network area can serve as a trusted proxy edge node and complete the authentication of the end node.
[0091] It should be noted that in the present application, the cloud nodes in the computing power network area, the edge nodes including the trusted proxy edge nodes, and the end nodes including the end nodes to be authenticated have all been pre-registered in the registration center.
[0092] The end node to be authenticated refers to the end node that wants to join a computing network, and the trusted proxy edge node refers to the edge node in a computing network that performs authentication operations on the end node to be authenticated.
[0093] Specifically, the end node to be authenticated sends an authentication request to a trusted proxy node in the computing power network area where it is located, and the authentication request carries at least a first area identifier of the regional authentication network domain where the end node to be authenticated is currently located.
[0094] For a node to be authenticated, the node to be authenticated is at least located in a certain network area, so that the node to be authenticated can send an authentication request to the trusted proxy edge node in the network area. However, the node to be authenticated is not necessarily located in a regional authentication network domain, that is, the node to be authenticated is not necessarily added to a computing power network.
[0095] If the end node to be authenticated has currently joined a regional authentication network domain, the authentication request sent by the end node to be authenticated carries the regional identifier of the regional authentication network domain where it is currently located, which is called the first regional identifier. If the end node to be authenticated has not currently joined any regional authentication network, the first regional identifier is an empty character.
[0096] At the same time, the trusted proxy edge node in the network area where the end node to be authenticated is located must currently be located in a regional authentication network domain, but the regional authentication network domain where the trusted proxy edge node is currently located is not necessarily the same as the regional authentication network domain where the end node to be authenticated is currently located. Then when the end node to be authenticated wants to join the computing network where the trusted proxy edge node is located, the trusted proxy edge node needs to perform authentication verification on the end node to be authenticated, that is, verify whether the trusted proxy edge node and the end node to be authenticated are uniquely located in the same regional authentication network domain.
[0097] Furthermore, the regional authentication network domain refers to a network composed of all edge nodes in a computing power network and all end nodes that have joined the computing power network through trusted proxy edge node authentication and verification.
[0098] Generally speaking, a regional authentication network domain includes several edge nodes and several end nodes. Each edge node establishes node association with several end nodes, that is, the end nodes and edge nodes that have been added to the corresponding computing power network are within each other's network connectivity range. An end node may also establish node association with several edge nodes.
[0099] Therefore, the regional authentication network domain is also determined by the end node set of each edge node in the network area where the end node to be authenticated is located. The end node set is also the set of all end nodes that establish node association with each edge node in the regional authentication network domain.
[0100] Step 102: Verify the first area identifier. If the verification is successful, return an authentication success response to the end node to be authenticated. The authentication success response carries an authentication certificate.
[0101] The authentication certificate includes the ID number of the regional authentication network domain where the trusted proxy edge node is located when it is registered with the authentication center. B and the initial group session key k0.
[0102] Specifically, after receiving the authentication request sent by any end node to be authenticated, the trusted proxy edge node verifies the first regional identifier carried in the authentication request, that is, verifies whether the regional authentication network domain where the end node to be authenticated is currently located is consistent with the regional authentication network domain where the trusted proxy edge node is currently located. If the verification is successful, the trusted proxy edge node returns an authentication success response carrying the authentication certificate to the end node to be authenticated.
[0103] The end node authentication method provided by the present invention no longer performs verification by a unified authentication center when authenticating the end node to join a computing power network. Instead, the end node performs authentication verification on a trusted proxy node in a distributed regional authentication network domain corresponding to the computing power network that it intends to join. This overcomes the performance challenges that unified verification brings to the authentication center in a complex computing power network environment, improves the speed of end node authentication, and avoids the adverse effects of slow authentication speed on the computing performance of the computing power network.
[0104] Figure 2 This is the second flow chart of the end node authentication method provided by the present invention, such as Figure 2 As shown, as an optional embodiment, the verifying the first area identifier includes:
[0105] Obtain a first comparison result of the first regional identifier and a second regional identifier of the regional authentication network domain where the trusted proxy edge node is located;
[0106] If the first comparison results are consistent, it is determined that the verification is passed.
[0107] Among them, the regional identifier of the regional authentication network domain where the trusted proxy edge node is located is called the second regional identifier.
[0108] Specifically, after receiving the authentication request sent by the end node to be authenticated, the trusted proxy edge node obtains from the authentication request the first regional identifier representing the regional authentication network domain where the end node to be authenticated is located, and compares the first regional identifier with the second regional identifier identifying the regional authentication network domain where the trusted proxy edge node is located, that is, determines whether the regional authentication network domain where the end node to be authenticated is currently located is consistent with the regional authentication network domain where the trusted proxy edge node is currently located.
[0109] If the first comparison result is consistent, it means that the end node to be authenticated has joined the regional authentication network domain where the trusted proxy edge node is located, and the verification is confirmed to be passed. An authentication pass response carrying an authentication certificate is sent to the end node to be authenticated, allowing the end node to be authenticated to join the computing power network, so that the end node to be authenticated can pass the number ID of the regional authentication network domain. B The initial group session key k0 is used to communicate and exchange data with other nodes in the regional authentication network domain, thereby joining the corresponding computing power network.
[0110] If the first comparison result is inconsistent, the next verification step is entered or the verification is ended, and the next time the end node to be authenticated sends an authentication request to the trusted proxy edge node is waited.
[0111] In one embodiment, if the end node to be authenticated is not in any regional authentication network domain, the first regional identifier of the end node to be authenticated is a null character.
[0112] Accordingly, when the trusted proxy edge node verifies the first area identifier and the second area identifier, the first comparison result obtained is inconsistent.
[0113] The end node authentication method provided by the present invention compares the regional authentication network domain identifier carried in the authentication request sent by the end node to be authenticated with the identifier of the regional authentication network domain where the trusted proxy edge node is located, thereby verifying whether the end node to be authenticated and the trusted proxy edge node have joined the same regional authentication network domain, and after the verification is passed, the trusted proxy edge node returns to the end node to be authenticated an authentication certificate for use by each node in the computing power network to interact with data, so that all verified end nodes in the same regional authentication network domain can interact with data through a unified authentication certificate.
[0114] like Figure 2 As shown, based on the above embodiment, as an optional embodiment, if the first comparison result is inconsistent, a third area identifier is retrieved from the authentication request of the end node to be authenticated, and the third area identifier is the area identifier of the regional authentication network domain where the end node to be authenticated was most recently located;
[0115] Obtaining a second comparison result between the third area identifier and a fourth area identifier, wherein the fourth area identifier is the area identifier of the regional authentication network domain where the trusted proxy edge node was most recently located;
[0116] If the second comparison results are consistent, it is determined that the verification is passed.
[0117] Specifically, when the first comparison result obtained by the trusted proxy edge node is inconsistent, that is, when the regional authentication network domain where the trusted proxy edge node and the end node to be authenticated are currently located are different, the regional authentication network domain area identifier of the regional authentication network domain where the end node to be authenticated was most recently located is retrieved from the authentication request, which is called the third area identifier.
[0118] Then, the trusted proxy edge node uses the regional identifier of the regional authentication network domain where it was most recently located as the fourth regional identifier, compares the third regional identifier with the fourth regional identifier, and obtains a second comparison result. When the second comparison result is consistent, the verification is confirmed to have passed, and the ID of the regional authentication network domain where the trusted proxy edge node is currently located is included. B The authentication certificate including the initial group session key k0 is returned to the node to be authenticated, so that the node to be authenticated can communicate and interact with other nodes in the regional authentication network domain based on the authentication certificate, and thus join the corresponding computing power network.
[0119] If the second comparison result is inconsistent, the next verification step is entered or the verification is ended, and the next time the end node to be authenticated sends an authentication request to the trusted proxy edge node is waited.
[0120] The end node authentication method provided by the present invention verifies whether the regional authentication network domain where the trusted proxy edge node and the end node to be authenticated were last located are the same when the trusted proxy edge node and the end node to be authenticated are not currently located in the same regional authentication network domain. If they are the same, it means that before the regional authentication network domain where the trusted proxy edge node was last located was not reconstructed into the regional authentication network domain where it is currently located, the trusted proxy edge node and the end node to be authenticated were located in the same regional authentication network domain, and after the regional authentication network domain was reconstructed, the end node did not join the reconstructed regional authentication network domain due to some reasons (such as the position of the mobile end node being out of the physical range that can communicate with all the edge nodes in the regional authentication network domain, the position of the fixed end node being out of power for maintenance, etc.). At this time, it is considered that the security and reliability of the end node to be authenticated can be directly trusted, and it is allowed to join the regional authentication network domain where the trusted proxy edge node is currently located.
[0121] Based on the above embodiment, as an optional embodiment, if the second comparison result is inconsistent, the trusted proxy edge node retrieves the first encrypted information from the authentication request of the end node to be authenticated, and decrypts the first encrypted information to obtain the first decrypted information; obtains the third comparison result of the first encrypted information and the first decrypted information, and if the third comparison result is consistent, sends the second encrypted information to the end node to be authenticated;
[0122] After receiving the second encrypted information, the end node to be authenticated decrypts the second encrypted information to obtain second decrypted information; obtains a fourth comparison result of the second encrypted information and the second decrypted information, and if the fourth comparison result is consistent, sends the third encrypted information to the trusted proxy edge node;
[0123] After receiving the third encrypted information, the trusted proxy edge node decrypts the third encrypted information to obtain third decrypted information; obtains a fifth comparison result of the third encrypted information and the third decrypted information, and if the fifth comparison result is consistent, confirms that the verification is passed.
[0124] It should be noted that if any of the third comparison result, the fourth comparison result or the fifth comparison result is inconsistent, the verification is terminated and the next time the end node to be authenticated sends an authentication request to the trusted proxy edge node is waited.
[0125] In one embodiment, the end node V to be authenticated i When sending an authentication request to the trusted proxy edge node P, the first encrypted information is first calculated and sent to the trusted proxy edge node P as a part of the authentication request.
[0126] Specifically, the end node to be authenticated V iFirst, a random number is generated locally, and the temporary public key of the P node is queried from the trusted proxy edge node P, and the parameters are calculated according to the following formulas (1) to (6):
[0127]
[0128]
[0129]
[0130]
[0131]
[0132]
[0133] Where T is the Chebyshev chaotic map, V i is the end node to be authenticated, r k V is the end node to be authenticated i The locally generated random number, r1 is the end node V to be authenticated i The temporary private key of the node V to be authenticated i The public key of is the current timestamp, V is the end node to be authenticated i , r2 is the temporary public key of the trusted proxy edge node P, p′ is a secure large prime number, v is an intermediate parameter used to calculate the first encrypted information, θ is the chaotic mapping value determined by the end node to be authenticated when registering with the registration center, h(v) is the hash value obtained by hashing v, and M, N, Q, and Auth are parameters that together constitute the first encrypted information.
[0134] Then, the end node V to be authenticated i Send (M, N, Q, Auth) as the first encrypted information to the trusted proxy edge node P.
[0135] When the second comparison result is inconsistent, the trusted proxy edge node P receives the authentication result from the end node V to be authenticated. i The first encrypted information is retrieved from the authentication request, and the first encrypted information is decrypted to obtain the first decrypted information. The steps of the trusted proxy edge node P decrypting the first encrypted information to obtain the first decrypted information are as follows:
[0136] First, the trusted proxy edge node P uses the following formulas (7) and (8) to restore the end node V to be authenticated: i Identification information and timestamp:
[0137]
[0138]
[0139] in, is the terminal node V to be authenticated that is restored during the decryption of the first encrypted information i identity information, The timestamp is recovered during the decryption process of the first encrypted information.
[0140] Then, the trusted proxy edge node P searches for The corresponding θ′ is further decrypted using the following formulas (9) and (10):
[0141]
[0142]
[0143] Wherein, ι′ is the end node V to be authenticated obtained after decrypting the first encrypted information. i , v′ is the v value obtained after decrypting the first encrypted information, Auth′ is the Auth value obtained after decrypting the first encrypted information, and h(v′) is the hash value obtained after hashing v′.
[0144] The trusted proxy edge node P uses the decrypted Auth′ as the first decrypted information and compares it with the Auth in the first encrypted information to obtain a third comparison result of whether Auth′ and Auth are the same. If they are the same, the trusted proxy edge node V to be authenticated i The second encrypted message is sent.
[0145] The trusted proxy edge node P generates the second encrypted information according to the following formulas (11) and (12):
[0146]
[0147]
[0148] Among them, v and Res are encryption parameters that together constitute the second encryption information, r m A random number generated locally by the trusted proxy edge node P, ID P It is the identity information of the trusted proxy edge node P.
[0149] The trusted proxy edge node P will<Res,v> Sent as the second encrypted information to the end node V to be authenticated i .
[0150] End node to be authenticated V i After receiving the second encrypted information, the second encrypted information is decrypted according to the following formula (13):
[0151]
[0152] Wherein, Res′ is the Res value obtained after decrypting the second encrypted information.
[0153] End node to be authenticated V i Res′ is used as the second decrypted information obtained after decrypting the second encrypted information, and it is determined whether the fourth comparison result between Res′ and Res is consistent. If they are consistent, the third encrypted information is sent to the trusted proxy edge node.
[0154] End node to be authenticated V i The formula (14) for calculating the third encrypted information is as follows:
[0155]
[0156] Here, Au is a parameter constituting the third encryption information.
[0157] End node to be authenticated V i Au is sent as the third encrypted information to the trusted proxy edge node P. After receiving the third encrypted information, the trusted proxy edge node P decrypts the third encrypted information according to the following formula (15):
[0158]
[0159] Wherein, Au' is the Au value obtained after decrypting the third encrypted information.
[0160] The trusted proxy edge node P compares Au' with Au, and if the fifth comparison result obtained is consistent, it is confirmed that the verification is passed.
[0161] Figure 3 It is a schematic diagram of the process of constructing a regional authentication network domain provided by the present invention, such as Figure 3 As shown, the regional authentication network domain is pre-built using the following steps, including:
[0162] Determine whether the preset trigger condition is met;
[0163] If it is determined that the conditions are met, computing the identity information hash values of all the end nodes that establish node association with the trusted proxy edge node, and constructing an end node set of the trusted proxy edge node;
[0164] Broadcasting authentication network domain reconstruction information in the network area, the authentication network domain reconstruction information carries at least the current timestamp, reconstruction notification information and the fingerprint ID and end node set of the trusted proxy edge node;
[0165] Receiving response information broadcasted by any other edge node in the network area in response to the authentication network domain reconstruction information, the response information at least including a current timestamp, reconstruction feedback information, and a fingerprint ID and an end node set of any other edge node;
[0166] Counting the proportion of the reconstruction feedback information in the received response information that includes the information of agreeing to reconstruct the authentication network domain;
[0167] If the proportion is greater than the first threshold, the maximum intersection of all the end node sets is obtained, the regional authentication network domain is constructed, and a local end node list is generated.
[0168] Specifically, when the trusted proxy edge node determines that the preset trigger condition is met, it calculates the identity information hash values of all end nodes that establish node association with the trusted proxy edge node, and constructs the end node set of the trusted proxy edge node using the identity information hash values of all end nodes.
[0169] Afterwards, the trusted proxy edge node broadcasts the authentication network domain reconstruction information to all edge nodes in the network area where it is located, and the authentication network domain reconstruction information carries at least the current timestamp, reconstruction notification information, and the fingerprint ID and end node set of the trusted proxy edge node. The reconstruction notification information mentioned here refers to the message pre-agreed by all edge nodes (including trusted proxy edge nodes) in the regional network, sent when the trusted proxy edge node meets the preset trigger condition, and triggers other edge nodes in the regional network to perform certain response operations.
[0170] After receiving the authentication network domain reconstruction information broadcast by the trusted proxy edge node, any other edge node in the regional network takes the current timestamp, reconstruction feedback information, and the fingerprint ID and end node set of any other edge node as a response message and broadcasts it in the regional network. The reconstruction feedback information mentioned here refers to the message generated by all edge nodes (including trusted proxy edge nodes) in the regional network after performing certain operations in response to the reconstruction notification information.
[0171] The method for forming the end node set of any other edge node is the same as the method for forming the end node set of the above-mentioned trusted proxy edge node, and will not be described in detail.
[0172] The trusted proxy edge node will receive the response information broadcast by any other edge node in the network area, and count the proportion of the reconstruction feedback information in the response information that contains the information of agreeing to reconstruct the authentication network domain.
[0173] If within the network area, the proportion of the reconstruction feedback information broadcast by all edge nodes that contains information agreeing to reconstruct the authentication network domain is greater than or lower than a threshold, a regional authentication network domain is constructed and a local end node list is generated. The local end node list is the maximum intersection list of the end node sets of all edge nodes in the regional network.
[0174] The first threshold can be set as or etc.
[0175] In one embodiment, the reconstruction feedback information is divided into approval for reconstruction of the authentication network domain information and opposition for reconstruction of the authentication network domain information.
[0176] Among them, when the benefit value K of the end node set with which any other edge node establishes node association is calculated to be greater than the rated benefit value, the reconstruction feedback information is to agree to reconstruct the authentication network domain information, otherwise it is to oppose to reconstruct the authentication network domain information.
[0177] The calculation formula for the benefit value of the end node set that establishes a node association with any other edge node is as follows:
[0178]
[0179] Among them, K is the benefit value of the set of end nodes that establish node association with any other edge node, n is the number of end nodes that establish node association with any other edge node, ζ is the regional authentication energy, τ is the delay benefit value, a is the adjustment coefficient corresponding to the regional authentication energy, and b is the adjustment coefficient corresponding to the delay benefit value.
[0180] In another embodiment, when any edge node in the regional network meets the preset trigger condition, the edge node that meets the preset trigger condition broadcasts the authentication network domain reconstruction information to other edge nodes (excluding trusted proxy edge nodes) in the network area where it is located, and the other edge nodes respond and broadcast the reconstruction feedback information. The trusted proxy edge nodes in the regional network listen to the reconstruction feedback information broadcast by other edge nodes, and count whether the proportion of the received reconstruction feedback information containing the information agreeing to reconstruct the authentication network domain is greater than a first threshold. If the proportion is greater than the first threshold, the maximum intersection of all the end node sets is obtained, the regional authentication network domain is constructed and a local end node list is generated.
[0181] Based on the above embodiment, as an optional embodiment, the determining whether a preset trigger condition is met includes:
[0182] Determine the proportion of edge nodes in the network area whose number of end nodes is greater than a second threshold;
[0183] If the proportion is greater than the third threshold, the revenue values of all end nodes are calculated;
[0184] If the revenue value is greater than a fourth threshold, determining that the preset trigger condition is met;
[0185] The benefit value is determined based on the regional authentication energy and delay benefit values of all end nodes.
[0186] For example, let the second threshold be 50 and the third threshold be
[0187] The trusted proxy node regularly counts the edge nodes in the network area where it is currently located, specifically counting the number of edge nodes with more than 50 end nodes that have established node associations with the edge nodes; when the ratio of this number of edge nodes to the total number of edge nodes in the regional network exceeds When the profit values of all end nodes exceed a preset fourth threshold, it is determined that the preset trigger condition is met.
[0188] In one embodiment, the preset trigger condition refers to the number of end nodes that establish node association with any edge node in the network area exceeding a preset threshold. For example, when the number of end nodes that establish node association with any edge node in the network area exceeds a preset threshold of 50, the preset trigger condition is considered to be met.
[0189] In one embodiment, the preset trigger condition refers to the sum of the number of position movable end nodes that currently establish node association with any edge node in the network area and the length of time it takes to reconstruct the authentication network domain in the area where the trusted proxy edge node is located, which is greater than the number of position fixed end nodes that establish node association with any edge node.
[0190] For example, when the regional authentication network domain where the trusted proxy edge node is located is constructed for the first time, the number of positionally movable end nodes that establish node association with edge node A is 10, and the number of positionally fixed end nodes is 10. After 30 minutes, the number of positionally movable end nodes that establish node association with edge node A is 50, and the number of positionally fixed end nodes is 10. The number of positionally movable end nodes is greater than the sum of the number of positionally fixed end nodes 10 and the reconstruction duration 30, that is, greater than 40. At this point, the preset trigger condition is met, triggering the reconstruction of the regional authentication network domain where the trusted proxy edge node is located.
[0191] The end node authentication method provided by the present invention sets the preset trigger condition to be greater than a static preset threshold, or to a dynamic relationship condition between the number of end nodes and the reconstruction duration when judging whether the regional authentication network domain needs to be reconstructed. When the number of end nodes attempting to join the regional authentication network domain continues to increase, it can be considered that the reconstructed regional authentication network domain will achieve higher latency benefits and regional authentication energy, which is conducive to forming a computing power network with better performance. At the same time, the regional authentication network domain is reconstructed only when the number of end nodes meets a certain threshold condition, which can avoid frequent triggering of regional authentication network domain reconstruction.
[0192] The end node authentication method provided by the present invention triggers the reconstruction operation of the authentication network domain when any edge node in the network area meets the preset trigger condition, and triggers other edge nodes in the network area to calculate and respond whether their own network conditions meet the conditions for reconstructing the authentication network domain. The trusted proxy edge node then monitors the feedback information of whether all edge nodes in the network area agree to reconstruct the authentication network domain. Finally, when the agreement ratio is greater than a first threshold, a regional authentication network domain is constructed or reconstructed and a local end node list is generated to obtain a regional authentication network domain with better network performance and computing performance.
[0193] Figure 4 It is a flow chart of the regional authentication network domain authenticating to the authentication center provided by the present invention, such as Figure 4 As shown, after constructing the regional authentication network domain and generating the local end node list, it also includes:
[0194] Submitting an authentication application for the regional authentication network domain to an authentication center, the authentication application including a regional identifier of the regional authentication network domain and a list of local end nodes;
[0195] Receiving the authentication certificate returned by the authentication center, the authentication certificate including the session key between the nodes in the regional authentication network domain;
[0196] The hash digest of the local end node list, the fingerprint ID of the trusted proxy edge node, the current timestamp and the authentication certificate are broadcasted to synchronize to other edge nodes and each end node in the network area.
[0197] Specifically, after constructing the regional authentication network domain and generating the local end node list, the trusted proxy edge node within the regional authentication network domain submits an authentication application for the constructed regional authentication network domain to the authentication center, wherein the authentication application includes the regional identifier and local end node list of the constructed regional authentication network domain.
[0198] After receiving the authentication application submitted by the trusted proxy edge node, the authentication center saves the regional identifier in the authentication application to the authentication center as the number of the regional authentication network domain, and generates an authentication certificate including the session keys between the nodes in the regional authentication network domain and returns it to the trusted proxy edge node.
[0199] The trusted proxy edge node receives the authentication certificate returned by the authentication center and broadcasts the hash summary of the local end node list, the fingerprint ID of the trusted proxy edge node, the current timestamp and the authentication certificate returned by the authentication center to other edge nodes and end nodes within the regional authentication network domain.
[0200] From this perspective, a regional authentication network domain is a collection of edge nodes and end nodes that can use the same session key for communication and data exchange.
[0201] The end node authentication method provided by the present invention, after the regional authentication network domain is constructed, stores the regional identifier of the regional authentication network domain in the authentication center, obtains the session key used between the nodes in the regional authentication network domain from the authentication center, and synchronizes it to other edge nodes and the end nodes in the network area, so as to realize communication and data interaction between the nodes in the authentication network domain.
[0202] On the other hand, the present invention can adapt to the complex network environment where each node in the computing power network changes dynamically by dynamically constructing a regional authentication network domain in real time and dynamically dividing the end nodes according to the network areas where the edge nodes are located.
[0203] Based on the above embodiment, as an optional embodiment, after broadcasting the hash summary of the local end node list, the fingerprint ID of the trusted proxy edge node, the current timestamp and the authentication certificate to synchronize to other edge nodes and each end node in the network area, it also includes:
[0204] Any two end nodes located in the same regional authentication network domain use the session key to conduct an encrypted conversation.
[0205] Specifically, after the authentication center authenticates and constructs the regional authentication network domain, and returns the authentication certificate containing the session keys between the nodes in the regional authentication network domain to the trusted proxy edge node, and then the trusted proxy edge node broadcasts the authentication certificate, any two end nodes in the same regional authentication network domain can use the session key to conduct encrypted conversations, thereby realizing encryption of two-way communication content, ensuring the security of communication, preventing the content of calls from being eavesdropped, and ultimately achieving secure communication and data interaction within the same regional authentication network domain.
[0206] Based on the above embodiment, as an optional embodiment, the end node authentication method provided by the present invention further includes the following steps:
[0207] Before any end node initiates a session request to another end node located in a different regional authentication network domain, a domain entry authentication request is sent to a trusted proxy edge node in the regional authentication network domain where the other end node is located;
[0208] After the domain entry authentication request, the either end node and the other end node conduct an encrypted conversation using a session key of the regional authentication network domain where the other end node is located.
[0209] For example, if end node X located in regional authentication network domain A wants to have a conversation with end node Y located in regional authentication network domain B, before initiating a conversation request, end node X sends a domain entry authentication request to trusted proxy edge node P in regional authentication network domain B. After receiving the domain entry authentication request, trusted proxy edge node P executes the steps of verifying the end node by comparing the regional identifier in any of the above embodiments. After the verification is passed, trusted proxy edge node P sends the session key of regional authentication network domain B to end node X, so that end node X can use the session key of regional authentication network domain B to have a conversation with end node Y.
[0210] Figure 5 is a timing diagram of edge node registration provided by the present invention, such as Figure 5 As shown, all edge nodes in the network area are pre-registered in the registration center, and the registration process of any edge node includes:
[0211] The edge node sends an edge node registration request to a registration center, where the edge node registration request at least includes identity information of the edge node;
[0212] After verifying that the identity information is correct, the registration center generates registration information based on bilinear mapping and sends it to the edge node and synchronizes it to the authentication center;
[0213] The edge node generates an edge node private key and an edge node public key based on the registration information, and sends the edge node private key, the edge node public key and a current timestamp to the registration center;
[0214] The registration center generates a digital certificate based on its own private key, the edge node public key and the identity information of the edge node, sends it to the edge node and synchronizes it to the blockchain.
[0215] In one embodiment, the registration of the edge node is implemented by the registration center based on elliptic curve cryptography. Under the condition of ensuring the same security, the key required for edge node registration based on elliptic curve cryptography is shorter and more suitable for node authentication scenarios of computing power networks.
[0216] First, the edge node sends an edge node registration request including at least the edge node identity information to the registration center.
[0217] After verifying the identity information, the registration center generates registration information based on bilinear mapping. G1 and G2, where G1 and G2 are bilinear groups based on elliptic curve cryptography. is an isomorphic mapping from G2 to G1, The relationship between G1 and G2 is a bilinear mapping
[0218] The registration center randomly selects x2 and y2 from G2 and calculates and Then the parameters (G1, G2, x1, x2, y1, y2) are sent to the edge nodes and synchronized to the authentication center.
[0219] The edge node generates the edge node private key sk based on the parameters (G1, G2, x1, x2, y1, y2) i and edge node public key pk i , and the edge node private key sk i , edge node public key pk i and the current timestamp are sent to the registration center.
[0220] The registration center then uses the edge node private key sk i , edge node public key pk i The digital certificate is generated based on the identity information of the edge node, sent to the edge node and synchronized to the blockchain.
[0221] The end node authentication method provided by the present invention completes the registration of all edge nodes in the network area in the registration center before performing the end node authentication, and saves the digital certificate of the edge node after registration in the blockchain, thereby ensuring the security of the edge node during the end node authentication.
[0222] Figure 6 is a timing diagram of the end node registration provided by the present invention, such as Figure 6 As shown, all end nodes in the network area are pre-registered in the registration center, and the registration process of any end node includes:
[0223] The end node sends an end node registration request to a registration center, where the end node registration request includes at least identity information of the end node, and the identity information includes at least information of whether the end node is a fixed end node;
[0224] The registration center responds to the end node registration request, hashes the identity information of the end node to obtain a first hash value, uses its own private key to hash a random number to obtain a second hash value, and determines a chaotic mapping value according to the first hash value and the second hash value;
[0225] The registration center uploads the chaotic mapping value and the identity information of the end node to the blockchain and synchronizes them to the end node.
[0226] In one embodiment, an unregistered end node first sends an end node registration request to a registration center. The end node registration request includes at least identity information of the end node, such as identification information identifying each end node. The identity information of the end node also includes at least information on whether the end node is a fixed end node (i.e., a fixed-position end node).
[0227] After receiving the registration request from the end node, the registration center hashes the identity information of the end node, obtains the first hash value H1 through the formula H(H(identity information)||timestamp), generates a random number, and hashes the random number using its own private key. Get the second hash value H2, where R t is the generated random number, sk CA is the private key of the registration center itself, T is the Chebyshev chaotic map, p is the public parameter set by the registration center, and then the chaotic map value θ is determined according to the first hash value H1 and the second hash value H2.
[0228] Finally, the registration center uploads the obtained chaotic mapping value and the identity information of the end node to the blockchain and synchronizes it to the end node.
[0229] The end node authentication method provided by the present invention completes the registration of all end nodes in the network area in the registration center before performing the end node authentication, and saves the chaotic mapping value of the end node after registration and the identity information of the end node in the blockchain, thereby ensuring the security of the end node during the end node authentication.
[0230] As the end node completes registration at the registration center, the identity of the end node to be authenticated will no longer be verified by a unified authentication center when the end node to be authenticated joins the regional authentication network domain. Instead, an anonymous authentication method is adopted to encrypt and decrypt information between the trusted proxy edge node and the end node to be authenticated, which can effectively ensure the privacy of users and prevent identity information leakage.
[0231] Moreover, after the edge nodes and end nodes complete the registration at the registration center, the relevant registration information and identity information are saved on the blockchain. The information saved on the chain cannot be tampered with, which ensures the authenticity of the end nodes in the process of joining the regional network authentication domain. There is no need to verify the authenticity of the end node identity, which makes the end node authentication method provided by the present invention simpler and more efficient than other methods.
[0232] In one embodiment, the trusted proxy edge node is periodically elected from all edge nodes in the network area.
[0233] For example, define the operating status, performance indicators, network connection quality and other parameters related to network security and reliability of edge nodes as conditions for electing trusted proxy edge nodes. Then, each edge node in the network area periodically sends information related to the aforementioned election conditions to other edge nodes. At the same time, each edge node also receives and stores messages sent by other edge nodes. Based on the aforementioned election conditions, use weighted average method, exponentially weighted moving average method, prediction algorithm based on historical data or machine learning algorithm to calculate the credibility or priority of edge nodes, and sort them from high to low according to credibility or priority.
[0234] By regularly electing trusted proxy edge nodes from all edge nodes in the network area, the security and reliability of the trusted proxy edge nodes can be ensured, and the dynamic changes of nodes in the network area can be adapted.
[0235] Figure 7 This is the third flow chart of the end node authentication method provided by the present invention, such as Figure 7 As shown, the end node authentication method is applied to the end node to be authenticated, including but not limited to the following steps:
[0236] Step 701: Send an authentication request to a trusted proxy edge node, wherein the authentication request carries at least a first regional identifier of the regional authentication network domain where the end node to be authenticated is located;
[0237] Step 702: receiving an authentication success response returned by the trusted proxy edge node, wherein the authentication success response carries an authentication certificate and is returned by the trusted proxy edge node after verifying the first zone identifier;
[0238] The regional authentication network domain is determined based on the end node set of each edge node in the network area where the end node to be authenticated is located. The end node set is a set of all end nodes that establish node association with the edge node.
[0239] It should be noted that the end node authentication method applied to the end node to be authenticated provided in this embodiment corresponds to the end node authentication method applied to the trusted proxy edge node provided in the above embodiment, which is not described in detail in this embodiment.
[0240] The end node authentication method provided by the present invention no longer performs verification by a unified authentication center when authenticating the end node to join a computing power network. Instead, the end node performs authentication verification on a trusted proxy node in a distributed regional authentication network domain corresponding to the computing power network that it intends to join. This overcomes the performance challenges that unified verification brings to the authentication center in a complex computing power network environment, improves the speed of end node authentication, and avoids the adverse effects of slow authentication speed on the computing performance of the computing power network.
[0241] Figure 8 This is one of the structural diagrams of the end node authentication device provided by the present invention, such as Figure 8 As shown, including but not limited to the following structures:
[0242] The authentication request receiving unit 810 is used to receive an authentication request sent by any end node to be authenticated, wherein the authentication request carries at least a first area identifier of the regional authentication network domain where the end node to be authenticated is located;
[0243] The area identifier verification unit 820 is used to verify the first area identifier, and if the verification is successful, return an authentication success response to the end node to be authenticated, wherein the authentication success response carries an authentication certificate;
[0244] The regional authentication network domain is determined based on the end node set of each edge node in the network area where the end node to be authenticated is located. The end node set is a set of all end nodes that establish node association with the edge node.
[0245] In one embodiment, the area identification verification unit 820 further includes a first comparison unit 821, and the first comparison unit 821 is used to obtain a first comparison result between the first area identification and the second area identification of the regional authentication network domain where the trusted proxy edge node is located;
[0246] If the first comparison results are consistent, it is determined that the verification is passed.
[0247] In one embodiment, the regional identifier verification unit 820 further includes a second comparison unit 822, and the second comparison unit 822 is used to retrieve a third regional identifier from the authentication request of the end node to be authenticated if the first comparison result is inconsistent, and the third regional identifier is the regional identifier of the regional authentication network domain where the end node to be authenticated was most recently located;
[0248] Obtaining a second comparison result between the third area identifier and a fourth area identifier, wherein the fourth area identifier is the area identifier of the regional authentication network domain where the trusted proxy edge node was most recently located;
[0249] If the second comparison results are consistent, it is determined that the verification is passed.
[0250] It should be noted that the end node authentication device provided by the present invention can execute the end node authentication method applied to the trusted proxy edge node described in any of the above embodiments during specific operation, which will not be described in detail in this embodiment.
[0251] The end node authentication device provided by the present invention no longer performs verification by a unified authentication center when authenticating the end node to join a computing power network. Instead, the end node performs authentication verification on a trusted proxy node in a distributed regional authentication network domain corresponding to the computing power network that it intends to join. This overcomes the performance challenges that unified verification brings to the authentication center in a complex computing power network environment, improves the speed of end node authentication, and avoids the adverse effects of slow authentication speed on the computing performance of the computing power network.
[0252] Fig. 9 This is the second structural diagram of the end node authentication device provided by the present invention, such as Fig. 9 As shown, including but not limited to the following structures:
[0253] An authentication request sending unit 910 is used to send an authentication request to a trusted proxy edge node, wherein the authentication request carries at least a first regional identifier of a regional authentication network domain where the end node to be authenticated is located;
[0254] An authentication success response receiving unit 920 is used to receive an authentication success response returned by the trusted proxy edge node, wherein the authentication success response carries an authentication certificate and is returned by the trusted proxy edge node after verifying that the first area identifier has passed;
[0255] The regional authentication network domain is determined based on the end node set of each edge node in the network area where the end node to be authenticated is located. The end node set is a set of all end nodes that establish node association with the edge node.
[0256] It should be noted that the end node authentication device provided by the present invention can execute the end node authentication method applied to the end node to be authenticated described in any of the above embodiments during specific operation, which will not be described in detail in this embodiment.
[0257] The end node authentication device provided by the present invention no longer performs verification by a unified authentication center when authenticating the end node to join a computing power network. Instead, the end node performs authentication verification on a trusted proxy node in a distributed regional authentication network domain corresponding to the computing power network that it intends to join. This overcomes the performance challenges that unified verification brings to the authentication center in a complex computing power network environment, improves the speed of end node authentication, and avoids the adverse effects of slow authentication speed on the computing performance of the computing power network.
[0258] Fig.10 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Fig.10As shown, the electronic device may include: a processor (Processor) 1010, a communication interface (Communications Interface) 1020, a memory (Memory) 1030 and a communication bus 1040, wherein the processor 1010, the communication interface 1020, and the memory 1030 complete mutual communication through the communication bus 1040. The processor 1010 may call the logic instructions in the memory 1030 to execute the end node authentication method applied to the trusted proxy edge node, the method including but not limited to: receiving an authentication request sent by any end node to be authenticated, the authentication request at least carrying a first regional identifier of the regional authentication network domain where the end node to be authenticated is located;
[0259] Verify the first area identifier, and if the verification passes, return an authentication pass response to the end node to be authenticated, wherein the authentication pass response carries an authentication certificate;
[0260] The regional authentication network domain is determined based on the end node set of each edge node in the network area where the end node to be authenticated is located. The end node set is a set of all end nodes that establish node association with the edge node.
[0261] Or to execute an end node authentication method applied to the end node to be authenticated, the method including but not limited to:
[0262] Sending an authentication request to a trusted proxy edge node, the authentication request carrying at least a first regional identifier of a regional authentication network domain where the end node to be authenticated is located;
[0263] receiving an authentication success response returned by the trusted proxy edge node, wherein the authentication success response carries an authentication certificate and is returned by the trusted proxy edge node after verifying that the first area identifier is passed;
[0264] The regional authentication network domain is determined based on the end node set of each edge node in the network area where the end node to be authenticated is located. The end node set is a set of all end nodes that establish node association with the edge node.
[0265] In addition, the logic instructions in the above-mentioned memory 1030 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.
[0266] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to execute the end node authentication method applied to a trusted proxy edge node provided in the above embodiments, the method including but not limited to: receiving an authentication request sent by any end node to be authenticated, the authentication request at least carrying a first regional identifier of a regional authentication network domain where the end node to be authenticated is located;
[0267] Verify the first area identifier, and if the verification passes, return an authentication pass response to the end node to be authenticated, wherein the authentication pass response carries an authentication certificate;
[0268] The regional authentication network domain is determined based on the end node set of each edge node in the network area where the end node to be authenticated is located. The end node set is a set of all end nodes that establish node association with the edge node.
[0269] Or, the end node authentication method provided in any of the above embodiments and applied to the end node to be authenticated is executed, and the method includes but is not limited to:
[0270] Sending an authentication request to a trusted proxy edge node, the authentication request carrying at least a first regional identifier of a regional authentication network domain where the end node to be authenticated is located;
[0271] receiving an authentication success response returned by the trusted proxy edge node, wherein the authentication success response carries an authentication certificate and is returned by the trusted proxy edge node after verifying that the first area identifier is passed;
[0272] The regional authentication network domain is determined based on the end node set of each edge node in the network area where the end node to be authenticated is located. The end node set is a set of all end nodes that establish node association with the edge node.
[0273] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0274] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0275] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An end node authentication method, characterized in that: Applied to trusted proxy edge nodes, including: Receiving an authentication request sent by any end node to be authenticated, the authentication request at least carrying a first area identifier of a regional authentication network domain where the end node to be authenticated is located; Verify the first area identifier, and if the verification passes, return an authentication pass response to the end node to be authenticated, wherein the authentication pass response carries an authentication certificate; The regional authentication network domain is determined based on the end node set of each edge node in the network area where the end node to be authenticated is located. The end node set is a set of all end nodes that establish node association with the edge node.
2. The end node authentication method according to claim 1, characterized in that: The verifying the first area identifier includes: Obtain a first comparison result of the first regional identifier and a second regional identifier of the regional authentication network domain where the trusted proxy edge node is located; If the first comparison results are consistent, it is determined that the verification is passed.
3. The end node authentication method according to claim 2, characterized in that: If the first comparison result is inconsistent, retrieving a third area identifier from the authentication request of the end node to be authenticated, the third area identifier being the area identifier of the regional authentication network domain where the end node to be authenticated was most recently located; Obtaining a second comparison result between the third area identifier and a fourth area identifier, wherein the fourth area identifier is the area identifier of the regional authentication network domain where the trusted proxy edge node was most recently located; If the second comparison results are consistent, it is determined that the verification is passed.
4. The end node authentication method according to any one of claims 1 to 3, characterized in that: The regional authentication network domain is pre-constructed using the following steps, including: Determine whether the preset trigger condition is met; If it is determined that the conditions are met, computing the identity information hash values of all the end nodes that establish node association with the trusted proxy edge node, and constructing an end node set of the trusted proxy edge node; Broadcasting authentication network domain reconstruction information in the network area, the authentication network domain reconstruction information carries at least the current timestamp, reconstruction notification information and the fingerprint ID and end node set of the trusted proxy edge node; Receiving response information broadcasted by any other edge node in the network area in response to the authentication network domain reconstruction information, the response information at least including a current timestamp, reconstruction feedback information, and a fingerprint ID and an end node set of any other edge node; Counting the proportion of the reconstruction feedback information in the received response information that includes the information of agreeing to reconstruct the authentication network domain; If the proportion is greater than the first threshold, the maximum intersection of all the end node sets is obtained, the regional authentication network domain is constructed, and a local end node list is generated.
5. The end node authentication method according to claim 4, characterized in that: After constructing the regional authentication network domain and generating the local end node list, it also includes: Submitting an authentication application for the regional authentication network domain to an authentication center, the authentication application including a regional identifier of the regional authentication network domain and a list of local end nodes; Receiving the authentication certificate returned by the authentication center, the authentication certificate including the session key between the nodes in the regional authentication network domain; The hash digest of the local end node list, the fingerprint ID of the trusted proxy edge node, the current timestamp and the authentication certificate are broadcasted to synchronize to other edge nodes and each end node in the network area.
6. The end node authentication method according to claim 5, characterized in that: After broadcasting the hash summary of the local end node list, the fingerprint ID of the trusted proxy edge node, the current timestamp and the authentication certificate to synchronize to other edge nodes and each end node in the network area, it also includes: Any two end nodes located in the same regional authentication network domain use the session key to conduct an encrypted conversation.
7. The end node authentication method according to claim 6, characterized in that: Also includes: Before any end node initiates a session request to another end node located in a different regional authentication network domain, a domain entry authentication request is sent to a trusted proxy edge node in the regional authentication network domain where the other end node is located; After the domain entry authentication request, an encrypted conversation is performed between the either end node and the other end node using a session key of the regional authentication network domain where the other end node is located.
8. The end node authentication method according to claim 1, characterized in that: The trusted proxy edge node is regularly elected from all edge nodes in the network area.
9. The end node authentication method according to claim 1, characterized in that: All edge nodes in the network area are pre-registered at the registration center. The registration process of any edge node includes: The edge node sends an edge node registration request to a registration center, where the edge node registration request includes at least identity information of the edge node; After verifying that the identity information is correct, the registration center generates registration information based on bilinear mapping and sends it to the edge node and synchronizes it to the authentication center; The edge node generates an edge node private key and an edge node public key based on the registration information, and sends the edge node private key, the edge node public key and a current timestamp to the registration center; The registration center generates a digital certificate based on its own private key, the edge node public key and the identity information of the edge node, sends it to the edge node and synchronizes it to the blockchain.
10. The end node authentication method according to claim 1, characterized in that: All end nodes in the network area are pre-registered at the registration center. The registration process of any end node includes: The end node sends an end node registration request to a registration center, where the end node registration request includes at least identity information of the end node, and the identity information includes at least information of whether the end node is a fixed end node; The registration center responds to the end node registration request, hashes the identity information of the end node to obtain a first hash value, uses its own private key to hash a random number to obtain a second hash value, and determines a chaotic mapping value according to the first hash value and the second hash value; The registration center uploads the chaotic mapping value and the identity information of the end node to the blockchain and synchronizes them to the end node.
11. The end node authentication method according to claim 4, characterized in that: The determining whether a preset trigger condition is met includes: Determine the proportion of edge nodes in the network area whose number of end nodes is greater than a second threshold; If the proportion is greater than the third threshold, the revenue values of all end nodes are calculated; If the revenue value is greater than a fourth threshold, determining that the preset trigger condition is met; The benefit value is determined based on the regional authentication energy and delay benefit values of all end nodes.
12. An end node authentication method, characterized in that: Applied to the end node to be authenticated, including: Sending an authentication request to a trusted proxy edge node, the authentication request carrying at least a first regional identifier of a regional authentication network domain where the end node to be authenticated is located; receiving an authentication success response returned by the trusted proxy edge node, wherein the authentication success response carries an authentication certificate and is returned by the trusted proxy edge node after verifying that the first area identifier is passed; The regional authentication network domain is determined based on the end node set of each edge node in the network area where the end node to be authenticated is located. The end node set is a set of all end nodes that establish node association with the edge node.
13. An end node authentication device, characterized in that: include: An authentication request receiving unit, configured to receive an authentication request sent by any end node to be authenticated, wherein the authentication request carries at least a first area identifier of a regional authentication network domain where the end node to be authenticated is located; An area identifier verification unit, configured to verify the first area identifier, and return an authentication success response to the end node to be authenticated if the verification is successful, wherein the authentication success response carries an authentication certificate; The regional authentication network domain is determined based on the end node set of each edge node in the network area where the end node to be authenticated is located. The end node set is a set of all end nodes that establish node association with the edge node.
14. An end node authentication device, characterized in that: include: An authentication request sending unit, configured to send an authentication request to a trusted proxy edge node, wherein the authentication request carries at least a first regional identifier of a regional authentication network domain where the end node to be authenticated is located; An authentication success response receiving unit, used to receive an authentication success response returned by the trusted proxy edge node, the authentication success response carrying an authentication certificate, and the authentication success response is returned by the trusted proxy edge node after verifying the first area identifier; The regional authentication network domain is determined based on the end node set of each edge node in the network area where the end node to be authenticated is located. The end node set is a set of all end nodes that establish node association with the edge node.
15. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the end node authentication method according to any one of claims 1 to 12 is implemented.
16. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the end node authentication method according to any one of claims 1 to 12 is implemented.
Citation Information
Patent Citations
Identity authentication method and device
CN107612940A
Distributed authentication method of Internet of Vehicles based on blockchain technology
CN113453170A
Cross-domain identity authentication method based on SGX
CN116015970A
Method and device for realizing one-key login service
CN116318747A
Managing and monitoring infrastructure access in networked environments
US11546763B1
Cited By
Multi-node mutual credit authentication method and system of public key infrastructure system
CN121333634A
