| The application of smart grid can improve the reliability of power supply and enhance the monitoring of power load and equipment status,while the development and application of power data is conducive to further promote the carbon neutrality policy.At present,there are some problems in the smart grid scenario,such as weak privacy,poor security sharing,excessive load in the cloud center and so on.The decentralized and tamper proof characteristics of blockchain,and the advantages of distributed storage and efficient data processing by edge computing,provide corresponding solutions for the collection and sharing of power data in smart grid.Mainly completed the following work:(1)Research on smart grid data aggregation based on alliance chain.How to balance the privacy,integrity,flexible data query and data availability of power consumption data is the key problem in smart grid aggregation data.Therefore,proposed a smart grid data aggregation scheme based on alliance chain.Integrating edge computing and blockchain technology,a two-tier data aggregation framework is designed;Integrate the improved BGN encryption algorithm to realize multiple calculations of power consumption data in specific areas;Use key chain instead of trusted third party.The scheme can ensure the privacy and integrity of users’ power consumption data in the whole scheme.Through experimental comparison,it has lower computing cost and key distribution time,and is more practical in smart grid scenarios.(2)Research on smart grid data sharing based on double alliance chain.The power grid ECS data sharing based on blockchain has difficulties in data sharing and risk of privacy disclosure.Proposed a smart grid data sharing scheme based on double alliance chain(DSDCB).Based on the interstellar file system(IPFS)and combined with the alliance chain,the power big data is stored under the chain and the IPFs file fingerprint is stored on the chain.Used multi signature notary to realize data security across the chain.Under the condition of ensuring that privacy is not leaked,used proxy re-encryption technology realize secure data sharing.DSDCB can resist replay attack,intermediary attack and other attacks.Simulation comparison shows that the scheme achieves the expected effect.(3)Research on secure multi-party data sharing in smart grid with double alliance chain.Multiple nodes independently request data sharing,which may lead to duplicate data redundant transmission.For the scenario that multiple nodes in the same organization request data sharing,a smart grid secure multi-party data sharing based on double alliance chain(SMDSDCB)is proposed.Introduced homomorphic encryption algorithm to reasonably integrate ciphertext data.Proxy re-encryption combined with secret sharing technology is used to realize multiple nodes with mutual distrust and secure data sharing.It is proved that when there are less than k malicious participants and more than 2 honest participants,the scheme can ensure the security and privacy of data.Simulation comparison shows that the scheme is more feasible than FHNVSS scheme.Three schemes are proposed for the two fields of data acquisition and sharing.The solutions are based on edge computing and blockchain technology,which can comprehensively improve the system security and data calculation efficiency of power consumption data in smart grid.The analysis shows that the proposed scheme is applicable to the actual scenario and can effectively solve the data source and security problems in the sharing stage of data sharing. |