The invention discloses a credible power
access control method based on a block chain, the method is realized based on a
data system in a distributed environment, and the
system consists of a front-end
web page and the block chain. Due to the characteristics of the block chain, the storage performance of the platform is weak, and the platform only stores the
data access address without providing adata storage function. Wherein the front end consists of a Vue framework and Web3.Js for calling a block link port; the block chain platform uses an Ethereum platform, the
Solidity language is used on the Ethereum platform to compile the logic of the intelligent contract, and as the
Solidity language realizes the complete intelligent contract
programming of the graph, the method is based on the private chain deployed by the Ethereum platform. According to the method, the problem that
divergence and conflicts may be generated after
data exchange among users is solved through power and
energy exchange operation chaining, the problem is rapidly positioned, and objective, real and effective proof is provided; and the management cost and the maintenance cost are greatly reduced, and meanwhile,the risks of attacks, privacy leakage and the like caused by
centralized management are also avoided.