abstract |
The invention discloses a trusted data service model of the Internet of Things based on blockchain. The application layer provides system visual interaction entry for different terminals; the service layer adopts the eggjs framework based on nodejs upward to provide service interfaces for the application layer, and the downward adopts web3js Interact with the smart contract layer to realize the business provision function interface; the smart contract layer uses the solidity language to realize the core functions and related business logic of the perception service; the blockchain layer builds a private chain based on the Ethereum platform to realize a distributed blockchain network environment, using its Consensus mechanism, encryption algorithm, timestamp and other technologies help to realize data security storage and data traceability; the storage layer uses the combination of traditional database and IPFS distributed file system to store metadata. The invention provides a more effective solution for Internet of Things data service management, and also provides convenient data interaction means for relevant data analysis departments. |