A blockchain node user-based identity authentication encryption method

By constructing a user identity information database and utilizing real-time monitoring and encryption, the problem of insufficient key security in blockchain node authentication is solved, enabling a more secure and flexible authentication method and improving the encryption strength of blockchain nodes and user experience.

CN116743344BActive Publication Date: 2026-05-01HEBI CRYPTOADVANCED TECH RES INST
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HEBI CRYPTOADVANCED TECH RES INST
Filing Date
2023-07-07
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

Existing blockchain node authentication algorithms rely on outdated key databases, resulting in insufficient security of encryption keys and reduced security strength of authentication.

Method used

A user identity information database is constructed. By monitoring the real-time status and timestamps of blockchain nodes, character data is randomly selected as key components to encrypt user IPs. Encryption and decryption processes are performed when user identity information is uploaded. Data is protected using one-way encryption, symmetric encryption, asymmetric encryption, encryption salts, and hash functions.

Benefits of technology

It improves the security and encryption strength of blockchain node user authentication, provides a better user experience and controllability, and enhances the flexibility and security of keys.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116743344B_ABST
    Figure CN116743344B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of block chain, and particularly relates to a kind of identity authentication encryption method based on block chain node user, comprising the following steps: step 1: build user identity information database, obtain user identity information data in database storage;Step 2: traversing reading the user identity information data stored in database, extract character data in the user identity information data stored in database, and apply character data to build the encryption database used when user is authenticated on block chain node;The method in the present application further constructs the key database with the identity information of the user on the basis of the encryption algorithm used when the existing block chain node user is authenticated in the process of executing its steps, so that the further encryption of the key database constructed is applied when the block chain node user is authenticated, so that the block chain node user is more secure when being authenticated.
Need to check novelty before this filing date? Find Prior Art

Description

An Encryption Method for Authentication of Blockchain Node Users Technical Field

[0001] This invention relates to the field of blockchain technology, and more specifically to an encryption method for identity verification of blockchain node users. Background Technology

[0002] A blockchain is a chain of blocks. Each block stores specific information, and these blocks are linked together in chronological order of their creation. This chain is stored on all servers, and as long as at least one server in the system is operational, the entire blockchain is secure. These servers are called nodes in the blockchain system, and they provide storage space and computing power. To modify information in the blockchain, the consent of more than half of the nodes must be obtained, and the information in all nodes must be modified. Since these nodes are usually controlled by different entities, tampering with information in the blockchain is extremely difficult. Compared to traditional networks, blockchain has two core characteristics: data is difficult to tamper with, and it is decentralized. Based on these two characteristics, the information recorded by the blockchain is more authentic and reliable, helping to solve the problem of mutual distrust.

[0003] However, existing blockchain node authentication algorithms often rely on a designated key database to iterate and generate verification keys. Because keys are obtained in this way, the iteration of the key database is particularly important for the security of the application's verification keys. However, the key database currently used for blockchain node authentication is too outdated and has not been updated for a long time, which reduces the security strength of the encryption keys in the authentication process to a certain extent. Summary of the Invention

[0004] Technical problems to be solved

[0005] In view of the above-mentioned shortcomings of the existing technology, the present invention provides an authentication encryption method based on blockchain node users, which solves the technical problems mentioned in the background.

[0006] Technical solution

[0007] To achieve the above objectives, the present invention provides the following technical solution:

[0008] An authentication encryption method for blockchain node users includes the following steps:

[0009] Step 1: Build a user identity information database and store user identity information data in the database;

[0010] Step 2: Iterate through and read the user identity information data stored in the database, extract character data from the user identity information data stored in the database, and use the character data to construct the encrypted database used by the user when performing identity verification operations on the blockchain node;

[0011] Step 3: Monitor the real-time occupancy status of blockchain nodes in the network;

[0012] Step 4: When a blockchain node in the network is detected to be in an occupied state, randomly select character data from the encryption database as key components to form a key, and use the key to encrypt the IP of the user accessing the blockchain node;

[0013] Step 5: Obtain the timestamp of the user accessing the blockchain node, set the monitoring period, and analyze the high-frequency time periods of each recorded timestamp within the monitoring period;

[0014] Step 6: Monitor the timestamps of user access to blockchain nodes in real time, analyze whether the detected timestamps are in high-frequency periods, and analyze the similarity between the monitored timestamps and the timestamps obtained within the monitoring period in Step 5.

[0015] Furthermore, the user identity information data obtained in step 1 is manually uploaded by the user terminal. The user identity information data includes: user name, user account, user IP address, and user network type.

[0016] Furthermore, in step 1, during the process of uploading user identity information data to the database for storage, the user identity information data is encrypted during the upload phase and decrypted when the user identity information data arrives at the database.

[0017] The encryption of user identity information data can be performed using any one of the following methods: one-way encryption, symmetric encryption, asymmetric encryption, encryption salt, or hash function.

[0018] Furthermore, the character data extracted from the user identity information data stored in the database in step 2 includes: numbers, characters, letters, and punctuation marks;

[0019] In step 1, when the user identity information data stored in the database is updated, step 2 simultaneously extracts character data from the newly loaded user identity information data, and the newly extracted character data is synchronously loaded into the encrypted database.

[0020] Furthermore, in step 3, the operation of monitoring the real-time occupancy status of the blockchain in the network is carried out by manually setting a monitoring period on the user terminal. When monitoring the real-time occupancy status of the blockchain in the network in step 3, the real-time occupancy status of the blockchain in the network is monitored in real time according to the monitoring period manually set by the user terminal.

[0021] Furthermore, in step 4, when randomly selecting character data from the encrypted database as a key component, the number of character data contained in the key is manually set by the user.

[0022] When the user manually sets the number of character data contained in the key, it is further set according to the corresponding number of numbers, characters, letters and punctuation marks contained in the key. The number of character data contained in the key shall not be less than three groups and not more than eleven groups.

[0023] Furthermore, step 4 has sub-steps, including:

[0024] Step 41: Set up the cloud database and use the cloud database to receive the key generated in step 4;

[0025] In step 41, each time a key is generated in step 4, the key generated in step 4 is synchronously traversed and searched for identical items against the key stored in the cloud database. If an identical item is found, step 4 is reset and the key is regenerated; otherwise, step 5 is executed.

[0026] Furthermore, in step 5, the high-frequency time period used for each recorded timestamp within the monitoring period shall be no less than one hour and no more than three hours.

[0027] Furthermore, the operations in step 6, which analyze whether the detected timestamp is in a high-frequency period and analyze the similarity between the detected timestamp and the timestamp obtained within the monitoring period in step 5, can be performed by the user client through a custom selection to execute one or all of them.

[0028] Furthermore, during the execution of step 6, a similarity judgment threshold is manually set by the user. When it is detected that the timestamp of the user's access to the blockchain node is not in a high-frequency period and does not meet the similarity judgment threshold, the user's identity information data is verified again after the user enters the key for identity verification.

[0029] Beneficial effects

[0030] Compared with known public technologies, the technical solution provided by this invention has the following beneficial effects:

[0031] 1. This invention provides an encryption method for identity verification of blockchain node users. In the process of executing its steps, the method further constructs a key database based on the user's identity information on the basis of the existing encryption algorithm used for identity verification of blockchain node users. The constructed key database is then used to further encrypt the identity verification of blockchain node users, making the identity verification of blockchain node users more secure.

[0032] 2. In the process of executing its steps, the method of the present invention can also limit the key designed by the method. By adjusting the composition and length of the key, the verification key can be made more controllable, thereby providing users of the method with a better user experience. Attached Figure Description

[0033] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are merely some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without any creative effort.

[0034] Figure 1 is a flowchart illustrating an authentication encryption method for blockchain node users. Detailed Implementation

[0035] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.

[0036] The present invention will be further described below with reference to embodiments.

[0037] Example 1

[0038] This embodiment of an authentication encryption method for blockchain node users, as shown in Figure 1, includes the following steps:

[0039] Step 1: Build a user identity information database and store user identity information data in the database;

[0040] Step 2: Iterate through and read the user identity information data stored in the database, extract character data from the user identity information data stored in the database, and use the character data to construct the encrypted database used by the user when performing identity verification operations on the blockchain node;

[0041] Step 3: Monitor the real-time occupancy status of blockchain nodes in the network;

[0042] Step 4: When a blockchain node in the network is detected to be in an occupied state, randomly select character data from the encryption database as key components to form a key, and use the key to encrypt the IP of the user accessing the blockchain node;

[0043] Step 5: Obtain the timestamp of the user accessing the blockchain node, set the monitoring period, and analyze the high-frequency time periods of each recorded timestamp within the monitoring period;

[0044] Step 6: Monitor the timestamps of user access to blockchain nodes in real time, analyze whether the detected timestamps are in high-frequency periods, and analyze the similarity between the monitored timestamps and the timestamps obtained within the monitoring period in Step 5.

[0045] In this embodiment, through the execution of steps 1 to 6, a key database is further constructed based on the user's identity information on the basis of the existing encryption algorithm used by blockchain node users when performing identity verification. This constructed key database is then further applied to the encryption of blockchain node users when performing identity verification, making the identity verification of blockchain node users more secure.

[0046] Example 2

[0047] At the implementation level, based on Example 1, this example further describes a blockchain node user authentication encryption method in Example 1 with reference to Figure 1:

[0048] The user identity information data obtained in step 1 is manually uploaded by the user. The user identity information data includes: user name, user account, user IP address, and user network type.

[0049] As shown in Figure 1, in step 1, during the process of uploading user identity information data to the database for storage, the user identity information data is encrypted during the upload stage and decrypted when the user identity information data arrives at the database.

[0050] The encryption of user identity information data can be performed using any one of the following methods: one-way encryption, symmetric encryption, asymmetric encryption, encryption salt, or hash function.

[0051] As shown in Figure 1, the character data extracted from the user identity information data stored in the database in step 2 includes: numbers, characters, letters, and punctuation marks;

[0052] In step 1, when the user identity information data stored in the database is updated, step 2 simultaneously extracts character data from the newly loaded user identity information data, and the newly extracted character data is synchronously loaded into the encrypted database.

[0053] As shown in Figure 1, in step 3, the operation of monitoring the real-time occupancy status of the blockchain in the network is carried out by manually setting a monitoring period on the user terminal. When monitoring the real-time occupancy status of the blockchain in the network in step 3, the real-time occupancy status of the blockchain in the network is monitored in real time according to the monitoring period manually set by the user terminal.

[0054] Example 3

[0055] At the implementation level, based on Example 1, this example further describes a blockchain node user authentication encryption method in Example 1 with reference to Figure 1:

[0056] Step 4: When randomly selecting character data from the encryption database as a key component, the number of character data contained in the key can be manually set by the user.

[0057] When the user manually sets the number of character data contained in the key, it is further set according to the corresponding number of numbers, characters, letters and punctuation marks contained in the key. The number of character data contained in the key shall not be less than three groups and not more than eleven groups.

[0058] As shown in Figure 1, step 4 has sub-steps, including:

[0059] Step 41: Set up the cloud database and use the cloud database to receive the key generated in step 4;

[0060] In step 41, each time a key is generated in step 4, the key generated in step 4 is synchronously traversed and searched for identical items against the key stored in the cloud database. If an identical item is found, step 4 is reset and the key is regenerated; otherwise, step 5 is executed.

[0061] As shown in Figure 1, in step 5, the high-frequency time period used for each recorded timestamp within the monitoring period shall be no less than one hour and no more than three hours.

[0062] As shown in Figure 1, the operations in step 6, which analyze whether the detected timestamp is in a high-frequency period and analyze the similarity between the detected timestamp and the timestamp obtained in step 5 within the monitoring period, can be performed by the user client by selecting to execute one or all of them.

[0063] As shown in Figure 1, during the execution of step 6, a similarity judgment threshold is manually set by the user. When it is detected that the timestamp of the user accessing the blockchain node is not in a high-frequency period and does not meet the similarity judgment threshold, the user identity information data is verified again after the user enters the key for identity verification.

[0064] In summary, the method in the above embodiments, during its execution, builds a key database based on the existing encryption algorithm used by blockchain node users for identity verification. This key database is then used for further encryption during blockchain node user identity verification, making the verification process more secure. Furthermore, the method can also limit the keys designed using this method, adjusting their composition and length to make the verification keys more controllable, thus providing users with a better user experience.

[0065] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions will not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A blockchain node user authentication encryption method, characterized in that, Includes the following steps: Step 1: Construct a user identity information database and store user identity information data in the database; Step 2: Iterate through and read the user identity information data stored in the database, extract character data from the stored user identity information data, and use the character data to construct an encrypted database used by users when performing identity verification operations on blockchain nodes; Step 3: Monitor the real-time occupancy status of blockchain nodes in the network; Step 4: When a blockchain node in the network is detected to be in an occupied state, randomly select character data from the encrypted database as a key component to form a key, and use the key to encrypt the user IP accessing the blockchain node; Step 5: Obtain the timestamp of the user's access to the blockchain node, set a monitoring period, and analyze the high-frequency time periods of each recorded timestamp within the monitoring period; Step 6: Monitor the timestamps of user access to blockchain nodes in real time, analyze whether the detected timestamps are in high-frequency periods, and analyze the similarity between the monitored timestamps and the timestamps obtained within the monitoring period in Step 5.

2. The method for encrypting identity verification of blockchain node users according to claim 1, characterized in that, The user identity information data obtained in step 1 is manually uploaded by the user. The user identity information data includes: user name, user account, user IP address, and user network type.

3. The method for encrypting identity verification of blockchain node users according to claim 2, characterized in that, In step 1, during the process of uploading user identity information data to the database for storage, the user identity information data is encrypted during the upload phase and decrypted when it arrives at the database. The encryption of user identity information data can be performed using any one of the following methods: one-way encryption, symmetric encryption, asymmetric encryption, encryption salt, or hash function.

4. The method for encrypting identity verification of blockchain node users according to claim 1, characterized in that, The character data extracted from the user identity information data stored in the database in step 2 includes: numbers, characters, letters and punctuation marks; wherein, when the user identity information data stored in the database constructed in step 1 is updated in the database, step 2 simultaneously extracts character data from the newly loaded user identity information data, and the newly extracted character data is simultaneously loaded into the encrypted database.

5. The method for encrypting identity verification of blockchain node users according to claim 1, characterized in that, In step 3, the operation of monitoring the real-time occupancy status of the blockchain in the network is carried out by manually setting a monitoring period on the user terminal. When monitoring the real-time occupancy status of the blockchain in the network in step 3, the real-time occupancy status of the blockchain in the network is monitored in real time according to the monitoring period manually set by the user terminal.

6. The method for encrypting identity verification of blockchain node users according to claim 1, characterized in that, In step 4, when randomly selecting character data from the encrypted database as a key component, the user terminal manually sets the number of character data contained in the key. When manually setting the number of character data contained in the key, the user terminal further sets the number of numbers, characters, letters, and punctuation marks contained in the key. The number of character data contained in the key is no less than three groups and no more than eleven groups.

7. The method for encrypting identity verification of blockchain node users according to claim 1, characterized in that, Step 4 has sub-steps, including: Step 41: Set up a cloud database and use the cloud database to receive the key generated in Step 4; wherein, each time a key is generated in Step 4, Step 41 synchronously searches for the same key against the key generated in Step 4 using the key stored in the cloud database. If a matching key is found, Step 4 is reset and regenerated; otherwise, Step 5 is executed.

8. The method for encrypting identity verification of blockchain node users according to claim 1, characterized in that, In step 5, the high-frequency time period used for each recorded timestamp within the monitoring period shall be no less than one hour and no more than three hours.

9. The method for encrypting identity verification of blockchain node users according to claim 1, characterized in that, The operations in step 6, which analyze whether the detected timestamp is in a high-frequency period and analyze the similarity between the detected timestamp and the timestamp obtained within the monitoring period in step 5, can be performed by the user client through a custom selection to execute one or all of them.

10. The method for encrypting identity verification of blockchain node users according to claim 1, characterized in that, When step 6 is executed, a similarity judgment threshold is manually set by the user. If the timestamp of the user's access to the blockchain node is not in a high-frequency period and does not meet the similarity judgment threshold, the user's identity information data is verified again after the user enters the key for identity verification.

Citation Information

Patent Citations

  • Real name authentication method and device based on block chain, and identity block chain

    CN109039655A

  • Encrypted communication method and system based on block chain technology

    CN116132118A