Block chain-based electric energy data management and sharing method and system

By adopting blockchain technology, digital identity management module, smart contract and high-performance consensus mechanism in electrical energy data management, the problems of single point failure risk, low data sharing efficiency and unclear data rights confirmation in electrical energy data management are solved, and efficient, secure and transparent data sharing and circulation are achieved.

CN119848133APending Publication Date: 2025-04-18YUNNAN POWER GRID CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411788290.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-06
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

The existing electrical energy data management methods have problems such as single point failure risk, low data sharing and circulation efficiency, and unclear data rights confirmation.

Method used

The blockchain-based electrical energy data management and sharing method is adopted, and the user is provided with identity registration and authentication functions through the digital identity management module to generate an electrical energy data rights confirmation certificate based on the blockchain; the sharing permissions of electrical energy data are set and flow registration are set based on smart contracts, and data sharing behavior is recorded through the blockchain; the high-performance consensus mechanism is used to monitor the flow of electrical energy data in real time, and the full life cycle traceability management of data sharing is provided.

Benefits of technology

It improves the security and transparency of the system, improves the efficiency and security of data sharing, promotes the efficiency and credibility of data flow, and ensures real-time monitoring of electrical energy data and traceability management throughout the life cycle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119848133A_ABST
    Figure CN119848133A_ABST
Patent Text Reader

Abstract

The invention discloses an electric energy data management and sharing method and system based on a block chain, and relates to the technical field of block chain technology and electric energy data management, and the method comprises the steps: providing an identity registration and authentication function for a user through a digital identity management module, and generating an electric energy data right confirmation certificate based on the block chain; sharing permission setting and circulation registration of the electric energy data are carried out based on the smart contract, and a data sharing behavior is recorded through a block chain; a high-performance consensus mechanism is used for monitoring electric energy data circulation in real time, and full-life-cycle traceability management of data sharing is provided. According to the method, a whole-process identity management service is provided through the digital identity management module, a tampering-free identity management mechanism is realized through the block chain, the security and transparency of the electric energy data right confirmation system are improved, the data right confirmation process is automated through the smart contract, the operation is simplified, and the right confirmation efficiency and accuracy are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain technology and electric energy data management technology, and specifically to an electric energy data management and sharing method and system based on blockchain. Background Art

[0002] With the large-scale growth of energy data, the importance of electric energy data management continues to increase, and the existing management system has exposed obvious deficiencies. First, the centralized storage model brings serious risks of single point failure. Once the central database is attacked, hardware fails or the system crashes, the stability and reliability of the entire system will be seriously threatened. In addition, centralized storage is prone to data leakage and tampering, especially in energy trading, metering and supervision. These problems may have serious economic and legal consequences. Although traditional storage systems enhance security through redundant backups and firewalls, with the rapid growth of data volume, these measures are difficult to cope with complex external attacks and potential internal security risks.

[0003] Secondly, the low efficiency of data sharing and circulation further limits the application value of electric energy data. In the existing management system, data islands are common, and data sharing among institutions is strictly restricted by authority and policies. The complex contract approval process not only delays the efficiency of cross-institutional business collaboration, but also restricts the realization of innovative applications. In addition, the lack of an efficient sharing mechanism has led to the failure to fully realize the potential of data in areas such as smart grids, renewable energy management and energy trading. This limitation not only affects business collaboration, but also hinders the deep mining of data value.

[0004] Finally, existing technologies lack an effective data rights confirmation mechanism and transparent traceability capabilities, and the consistency of data flow across entities is difficult to ensure. Traditional systems rely heavily on contractual agreements to establish data ownership, which is inefficient and subject to frequent disputes. Data management standards among different entities are not unified, resulting in data being easily lost, duplicated, or tampered with during circulation. In addition, many systems focus too much on technical implementation and ignore the integration with actual business needs. They have poor functional practicality and poor user experience. At the same time, the lack of transparency in the data generation, processing, and storage processes makes it impossible for users to verify the authenticity of the data, which limits the further application of data in the fields of finance and supervision and also weakens user trust. Summary of the invention

[0005] In view of the above-mentioned problems, the present invention is proposed.

[0006] Therefore, the technical problems solved by the present invention are: the existing electric energy data management method has the risk of single point failure, low efficiency of data sharing and circulation, unclear data rights confirmation, and how to achieve secure data rights confirmation, real-time sharing and full life cycle traceability management.

[0007] To solve the above technical problems, the present invention provides the following technical solutions: a method for managing and sharing electric energy data based on blockchain, comprising providing identity registration and authentication functions for users through a digital identity management module, and generating an electric energy data right confirmation certificate based on blockchain; setting sharing permissions and transfer registration of electric energy data based on smart contracts, and recording data sharing behavior through blockchain; utilizing a high-performance consensus mechanism to monitor the flow of electric energy data in real time, and providing full life cycle traceability management of data sharing.

[0008] As a preferred solution of the blockchain-based electric energy data management and sharing method described in the present invention, wherein: the digital identity management module includes providing an identity for the user, and calling the registration management module on the identity chain to register the newly registered identity information on the blockchain, including a registration module, a KYC interface management module, a key management module, and an authentication and authorization management module; the user generates a unique identity through the registration module, and registers the identity information on the blockchain in the form of a digital signature; the third-party authentication service is integrated through the KYC interface management module to perform user real-name authentication, and the authentication information is encrypted and stored and recorded on the blockchain, and sensitive authentication data is not saved in the blockchain; the user unbinds the user's identity and key through the key management module, and when the user changes the bound private key, it will not affect the user's identity, and the process and results of the private key change are registered on the blockchain; the user uses the authentication and authorization module to use zero-knowledge proof to perform user identity authentication, login authentication of the right confirmation platform, and authorization user permission management; wherein KYC is the process of identity authentication and user authentication.

[0009] As a preferred solution of the blockchain-based electric energy data management and sharing method described in the present invention, the generation of the blockchain-based electric energy data right confirmation certificate includes the data owner uploading the original data to the right confirmation platform through the configuration system interface or the original push method, the right confirmation platform generates a digital fingerprint based on the original data, and generates metadata in combination with the user identity and time information, stores the metadata in the blockchain and issues a data right confirmation certificate, the data right confirmation certificate contains the data fingerprint, the ownership public key, the timestamp and the data size, and registers the request, process and result of the data right confirmation on the blockchain; when the data volume When the data is large or needs to be processed in real time, the data owner uploads the original data through the configured system interface; if the data volume is small or there is no real-time requirement, the data owner uploads the original data through the original push method; if the data upload frequency is high or the business needs involve automated management, the configuration system interface method is preferred; when the data is scattered, irregular or comes from historical records, the original push method is selected to upload the original data; when the data confirmation certificate is registered to the blockchain, the ownership query of the electric energy data and the data consistency verification are carried out through web browsing query and interface query; data consistency verification includes data authentication and signature verification.

[0010] As a preferred solution of the blockchain-based electric energy data management and sharing method described in the present invention, the setting of sharing permissions for electric energy data based on smart contracts includes the data owner setting the data sharing scope, permission level and validity period through the smart contract, the smart contract registers the shared data packet information to the blockchain, and publishes data sharing requests through the sharing platform; wherein the data owner has the right to dynamically adjust the shared data permission and withdraw the shared data listing permission.

[0011] As a preferred solution of the blockchain-based electric energy data management and sharing method described in the present invention, the transfer registration includes the demander locating the shared data through keyword search or category navigation, the smart contract automatically generates a shared registration record, and records the identities and data characteristics of both the supply and demand parties through the blockchain; when the demander submits an application for data use, the smart contract receives and verifies the application, including the demander's identity and the requested data identifier; if the demander's identity is not authenticated, the smart contract rejects the application and returns a prompt that the identity authentication failed; if the demander's identity authentication is passed, the next step of verification is entered; when the demander's identity authentication is passed, the smart contract checks whether the sharing conditions are met; if the demander has not paid the usage fee, the smart contract rejects the application and returns a prompt that the fee has not been paid; if the demander fails to complete the authentication, the smart contract rejects the application and returns a prompt that the fee has not been paid; if the demander fails to complete the authentication, the smart contract rejects the application and returns a prompt that the fee has not been paid. If the requester has paid the usage fee, the payment status will be recorded and the next step will be entered; when the requester has completed the payment and passed the authentication, the smart contract will perform a permission check; if the requester's permission level is lower than the shared data requirements, the smart contract will reject the application and return a prompt of insufficient permissions; if the permissions meet the requirements, the data sharing stage will be entered; when the requester meets the sharing conditions, the smart contract will record the sharing transaction, including the fingerprint of the shared data, the sharing time, the digital identity of the requester and the data provider, and the transaction hash value; a transaction record will be generated and the record will be uploaded to the chain; when the shared transaction record is successfully uploaded to the chain, the smart contract will automatically grant the requester data access rights and notify the data provider to complete the transaction; if the transaction record fails, the smart contract will roll back all related operations and return a prompt of transaction failure.

[0012] As a preferred solution of the blockchain-based electric energy data management and sharing method described in the present invention, wherein: the real-time monitoring of the flow of electric energy data using a high-performance consensus mechanism includes using a high-performance consensus mechanism to record the throughput, delay and node failure status of data sharing in real time; dynamically generate system performance statistical charts for regulators to view and monitor abnormal behaviors during data sharing; system performance statistical charts include data registration volume and sharing volume, and dynamic statistical icons are formed by statistics of subject, time, data packet size, and classification labels, which are displayed in the form of a large cockpit screen, and provide functions for querying single sharing, confirmation of ownership, and querying the traceability information of a data packet throughout its life cycle.

[0013] As a preferred solution of the blockchain-based electric energy data management and sharing method described in the present invention, the whole life cycle traceability management of data sharing is provided, including recording all key links from data confirmation to sharing based on blockchain, generating a complete traceability record of data flow; providing a user-side traceability query interface, supporting the retrieval of data ownership and flow history by certificate code or data fingerprint.

[0014] Another object of the present invention is to provide a blockchain-based electric energy data management and sharing system, which can set sharing permissions and transfer registration of electric energy data based on smart contracts, and record data sharing behavior through blockchain, thereby solving the problem of low data sharing and transfer efficiency in current electric energy data management technology.

[0015] As a preferred solution of the blockchain-based electric energy data management and sharing system described in the present invention, it includes: a certificate of ownership generation module, a sharing and circulation module, and a supervision and traceability module; the certificate of ownership generation module is used to provide identity registration and authentication functions for users through the digital identity management module, and generate a blockchain-based electric energy data certificate of ownership; the sharing and circulation module is used to set sharing permissions and circulation registration for electric energy data based on smart contracts, and record data sharing behavior through blockchain; the supervision and traceability module is used to use a high-performance consensus mechanism to monitor the flow of electric energy data in real time, and provide full life cycle traceability management of data sharing.

[0016] A computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement a blockchain-based electric energy data management and sharing method.

[0017] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of a blockchain-based electric energy data management and sharing method.

[0018] Beneficial effects of the invention: The electric energy data management and sharing method based on blockchain provided by the invention integrates the registration module, KYC interface management module, key management module and authentication and authorization management module through the digital identity management module, and provides a full-process identity management service. The identity information registered by the user is registered on the blockchain in the form of a digital signature. The blockchain implements an unalterable identity management mechanism, which improves the security and transparency of the system. At the same time, the key unbinding function enhances the user's operational flexibility and reduces the risk caused by key leakage. Through the smart contract, the data owner can set the sharing authority and record the relevant information of data sharing through the blockchain, which changes the authority management process of data sharing from the traditional The manual approval mode is transformed into the automated execution of smart contracts, which reduces the operational risks caused by manual intervention, greatly improves the efficiency and security of data sharing, and promotes the efficiency and credibility of data flow. The automation and decentralization advantages of smart contracts solve the inefficiency and opacity problems in the traditional data sharing process. The system's monitoring ability of real-time data flow is improved through a high-performance consensus mechanism, ensuring system stability and data integrity under large-scale concurrency conditions, realizing real-time monitoring of electric energy data flow, and generating system performance statistics charts to ensure dynamic visualization of throughput, latency and node failure status. The present invention achieves better results in efficiency, reliability and security. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0020] Figure 1 An overall flow chart of a blockchain-based electric energy data management and sharing method provided for the first embodiment of the present invention.

[0021] Figure 2 A digital identity management module diagram of a blockchain-based electric energy data management and sharing method provided in the first embodiment of the present invention.

[0022] Figure 3 A flowchart for issuing a certificate of ownership for a blockchain-based electric energy data management and sharing method provided in the first embodiment of the present invention.

[0023] Figure 4 A data verification flow chart of a blockchain-based electric energy data management and sharing method provided for the first embodiment of the present invention.

[0024] Figure 5 A data verification flow chart of a blockchain-based electric energy data management and sharing method provided for the first embodiment of the present invention.

[0025] Figure 6 A module diagram of a blockchain-based electric energy data management and sharing system provided for the third embodiment of the present invention. DETAILED DESCRIPTION

[0026] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0027] Example 1, reference Figure 1-Figure 5 , as an embodiment of the present invention, provides a method for managing and sharing electric energy data based on blockchain, comprising:

[0028] S1: Provide users with identity registration and authentication functions through the digital identity management module, and generate blockchain-based electric energy data rights confirmation certificates.

[0029] Furthermore, the digital identity management module includes providing identity identification for users and calling the registration management module on the identity chain to register the newly registered identity information on the blockchain, including the registration module, KYC interface management module, key management module and authentication and authorization management module; the user generates a unique identity identification through the registration module, and registers the identity information on the blockchain in the form of a digital signature; the third-party authentication service is integrated through the KYC interface management module to perform user real-name authentication, and the authentication information is stored in encrypted form and recorded on the blockchain, while sensitive authentication data is not saved in the blockchain; the user unbinds the user's identity identification and key through the key management module. When the user changes the bound private key, it will not affect the user's identity identification, and the process and results of the private key change will be registered on the blockchain; the user uses the authentication and authorization module to use zero-knowledge proof to authenticate the user's identity, log in to the rights confirmation platform, and manage the authority of the authorized user to perform operations; among them, KYC is the process of identity authentication and user authentication.

[0030] It should be noted that the generation of a blockchain-based electric energy data rights certificate includes the data owner uploading the original data to the rights confirmation platform through the configuration system interface or the original push method. The rights confirmation platform generates a digital fingerprint based on the original data, and generates metadata in combination with the user identity and time information, stores the metadata in the blockchain and issues a data rights confirmation certificate. The data rights confirmation certificate contains the data fingerprint, the ownership public key, the timestamp and the data size, and registers the request, process and result of the data rights confirmation on the blockchain; when the amount of data is large or real-time processing is required, the data owner uploads the original data through the configured system interface; if the amount of data is small or there is no real-time requirement, the data owner uploads the original data through the original push method; if the data upload frequency is high or the business needs involve automated management, the configuration system interface method is preferred; when the data is scattered, irregular or comes from historical records, the original push method is selected to upload the original data; when the data rights certificate is registered to the blockchain, the ownership query of the electric energy data and the data consistency verification are carried out through web browsing query and interface query; data consistency verification includes data verification and signature verification.

[0031] It should also be noted that the digital identity management module provides functions such as digital identity registration, KYC certification, key management, authentication and authorization management for users participating in data rights confirmation. In addition, identity information will be registered on the chain to ensure that there will be no problems such as identity fraud during the data rights confirmation process. The structure of the digital identity management module is as follows: Figure 2As shown in the figure, the registration module provides a unique identity for the user and is responsible for registering the user's identity information on the chain to ensure the uniqueness and traceability of the user in the system; the KYC interface management module integrates third-party authentication services, provides real-name authentication functions, and ensures the authenticity of the user's identity. The real-name authentication method, authentication agency, and authentication results will be registered on the blockchain to enhance the data's right confirmation and credibility. To protect user privacy, sensitive authentication data such as facial recognition features and ID card photos will not be saved on the chain; the key management module, considering the possible key leakage risk in the process of data asset confirmation, allows the user's identity to be unbound from the key, and the user can replace the bound private key without affecting his identity. This mechanism not only improves the security of the system, but also provides users with greater flexibility. The process and results of private key replacement will be registered on the blockchain to ensure the transparency and non-tamperability of all key replacement behaviors; the authentication and authorization module is responsible for the authentication of users logging into the confirmation platform and the authority management of authorized users to perform operations, and uses zero-knowledge proof to authenticate user identities, avoiding the risk of passwords being stolen during transmission and enhancing the security of the data confirmation platform. Through the collaborative work of these modules, a safe, reliable and privacy-protected data rights confirmation platform can be provided to users, while ensuring the verifiability of user identities and the authorization of operations, providing a solid foundation for the confirmation and sharing of electric energy data.

[0032] It should also be noted that data owners include individual users, enterprises, institutions and other authorized parties. The process of issuing the certificate of ownership is as follows: Figure 3 As shown, first, data is extracted from the business database for registration and upload. Then, the system verifies the user's digital identity. If the verification is successful, the digital fingerprint is calculated using the original data, and after signing with the private key, the metadata of the data asset is generated. Subsequently, the smart contract is called to upload the metadata to the chain. If the chain is successful, a success result is returned and a data ownership certificate is issued, and the process is completed; if the chain fails, a failure result is returned and the process is terminated. The entire process ensures the security and uniqueness of data assets.

[0033] After the data is registered on the chain, the certificate of ownership issued by the blockchain for the data mainly contains the following fields:

[0034] Table 1 Parameters of the title confirmation certificate

[0035]

[0036]

[0037] It should also be noted that when conducting electric energy data ownership queries and data consistency verification, since the data fingerprint is the result data of asymmetric encryption, the original data can only be provided if the original data is possessed. The system can derive the data fingerprint through the same encryption algorithm, and can then query the blockchain for the certificate and other ownership information corresponding to the fingerprint. However, the original data cannot be deduced from the data fingerprint alone. This ensures that the original data is not disclosed while having the data verification function.

[0038] Data ownership query and data consistency verification provide two methods: web browsing query and interface query. Page query means that users can search for data ownership certificate code, certificate hash value or directly upload original data for query through the system's public portal website. Interface query provides an interface for on-chain data query.

[0039] Data consistency verification includes two steps: data authentication and signature verification. The purpose of the authentication step is to determine the authenticity and consistency of the data, and the purpose of the signature verification step is to determine whether the ownership of the data is consistent with the registration on the chain.

[0040] Data verification process Figure 4 As shown, first, upload the original data and fill in the data provider identification, then calculate the digital fingerprint as the unique identification of the data, then query the data's chain certificate by calling the smart contract, and extract the hash value stored on the blockchain. The system compares the calculated hash value with the hash value on the blockchain. If the two are consistent, it returns a consistent data result; if they are inconsistent, it returns an inconsistent data result, and then the process ends. The data verification process ensures the integrity and credibility of the data by comparing the digital fingerprint and the blockchain hash value.

[0041] Data verification process Figure 5 As shown, first, upload the original data and fill in the identifier of the data provider, then calculate the digital fingerprint of the data, then query the corresponding on-chain certificate by calling the smart contract, extract the public key signed by the owner from the certificate, and then use the elliptic curve algorithm to restore the signature public key of the certificate and compare it with the extracted public key. If the two are consistent, the result of data consistency is returned; if they are inconsistent, the result of data inconsistency is returned. Finally, the process ends, and the data verification ensures the authenticity and integrity of the data through the verification of the digital signature and the public key.

[0042] S2: Set sharing permissions and transfer registration of electric energy data based on smart contracts, and record data sharing behavior through blockchain.

[0043] Furthermore, the sharing permission setting of electric energy data based on smart contracts includes the data owner setting the data sharing scope, permission level and validity period through the smart contract. The smart contract registers the shared data packet information to the blockchain and publishes data sharing requests through the sharing platform; among them, the data owner has the right to dynamically adjust the shared data permission and withdraw the shared data listing permission.

[0044] It should be noted that the circulation registration includes the demander locating the shared data through keyword search or category navigation, the smart contract automatically generates a shared registration record, and records the identities and data characteristics of both the supply and demand parties through the blockchain; when the demander submits an application for data use, the smart contract receives and verifies the application, including the demander's identity and the requested data identifier; if the demander's identity has not been authenticated, the smart contract rejects the application and returns a prompt that the identity authentication failed; if the demander's identity authentication is passed, the next step of verification is entered; when the demander's identity authentication is passed, the smart contract checks whether the sharing conditions are met; if the demander has not paid the usage fee, the smart contract rejects the application and returns a prompt that the fee has not been paid; if the demander has paid the usage fee, the payment status is recorded. state and proceed to the next step; when the demander completes the payment and passes the authentication, the smart contract performs a permission check; if the demander's permission level is lower than the shared data requirement, the smart contract rejects the application and returns a prompt of insufficient permission; if the permission meets the requirements, it enters the data sharing stage; when the demander meets the sharing conditions, the smart contract records the sharing transaction, and the record includes the fingerprint of the shared data, the sharing time, the digital identity of the demander and the data provider, and the transaction hash value; generates a transaction record and uploads the record to the chain; when the shared transaction record is successfully uploaded to the chain, the smart contract automatically grants the demander data access rights and notifies the data provider to complete the transaction; if the transaction record fails, the smart contract rolls back all related operations and returns a prompt of transaction failure.

[0045] It should also be noted that data owners can publish the data packages they want to share by selecting the data assets to be shared, setting the sharing openness level, scope and other information. During this process, data owners can adjust information such as sharing permissions at any time, and can also withdraw the data packages that have been put on the shelves. After the data packages are put on the shelves, the sharing platform registers and publishes the listed information on the blockchain through the data package chain registration management module. If the demander applies to download the shared data, all parties can view the status of the sharing application and perform corresponding operations to agree or not. After the authorization is agreed, the data downloaded can be verified for authenticity and consistency of data ownership through the property rights confirmation platform.

[0046] It should also be noted that the demander locates shared data through keyword search or category navigation. Through keyword search, the demander searches for the keywords of interest in the summary information of the data assets. This method is simple and direct, but may produce a large number of irrelevant search results. If the demander has a clear understanding of his or her data needs, he or she can also accurately navigate to a specific data category through the category list, continue keyword search or directly traverse related data under this category. After selecting a certain data, the demander can see the complete summary information in the details display, as well as data samples that may be provided by the data owner, thereby helping the demander to determine whether the data meets his or her needs.

[0047] If the demander believes that the data asset meets his needs, he can apply to share the data. The shared registration contract will automatically generate a piece of data based on the various information set and filled in by the data owner when listing the data, as well as the various information selected and filled in by the demander. This piece of data will be accompanied by characteristic data such as the certificate and fingerprint of the data asset, as well as the identity identification of both the supply and demand parties. This piece of data will be signed by the demander and registered on the blockchain by the sharing platform through the registration management module on the shared traceability information chain. Because the data owner has signed and registered on the blockchain when confirming the data, the data will automatically be considered to have been signed by both the supply and demand parties.

[0048] S3: Use a high-performance consensus mechanism to monitor the flow of electric energy data in real time and provide full life cycle traceability management for data sharing.

[0049] Furthermore, the real-time monitoring of the flow of electric energy data using a high-performance consensus mechanism includes using a high-performance consensus mechanism to record the throughput, latency and node failure status of data sharing in real time; dynamically generate system performance statistics charts for regulators to view and monitor abnormal behavior during data sharing; system performance statistics charts include data registration volume and sharing volume, and dynamic statistical icons are formed by subject, time, data packet size, and classification label, which are displayed in the form of a large cockpit screen, and provide functions for querying single sharing, confirmation of ownership, and querying the traceability information of a data packet throughout its life cycle.

[0050] It should be noted that the full life cycle traceability management of data sharing is provided, including all key links from data confirmation to sharing based on blockchain, generating a complete traceability record of data flow; providing a user-side traceability query interface, supporting the retrieval of data ownership and flow history by certificate code or data fingerprint.

[0051] It should also be noted that by introducing a high-performance consensus mechanism (such as PBFT, DPoS, etc.), not only can more efficient data flow monitoring be achieved, but also consensus delays can be effectively reduced, ensuring real-time recording of key indicators such as data throughput and latency. Throughput reflects the system's ability to process transactions, latency represents the time difference from data submission to confirmation, and node failure status is an important guarantee for system availability. Dynamic monitoring of these parameters can provide key guarantees for the real-time and reliability of data flow.

[0052] Full life cycle traceability management refers to the recording and tracking of the entire process from data confirmation to sharing, which not only meets the need for transparency in data ownership, but also provides users with the function of tracking data history through the traceability query interface, thereby enhancing the credibility of data management. The dynamic display of statistical charts in the form of a large cockpit screen is an intuitive way of expression that conforms to information-intensive management. It refines the display dimensions through classification labels (subject, time, data packet size, etc.), providing regulators with real-time analysis and decision-making support tools. The certificate code and data fingerprint represent the unique identifier of the metadata and the encrypted check value of the data integrity in the blockchain system, respectively. This dual identification method improves the efficiency and accuracy of the query process while avoiding data tampering.

[0053] Example 2 is an embodiment of the present invention, which provides a method for managing and sharing electric energy data based on blockchain. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation experiments.

[0054] The purpose of the experiment is to verify the performance of the electric energy data confirmation and high-performance consensus mechanism in the data sharing process through the digital identity management module. The experimental settings are as follows:

[0055] First, six virtual users were selected as experimental subjects, representing different data demanders such as enterprises, individuals or institutions in actual scenarios. Secondly, the experiment selected data sets ranging from 500MB to 1000MB to simulate the size and complexity of electric energy data. Finally, the experimental equipment was deployed, and 10 distributed nodes were set up in the blockchain node to support the PBFT high-performance consensus algorithm. The network conditions simulated a node communication delay of 10ms and a node failure probability of 5%. The data rights confirmation platform supports digital identity management, KYC certification, smart contract deployment and traceability query.

[0056] Experimental procedures

[0057] 1. User identity registration: Generate a unique identity through the digital identity management module, complete KYC authentication, encrypt and store sensitive information, and test the user's identity authentication efficiency.

[0058] 2. Data confirmation: Test the confirmation process of different data sizes, including the generation of digital fingerprints and the registration time on the chain.

[0059] 3. Data sharing: Simulate users submitting shared data requests, and the smart contract performs permission checks, payment verification, and shared registration, and records throughput and latency.

[0060] 4. Fault testing: Randomly simulate node failures and record the system’s fault tolerance capabilities under a high-performance consensus mechanism.

[0061] Refer to Table 2 for a comparative analysis of the experimental data.

[0062] Table 2 Experimental data record table

[0063]

[0064]

[0065] Experimental data analysis

[0066] 1. Throughput and latency performance:

[0067] From the experimental data in Table 2, it can be seen that although the data volume increases (such as 1000MB), the throughput drops slightly to 1450PS, but it can still maintain a high level.

[0068] The latency increases with the data size, from 20ms to 50ms, but meets the real-time requirements of high-performance blockchain systems.

[0069] 2. Processing efficiency:

[0070] The processing time for data confirmation is between 3 seconds and 5 seconds. Especially for smaller data (200MB), the response speed is as fast as 2.1 seconds, which verifies the efficiency of the system in different data scenarios.

[0071] The verification of user identity information and data fingerprints during the rights confirmation process supports multi-scenario application requirements.

[0072] 3. Fault tolerance:

[0073] The system exhibited a fault tolerance rate of over 99.7% under simulated fault conditions, which is much higher than traditional blockchain systems, proving the reliability of the high-performance consensus mechanism.

[0074] 4. Innovation and advantages:

[0075] Compared with traditional systems, the present invention not only improves the real-time performance of data confirmation and sharing, but also ensures the integrity and security of data through distributed storage and consensus mechanisms.

[0076] The real-time display function of the large screen in the cockpit provides regulators with unprecedented visual analysis capabilities and improves management efficiency.

[0077] This embodiment proves the advantages of the present invention in electric energy data rights confirmation and sharing, so the present invention is creative.

[0078] Example 3, reference Figure 6 , which is an embodiment of the present invention, provides an electric energy data management and sharing system based on blockchain, including a certificate generation module, a sharing and circulation module, and a supervision and traceability module.

[0079] The certificate generation module is used to provide users with identity registration and authentication functions through the digital identity management module, and generate a blockchain-based electric energy data certificate; the sharing and circulation module is used to set sharing permissions and circulation registration for electric energy data based on smart contracts, and record data sharing behavior through blockchain; the supervision and traceability module is used to use a high-performance consensus mechanism to monitor the flow of electric energy data in real time, and provide full life cycle traceability management for data sharing.

[0080] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0081] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0082] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering, or processing in another suitable manner as necessary, and then stored in a computer memory.

[0083] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc. It should be noted that the above embodiments are only used to illustrate the technical solution of the present invention and are not limited. Although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention, which should be included in the scope of the claims of the present invention.

[0084] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A method for managing and sharing electric energy data based on blockchain, characterized in that: include: Provide users with identity registration and authentication functions through the digital identity management module, and generate blockchain-based electric energy data rights confirmation certificates; Set sharing permissions and transfer registration of electric energy data based on smart contracts, and record data sharing behavior through blockchain; A high-performance consensus mechanism is used to monitor the flow of electric energy data in real time, and provide full life cycle traceability management for data sharing.

2. The electric energy data management and sharing method based on blockchain according to claim 1, characterized in that: The digital identity management module includes providing identity identification for users and calling the registration management module on the identity chain to register the newly registered identity information on the blockchain, including a registration module, a KYC interface management module, a key management module, and an authentication and authorization management module; The user generates a unique identity through the registration module and registers the identity information on the blockchain in the form of a digital signature; Integrate third-party authentication services through the KYC interface management module to perform user real-name authentication. The authentication information is encrypted and stored and recorded on the blockchain, while sensitive authentication data is not stored in the blockchain. The user can unbind the user's identity and key through the key management module. When the user changes the bound private key, the user's identity will not be affected, and the process and results of the private key change will be registered on the blockchain; Users go through the authentication and authorization module, using zero-knowledge proof to authenticate their identities, log into the rights confirmation platform, and manage the permissions of authorized users to perform operations; Among them, KYC is the process of identity verification and user authentication.

3. The electric energy data management and sharing method based on blockchain according to claim 2, characterized in that: The generation of the blockchain-based electric energy data right confirmation certificate includes the data owner uploading the original data to the right confirmation platform through the configuration system interface or the original push method. The right confirmation platform generates a digital fingerprint based on the original data, and generates metadata in combination with the user identity and time information, stores the metadata in the blockchain and issues a data right confirmation certificate. The data right confirmation certificate contains the data fingerprint, the ownership public key, the timestamp and the data size, and registers the request, process and result of the data right confirmation on the blockchain; When the amount of data is large or needs to be processed in real time, the data owner uploads the original data through the configured system interface; If the data volume is small or there is no real-time requirement, the data owner uploads the original data through the original push method; If the data upload frequency is high or the business needs involve automated management, the configuration system interface method is preferred; When the data is scattered, irregular, or comes from historical records, choose the original push method to upload the original data; When the data confirmation certificate is registered to the blockchain, the ownership of the electric energy data and data consistency verification can be performed through web browsing query and interface query; Data consistency verification includes data authenticity and signature verification.

4. The method for managing and sharing electric energy data based on blockchain according to claim 3, characterized in that: The setting of sharing authority of electric energy data based on smart contracts includes that the data owner sets the sharing scope, authority level and validity period of the data through smart contracts, and the smart contract registers the shared data packet information to the blockchain and issues a data sharing request through the sharing platform; Among them, the data owner has the right to dynamically adjust the shared data permissions and withdraw the shared data listing permissions.

5. The method for managing and sharing electric energy data based on blockchain according to claim 4, characterized in that: The circulation registration includes the demander locating shared data through keyword search or category navigation, and the smart contract automatically generates a shared registration record, and records the identity and data characteristics of both the supply and demand parties through the blockchain; When the demander submits an application for data use, the smart contract receives and verifies the application, including the demander's identity and the requested data identifier; If the identity of the requester has not been authenticated, the smart contract will reject the application and return a prompt indicating that the identity authentication failed; If the identity authentication of the demander is passed, the next step of verification will be entered; When the identity authentication of the demander is passed, the smart contract checks whether the sharing conditions are met; If the user fails to pay the usage fee, the smart contract will reject the application and return a reminder that the fee has not been paid; If the demander has paid the usage fee, the payment status will be recorded and the next step will be carried out; When the demander completes the payment and passes the authentication, the smart contract performs the permission check; If the requester's permission level is lower than the shared data requirement, the smart contract will reject the application and return a prompt indicating insufficient permission; If the permissions meet the requirements, the data sharing phase will begin; When the demander meets the sharing conditions, the smart contract records the sharing transaction, including the fingerprint of the shared data, the sharing time, the digital identities of the demander and the data provider, and the transaction hash value; Generate transaction records and put them on the chain; When the shared transaction record is successfully uploaded to the chain, the smart contract automatically grants the data access rights to the demander and notifies the data provider to complete the transaction; If the transaction record fails, the smart contract rolls back all related operations and returns a prompt indicating that the transaction failed.

6. The method for managing and sharing electric energy data based on blockchain according to claim 5, characterized in that: The real-time monitoring of the flow of electric energy data using a high-performance consensus mechanism includes using a high-performance consensus mechanism to record data sharing throughput, latency, and node failure status in real time; Dynamically generate system performance statistics charts for regulators to view and monitor abnormal behavior during data sharing; The system performance statistics chart includes the data registration and sharing volume, and forms dynamic statistical icons based on the subject, time, data packet size, and classification label. It is displayed on the cockpit large screen and provides the function of querying single sharing, property rights confirmation behavior, and querying the traceability information of a data packet throughout its life cycle.

7. The method for managing and sharing electric energy data based on blockchain according to claim 6, characterized in that: The full life cycle traceability management of data sharing described and provided includes recording all key links from data confirmation to sharing based on blockchain, generating a complete traceability record of data flow; Provides a user-side traceability query interface that supports retrieving data ownership and transfer history by certificate code or data fingerprint.

8. A system using the blockchain-based electric energy data management and sharing method as described in any one of claims 1 to 7, characterized in that: It includes the module for generating title certificates, the module for sharing and transferring, and the module for supervision and traceability; The authentication certificate generation module is used to provide identity registration and authentication functions for users through the digital identity management module, and generate a blockchain-based electric energy data authentication certificate; The sharing and transfer module is used to set sharing permissions and transfer registration of electric energy data based on smart contracts, and record data sharing behavior through blockchain; The supervision and traceability module is used to monitor the flow of electric energy data in real time using a high-performance consensus mechanism, and provide full life cycle traceability management for data sharing.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the blockchain-based electric energy data management and sharing method described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the blockchain-based electric energy data management and sharing method described in any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Cross-platform data control circulation method and device based on data space and medium

    CN120956526A

  • Cross-platform data control flow circulation method, device and medium based on data space

    CN120956526B