IoT identity authentication method based on alliance chain
Through the decentralized identity authentication method based on the alliance chain, combined with asymmetric encryption algorithms and smart contracts, it solves the problem of traditional IoT devices being vulnerable to attacks, realizes IoT identity authentication with high security and data stability, and ensures Device authentication and data security.
Patent Information
- Application Number
- CN202211081008.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-05
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2042-09-05
AI Technical Summary
The highly centralized identity authentication system of traditional IoT devices is vulnerable to attacks, making it difficult to ensure security and difficult to determine whether the device is under attack, leading to data leakage and unnecessary losses.
Adopting a decentralized identity authentication method based on the alliance chain, combined with asymmetric encryption algorithms and smart contracts, the registration, identity authentication and access control of IoT devices are carried out through the alliance chain, and the SHA256 algorithm is used to generate identity IDs and record them in the blockchain to ensure the security and traceability of equipment information.
Significantly improves the security of IoT devices, prevents data tampering and attacks, reduces the risk of centralized devices in unsafe environments, and allows the system to operate normally even if the device is destroyed, ensuring the reliability of identity authentication and data stability sex.
Smart Images

Figure CN115567198B
Abstract
Description
Technical Field
[0001] The technology of the present invention mainly relates to an identity authentication method, in particular, a method for realizing identity authentication by combining blockchain technology with Internet of Things devices, which belongs to the field of blockchain technology and also to the field of Internet of Things technology. Background Art
[0002] At the beginning of the 21st century, with the rapid development of the Internet of Things, the number of IoT devices in the world has soared to more than 40 billion, and the growth rate of the value of IoT links has exceeded 20%. At the same time, the security of IoT devices has attracted more and more attention from people in every country. IoT data is transmitted through unsafe networks, but it may be attacked or hijacked by some malicious means during the transmission process, resulting in data leakage and unnecessary losses. On the other hand, it is difficult to judge whether existing IoT devices have been attacked, because no matter what means and methods are used, there is no way to avoid IoT devices from being immune to attacks. It can be seen that the traditional IoT is often in an untrusted network, and its security is increasingly difficult to guarantee.
[0003] Traditional IoT identity authentication is highly centralized. These centralized systems have a server cluster to determine the identity authentication, authorization operations, and other contents of IoT devices. Such high concentration on one server is vulnerable to attacks, which can lead to the collapse of the entire system and easily affect the security of the entire identity authentication platform. Therefore, combining decentralization with identity authentication can solve the current dilemma.
[0004] As one of the emerging key technologies in the 21st century, blockchain has the characteristics of high decentralization, unalterable content, smart contracts, etc. Combining blockchain technology with the Internet of Things can effectively ensure the security of IoT devices and the stability of data.
[0005] As one of the variants of blockchain technology, the consortium chain has effectively solved the problem of mutual distrust between multiple nodes. Since the consortium chain is based on the credit generated by the collective endorsement of multiple organizations or institutions, it can greatly improve the efficiency and cost advantages of traditional blockchain. Summary of the invention
[0006] The purpose of this invention is to develop a method that can fully utilize the multi-centralized identity, high defense, traceability and other characteristics of the alliance chain, and combine encryption algorithms to implement an identity authentication method for IoT devices, solving the problem of how the alliance chain and the Internet of Things can assist institutions or organizations to complete identity information registration, information upload, authentication, and access control.
[0007] The technical solution of the present invention is achieved in this way:
[0008] An Internet of Things identity authentication method based on a consortium chain, characterized in that it comprises the following steps:
[0009] Step 1: The IoT node first sends a registration request to the consortium chain. The registration method is as follows:
[0010] (1) Initialize the device, and then the IoT device initiates a registration request to the consortium chain;
[0011] (2) The alliance chain uses the request registration information to obtain the information and device ID information of the IoT device;
[0012] (3) The alliance chain calls the security control function to submit a registration application to the institution;
[0013] (4) If the registration is successful, the institution or organization obtains the device information to obtain the corresponding permissions;
[0014] (5) Once the registration process is completed, the secondary network will automatically create a wallet for the IoT device and send the private key to the device;
[0015] After successful registration, the IoT node submits an identity authentication application to the consortium chain composed of institutions or organizations for the first time;
[0016] Step 2: After the alliance chain receives the IoT device identity authentication request, the IoT device node generates a pair of public and private keys through an asymmetric encryption algorithm. The generated public key is converted into an identity ID using the SHA256 algorithm. After the IoT device node generates the device ID, it sends a joining request to the alliance chain. The alliance chain generates a new block based on the request of the device node and the consensus. The public key of the identity ID is recorded in the block, and the IoT device node information is added to the blockchain network. Various operation permissions are established according to the smart contract. The owner or user of the IoT device is specified in the previous form, and all operations on this device are completed in the form of blockchain transactions, including query, control, and device joining the network.
[0017] Step 3: The alliance chain processes the node information according to the information transmitted by the IoT node. The processing method is as follows:
[0018] (1) The device interaction module of the alliance chain receives the collected IoT device information into the alliance chain;
[0019] (2) The interaction module sends the alliance chain node operation information to the service port;
[0020] (3) At the same time, this information is compared with the access authentication module of the IoT device node;
[0021] (4) If the comparison is successful, the node information of the IoT device is processed and recorded in the alliance chain;
[0022] New blocks are generated according to the consensus algorithm or smart contract. If a new block is generated, the new node information will be stored in a distributed database. The alliance chain uses the information processing unit to process the IoT node that has applied, and sends the node information to the upper-level service interface to achieve information display, traceability, and statistics. If this node information is not the first time that an identity authentication request is made to the alliance chain, the alliance chain will authenticate the device node with the data stored in the distributed database and the data maintained by the alliance chain network itself.
[0023] Compared with the prior art, the advantages of the present invention are obvious, mainly manifested in:
[0024] 1. Identity authentication based on alliance chain ensures the security of IoT device identity from many perspectives;
[0025] 2. By utilizing the principle that blockchain cannot be tampered with, the system can still operate normally even if some IoT device nodes are destroyed or occupied;
[0026] 3. The centralized structure of blockchain nodes and IoT device nodes greatly reduces the risks of centralized devices in unsafe environments. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The present invention has attached Figure 3 width.
[0028] Figure 1 This is the architecture diagram of IoT identity authentication based on the alliance;
[0029] Figure 2 It is the registration flow chart of IoT node devices;
[0030] Figure 3 It is a process diagram of the system completing node authentication. DETAILED DESCRIPTION
[0031] like Figure 1 , 2 , an IoT identity authentication method based on a consortium chain as shown in 3, comprises the following steps:
[0032] Step 1: The IoT node first sends a registration request to the consortium chain. The registration method is as follows:
[0033] (1) Initialize the device, and then the IoT device initiates a registration request to the consortium chain;
[0034] (2) The alliance chain uses the request registration information to obtain the information and device ID information of the IoT device;
[0035] (3) The alliance chain calls the security control function to submit a registration application to the institution;
[0036] (4) If the registration is successful, the institution or organization obtains the device information to obtain the corresponding permissions;
[0037] (5) Once the registration process is completed, the secondary network will automatically create a wallet for the IoT device and send the private key to the device;
[0038] After successful registration, the IoT node submits an identity authentication application to the consortium chain composed of institutions or organizations for the first time;
[0039] Step 2: After the alliance chain receives the IoT device identity authentication request, the IoT device node generates a pair of public and private keys through an asymmetric encryption algorithm. The generated public key is converted into an identity ID using the SHA256 algorithm. After the IoT device node generates the device ID, it sends a joining request to the alliance chain. The alliance chain generates a new block based on the request of the device node and the consensus. The public key of the identity ID is recorded in the block, and the IoT device node information is added to the blockchain network. Various operation permissions are established according to the smart contract. The owner or user of the IoT device is specified in the previous form, and all operations on this device are completed in the form of blockchain transactions, including query, control, and device joining the network.
[0040] Step 3: The alliance chain processes the node information according to the information transmitted by the IoT node. The processing method is as follows:
[0041] (1) The device interaction module of the alliance chain receives the collected IoT device information into the alliance chain;
[0042] (2) The interaction module sends the alliance chain node operation information to the service port;
[0043] (3) At the same time, this information is compared with the access authentication module of the IoT device node;
[0044] (4) If the comparison is successful, the node information of the IoT device is processed and recorded in the alliance chain;
[0045] New blocks are generated according to the consensus algorithm or smart contract. If a new block is generated, the new node information will be stored in a distributed database. The alliance chain uses the information processing unit to process the IoT node that has applied, and sends the node information to the upper-level service interface to achieve information display, traceability, and statistics. If this node information is not the first time that an identity authentication request is made to the alliance chain, the alliance chain will authenticate the device node with the data stored in the distributed database and the data maintained by the alliance chain network itself.
Claims
1. An Internet of Things identity authentication method based on alliance chain, characterized in that: The steps include: Step 1: The IoT node first sends a registration request to the consortium chain. The registration method is as follows: (1) Initialize the device, and then the IoT device initiates a registration request to the consortium chain; (2) The alliance chain uses the request registration information to obtain the information and device ID information of the IoT device; (3) The alliance chain calls the security control function to submit a registration application to the institution; (4) If the registration is successful, the institution or organization obtains the device information to obtain the corresponding permissions; (5) Once the registration process is completed, the secondary network will automatically create a wallet for the IoT device and send the private key to the device; After successful registration, the IoT node submits an identity authentication application to the consortium chain composed of institutions or organizations for the first time; Step 2: After the alliance chain receives the IoT device identity authentication request, the IoT device node generates a pair of public and private keys through an asymmetric encryption algorithm. The generated public key is converted into an identity ID using the SHA256 algorithm. After the IoT device node generates the device ID, it sends a joining request to the alliance chain. The alliance chain generates a new block based on the request of the device node and the consensus. The public key of the identity ID is recorded in the block, and the IoT device node information is added to the blockchain network. Various operation permissions are established according to the smart contract. The owner or user of the IoT device is specified in the previous form, and all operations on this device are completed in the form of blockchain transactions, including query, control, and device joining the network. Step 3: The alliance chain processes the node information according to the information transmitted by the IoT node. The processing method is as follows: (1) The device interaction module of the alliance chain receives the collected IoT device information into the alliance chain; (2) The interaction module sends the alliance chain node operation information to the service port; (3) At the same time, this information is compared with the access authentication module of the IoT device node; (4) If the comparison is successful, the node information of the IoT device is processed and recorded in the alliance chain; New blocks are generated according to the consensus algorithm or smart contract. If a new block is generated, the new node information will be stored in a distributed database. The alliance chain uses the information processing unit to process the IoT node that has applied, and sends the node information to the upper-level service interface to achieve information display, traceability, and statistics. If this node information is not the first time that an identity authentication request is made to the alliance chain, the alliance chain will authenticate the device node with the data stored in the distributed database and the data maintained by the alliance chain network itself.
