| As a kind of wireless sensor network with special topological structure,chain-type wireless sensor network is widely used in the monitoring of long and narrow areas such as national border line,road traffic and underground mine.With the large-scale popularization of Internet of things technology,the wireless sensor network,which is an important part of its perception layer,has been more widely and deeply deployed.However,wireless sensor network has some limitations in computing,storage capacity and energy due to its low node price.Therefore,how to improve network security under resource-limited conditions has become a hot topic of research.As one of the underlying technologies of bitcoin,blockchain relies on mathematical means and data structure to guarantee its security and reliability.Its successful application in Internet of things devices provides a new solution for wireless sensor network security.This paper firstly analyzes the core part of the block chain technology,and deeply studies and understands the block head structure,Merkle tree structure and query.The existing clustering algorithms of wireless sensor networks such as non-uniform clustering and location-based clustering are studied,and the distribution characteristics of nodes in chain wireless sensor networks are analyzed.Considering the limited resources of wireless sensor nodes,this paper proposes a PEGASIS routing extension protocol based on block chain technology grouping authentication.This extended protocol firstly introduces a probabilistic model based on the distribution of nodes and uses the model to calculate the number of groups.Then,the Merkle tree is used to construct the block information of group members,and the trust in the group is built through the block information to achieve the goal of grouping authentication.Deaths occurred when a node in the network,this paper puts forward scheme need only death's group internal nodes to certification,into a chain to replace traditional protocol of the whole network into a chain again,to ensure the safety of the identity of each node is reliable,on the basis of eliminating the base station side a lot of identity authentication process,and also effectively reduces the communication overhead of other nodes,the network has obvious prolong service life.Through analysis and simulation experiments,it is proved that the scheme proposed in this paper significantly improves the security and reliability of chain-linked wireless sensor networks based on the mutual trust among group members established based on blockchain technology.For the extended protocol,the network life is not reduced as a result.On the contrary,after the node begins to die,because the link reconstruction within the group saves a lot of communication overhead of the node compared with the whole network reconstruction,it delays the death time of other nodes and prolongs the whole network life cycle. |