Virtual power plant efficiency improvement method considering block chain data desensitization storage and sharing
By adopting blockchain decentralized storage and smart contract access control models in virtual power plants, the centralized problem of data storage and sharing of virtual power plants is solved, and the secure storage and efficient sharing of data is realized, improving business service efficiency and data security.
Patent Information
- Application Number
- CN202411660216.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-03-18
AI Technical Summary
The data storage of virtual power plants exists in a centralized form, is easily lost and difficult to recover, and lacks efficient and secure data sharing channels, which seriously affects the safe operation and business service efficiency of virtual power plants.
Adopt blockchain-based decentralized storage solutions, smart contract access control models, and distributed storage and sharing systems for virtual power plants to realize data desensitization storage and efficient sharing.
Through decentralized storage solutions, single point of failure is avoided, smart contracts realize automated scheduling and transactions, and blockchain ensures data transparency and immutability, which significantly improves the business service efficiency and data security of virtual power plants.
Smart Images

Figure CN119646869A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to improving the business service efficiency of a virtual power plant, and specifically to a method for improving the efficiency of a virtual power plant taking into account blockchain data desensitization storage and sharing. Background Art
[0002] VPP is one of the core technologies for realizing smart distribution networks. It uses a distributed energy management system to organically combine various types of clean energy, controllable loads and energy storage systems in the distribution network into a special power plant, participate in the operation and dispatch of the power grid, and effectively coordinate the relationship between smart grids and distributed energy, and fully tap the value and benefits that distributed energy brings to the power grid and users.
[0003] However, in the actual development process, the development of virtual power plants still faces certain challenges. In terms of data storage of virtual power plants, the data with virtual power plants as the main body is usually stored in a centralized manner. Once the data storage center is attacked, it will be difficult to recover the data, and the virtual power plant dispatch center will not be able to effectively monitor, predict, optimize and allocate the power generation and consumption of distributed energy. If the information is tampered with during the dispatch process, it will also seriously affect the safe operation of the virtual power plant and the efficiency of business services. In terms of data sharing of virtual power plants, due to the large amount of sensitive data in virtual power plants, most distributed energy sources are unwilling to share data because they are worried about data privacy or information leakage or abuse, resulting in loss of interests. The lack of efficient and secure sharing channels seriously affects the dispatch and trading of virtual power plants to the outside world, and the efficiency of business services of virtual power plants is greatly reduced. Summary of the invention
[0004] In order to solve the problem that most virtual power plant data exist in the form of centralized storage, data is easy to lose and difficult to recover, resulting in the leakage of distributed energy information, which seriously affects the safe operation of virtual power plants, and the problem that the efficiency of business services such as scheduling and trading of virtual power plants is deeply affected due to the lack of efficient and safe sharing channels. The present invention proposes a method for improving the efficiency of virtual power plants taking into account blockchain data desensitization storage and sharing, the purpose of which is to achieve data desensitization storage while achieving efficient data sharing through a decentralized storage solution based on blockchain, an access control model based on smart contracts, and a distributed storage and sharing system for virtual power plants, thereby enhancing the business service efficiency of virtual power plants. The method achieves data desensitization storage while achieving efficient data sharing through a decentralized storage solution based on blockchain, an access control model based on smart contracts, and a distributed storage and sharing system for virtual power plants, thereby enhancing the business service efficiency of virtual power plants.
[0005] The present invention provides a method for improving the efficiency of a virtual power plant taking into account blockchain data desensitization storage and sharing, the method comprising the following steps:
[0006] Step 1: Change the traditional centralized storage of virtual power plants to a decentralized storage solution based on blockchain, which can realize the aggregation and coordination of distributed resources within the virtual power plant, as well as the connection between the virtual power plant and business services;
[0007] Step 2: Based on smart contracts and proxy re-encryption technology, an access control model based on smart contracts is proposed to provide system balancing, auxiliary and other services for virtual power plants, thus realizing the market-oriented operation of virtual power plants.
[0008] Step 3: Based on the above solution, a distributed storage and sharing system for virtual power plants is designed to achieve secure storage and sharing of virtual power plant data.
[0009] Step 4: Design system modules, which mainly include user management module, data storage module and data sharing module.
[0010] Furthermore, in the step 1, a blockchain network is constructed based on the Fabric alliance chain. In the blockchain system, the network layer plays an important role, and its main function is to maintain the distributed ledger of the blockchain network and synchronize the state database information. In order to achieve this function, the network layer usually has three main components: distributed ledger, consensus mechanism and network communication service. In the Fabric system, the distributed ledger uses a combination of blockchain and state database to store and manage data. The blockchain records the history of transactions, and the state database records the current value of the world state. It can quickly query and update data without traversing the entire blockchain. LevelDB and CouchDB are two commonly used state databases, among which CouchDB supports the storage of complex JSON format data and can achieve richer advanced query functions. Fabric currently has three consensus mechanisms: Solo, Kafka and Raft. The Kafka and Raft consensus algorithms are suitable for more complex and advanced production environments, while Solo is more suitable for development and testing environments. In the system development and testing phase, this system uses the Solo consensus mechanism, and the network communication service is responsible for processing communication and message transmission between nodes in the Fabric blockchain network layer. After the user completes identity authentication and joins the blockchain network, the network uses the Gossip protocol to transmit data to other nodes to ensure data consistency among all nodes in the entire network.
[0011] Furthermore, in step 2, the smart contract layer is divided into system smart contracts and user smart contracts. The system smart contract is officially provided by Fabric, and ensures the normal operation of the system by implementing underlying functions such as configuration management and chain code management. User smart contracts are usually developed using common programming languages (such as Java, Go, JavaScript, etc.) and corresponding smart contract SDKs, and then deployed to the Fabric network to run and implement various business logics and business processes. This layer mainly involves contracts for publishing data, querying on-chain data, and data authorization sharing.
[0012] Furthermore, in step 3, the data requester searches for sharable data on the chain and initiates an access request to the owner of the target data. The blockchain determines the identity attributes of the owner. If the data requester is a virtual power plant dispatch center, the corresponding authorization process is completed according to the authority setting of the distributed energy, and the data is downloaded and decrypted. If it is a third-party organization, the distributed energy will receive the access request, and it will choose to agree or refuse based on the specific information of the third-party organization. If you choose to agree to share the data, a re-encryption key will be generated through the public key of the data requester, and the proxy re-encryption process will be completed using a smart contract, that is, the generated re-encrypted ciphertext can be decrypted by the private key of the data requester to obtain a symmetric key, completing the request and authorization to the data requester.
[0013] Furthermore, in step 4, the business layer is the level for realizing the specific functions and requirements of the system business. Through this level, distributed energy can realize functions such as data AES encryption into ciphertext, data storage, data upload, and consent authorization. These functions can help the virtual power plant dispatch center and third-party institutions to retrieve data, apply for access, decrypt and download, etc.
[0014] Furthermore, the presentation layer is responsible for the interaction between the front-end web interface and the blockchain network, providing users with functions such as registration, login, query and operation. In order to quickly build the web interface, the front-end uses technologies such as ElementUI and Vue.js framework. Vue.js has the characteristics of componentization and one-way data flow. Element-UI is a UI framework based on Vue.js. It has a large number of UI components and styles, making front-end development more efficient and easy to maintain. The back-end is developed in Go language and uses GoFabricSDK to interact with the Fabric network, such as creating channels, installing chain codes, calling smart contracts, etc. When the user operates on the interface, the front-end sends the request to the back-end, which processes the request and interacts with the blockchain network, and finally returns the result to the front-end.
[0015] The technical solution of the present invention has the following advantages:
[0016] A. Blockchain technology can effectively improve the dispatching efficiency and operability of virtual power plants. Based on the decentralized nature of blockchain, the dispatching process can be coordinated between multiple nodes, avoiding the single point of failure problem in traditional centralized systems. At the same time, through technical means such as smart contracts, automated dispatching and energy trading can be achieved, reducing manual intervention and operating costs while improving data desensitization intensity.
[0017] B. Blockchain technology can achieve protocol autonomy in the scheduling process through specific consensus mechanisms and smart contracts. At the same time, the transparency and immutability of blockchain also ensure the fairness and credibility of the protocol, thereby ensuring the smooth progress of business and greatly improving business service efficiency.
[0018] C. In the blockchain, each data block contains the information of the previous data block, forming a complete data chain that can be traced back to the source of the data. This data traceability ensures the authenticity and credibility of the data and avoids the possibility of data tampering and forgery. At the same time, it also facilitates the audit and analysis of data and improves the scientificity and accuracy of scheduling decisions.
[0019] D. Ensure data security. During the storage of distributed energy data, certain privacy protection and other security measures should be taken to prevent data leakage caused by attacks during data storage and sharing. When sharing data, distributed energy has the dominant right to the data, and only after applying for authorization and passing it can it access the data. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the specific embodiments of the present invention, the drawings required for use in the specific embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1 is a flow chart of the method provided by the present invention;
[0022] Figure 2 It is the IPFS-based distributed storage model provided by the present invention;
[0023] Figure 3 This is the access control model based on smart contracts provided by the present invention. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0025] In the present invention, all embodiments, implementations and features of the present invention can be combined with each other without contradiction or conflict. In the present invention, conventional equipment, devices, components, etc. can be purchased commercially or made according to the contents disclosed in the present invention. In the present invention, in order to highlight the key points of the present invention, some conventional operations and equipment, devices, components are omitted or only briefly described.
[0026] See also Figures 1 to 3 , a method for improving the efficiency of a virtual power plant taking into account blockchain data desensitization storage and sharing, comprising the following steps: comprising the following steps:
[0027] Step 1: Change the traditional centralized storage of virtual power plants to a decentralized storage solution based on blockchain, which can realize the aggregation and coordination of distributed resources within the virtual power plant, as well as the connection between the virtual power plant and business services;
[0028] Step 2: Based on smart contracts and proxy re-encryption technology, an access control model based on smart contracts is proposed to provide system balancing, auxiliary and other services for virtual power plants, thus realizing the market-oriented operation of virtual power plants.
[0029] Step 3: Based on the above solution, a distributed storage and sharing system for virtual power plants is designed to achieve secure storage and sharing of virtual power plant data.
[0030] Step 4: Design system modules, which mainly include user management module, data storage module and data sharing module.
[0031] The decentralized storage solution based on blockchain in step 1 introduces the combination of edge computing and IPFS technology, proposes a distributed storage model based on IPFS, adopts a storage mode that combines "off-chain" and "on-chain", and constructs an access control model based on smart contracts by combining proxy re-encryption technology and smart contracts.
[0032] The storage model encrypts the specific original data and stores it in an edge computing server close to the user, and records the returned corresponding CID hash value in the block. On the one hand, it alleviates the storage pressure of the blockchain, and on the other hand, it solves the problem of system crash caused by a single server failure.
[0033] The solution can effectively avoid problems such as increased node storage pressure and blockchain expansion caused by storing all data on the chain, significantly reduce the maintenance cost and storage cost of the blockchain, and improve the data processing speed. At the same time, the model allows authorized users to share data in a secure manner, effectively realizing the data privacy security of each distributed energy source.
[0034] In the model in step 2, the distributed energy publishes the title and other information of its data to the blockchain network for query by the virtual power plant dispatching center and third-party agencies.
[0035] Furthermore, the virtual power plant and the third-party organization, as data requesters, request authorization from the distributed energy to view the specific information of the specified data. The smart contract determines its attributes and determines the authorization method. After authorization, the requester can download the decrypted data.
[0036] In step 2, the smart contract combines proxy re-encryption technology to store key behavior information such as the requester's access application and distributed energy authorization on the blockchain, thereby achieving traceability, openness, transparency and non-tamperability of data sharing.
[0037] In step 3, the system uses the alliance chain to build a network, and the system architecture includes four layers: blockchain network layer, smart contract layer, business layer, and presentation layer.
[0038] Furthermore, the data sharing module can complete the authorization of ciphertext through smart contracts and proxy re-encryption technology without the intervention of a third-party trusted organization, realize internal and external access control of virtual power plant data, and ensure secure sharing of data.
[0039] In step 4, the data storage module encrypts data using the AES encryption algorithm and stores data using IPFS combined with edge computing technology, thereby achieving distributed and localized storage of virtual power plant data, as well as secure sharing of data within the dispatching center and access authorization for external third parties.
[0040] Furthermore, the virtual power plant efficiency improvement method taking into account blockchain data desensitization storage and sharing includes the following steps:
[0041] [S001] Solving the problem of data storage and sharing in virtual power plants requires the collaboration of multiple entities. This solution involves four entities, namely data owners, data requesters, key servers, and blockchain networks. The roles and responsibilities of these entities in the model are explained below. The details are as follows:
[0042] (1) Data owner: Data owners refer to data providers. They first store ciphertext data in the edge computing server, and then upload information such as hash value CID and data title to the chain for data requesters to access. In this process, the data owner first encrypts the data using the AES symmetric encryption algorithm, and then uses the smart contract execution proxy re-encryption method to achieve secure authorization and access to the data.
[0043] (2) Data requester: Data requesters refer to the data demanders. They can only view the title and other information of the data, but cannot directly access the specific content of the data. To obtain the data, the requester needs to send an access request to the owner. If the data owner agrees, the proxy re-encryption smart contract is triggered to complete the authorized access to the data. In this process, the proxy re-encryption smart contract first re-encrypts the symmetric key and then sends it to the requester. The requester directly uses the private key to decrypt and download the data.
[0044] (3) Key server: Before data owners and data requesters apply to join, they must first apply to the key server to generate public and private keys.
[0045] (4) Blockchain network: The blockchain network is the core part of this solution. It consists of multiple nodes, each of which can store data, execute smart contracts, participate in consensus, and verify transactions. The blockchain network realizes the secure, reliable, traceable, flexible and efficient management of data storage and sharing.
[0046]
S002
[0047]
S003
[0048] [S004] Key generation and management. Data owners and data requesters fill in basic information to apply for joining and wait for verification. After verification, the key server generates the user's public and private keys and saves the public key on the blockchain as the user's identity. The private key is saved by the user for subsequent identity authentication and data encryption and decryption operations. The key server, as a trusted authorization agency, completes the system's initialization algorithm and allows different types of data owners and data requesters to join.
[0049] The ECDSA (Elliptic Curve Digital Signature Algorithm) algorithm is used to implement digital signature and identity authentication functions on the P-256 elliptic curve. The ECDSA algorithm is a digital signature algorithm based on elliptic curve cryptography. It ensures the unforgeability and non-repudiation of the signature through the difficulty of the discrete logarithm problem. Compared with the RSA algorithm, the ECDSA algorithm has higher security strength and lower computational complexity. P-256 is a digital signature algorithm defined on the prime field F. w The function expression is y 2 =(x 3 +a.x+b)modω, where in order to ensure the security and computational efficiency of the curve, the values of parameters a and b are usually 256-bit constants and must satisfy 4a 3 +27b 2 ≠0 to ensure that the elliptic curve has no singularity, and ω as the modulus of the operation is also a 256-bit prime number. The P-256 elliptic curve is a recommended curve that complies with NIST standards. It has a shorter key length and faster operation speed, and is suitable for scenarios such as key negotiation and digital signatures.
[0050] During the initialization of the key server, its security depends on the selection of elliptic curve parameters. First, a large prime number ω is selected, and then the coefficients a and b of the elliptic curve are determined, thereby determining the shape and size of the P-256 elliptic curve. The elliptic curve equation is:
[0051] y 2 =x 3 +ax+b modω
[0052] And it is required to meet the non-singularity condition:
[0053] 4a 3 +27b 2 ≠0
[0054] The large prime number ω also determines the order of the base point G to be p, and then a random value less than p is selected as the user's private key sk. Then, through point addition operations on the elliptic curve, the base point G and the private key sk are used to calculate the public key pk, that is:
[0055] pk=sk·G
[0056] When generating a public-private key pair, it is necessary to check whether the user's attribute set S meets specific requirements to ensure that each user's attributes are valid and meet the preset standards. If the user's attribute set meets the conditions, the system will generate a pair of public-private keys for the user, where the private key sk is generated by selecting a random number, and the public key pk is calculated by performing point addition calculations on the base point G with the number of private key times. The system then sends the public key pk and private key sk to the user through a secure channel to ensure the secure distribution of the key pair.
[0057] When a user joins for the first time, the key server must first verify whether the user's unit ID meets the conditions. After confirming that the identity meets the conditions, the key server creates a public and private key for the user through the KeyGen algorithm and adds the user's public key to the corresponding user set. If the identity authentication does not meet the conditions, the application will be rejected.
[0058] When a user joins for the first time, the key server first needs to verify whether the user's unit ID meets the conditions to ensure that the user's identity is legitimate. If the unit ID verification is successful, the KeyGen algorithm is used to create a public-private key pair for the user, and the user's public key is added to the corresponding user set. The specific process is to first check the user's unit ID. If the unit ID is valid and meets the conditions, the key server will perform different operations based on the unit category to which the user belongs. If the user's unit ID belongs to DER, the KeyGen algorithm is used to generate the corresponding public-private key pair (pk DER ,sk DER ), and the public key pk DER Add to U DER User concentration; if the unit ID belongs to VPPDC, the public-private key pair (pk VPPDC ,sk VPPDC ), and the public key pk VPPDC Add to U vppdcUser concentration; if the unit ID belongs to research, a public-private key pair (pk res ,sk res ), and the public key pk res Add to U res If the unit ID does not meet any of the above conditions, the key server will reject the user's request to join, ensuring that only legitimate users can join the corresponding unit and obtain the key pair.
[0059] Assuming that the entity of distributed energy is applying for registration, first check whether the user unit ID, unit name and other information meet the attributes of distributed energy. Once they meet the requirements, the key generator will generate public and private keys and add the user's public key information to the distributed energy group. Through the above steps, the data owner Alice (pk A ,sk A ) and data requester Bob(pk B ,sk B )'s public and private keys.
[0060]
S005
[0061] Example 1
[0062] The present invention provides an embodiment, specifically a virtual power plant data storage and sharing solution based on blockchain, which mainly covers the generation and management of keys, encrypted storage of data, and authorized sharing design. These three modules are mainly composed of blockchain, smart contracts, AES symmetric encryption, proxy re-encryption technology, edge computing servers, and interplanetary file system networks. Data owner A and data requester B need to register account information before applying to join, and generate A's public and private keys {PK A ,SK A} and B's public and private key {PK B ,SK B}.
[0063] The present invention comprises the following steps:
[0064] Step 1: Data owner A automatically collects data files F = {F1, F2, F3, F4...} in real time and uses Entrypt(F,PK A ) encryption algorithm, based on its public key PK A Generate a symmetric key AES , encrypt file F using the AES symmetric encryption algorithm using a symmetric key to generate ciphertext C F , whether the data is shared is marked as Flag.
[0065] Step 2: The data owner sends the ciphertext C F Sent to the edge computing server, it will upload C F The content returned is the hash value CID of the corresponding file.
[0066] Step 3: The data owner uploads data information, such as the data title, whether it is shared, Flag, CID and other parameters to the chain for B to query.
[0067] Step 4: Data requester B searches for sharable target data on the chain and requests data access authorization.
[0068] Step 5: Blockchain determines the public key PK B Attributes, if PK B Belong to U VPPDC , then directly call ReKeyGen(SK A ,PK B ) algorithm; if PK B Belong to U res , then Alice needs to authorize and agree before calling ReKeyGen(SK A ,PK B ) algorithm. This algorithm uses Alice’s private key SK A Combined with Bob's public key PK B , generate the re-encryption key rkA→B and X A .
[0069] Step 6: Data owner B will re-encrypt the key rk A→B and X A Upload to the chain, trigger the smart contract to execute the proxy re-encryption process. Call the ReEncrption(rk,capsule) algorithm to re-encrypt the capsule into a new capsule structure.
[0070] Step 7: Return CID and other information to data requester B.
[0071] Step 8: Data requester B downloads the ciphertext C from the edge computing server through CID F .
[0072] Step 9: Call the Decrypt algorithm and enter Bob's private key SK B Decrypt to get the symmetric key AES , and the ciphertext C F By key AES Decryption yields the original data F.
[0073] Example 2
[0074] Based on the same inventive concept, the embodiment of the present invention also provides a design method for authorized sharing of data. Specifically, it is considered to implement the qualification verification of virtual power plant users without exposing their identities and detailed behavior information by judging attributes, so as to achieve efficient privacy protection and authorized sharing.
[0075] The present invention includes the following contents:
[0076] When Bob finds the target data on the blockchain and applies to Alice for access authorization, Alice first determines Bob’s attributes. If Bob belongs to the user set U of the virtual power plant dispatching center, VPPDC , you can directly enter the re-encryption key generation process. If Bob is a third-party organization, you need Alice's authorization to continue. Enter Alice's private key sk A and Bob's public key pk B , Alice randomly chooses a value x less than p A , and calculate X A =x A G, where G is the base point of the elliptic curve. Alice then calculates a value d = H (x A ||pk B )·x A ·pk A, where the hash function H ensures that the value d is unique and can only be calculated by Bob, because d contains Bob's public key information. Finally, Alice calculates the re-encryption key rk A =sk A ·d -1 , and the re-encryption key rk A and the value X A Return to the smart contract to complete the key generation and authorization process.
[0077] The smart contract generates a new capsule, and Bob can use his private key to decrypt the capsule to obtain the symmetric key K. Input the re-encryption key rk and the original capsule sent by Alice, and first verify the legitimacy of E and V in the capsule through the ECDSA algorithm. If s·G=(v+e·H2(E||V))·G=V+H2(E||V)·E, it means that the capsule data has not been tampered with, and the key re-encryption process can continue; if the verification fails, it is rejected. Assuming the verification is successful, the smart contract will use the re-encryption key to recalculate the new capsule, where E and V are encrypted by the re-encryption key \(rk\) respectively, and the result is:
[0078] E'=rk·E
[0079] V'=rk·V
[0080] Then, a new capsule capsule' = (E', V', s) will be generated and returned to Bob. At the same time, the smart contract will also capsule capsule', value X A It is sent to Bob together with the CID of the data.
[0081] In the process of Bob decrypting the plaintext, he first inputs Bob's private key sk B , through the capsule, the CID of the data and the parameter X related to Alice's public key A Then Bob changes the parameter X A 、Public key pk B With X A ·sk B After concatenation, perform hash operation to obtain parameter d
[0082] H3(X A ||pk B ||(sk B ·X A ))=H3(X A ||pk B ||(sk B ·(x A ·G)))
[0083] =H3(XA ||pk B ||(x A ·pk B ))
[0084] =d
[0085] The hash function H ensures that the value is unique and only Bob can calculate it. Using the parameters E and V in the capsule and the calculated parameter d, Bob further calculates the symmetric key K generated based on Alice's public key through the hash function.
[0086] H(d·(E'+V'))=H(d·(rk·E+rk·V))
[0087] =H(d·(sk A ·d -1 ·E+sk A ·d -1 ·V))
[0088] =H(sk A ·e·G+sk A ·ν·G)
[0089] =H((e+ν)pk A )
[0090] =K
[0091] This symmetric key will be used to decrypt the data. Bob then downloads the ciphertext m from the edge computing server via CID. enc , and use the symmetric key K to perform AES decryption on the ciphertext to obtain the plaintext data m.
[0092] Anything not described in the present invention is applicable to the prior art.
[0093] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. However, the obvious changes or modifications derived therefrom are still within the scope of protection of the present invention.
Claims
1. A method for improving the efficiency of a virtual power plant taking into account blockchain data desensitization storage and sharing, characterized in that: The method comprises the following steps: Step 1: Change the traditional centralized storage of virtual power plants to a decentralized storage solution based on blockchain, which can realize the aggregation and coordination of distributed resources within the virtual power plant, as well as the connection between the virtual power plant and business services; Step 2: Based on smart contracts and proxy re-encryption technology, an access control model based on smart contracts is proposed to provide system balancing, auxiliary and other services for virtual power plants, thus realizing the market-oriented operation of virtual power plants. Step 3: Based on the above solution, a distributed storage and sharing system for virtual power plants is designed to achieve secure storage and sharing of virtual power plant data. Step 4: Design system modules, which mainly include user management module, data storage module and data sharing module.
2. According to claim 1, a method for improving the efficiency of a virtual power plant taking into account blockchain data desensitization storage and sharing is characterized in that: The decentralized storage solution based on blockchain in step 1 introduces the combination of edge computing and IPFS technology, proposes a distributed storage model based on IPFS, adopts a storage mode that combines "off-chain" and "on-chain", and constructs an access control model based on smart contracts by combining proxy re-encryption technology and smart contracts.
3. A method for improving the efficiency of a virtual power plant taking into account blockchain data desensitization storage and sharing according to claim 2, characterized in that: The model encrypts the specific original data and stores it in an edge computing server close to the user, and records the returned corresponding CID hash value in the block. On the one hand, it alleviates the storage pressure of the blockchain, and on the other hand, it solves the problem of system crash caused by a single server failure.
4. A method for improving the efficiency of a virtual power plant taking into account blockchain data desensitization storage and sharing according to claim 2, characterized in that: The solution can effectively avoid problems such as increased node storage pressure and blockchain expansion caused by storing all data on the chain, significantly reducing the maintenance cost and storage cost of the blockchain and improving the data processing speed. At the same time, the model allows authorized users to share data in a secure manner, effectively realizing the data privacy security of each distributed energy source.
5. According to claim 1, a method for improving the efficiency of a virtual power plant taking into account blockchain data desensitization storage and sharing is characterized in that: In the model in step 2, the distributed energy publishes the title and other information of its data to the blockchain network for query by the virtual power plant dispatching center and third-party agencies.
6. A method for improving the efficiency of a virtual power plant taking into account blockchain data desensitization storage and sharing according to claim 5, characterized in that: The virtual power plant and third-party organization, as data requesters, request authorization from distributed energy to view the specific information of the specified data. The smart contract determines its attributes and determines the authorization method. After authorization, the requester can download the decrypted data.
7. A method for improving the efficiency of a virtual power plant taking into account blockchain data desensitization storage and sharing according to claim 1, characterized in that: In step 2, the smart contract combines proxy re-encryption technology to store key behavior information such as the requester's access application and distributed energy authorization on the blockchain, thereby achieving traceability, openness, transparency and non-tamperability of data sharing.
8. A method for improving the efficiency of a virtual power plant taking into account blockchain data desensitization storage and sharing according to claim 1, characterized in that: In step 3, the system uses the alliance chain to build a network, and the system architecture includes four layers: blockchain network layer, smart contract layer, business layer, and presentation layer.
9. A method for improving the efficiency of a virtual power plant taking into account blockchain data desensitization storage and sharing according to claim 8, characterized in that: The data sharing module uses smart contracts and proxy re-encryption technology to complete the authorization of ciphertext without the intervention of a third-party trusted organization, realize internal and external access control of virtual power plant data, and ensure secure data sharing.
10. A method for improving the efficiency of a virtual power plant taking into account blockchain data desensitization storage and sharing according to claim 1, characterized in that: In step 4, the data storage module encrypts data through the AES encryption algorithm and stores data using IPFS combined with edge computing technology, thereby realizing distributed and localized storage of virtual power plant data, as well as secure sharing of data within the dispatching center and access authorization for external third parties.