| Electric energy data is a national basic strategic resource,which plays a positive role in national macroeconomic research and judgment,social development and people’s livelihood improvement.Promoting the sharing and opening of electric power data is conducive to breaking the data barrier between government and enterprises,driving the sharing and application of energy data in a wider range and on a larger scale.At present,the centralized data management and sharing platform is widely used in the power industry to solve the problem of massive power data storage and sharing.However,due to the lack of shared data supervision mechanism,users lose the physical control of data after data sharing,resulting in frequent abuse of shared data.In addition,centralized data management and sharing methods are prone to single point of failure,resulting in data loss and sharing failure.Therefore,how to build a distributed power data sharing platform that supports security audit and controlled access is the research focus of the current power industry digital drive.Blockchain technology realizes a decentralized and trusted distributed database.Its stored data is permanent and cannot be tampered with.It can provide a trusted and controlled data and authority management platform for distributed sharing of power data.The data security problems in the process of power data transmission and sharing are mainly reflected in three aspects:fuzzy data sharing and transfer records,lack of safe and reliable key management mechanism,and dynamic adjustment of access rights of controlled shared data.Therefore,the main work and innovation of the thesis are as follows:(1)An end-to-end forward security encryption method based on blockchain-driven is proposed.In view of the security problems such as data leakage and tampering that are easy to occur due to the lack of safe and reliable key management mechanism in the process of power data transmission,a key update strategy supporting forward security is designed in combination with key isolation technology.At the beginning of each cycle,the private key at both ends of the data transmission is automatically updated,while the public key remains unchanged,so as to ensure that the leakage of the private key in each period will not affect the security of the session key and encrypted data in the previous period,reduce the time range affected by the leakage of the private key,and ensure the forward transmission security of the electric energy data;To solve the problems of unreliable power data and non-transparent flow links,blockchain and smart contract technology are used to store the trusted root of power data and data flow records,so as to realize the verifiability of power data and crossdomain flow trace tracing.The provable security analysis of the forward security key update policy shows that the policy can resist the adaptive chosen ciphertext attack of forward security.(2)A fine-grained dynamic security control method supporting trusted sharing of power data is proposed.In view of the problems of abuse of shared data and the difficulty of protecting data rights and interests,the fine-grained dynamic security control strategy of data is designed in combination with the ciphertext policy attribute-based proxy re-encryption technology,and the attribute encryption technology is used to complete the initial encryption and sharing of data plaintext,support the re-encryption calculation based on the shared ciphertext,adjust the data access strategy,and ensure that the original plaintext information is not leaked,and realize the dynamic grant and revocation of shared access rights;To solve the problem of uncontrollable access to power shared data,a blockchain fusion digital safe model is designed to store shared data ciphertext.Restrict the decryption,access and use of shared data only through digital safe model.The blockchain module of digital safe model permanently stores the access and use records of shared data,assists in realizing the confirmation of the rights of shared data,and protects the legitimate data rights and interests of shared users.The provable security analysis of the fine-grained dynamic security control policy shows that the policy can resist the chosen plaintext attack.(3)Design and implement blockchain-based data sharing technology experiments.Implement the functional flow of the proposed forward security encryption method and fine-grained dynamic security control method,and compile the smart contract to deploy in the Hyperledger Fabric blockchain to realize the distributed digital safe model that supports trusted and controlled sharing;Then,a horizontal and vertical comparative analysis was conducted on the two methods.The performance of the horizontal comparative method and existing related research technologies in terms of implementation functionality,computational resource consumption,communication resource consumption,etc.The calculation time of each step within the vertical analysis method was evaluated as a whole to evaluate the feasibility of the method.The experimental results show that the forward secure encryption method performs better in horizontal comparison,and in vertical experiments,updating the private key once only takes 0.1 milliseconds,which is much smaller than the 33 milliseconds required to generate a pair of public and private keys.This indicates that this method improves transmission security while reducing the consumption of computing and communication resources;The finegrained dynamic security control method also supports the correctness verification function of re encrypted ciphertext in cases of superior performance.The goal of this thesis is to provide a credible,reliable and secure framework for sharing electricity data that can support the digital transformation of the power industry. |