| The smart grid is a new grid system that integrates traditional networks with current communication technologies.It enables optimal transmission and power distribution between grid operators and users.Smart grid has good controllability,friendly interaction,resource optimization and other characteristics.It solves the problems of low interaction rate,limited energy utilization and difficulty in security analysis of traditional grid.The smart grid achieves effective monitoring of the entire power grid through frequent user power data aggregation and analysis.However,the data aggregation and processing of the power grid has a security risk of leaking user privacy.Therefore,privacy protection security issues and how to achieve flexible monitoring become the mainstream research trend of smart grid.Aiming at the existing problems of smart grid,the paper adopts the consortium blockchain technology.With its decentralized,distributed storage,data untamperable and traceable characteristics,the paper proposes a multidimensional data aggregation and flexible monitoring scheme for smart grid.Because smart devices play a very important role in the smart grid,once the equipment fails or operates abnormally,it will have a major impact on the safe and stable operation of the power system.Therefore,this paper proposes a smart grid equipment security diagnosis scheme.(1)This paper proposes a multidimensional data aggregation and monitoring scheme based on the alliance blockchain.A signcryption algorithm that can be applied to multidimensional data acquisition and multi-receiver mode is designed.During the aggregation process,the smart meter signcryptions the collected multidimensional data of the power and sends it to the consortium blockchain.During the monitoring process,multiple receivers uses the smart contract to formulate corresponding control policies for the power grid.Security analysis and performance comparison show that the proposed scheme has advantages in computing and communication costs while meeting security requirements for confidentiality and data integrity.The proposed scheme is also more suitable for data aggregation and smart grid control.(2)This paper designs a decentralized equipment safety diagnosis bidding smart contract.The bidding smart contract determines the successful bidding node and the diagnostic price by using the multidimensional reverse auction method according to the bidding price and the reputation value of the responding node.This paper compares the bidding mechanism with the existing bidding schemes,and the bidding smart contract has obvious advantages in terms of security and performance.(3)This paper proposes a smart grid device security diagnosis scheme based on the consortium blockchain.After the faulty device issues a diagnosis request,the diagnostic node is determined by the bidding smart contract.In this paper,equipment diagnosis is divided into two modes,one is during the warranty period and the other is outside the warranty period.Paillier encryption algorithm is used to ensure the security of the interactive information in the process of information exchange.The paper carries out detailed safety analysis and performance evaluation of the diagnostic scheme,which proves the security of the scheme and has limited overhead. |