The embodiment of the invention provides a safe 6LoWPAN communication method and
system based on a block chain. The method comprises the following steps: constructing a plurality of 6LoWPAN boundary gateways into nodes on a block
chain network; electing a master node, and taking the rest nodes as slave nodes; enabling the master node to
package a transaction
list, including transaction informationreflecting node operation conditions and / or security factors, of each node into a block, and enabling each node to verify and chain the legality of the block through a block
consensus algorithm; andacquiring malicious nodes and
cutting off an upper cloud channel in the
verification process. According to the embodiment of the invention, a plurality of 6LoWPAN boundary gateways form a block chain;transaction lists are generated from transaction information reflecting node operation conditions and / or security factors and packaged into blocks, the blocks are chained through a block
consensus algorithm, malicious nodes are confirmed in the block
verification process, the security of the 6LoWPAN
wireless sensor network is improved, and the 6LoWPAN communication method and
system are convenient to trace afterwards.