A multi-node user authentication method based on blockchain technology

By setting up multi-level distributed blockchain access blocks in the blockchain network, sharing data load and enhancing security, data disorders and user access risks caused by excessive tasks are solved by a single blockchain access block.

CN113591050BActive Publication Date: 2025-05-27BLOCK POWER (GUANGZHOU) TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110944169.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-17
Publication Date
2025-05-27
Estimated Expiration
2041-08-17

AI Technical Summary

Technical Problem

When using blockchain for user authentication, a single blockchain access block undertakes too many tasks and huge data, which can easily lead to blockchain data disorder and user access risks.

Method used

The multi-node user authentication method is adopted. By setting up N mesh-shaped distributed blockchain access blocks in the blockchain network and dividing them into N-1 levels for access. Each level of blockchain access block corresponds to two adjacent upper-level blockchain access blocks. The primary access block signs a smart contract and synchronizes to the previous level blockchain access block.

Benefits of technology

It effectively shares the blockchain data load, avoids data disorder, enhances the security and reliability of user access, and completely solves the hidden dangers of user access.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure HDA0003216202150000011
    Figure HDA0003216202150000011
Patent Text Reader

Abstract

The present invention discloses a multi-node user authentication method based on blockchain technology, which includes N meshed distributed blockchain access blocks and is divided into N-1 levels for blockchain access. Among them, each level consists of N-2 blockchain access blocks, and the blockchain access blocks of each sub-level correspond to two adjacent upper-level blockchain access blocks. Among them, the blockchain access block of the access interface at the corresponding level is the primary access area 1. When accessing through the primary access area 1, the primary access area 1 will sign two blockchain smart contracts and synchronize them to the blockchain access blocks at the upper level for access. By setting N meshed distributed blockchain access blocks and differentiating the access to each blockchain by level, the problem of only one blockchain access block for access in the traditional method is solved, thereby sharing data, avoiding the chaos of blockchain data, and completely solving the hidden danger of user access.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of blockchain user authentication, and specifically to a multi-node user authentication method based on blockchain technology. Background Art

[0002] Blockchain technology is a new type of distributed technology that uses a block and chain storage structure to authenticate and store data, uses a consensus algorithm to generate new blocks, uses an asymmetric encryption algorithm to ensure the secure transmission of data in the channel, and uses smart contracts to process data. Blockchain is divided into private chains, consortium chains, and public chains. Essentially, blockchain is a decentralized distributed database. Any user can participate in the blockchain. The router device around the user is a node. Each node has a complete backup of a set of data, and the same consensus mechanism is used between each node. Through competitive computing, the blockchain is generated or updated. Based on the characteristics of the blockchain result, if any one node fails, other nodes can still work normally and can identify which node has failed.

[0003] User authentication (Client Authentication, CA) is an authentication mechanism based on the IP address of the user's client host. It allows the system administrator to customize access permissions for authorized users with a specific IP address. CA is related to the IP address and does not directly restrict the access protocol. No software needs to be added or modified on the server and the client. The system administrator can decide on the authorization of each user, the server resources, application programs, access time, and the number of sessions allowed to be established, etc.

[0004] However, when using blockchain for user authentication currently, there is one blockchain access block for access. As a result, the access tasks borne by the blockchain access block are numerous, the information data is relatively large, and it is very easy to cause chaos in blockchain data, posing potential risks to user access. Summary of the Invention

[0005] The purpose of the present invention is to provide a multi-node user authentication method based on blockchain technology to solve the problem that when using blockchain for user authentication currently, there is one blockchain access block for access. As a result, the access tasks borne by the blockchain access block are numerous, the information data is relatively large, and it is very easy to cause chaos in blockchain data, posing potential risks to user access.

[0006] To achieve the above object, the present invention provides the following technical solution: A multi-node user authentication method based on blockchain technology, including N meshed distributed blockchain access blocks, and divided into N - 1 levels for blockchain access. Among them, each level consists of N - 2 blockchain access blocks, and each blockchain access block at a sub-level corresponds to two adjacent upper-level blockchain access blocks. Among them, the blockchain access block at the access interface level is the primary access area 1;

[0007] When accessing through the primary access area 1, the primary access area 1 will sign two blockchain smart contracts and synchronize them to the blockchain access blocks at the upper level for access;

[0008] When the upper level respectively receives the two blockchain smart contracts from the primary access area 1, decrypt according to the resources stored at the level. After decryption, there is a corresponding resource database at this level, compress the resource data corresponding to the smart contract and send it to the primary access area 1. If there is no corresponding resource database after decompression at this level, this level will re-synthesize a new blockchain smart contract, send the contract to the upper-level blockchain access block, and access in the same way.

[0009] Further, the blockchain access blocks at each level include different databases and different blockchains, and the database and blockchain information corresponding to each upper level is greater than that of the lower level.

[0010] Further, an independent blockchain storage module is set in each blockchain access block at each level for storing the accessed data information.

[0011] Further, exclusive permissions are set for the blockchain access blocks at each level, and each blockchain access block cannot directly access the high-level blockchain access blocks across the permissions of the upper level.

[0012] Further, the primary access area 1 includes a user information recruitment module for recruiting the information data of the accessing users. The recruitment module includes an ID card recognition permission, a face recognition permission, and a writing permission;

[0013] The ID card recognition permission is used to recruit the identity information of the accessing users;

[0014] The face recognition permission is associated with the ID card recognition permission. The information of the accessing users is recruited through face recognition, and the information of the accessing users can be synchronized to the ID card recognition permission by swiping the face;

[0015] The writing permission is synchronously associated with the ID card recognition permission. The accessing users input their own identity information through writing and synchronize the user information to the ID card recognition permission.

[0016] Further, N different level access permissions are set inside each blockchain access block, and each access permission runs independently to generate a separate blockchain smart contract;

[0017] Among them, each access permission running independently to generate a separate blockchain smart contract can only send an access request to the corresponding type of blockchain smart contract at the upper level.

[0018] Further, each level of blockchain access block includes a blockchain rejection block. Each level of rejection block exists and runs independently. Among them, each level of rejection block corresponds to the corresponding permission of the lower-level blockchain access block, and direct authorization is available in the same-level access area 1.

[0019] Further, when a blockchain smart contract that does not belong to this blockchain access block appears at this level, the blockchain smart contract is rejected to the corresponding blockchain access block at the next level through the blockchain rejection block;

[0020] When the blockchain smart contract cannot find the corresponding blockchain access block at the next level through the blockchain rejection block, the blockchain smart contract is directly rejected to the access area 1 through the blockchain rejection block.

[0021] Compared with the prior art, the beneficial effects of the present invention are:

[0022] This multi-node user authentication method based on blockchain technology solves the problem of traditional access using only one blockchain access block by setting up N meshed distributed blockchain access blocks and differentiating access levels for each blockchain, thereby sharing data, avoiding chaos in blockchain data, and completely eliminating potential risks in user access. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 This is a flowchart of a multi-node user authentication method based on blockchain technology according to the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0024] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of them. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of protection of the present invention.

[0025] Embodiment 1

[0026] In combination with Figure 1As shown in the figure, in an embodiment of the present invention, a multi-node user authentication method based on blockchain technology includes N meshed distributed blockchain access blocks, which are divided into N - 1 levels for blockchain access. Among them, each level is composed of N - 2 blockchain access blocks, and each sub-level blockchain access block corresponds to two adjacent upper-level blockchain access blocks. Among them, the blockchain access block of the access interface at the level is the primary access area 1.

[0027] When accessing through the primary access area 1, the primary access area 1 will sign two blockchain smart contracts and synchronize them to the blockchain access block at the upper level for access.

[0028] When the upper level respectively accepts the two blockchain smart contracts of the primary access area 1, it decrypts according to the resources stored at the level. After decryption, there is a corresponding resource database at this level. It compresses the resource data corresponding to the smart contract and sends it to the primary access area 1. If there is no corresponding resource database after decompression, this level will re-synthesize a new blockchain smart contract, send this contract to the upper-level blockchain access block, and access in the same way.

[0029] In this embodiment, this multi-node user authentication method based on blockchain technology solves the problem of traditional access with only one blockchain access block by setting N meshed distributed blockchain access blocks and differentiating access levels for each blockchain block, thereby sharing data, avoiding the chaos of blockchain data, and completely solving the hidden danger of user access.

[0030] Embodiment Two

[0031] A multi-node user authentication method based on blockchain technology includes N meshed distributed blockchain access blocks, which are divided into N - 1 levels for blockchain access. Among them, each level is composed of N - 2 blockchain access blocks, and each sub-level blockchain access block corresponds to two adjacent upper-level blockchain access blocks. Among them, the blockchain access block of the access interface at the level is the primary access area 1.

[0032] When accessing through the primary access area 1, the primary access area 1 will sign two blockchain smart contracts and synchronize them to the blockchain access block at the upper level for access.

[0033] When the upper level respectively accepts the two blockchain smart contracts of the primary access area 1, it decrypts according to the resources stored at the level. After decryption, there is a corresponding resource database at this level. It compresses the resource data corresponding to the smart contract and sends it to the primary access area 1. If there is no corresponding resource database after decompression, this level will re-synthesize a new blockchain smart contract, send this contract to the upper-level blockchain access block, and access in the same way.

[0034] The blockchain access blocks at each level include different databases and different blockchains, and the databases and blockchain information corresponding to the previous level are larger than those of the next level.

[0035] An independent blockchain storage module is set in each blockchain access block at each level for storing the accessed data information.

[0036] Among them, the blockchain storage module at each level is directly authorized with the primary access area 1, and the accessing user can directly view the information data of the accessing user through the primary access area 1 terminal.

[0037] And there is a permission association between the blockchain storage module and the recruitment module. When the user conducts secondary access and accesses through any one of the ID card recognition permission, face recognition permission, and writing permission, the blockchain storage module will synchronously feedback the information to the primary access area 1 for the user to view correspondingly.

[0038] Each level of blockchain access block is set with exclusive permissions, and each blockchain access block cannot directly access the high-level blockchain access block across the permissions of the previous level.

[0039] The primary access area 1 includes a recruitment module for user information, which is used to recruit the information data of the accessing user. The recruitment module includes ID card recognition permission, face recognition permission, and writing permission;

[0040] The ID card recognition permission is used to record the identity information of the accessing user;

[0041] The face recognition permission is associated with the ID card recognition permission. The information of the accessing user is recorded through face recognition, and the information of the accessing user can be synchronized to the ID card recognition permission by swiping the face;

[0042] The writing permission is synchronously associated with the ID card recognition permission. The accessing user inputs his own identity information through writing and synchronizes the user information to the ID card recognition permission.

[0043] Embodiment Three

[0044] Combining Embodiment One and Embodiment Two shows that:

[0045] A multi-node user authentication method based on blockchain technology includes N mesh-structured distributed blockchain access blocks, and the blockchain access is divided into N - 1 levels. Among them, each level is composed of N - 2 blockchain access blocks, and each blockchain access block at each sub-level corresponds to two adjacent upper-level blockchain access blocks. Among them, the blockchain access block at the access interface level is the primary access area 1.

[0046] When accessing through the primary access area 1, the primary access area 1 will sign two blockchain smart contracts and synchronize them to the blockchain access block at the upper level for access.

[0047] When the two blockchain smart contracts of the primary access area 1 are respectively accepted by the upper level, the resources stored according to the level are decrypted. After decryption, there is a corresponding resource database at that level. The resource data corresponding to the smart contract is compressed and sent to the primary access area 1. If there is no corresponding resource database at that level after decompression, that level will re-synthesize a new blockchain smart contract and send the contract to the upper-level blockchain access block for access in the same way.

[0048] Each blockchain access block is internally set with N different level access permissions, and each access permission runs independently to generate a separate blockchain smart contract;

[0049] Among them, each access permission running independently to generate a separate blockchain smart contract can only be sent to the corresponding type of blockchain smart contract at the upper level for access.

[0050] Each level of blockchain access block includes a blockchain rejection block. Each level of rejection block exists and runs independently. Among them, each level of rejection block corresponds to the corresponding permission of the lower-level blockchain access block, and the same-level access area 1 can directly authorize.

[0051] When a blockchain smart contract that is not of this blockchain access block appears at this level, the blockchain smart contract is rejected to the corresponding blockchain access block at the next level through the blockchain rejection block;

[0052] When the blockchain smart contract does not find the corresponding blockchain access block at the next level through the blockchain rejection block, the blockchain smart contract is directly rejected to the access area 1 at the first level through the blockchain rejection block.

[0053] To sum up, this multi-node user authentication method based on blockchain technology solves the problem of only one blockchain access block for access in the traditional method by setting up N meshed distributed blockchain access blocks and differentiating access levels for each blockchain, thereby sharing data, avoiding chaos in blockchain data, and completely solving the hidden danger of user access.

[0054] For those skilled in the art, it is obvious that the present invention is not limited to the details of the above-described exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic characteristics of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of the present invention is defined by the appended claims rather than the above description. Therefore, all changes falling within the meaning and scope of the equivalent elements of the claims are intended to be embraced within the present invention. Any reference signs in the claims should not be construed as limiting the claims involved.

[0055] In addition, it should be understood that although this specification is described according to embodiments, not every embodiment only contains an independent technical solution. This narrative way of the specification is only for clarity. Those skilled in the art should regard the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.

Claims

1. A multi-node user authentication method based on blockchain technology, characterized in that, it includes N mesh-constructed distributed blockchain access blocks, and is divided into N - 1 levels for blockchain access. Among them, each level consists of N - 2 blockchain access blocks. Each blockchain access block at the sub-level corresponds to two adjacent blockchain access blocks at the upper level. Among them, the blockchain access block at the level of the access interface is the primary access area 1; when accessing through the primary access area 1, the primary access area 1 will sign two blockchain smart contracts and synchronize them to the blockchain access block at the upper level for access; when the upper level respectively receives the two blockchain smart contracts from the primary access area 1, it decrypts according to the resources stored at the level. After decryption, there is a corresponding resource database at this level, and it compresses the resource data corresponding to the smart contract and sends it to the primary access area 1. If there is no corresponding resource database after decompression, this level will re-synthesize a new blockchain smart contract, send this contract to the blockchain access block at the upper level, and access in the same way; each level of blockchain access block includes different databases and different blockchains, and the database and blockchain information corresponding to each upper level is greater than that of the lower level; an independent blockchain storage module is set in each blockchain access block at each level for storing the accessed data information; each level of blockchain access block is set with exclusive permissions, and each blockchain access block cannot directly access the blockchain access block at a higher level across the permissions of the upper level; the primary access area 1 includes a user information recruitment module for recruiting the information data of the accessing user. The recruitment module includes an ID card recognition permission, a face recognition permission, and a writing permission; the ID card recognition permission is used to recruit the identity information of the accessing user; the face recognition permission is associated with the ID card recognition permission. The accessing user information is recruited through face recognition, and the accessing user information can be synchronized to the ID card recognition permission by swiping the face; the writing permission is synchronously associated with the ID card recognition permission. The accessing user inputs his own identity information through writing and synchronizes this user information to the ID card recognition permission; N different level access permissions are set inside each blockchain access block, and each access permission runs independently to generate a separate blockchain smart contract; among them, each access permission running independently to generate a separate blockchain smart contract can only be sent to the corresponding type of blockchain smart contract at the upper level for access; each level of blockchain access block includes a blockchain rejection block. Each level of rejection block exists and runs independently. Among them, each level of rejection block corresponds to the corresponding permission of the blockchain access block at the lower level, and can be directly authorized by the same-level access area 1; when a blockchain smart contract that is not the blockchain access block of this level appears at this level, the blockchain smart contract is rejected to the corresponding blockchain access block at the next level through the blockchain rejection block; When the blockchain smart contract rejects a block through the blockchain and fails to find the corresponding blockchain access block at the next level, the blockchain smart contract is directly rejected to the level 1 access area through the blockchain rejected block.

Citation Information

Patent Citations

  • Alliance multi-node network identity authentication method based on blockchain technology

    CN111490968A

  • Front-end user interface for confidential transactions

    US20190349343A1