IoT sensors collect,store,and process massive amounts of data,which are directly related to the data security of the country,society,enterprises,and people.On the basis of the study of blockchain technology,IPFS and cryptography technology,us-ing the characteristics of blockchain,such as traceability,collective maintenance and non-tampering,combined with the distributed storage and non-tampering characteristics of IPFS,and using attribute-based encryption,proxy re-encryption and ciphertext search-able technology,a trusted storage model of IoT sensors data based on blockchain technology is proposed,a decentralized zero-trust storage environment is constructed,and the trusted storage and secure sharing of IoT sensor data are realized.It has great applica-tion value for improving the security of IoT sensor data.