Block chain-based energy data sharing method and device, and medium

By building an energy data catalog through blockchain technology and utilizing smart contracts and encryption technology, we can solve the problems of data silos and inefficient management in energy data sharing, achieve efficient and secure data sharing, and improve data circulation efficiency and value mining capabilities.

CN120729495APending Publication Date: 2025-09-30GUIZHOU POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510610547.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-13
Publication Date
2025-09-30

AI Technical Summary

Technical Problem

In existing technologies, energy data sharing is plagued by data silos, inconsistent data standards, weak willingness to share, imperfect mechanisms, and insufficient transparency and security, which lead to numerous obstacles in data sharing and circulation, making it difficult to meet the needs of efficient sharing and application.

Method used

Use blockchain technology to build an energy data directory, utilize smart contracts and encryption technology to achieve trusted construction and on-chain storage of energy data, unify metadata standards, and establish a secure and efficient data sharing mechanism. Through the tamper-proof and distributed ledger characteristics of blockchain, ensure that the data sharing process is transparent, authorization is accurate, and privacy is protected.

Benefits of technology

Blockchain technology has enabled unified management of energy data catalogs, improved data circulation efficiency and value mining capabilities, ensured the security and transparency of the data sharing process, promoted data circulation and collaboration among energy companies, and driven the release of data value and industry innovation and development.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120729495A_ABST
    Figure CN120729495A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of energy data sharing, in particular to an energy data sharing method and device based on a block chain and a medium, and the method comprises the steps: obtaining target energy data under a first target energy data directory based on a block chain platform in response to a demand end; submitting a sharing application request to the authorization end according to the first target energy data directory, wherein the sharing application request is used for the authorization end to determine whether the target energy data is allowed to be shared; and in response to a message of allowing to share the target energy data fed back by the authorization end, sending an access link of the target energy data to the demand end. According to the method, trusted construction and uplink evidence storage of an energy data directory are realized through a block chain technology, metadata standards are unified, and the problems of data islands and low management efficiency in the energy industry are solved; meanwhile, a safe and efficient energy data sharing mechanism is established by using an intelligent contract and encryption technology, and the circulation efficiency of the energy data is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of energy data sharing, and in particular to a blockchain-based energy data sharing method, device, and medium. Background Art

[0002] As the energy industry accelerates its digital transformation, the management and sharing of energy data has become crucial for its development. Currently, energy companies are actively deploying blockchain technology in the energy big data sector, building their own blockchain platforms and applications, and improving overall data management and open sharing.

[0003] However, existing technologies still face numerous challenges in energy data sharing. For one thing, the construction and management of traditional energy data catalogs are plagued by data silos and limited usability. Furthermore, data standards across departments are inconsistent, making efficient management and querying difficult. Furthermore, the willingness to share energy data is weak, sharing efficiency is low, mechanisms are incomplete, data ownership is unclear, and the sharing process lacks transparency and security. These issues lead to numerous obstacles to data sharing and circulation, and a shortage of high-quality, high-value data resources, making it difficult to meet the energy industry's demand for efficient data sharing and application. Summary of the Invention

[0004] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0005] In a first aspect, the present invention provides a blockchain-based energy data sharing method, which is applied to a blockchain platform, comprising: in response to a demand side, obtaining target energy data under a first target energy data directory based on the blockchain platform;

[0006] Submitting a sharing application request to the authorization end according to the first target energy data catalog, where the sharing application request is used by the authorization end to determine whether to allow sharing of the target energy data;

[0007] In response to a message fed back by the authorization end allowing the target energy data to be shared, an access link of the target energy data is sent to the demand end.

[0008] As a preferred solution of the energy data sharing method based on blockchain of the present invention, before sending the access link of the target energy data to the demand side, it includes:

[0009] According to the message allowing the sharing of target energy data, the authorization record is uploaded to the blockchain platform for storage through the smart contract, and the access link is encrypted and sent to the demand side.

[0010] As a preferred solution of the energy data sharing method based on blockchain of the present invention, the method further includes:

[0011] In response to the demand information corresponding to the target energy data provided by the demand side, the first target energy data directory is obtained from the authorization side of the demand information. The demand information is sent by the demand side in response to the fact that the first target energy data directory does not exist in the blockchain platform.

[0012] In a second aspect, the present invention provides a blockchain-based energy data sharing method, which is applied to an authorization end and includes: determining whether to allow sharing of target energy data in response to a sharing application request;

[0013] In response to allowing the target energy data to be shared, a message allowing the target energy data to be shared is sent to the blockchain platform, so that the blockchain platform obtains an access link based on the message allowing the target energy data to be shared and sends the access link to the demand side.

[0014] As a preferred solution of the energy data sharing method based on blockchain of the present invention, before determining whether to allow sharing of target energy data,

[0015] receiving demand information sent by the blockchain platform, where the demand information is provided by the demand side to the blockchain platform in response to the absence of a first target energy data directory in the blockchain platform;

[0016] Define metadata specifications for the First Energy Data Catalog;

[0017] Collect data from various energy sectors, generate a standardized first-target energy data catalog based on metadata specifications, and dynamically update it to the blockchain platform;

[0018] Upload the standardized first-target energy data directory information and the identity information of the authorized end to the blockchain platform.

[0019] In a third aspect, the present invention provides a blockchain-based energy data sharing method, which is applied to the demand side and includes: obtaining target energy data under a first target energy data directory based on a blockchain platform;

[0020] In response to an access link for target energy data, the target energy data is acquired based on the access link.

[0021] As a preferred solution of the energy data sharing method based on blockchain of the present invention, before obtaining the target energy data under the first target energy data directory based on the blockchain platform, the method includes:

[0022] Determine whether the first target energy data directory exists in the blockchain platform;

[0023] In response to the existence of a first target energy data directory in the blockchain platform, a step of obtaining target energy data under the first target energy data directory based on the blockchain platform is performed.

[0024] In a fourth aspect, the present invention provides an electronic device, comprising:

[0025] memory and processor;

[0026] The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the energy data sharing method based on blockchain are implemented.

[0027] In a fifth aspect, the present invention provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of a blockchain-based energy data sharing method.

[0028] Compared with the existing technology, the beneficial effects of the present invention are: the trusted construction and chain storage of energy data catalogs are realized through blockchain technology, the metadata standards are unified, and the problems of data silos and inefficient management in the energy industry are solved; at the same time, a safe and efficient energy data sharing mechanism is established by using smart contracts and encryption technology to ensure that the data sharing process is transparent, authorization is accurate and privacy is protected, effectively improving the circulation efficiency and value mining capabilities of energy data, and providing strong support for data fusion computing, governance supervision, sharing and openness, and value assessment of energy data centers. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0030] Figure 1 This is a schematic diagram of the overall process of the energy data sharing method based on blockchain in one embodiment of the present invention. Figure 1 .

[0031] Figure 2 This is a schematic diagram of the overall process of the energy data sharing method based on blockchain in one embodiment of the present invention. Figure 2 .

[0032] Figure 3 This is a schematic diagram of the overall process of the energy data sharing method based on blockchain in one embodiment of the present invention. Figure 3 .

[0033] Figure 4 Express your intention to share your application DETAILED DESCRIPTION

[0034] To make the above-mentioned objects, features, and advantages of the present invention more clearly understood, the following detailed description of the specific embodiments of the present invention is given in conjunction with the accompanying drawings. It is obvious that the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in this field without creative work should fall within the scope of protection of the present invention.

[0035] Example 1, reference Figure 1 , as an embodiment of the present invention, provides a blockchain-based energy data sharing method, which can be executed by a blockchain platform. The method may include the following steps:

[0036] S110: In response to the demand side, target energy data under the first target energy data directory is obtained based on the blockchain platform.

[0037] In this embodiment, the demand side can be understood as the side that provides data demanders with a request to obtain target energy data; the blockchain platform provides a first target energy data directory and visualizes it on the demand side for the demander to search and obtain the target energy data; the authorization side can be understood as the owner or manager of the target energy data, and the authorization side authenticates the demand side's authority to obtain the target energy data, and further decides whether to allow the target energy data to be shared.

[0038] It is understandable that the demand side will search based on the current demand for target energy data and the first target energy data directory provided on the blockchain platform, laying the foundation for subsequent acquisition of matching target energy data.

[0039] In one alternative embodiment, obtaining target energy data under the first target energy data directory via a blockchain platform can be accomplished by deploying a smart contract on the blockchain platform. This smart contract is responsible for automatically responding to query requests from the demand side. When the demand side issues a request to obtain target energy data under the first target energy data directory via the blockchain platform, the smart contract automatically retrieves the relevant data directory stored on the blockchain and verifies the legitimacy of the request.

[0040] In another optional embodiment, obtaining the target energy data under the first target energy data directory based on the blockchain platform can also be achieved by creating a user-friendly interface, allowing demand-side users to interact with the blockchain platform through a graphical interface (GUI) to obtain the target energy data under the first target energy data directory.

[0041] Furthermore, the method also includes, in response to demand information corresponding to the target energy data provided by the demand side, obtaining a first target energy data directory from the authorization side of the demand information, where the demand information is sent by the demand side in response to the fact that the first target energy data directory does not exist in the blockchain platform.

[0042] It is understandable that during use, there may be a situation where the target energy data currently required by the demand side cannot find the corresponding first target energy data directory on the blockchain platform. At this time, the demand side provides the blockchain platform with the demand information corresponding to the currently required target energy data according to its own needs. After receiving the demand information, the blockchain platform traces the source based on the target energy data, and sends the demand information to the authorized end for the currently required target energy data based on the traceability results. After receiving the demand information, the authorized end compiles the first target energy data directory for the current demand, and updates the compiled first target energy data directory to the blockchain platform for subsequent retrieval and acquisition by the demand side.

[0043] Furthermore, energy data traceability includes feedback of matching results to the demand side through keyword matching. If the demand side confirms that there is no corresponding demand energy data in the matching results, the blockchain platform sends the demand information to the corresponding data provider in the demand information filled in by the demand side, and the data provider confirms the demand information.

[0044] S120: Submitting a sharing application request to the authorization end according to the first target energy data directory. The sharing application request is used by the authorization end to determine whether to allow sharing of the target energy data.

[0045] It can be understood that when the demand side retrieves the first target energy data directory corresponding to the relevant target energy data on the blockchain platform, the demand side submits a sharing application request for the target energy data under the current first target energy data directory to the authorization side. Optionally, the demand side sends a sharing application request to the authorization side through the blockchain platform.

[0046] In an optional embodiment, a sharing application request may be submitted to the authorization end by creating a Web service interface on the blockchain platform, which allows the demand side to submit a sharing application to the authorization end through a standard HTTP request.

[0047] In another optional implementation, submitting a sharing application request to the authorization end can also be done by building a blockchain smart contract, which can obtain the sharing application from the demand side and send it to the authorization end.

[0048] S130: In response to the message fed back by the authorization end allowing the target energy data to be shared, an access link of the target energy data is sent to the demand end, so that the demand end obtains the target energy data based on the access link.

[0049] It is understandable that after receiving the sharing application request from the demand side, the authorization side will review and approve whether the target energy data is allowed to be shared. Once the approval is passed, the approval result will be sent to the demand side through the blockchain platform, and the access link of the target energy data allowed to be shared will be sent to the demand side.

[0050] In an alternative implementation, an event-driven messaging system can be built on the blockchain platform. Once the authorized end approves the sharing of target energy data, an event is automatically triggered. This event carries an access link to the target energy data and is broadcast to the demand side via the blockchain network. After the demand side subscribes to the relevant event, it receives the access link in real time and uses it to obtain the required target energy data.

[0051] In another optional implementation, a push service can be constructed by combining blockchain technology and centralized services, wherein the blockchain is used to ensure the transparency and security of data sharing, and the centralized service is used to handle the generation and push logic of data access links to achieve secure sharing of target energy.

[0052] Furthermore, before sending the access link of the target energy data to the demand side, it includes:

[0053] According to the message allowing the sharing of target energy data, the authorization record is uploaded to the blockchain platform for storage through the smart contract, and the access link is encrypted and sent to the demand side.

[0054] It is understandable that when the demand side receives the approval result, the blockchain platform verifies the authorization scope (ensuring that the data demander can only access and obtain the data for which it is authorized) based on the demand side's query action on the shared approval notification, and automatically triggers the smart contract based on the verification result showing that the demand side has the authority to obtain the target energy data. After the smart contract is triggered, the access link address of the required target energy data is encrypted and transmitted to the data demander through a secure transmission protocol.

[0055] It should be noted that the authorization end will encrypt the shared target energy data to obtain a ciphertext file and send it to the blockchain platform, and then further send the ciphertext file to the demand end through the blockchain platform.

[0056] In summary, the beneficial effects of the blockchain-based energy data sharing method of the present invention are to realize the automation and security management of energy data sharing authorization through smart contracts, ensure the accurate allocation of data access rights, prevent unauthorized access, and improve data security; utilize the tamper-proof characteristics of blockchain to provide trusted records for the energy data directory and the entire sharing process, ensure data authenticity and traceability, and enhance data credibility; its distributed ledger characteristics break the information islands in traditional data management, promote data circulation and collaboration among energy enterprises, improve data sharing efficiency, and promote the value release of energy data and industry innovation and development.

[0057] Example 2, reference Figure 2 , as an embodiment of the present invention, provides a blockchain-based energy data sharing method, which can be executed by an authorized end. The method may include the following steps:

[0058] S210: In response to a sharing application request, determine whether to allow sharing of target energy data. The sharing application request is generated by the blockchain platform according to a first target energy data directory. The first target energy data directory is a directory corresponding to the target energy data obtained by the demand side.

[0059] In this embodiment, the authorization end can be understood as the owner or manager of the target energy data, which authenticates the demand side's authority to obtain the target energy data and further decides whether to allow the sharing of the target energy data; the demand side can be understood as the side that provides data demanders with requests to obtain target energy data, and the blockchain platform provides a first target energy data directory and visualizes it on the demand side for the demander to search and obtain the target energy data.

[0060] It is understandable that the demand side will search based on the current demand for target energy data in combination with the first target energy data directory provided on the blockchain platform. When the demand side retrieves the first target energy data directory corresponding to the relevant target energy data on the blockchain platform, the demand side can optionally submit a sharing application request for the target energy data under the current first target energy data directory to the authorization side through the blockchain platform. The authorization side will review and approve the sharing application request to determine whether the current demand side is allowed to share the target energy data.

[0061] In an optional implementation, a permission management automated decision-making system integrated with the blockchain platform can be used to automatically evaluate sharing application requests based on preset permission rules and policies.

[0062] In another alternative implementation, an artificial intelligence (AI)-based sharing decision support system could be built. This system uses machine learning algorithms to analyze historical sharing application data, predict the risks and benefits of sharing, and assist the authorizer in making more accurate sharing decisions. When the requester submits a sharing application, the AI ​​system will provide decision recommendations, and the authorizer can manually or automatically approve the sharing request based on these recommendations.

[0063] Furthermore, before determining whether to allow sharing of target energy data,

[0064] receiving demand information sent by the blockchain platform, where the demand information is provided by the demand side to the blockchain platform in response to the absence of a first target energy data directory in the blockchain platform;

[0065] It is understandable that during use, there may be a situation where the target energy data currently required by the demand side cannot find the corresponding first target energy data directory on the blockchain platform. At this time, the demand side provides the blockchain platform with the demand information corresponding to the currently required target energy data according to its own needs. After receiving the demand information, the blockchain platform traces the source based on the target energy data, and sends the demand information to the authorized end for the currently required target energy data based on the traceability results. The corresponding authorized end will receive the demand information and compile the first target energy data directory based on the current demand information.

[0066] Define metadata specifications for the first energy data catalog, which include data standards for different energy business systems;

[0067] It can be understood that defining the metadata specifications of the first energy data catalog includes formulating the first energy data catalog template and filling specifications (see Table 1 below for details) to achieve the unification of data standards for different energy business systems, where the target template includes basic information (data Chinese name, data English name, data domain, update cycle, data format, shared attributes, open attributes, etc.) and field information (field English name, field Chinese name, field description, field type).

[0068] Table 1: First Energy Data Catalog Template and Filling Specification Example

[0069]

[0070]

[0071]

[0072] Collect data from various energy sectors, generate a standardized first-target energy data catalog based on metadata specifications, and dynamically update it to the blockchain platform;

[0073] It will be appreciated that the metadata specification generates a standardized first-object energy data catalog.

[0074] Specifically, the steps for generating the energy data directory are as follows: the business personnel and technical personnel of the authorized department jointly sort out and fill in the department's energy data directory according to the first target energy data directory template and filling specifications; upload the energy data directory to the data directory platform and submit it to the department head for review; after passing the review, the first target energy data directory is published on the blockchain platform.

[0075] The standardized first target energy data directory information and the identity information of the authorized end are uploaded to the blockchain platform so that the blockchain platform stores the first target energy data directory information and the identity information of the authorized end accordingly. The first target energy data directory information includes the standardized first target energy data directory, the sharing conditions of the first target energy data directory and the access link of the first target energy data directory.

[0076] Specifically, the sharing conditions of the first target energy data directory include unconditional sharing and conditional sharing. For unconditional sharing, the data demander does not need to fill out an application and can obtain it directly; for conditional sharing, the data demander needs to fill out a sharing application and be authorized and reviewed by the authorization end.

[0077] It can be understood that the authorization end uploads the compiled standardized first target energy data directory information and the identity information of the authorization end to the blockchain platform. The standardized first target energy data directory information is for the demand end to send the corresponding sharing application request to the authorization end according to its own needs, so as to obtain the target energy data under the standardized first target energy data directory. The identity information of the authorization end is for the blockchain platform to send the demand message of the demand end through data traceability.

[0078] It should be noted that uploading the standardized first-target energy data directory information and the identity information of the authorized party to the blockchain platform refers to uploading the standardized first-target energy data directory information and the identity information of the authorized party to the blockchain platform through the authorized party. The blockchain platform binds and registers the uploaded standardized first-target energy data directory information and the identity information of the authorized party, clarifies the ownership and validity of the energy data, and completes the setting of permissions for shareable data, sharing conditions, and approval permissions.

[0079] Furthermore, data permission settings include user identity settings and permission settings. By setting different user identities, different permissions are granted to different identities, including viewing, modifying, uploading, downloading, deleting, etc. of data; approval permission settings include configuring approval personnel and approval processes, and only data providers have approval permissions.

[0080] It should be noted that before uploading the standardized first-target energy data directory information and the identity information of the authorized party to the blockchain platform, the authorized party will encrypt the uploaded content. At the same time, this information is recorded in the smart contract to ensure that the information cannot be tampered with.

[0081] It should be noted that encrypting the uploaded content includes using a symmetric encryption algorithm to encrypt the first target energy data directory to obtain the ciphertext of the data directory, ensuring the confidentiality of the data directory itself during transmission; then assigning a unique identification ID to each directory data according to the system and using a hash algorithm to calculate the hash value to further enhance data integrity; finally, the data are packaged together and sent to the blockchain platform.

[0082] It should be further noted that after uploading the standardized first target energy data directory information and the identity information of the authorized party to the blockchain platform, the process also includes, in response to updated first target energy data in the data of each energy department, updating the first target energy data directory based on the first target energy data and synchronizing it to the blockchain platform. Furthermore, the process also includes broadcasting the first target energy data directory information and the identity information of the authorized party to the blockchain network based on a consensus mechanism.

[0083] S220: In response to allowing the target energy data to be shared, a message allowing the target energy data to be shared is sent to the blockchain platform, so that the blockchain platform obtains an access link based on the message allowing the target energy data to be shared and sends the access link to the demand side.

[0084] It can be understood that when the authorization end passes the sharing application request to the demand end, the authorization end may optionally send a message allowing sharing of the target energy data to the demand end through the blockchain platform, and send an access link to the target energy data allowed to be shared to the demand end.

[0085] In an alternative implementation, sending a message to the blockchain platform authorizing the sharing of target energy data can be accomplished by deploying a smart contract that handles both the request and authorization for sharing the target energy data. When the authorizing party decides to allow the sharing of the target energy data, it sends a message to the blockchain platform containing specific authorization information.

[0086] In another optional embodiment, the message sent to the blockchain platform to allow sharing of target energy data can also be based on manual authorization and link distribution of permission management, that is, after the authorization end decides to share the target energy data, it manually sends a message with specific authorization information on the interface of the blockchain platform.

[0087] In summary, the beneficial effect of the blockchain-based energy data sharing method of the present invention is that the authorization end performs the chain operation of the first target energy data directory information and the identity information of the authorization end through the blockchain platform, and uses smart contracts to accurately set data sharing conditions and permissions, which can ensure that the data ownership is clear and cannot be tampered with, greatly enhancing the security of uploaded data. This not only effectively prevents unauthorized access and tampering of uploaded data, but also improves data sharing efficiency and reduces management costs through automated authorization processes. At the same time, the authorization end uses the traceability of the blockchain to achieve full monitoring of data use, ensure the compliance of uploaded data, and further enhance the trust and reliability of data sharing.

[0088] Example 3, reference Figure 3 and Figure 4 , as an embodiment of the present invention, provides a blockchain-based energy data sharing method, which can be executed by the demand side. The method may include the following steps:

[0089] S310: Obtain target energy data under a first target energy data directory based on the blockchain platform, so that the blockchain platform submits a sharing application request according to the first target energy directory. The sharing application request is used by the authorization end to determine whether sharing of the target energy data is allowed.

[0090] In this embodiment, the demand side can be understood as the side that provides data demanders with a request to obtain target energy data; the authorization side can be understood as the owner or manager of the target energy data, which authenticates the demand side's authority to obtain the target energy data through the authorization side, and further decides whether to allow the sharing of the target energy data, and the blockchain platform provides a first target energy data directory and visualizes it on the demand side for the demand side to search and obtain the target energy data.

[0091] It is understandable that the demand side will search the first target energy data directory provided on the blockchain platform based on the current demand for target energy data in order to obtain the required target energy data. When the demand side can directly find the matching first target energy directory on the blockchain platform, it can optionally send a sharing application request for the target energy data under the current first target energy directory to the authorization side through the blockchain platform to obtain the target energy data.

[0092] In an optional implementation, the target energy data under the first target energy data directory can be obtained based on the blockchain platform by adopting encrypted data retrieval and acquisition based on zero-knowledge proof, that is, the demand side uses keywords, data types, data attributes and other information on the blockchain platform to search the encrypted data directory.

[0093] In another alternative implementation, obtaining target energy data under the first target energy data directory on the blockchain platform can also be combined with identity authentication and authorized distributed data storage and retrieval. Specifically, the data requester authenticates themselves on the blockchain platform, submitting their identity information and access request. The platform verifies the requester's identity based on the rules pre-set in the smart contract and displays the accessible data directory based on their identity permissions.

[0094] Furthermore, before obtaining the target energy data under the first target energy data directory based on the blockchain platform, including:

[0095] Determine whether the first target energy data directory exists in the blockchain platform;

[0096] It is understandable that the demand side queries the first target energy data directory on the blockchain platform to understand the existing energy data situation and find resources for target energy data that meet its own needs.

[0097] In response to the existence of a first target energy data directory in the blockchain platform, performing a step of acquiring target energy data in the first target energy data directory based on the blockchain platform;

[0098] In response to the first target energy data directory not existing in the blockchain platform, demand information corresponding to the target energy data is provided to the blockchain platform, so that the blockchain platform obtains the first target energy data directory from the authorized end of the demand information.

[0099] It is understood that when a demander discovers that the first target energy data catalog on the blockchain platform does not meet their needs, they will send corresponding demand information to the demand center module on the blockchain platform. The demand information includes information such as the application purpose, application scenario, and security measures. After receiving the corresponding demand information, the authorized end will compile the first target energy catalog and update it to the blockchain platform for subsequent retrieval by the demander.

[0100] S320: In response to an access link for the target energy data, the target energy data is obtained based on the access link. The access link is obtained by the blockchain platform based on a message that the authorization end determines that the target energy data can be shared and sent to the demand end.

[0101] It is understandable that after receiving the sharing application request from the demand side, the authorization side will review and approve the sharing application request to determine whether the target energy data is allowed to be shared. Once the approval is passed, the approval result can be optionally sent to the demand side through the blockchain platform. When the demand side receives the approval result, the blockchain platform verifies the authorization scope (ensuring that the data demander can only access and obtain the data for which it is authorized) based on the demand side's query action on the sharing approval notification, and automatically triggers the smart contract based on the verification result showing that the demand side has the authority to obtain the target energy data. After the smart contract is triggered, the access link address of the required target energy data is encrypted and transmitted to the data demander through a secure transmission protocol. The demand side decrypts and views the required target energy data.

[0102] Specifically, the demand side first verifies its access rights through the smart contract. The smart contract will automatically check whether the demand side has the authority to obtain the data. After the verification is passed, the demand side uses the symmetric key to decrypt the ciphertext and obtain the access link address of the target energy data. Finally, the symmetric key is used again to decrypt the plaintext of the target energy data pointed to by the access link address of the target energy data, and finally the required original data is obtained.

[0103] In an optional embodiment, in response to an access link for the target energy data, the target energy data can be obtained based on the access link or based on the proxy acquisition of the data access middleware. That is, after the data demander receives the access link returned by the blockchain platform, the link is sent to a dedicated data access middleware. The data access middleware initiates an authentication request to the blockchain platform based on the identity information of the data demander. If the verification is successful, the data access middleware obtains the target energy data from the target storage node.

[0104] In another optional embodiment, in response to an access link for the target energy data, obtaining the target energy data based on the access link can also be based on the acquisition of the data indexing and retrieval service. That is, after the data provider stores the target energy data in a designated location, it simultaneously sends the data storage information to the blockchain platform and the data indexing service. The data indexing service uses this information to establish a global data index library. This index library contains index information for all shareable energy data and is consistent with the data directory information on the blockchain. The data demander initiates a data access request on the blockchain platform. The blockchain platform sends a query request to the data indexing service based on the data directory information in the request. After receiving the access link returned by the data indexing service, the data demander again initiates a verification request to the blockchain platform to verify the legitimacy and validity of the link. After the verification is successful, the data demander directly obtains the target energy data from the data storage location through the access link.

[0105] In summary, the beneficial effect of the blockchain-based energy data sharing method of the present invention is that, on the one hand, the demand side can quickly and accurately query and locate the required energy data resources through the blockchain platform, greatly improving the efficiency and convenience of data search; on the other hand, by submitting a data sharing application and performing automated authorization with the help of smart contracts, data access rights can be quickly obtained, which greatly shortens the time for data acquisition and improves work efficiency. At the same time, the data transmission process adopts an encryption protocol to ensure the security and confidentiality of the data during transmission, so that the demand side can obtain and use the data with peace of mind.

[0106] Example 3. This embodiment also provides an electronic device suitable for blockchain-based energy data sharing, including: a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute computer-executable instructions to implement the blockchain-based energy data sharing method proposed in the above embodiment.

[0107] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the method for sharing energy data based on blockchain as proposed in the above embodiment is implemented.

[0108] The storage medium proposed in this embodiment and the method for implementing blockchain-based energy data sharing proposed in the above embodiment belong to the same inventive concept. For technical details not fully described in this embodiment, please refer to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0109] Through the above description of the implementation methods, those skilled in the art can clearly understand that the present invention can be implemented with the help of software and necessary general hardware, and of course can also be implemented by hardware. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods of various embodiments of the present invention.

[0110] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to 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 blockchain-based energy data sharing method, characterized in that: Applied to a blockchain platform, the method includes: In response to the demand side, target energy data under the first target energy data directory is obtained based on the blockchain platform; Submitting a sharing application request to the authorization end according to the first target energy data catalog, wherein the sharing application request is used by the authorization end to determine whether to allow sharing of the target energy data; In response to a message fed back by the authorization end allowing the target energy data to be shared, an access link of the target energy data is sent to the demand end.

2. The energy data sharing method based on blockchain according to claim 1, characterized in that: Before sending the access link of the target energy data to the demand side, the method includes: According to the message allowing the sharing of target energy data, the authorization record is uploaded to the blockchain platform for storage through the smart contract, and the access link is encrypted and sent to the demand side.

3. The energy data sharing method based on blockchain as claimed in claim 2, characterized in that: The method further comprises, In response to the demand information corresponding to the target energy data provided by the demand side, the first target energy data directory is obtained from the authorization side of the demand information, and the demand information is sent by the demand side in response to the fact that the first target energy data directory does not exist in the blockchain platform.

4. A blockchain-based energy data sharing method, characterized in that: Applied to the authorization end, including: In response to the sharing application request, determining whether sharing of the target energy data is permitted; In response to allowing the target energy data to be shared, a message allowing the target energy data to be shared is sent to the blockchain platform, so that the blockchain platform obtains an access link based on the message allowing the target energy data to be shared and sends the access link to the demand end.

5. The energy data sharing method based on blockchain according to claim 4, characterized in that: Before determining whether to allow sharing of target energy data, receiving demand information sent by the blockchain platform, where the demand information is provided by the demand side to the blockchain platform in response to the absence of the first target energy data directory in the blockchain platform; Define metadata specifications for the First Energy Data Catalog; Collect data from various energy sectors, generate a standardized first target energy data catalog based on the metadata specifications, and dynamically update it to the blockchain platform; The standardized first target energy data directory information and the identity information of the authorized terminal are uploaded to the blockchain platform.

6. A blockchain-based energy data sharing method, characterized in that: Applied to the demand side, the method includes: Obtain target energy data under the first target energy data directory based on the blockchain platform; In response to an access link for target energy data, the target energy data is acquired based on the access link.

7. The energy data sharing method based on blockchain according to claim 6, characterized in that: Before obtaining the target energy data under the first target energy data directory based on the blockchain platform, the method includes: Determining whether the first target energy data directory exists in the blockchain platform; In response to the existence of the first target energy data directory in the blockchain platform, the step of obtaining the target energy data under the first target energy data directory based on the blockchain platform is performed.

8. The energy data sharing method based on blockchain according to claim 7, characterized in that: The method also includes providing demand information corresponding to the target energy data to the blockchain platform in response to the first target energy data directory not existing in the blockchain platform.

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 processor implements the steps of the method according to any one of claims 1 to 3, or implements the steps of the method according to any one of claims 4 to 5, or implements the steps of the method according to any one of claims 6 to 8.

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 computer program implements the steps of the method according to any one of claims 1 to 3, or implements the steps of the method according to any one of claims 4 to 5, or implements the steps of the method according to any one of claims 6 to 8.