| With the rapid development of technologies such as mobile internet,cloud computing,big data,and artificial intelligence,the Internet of Things(Io T)has emerged as a new paradigm for information technology and industrial advancement.Io T technology integrates various technologies,including sensors,smart devices,networking,and cloud computing,to enable interconnection and data sharing among devices.Io T facilitates intelligent interactions and data sharing between devices,leading to improved productivity,cost reduction,and enhanced quality of life.However,Io T faces challenges related to security,as data is vulnerable to theft,tampering,and other attacks.Additionally,Io T devices have limited storage capacity,making it difficult to store large amounts of data.Furthermore,data transmission consumes substantial resources,and Io T nodes have limited energy,rendering traditional security solutions impractical.Therefore,ensuring data reliability on resource-constrained Io T devices is a pressing problem that needs to be addressed.One potential solution to address the aforementioned challenges is the utilization of blockchain technology.However,traditional blockchain requires each node to store the complete transaction ledger and broadcast every transaction across the network,resulting in high resource consumption,making it unsuitable for resource-constrained Io T devices.To overcome this,this paper proposes a novel approach to ensure data reliability.Firstly,a dual-layer directed acyclic graph(DAG)data chain storage structure is designed,enabling Io T devices to store only the summary information of data generated by neighboring devices,minimizing node storage requirements.Subsequently,a proof-of-path consensus algorithm is devised,enabling Io T nodes to verify the reliability of other nodes’ data while consuming fewer communication resources.The key contributions of this paper are as follows:(1)This research presents a solution that separates the physical and logical layers to address data reliability and storage issues in Io T,namely the dual-layer directed acyclic graph data chain storage structure.This solution allows Io T nodes to store only the block summary information of neighboring nodes,thereby saving node storage space.Moreover,this structure adopts a directed acyclic graph chain structure,making data resistant to tampering and ensuring data reliability,thus safeguarding against attacks.Simulation experiments demonstrate that the average node storage requirement of the dual-layer directed acyclic graph data chain storage structure is one order of magnitude lower than that of PBFT and IOTA,with no significant impact on the overall network.(2)To reduce the communication consumption of Io T nodes,this thesis proposes a novel proof-of-path consensus mechanism that selects the minimum number of nodes as the consensus path,thereby saving network-wide resource consumption.Additionally,this consensus mechanism can withstand common attack patterns.Simulation results show that in the dual-layer directed acyclic graph data chain storage structure,the communication cost of using the proof-of-path consensus is three orders of magnitude lower than that of traditional blockchain and directed acyclic graph-based blockchain.Furthermore,even with 49%malicious nodes,this solution can achieve consensus. |