| Wireless sensor networks(WSN)is a distributed sensing networks formed by several low-cost,simple structured nodes that are self-organized.Wireless sensor networks have been widely used,but the constraints of nodes make the network suffer from security risks such as illegal nodes intercepting data for tampering and attackers disguising themselves as legitimate users to access the network.The emergence of blockchain technology provides strong support to improve the security of wireless sensor networks,however,the nodes are limited in energy,calculation power,and internal storage,and cannot run the traditional blockchain network stably.Therefore,this thesis researched a blockchain-enabled security authentication scheme for wireless sensor networks,proposed a blockchain-enabled energybalanced node security authentication scheme and a blockchain-enabled user security authentication scheme,ran an optimized blockchain system in wireless sensor networks,built a trusted network environment,and solved the wireless sensor network security authentication problem from two aspects: node authentication and user authentication.The main research contents of this thesis are as follows:1.A blockchain-enabled wireless sensor node authentication architecture is proposed for the problem that wireless sensor networks are vulnerable to attackers’ intrusion,and an energy-balanced routing protocol applicable to the architecture is improved for the problem that wireless sensor nodes have limited energy and a short network lifetime.First,a model of the authentication system is proposed to divide the network into three phases: WSN node authentication,routing path construction,and sensing data transmission.Then the blockchain model in the network is constructed,where the cluster head collects the authentication information sent by common nodes to form a microblock,the base station integrates all microblocks into an authentication block,writes it to the blockchain,and then sends the WSN node block containing only the blockhead to all trusted wireless sensor nodes,and all nodes jointly maintain the WSN node blockchain to achieve the trusted transmission of sensory data.Then the routing protocol algorithm under this architecture is improved to select the nodes with better performance to compete as cluster heads for non-uniform clustering and select the nodes with better performance in the cluster heads as relay nodes to undertake the forwarding task to send the micro-blocks to the base station.Finally,experimental simulations and security analysis prove that the scheme can resist various attacks and effectively extend the network lifetime.2.A blockchain-enabled user authentication protocol for wireless sensor networks is proposed to address the problem of high overhead in user access authentication.Firstly,the authentication of users with wireless sensor nodes and base stations is accomplished by sharing authentication parameters and blockchain private parameters,making the protocol resistant to multiple types of attacks.Secondly,using the key system,symmetric encryption is used for user and wireless sensor node authentication,and asymmetric encryption is used for user and base station authentication to ensure the security of information interaction.Then,the relevant parameters of the user are written to the blockchain after the authentication is finished,and the distributed storage of the user authentication data is realized through the blockchain.Finally,the protocol is subjected to non-formal security analysis,BAN logic analysis,and performance comparison to demonstrate that the scheme can reduce computational overhead and resist many forms of attacks in resource-limited wireless sensor networks. |