Movatterモバイル変換


[0]ホーム

URL:


CN111682934B - Method and system for storing, accessing and sharing comprehensive energy metering data - Google Patents

Method and system for storing, accessing and sharing comprehensive energy metering data
Download PDF

Info

Publication number
CN111682934B
CN111682934BCN202010314730.4ACN202010314730ACN111682934BCN 111682934 BCN111682934 BCN 111682934BCN 202010314730 ACN202010314730 ACN 202010314730ACN 111682934 BCN111682934 BCN 111682934B
Authority
CN
China
Prior art keywords
data
sharing
chain
request
comprehensive energy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010314730.4A
Other languages
Chinese (zh)
Other versions
CN111682934A (en
Inventor
董得龙
李野
李刚
窦健
刘宣
杨光
刘超
孔祥玉
何泽昊
季浩
孙虹
刘浩宇
卢静雅
白涛
顾强
翟术然
陈娟
乔亚男
张兆杰
吕伟嘉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin University
China Electric Power Research Institute Co Ltd CEPRI
State Grid Tianjin Electric Power Co Ltd
Electric Power Research Institute of State Grid Tianjin Electric Power Co Ltd
State Grid Corp of China SGCC
Original Assignee
Tianjin University
China Electric Power Research Institute Co Ltd CEPRI
State Grid Tianjin Electric Power Co Ltd
Electric Power Research Institute of State Grid Tianjin Electric Power Co Ltd
State Grid Corp of China SGCC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin University, China Electric Power Research Institute Co Ltd CEPRI, State Grid Tianjin Electric Power Co Ltd, Electric Power Research Institute of State Grid Tianjin Electric Power Co Ltd, State Grid Corp of China SGCCfiledCriticalTianjin University
Priority to CN202010314730.4ApriorityCriticalpatent/CN111682934B/en
Publication of CN111682934ApublicationCriticalpatent/CN111682934A/en
Application grantedgrantedCritical
Publication of CN111682934BpublicationCriticalpatent/CN111682934B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention relates to a comprehensive energy metering data sharing method, which comprises the steps of extracting metadata and abstracts; respectively uploading the encrypted data to a storage chain and a shared chain of the double-block network, and uploading the encrypted data to a cloud storage server; the requester issues a data request; the data center sends back data permission after obtaining the data request; the requester requests the position hash of the metering data from the data storage chain according to the data license; recording the sharing request and the authorization in a sharing chain; the request direction sends a data access request to the cloud storage server; the data sender issues a key to the data requester while the cloud server provides corresponding metering data to the requester. The invention also relates to a sharing system which is composed of a comprehensive energy metering data storage chain, a comprehensive energy metering data sharing chain and a comprehensive energy data sharing platform. The invention improves the efficiency of metering data sharing among enterprises and meets the requirements of safety, incapability of modifying and privacy of data sharing.

Description

Translated fromChinese
一种综合能源计量数据的存储、访问、共享方法及系统A method and system for storing, accessing and sharing comprehensive energy metering data

技术领域technical field

本发明属于智能用电技术领域,涉及一种综合能源计量数据存储、访问、共享方法及系统。The invention belongs to the technical field of intelligent electricity utilization, and relates to a method and system for storing, accessing and sharing comprehensive energy metering data.

背景技术Background technique

综合能源服务是泛在电力物联网建设的重点方向之一。泛在电力物联网一个核心的概念就是既要互联、又要共享,能够通过多种能源的相互转换和优化配置,实现互联网式的多方交互、平等共享,最终实现整个能源服务“生态圈”的增值。但随着泛在电力物理网下综合能源服务的推进,企业内部部门间和企业与企业间的数据共享成为制约综合能源服务发展的一个关键问题。由于综合能源计量数据具有保密性、安全性、实时性、隐私性、不可更改性等特点,因此对综合能源计量数据的共享是目前综合能源服务落地发展的一个重要瓶颈。计量数据不仅需要在企业内部间进行高效率的共享,各种能源供应商之间的计量数据共享也必不可少,只有打破不同类型能源供应商之间数据共享壁垒,才能更好的发挥计量数据的潜在价值。Integrated energy services are one of the key directions in the construction of ubiquitous power Internet of Things. A core concept of the ubiquitous power Internet of Things is to be interconnected and shared. Through the mutual conversion and optimal configuration of various energy sources, Internet-style multi-party interaction and equal sharing can be realized, and finally the entire energy service "ecosystem" can be realized. added value. However, with the advancement of integrated energy services under the ubiquitous power physical network, data sharing between departments within enterprises and between enterprises has become a key issue restricting the development of integrated energy services. Since comprehensive energy measurement data has the characteristics of confidentiality, security, real-time, privacy, and inalterability, the sharing of comprehensive energy measurement data is an important bottleneck in the development of comprehensive energy services. Metering data not only needs to be efficiently shared within the enterprise, but also among various energy suppliers. Only by breaking down the data sharing barriers between different types of energy suppliers can the metering data be better utilized potential value.

目前针对电力计量数据共享的方法主要是通过申请者向数据中心提交电力数据访问请求,等待审批通过后,申请者可以从数据中心获得原始的电力数据。这种数据共享形式往往在内网与外网间设置网络防火墙,来保证企业信息安全。同时,为了保证电力计量信息的私密性,申请者在得到原始数据前,先由数据中心根据数据共享要求对数据进行遮蔽处理。此外还有一种数据共享方式,主要是先将电力数据部署到预设的容器中,并对预设容器分配IP号与端口号,用户直接通过IP号与端口号对预设容器访问,根据相应的共享请求,将原始的电力数据进行加工处理,因此用户只能获得加工处理后的数据。The current method for power metering data sharing is mainly through the applicant submitting a power data access request to the data center, and after waiting for approval, the applicant can obtain the original power data from the data center. This form of data sharing often sets up a network firewall between the internal network and the external network to ensure the security of corporate information. At the same time, in order to ensure the privacy of power metering information, before the applicant obtains the original data, the data center will first mask the data according to the data sharing requirements. In addition, there is another data sharing method, which is mainly to deploy the power data to the preset container first, and assign the IP number and port number to the preset container, and the user directly accesses the preset container through the IP number and port number, according to the corresponding The original power data is processed, so the user can only obtain the processed data.

以上数据分享过程较为繁琐,需要消耗大量时间,难以满足对数据的实时性需求。且在数据分享过程中,无法保证流程中的原始数据不被更改与泄露。虽然在内网与外网间设置了防火墙,但数据传输的安全性仍然无法绝对性的保证,存在被攻击的风险。第二种分享方案,虽然减少了部分程序,缩短了数据共享的时间,且通过对数据的加工处理一定程度上保证了数据的安全性与隐私性。但在数据分享过程中,仍然存在被更改的风险。The above data sharing process is cumbersome and takes a lot of time, making it difficult to meet the real-time requirements for data. And in the process of data sharing, there is no guarantee that the original data in the process will not be changed or leaked. Although a firewall is set up between the internal network and the external network, the security of data transmission cannot be absolutely guaranteed, and there is a risk of being attacked. The second sharing scheme reduces some procedures and shortens the time for data sharing, and ensures data security and privacy to a certain extent through data processing. However, in the process of data sharing, there is still a risk of being altered.

发明内容Contents of the invention

本发明的目的在于克服现有技术的不足,提供一种综合能源计量数据共享方法及系统。The purpose of the present invention is to overcome the deficiencies of the prior art and provide a comprehensive energy measurement data sharing method and system.

本发明解决其技术问题是采取以下技术方案实现的:The present invention solves its technical problem and realizes by taking the following technical solutions:

一种综合能源计量数据的存储方法,包括如下步骤:A method for storing comprehensive energy metering data, comprising the following steps:

步骤一:提取综合能源计量数据的元数据与摘要;Step 1: Extract metadata and summaries of integrated energy metering data;

步骤二:将提取的元数据与摘要分别上传到双区块网络的存储链与共享链中,并将计量数据进行加密处理后上传到企业的云存储服务器中。Step 2: Upload the extracted metadata and summary to the storage chain and sharing chain of the dual-block network respectively, and encrypt the measurement data and upload it to the cloud storage server of the enterprise.

而且,在所述提取综合能源计量数据的元数据与摘要之前,需要先将所述的综合能源计量数据在采集终端进行预处理。Moreover, before the metadata and summary of the comprehensive energy metering data are extracted, the comprehensive energy metering data needs to be preprocessed at the collection terminal.

一种综合能源计量数据的访问方法,包括如下步骤:A method for accessing comprehensive energy metering data, comprising the following steps:

步骤一:请求方在共享链中向数据中心发布数据请求;Step 1: The requester issues a data request to the data center in the shared chain;

步骤二:数据中心获得数据请求后在数据共享链中回发一个数据许可;Step 2: After obtaining the data request, the data center sends back a data permission in the data sharing chain;

步骤三:请求方根据数据中心签名的数据许可向数据存储链请求计量数据的位置hash;Step 3: The requester requests the location hash of metering data from the data storage chain according to the data permission signed by the data center;

步骤四:请求方得到从存储链中得到的计量数据位置Hash后,向存储加密的计量数据云存储服务器发出数据访问请求;Step 4: After the requester obtains the metering data location Hash obtained from the storage chain, it sends a data access request to the cloud storage server for storing encrypted metering data;

步骤五:数据发送方在收到步骤四中的数据访问请求后,依据智能合约向数据请求方颁发密钥,同时云服务器向请求方提供对应的计量数据。Step 5: After receiving the data access request in step 4, the data sender issues a key to the data requester according to the smart contract, and the cloud server provides the corresponding metering data to the requester.

而且,所述请求方根据数据中心签名的数据许可向数据存储链请求计量数据的位置hash的方法为:Moreover, the method for the requester to request the location hash of metering data from the data storage chain according to the data permission signed by the data center is:

步骤1:数据请求方Ei对数据发送方Ej的计量数据感兴趣,在共享链中发布请求,{askData}为需要的数据集合;Step 1: The data requester Ei is interested in the measurement data of the data sender Ej , and issues a request in the sharing chain, {askData} is the required data set;

步骤2:验证后,将该请求作为一条交易记录附加在本地共享账本中;Step 2: After verification, attach the request as a transaction record to the local shared ledger;

步骤3:数据发送方Ej收到请求后,在数据请求方Ei请求的数据范围内选择可用于共享的数据,再发回一个数据许可{admitData},并将该记录发布到共享链中;Step 3: After receiving the request, the data sender Ej selects the data available for sharing within the data range requested by the data requester Ei , sends back a data permission {admitData}, and publishes the record to the sharing chain ;

步骤4:验证后,将该许可作为一条记录附加在本地共享账本中;Step 4: After verification, attach the permission as a record in the local shared ledger;

步骤5:数据请求方Ei使用签名的{admitData}向数据存储链请求计量数据的位置Hash。Step 5: The data requester Ei uses the signed {admitData} to request the location Hash of metering data from the data storage chain.

一种综合能源计量数据的存储系统,包括数据提取模块及数据上传模块,所述的数据提取模块用于提取综合能源计量数据的元数据与摘要;A storage system for comprehensive energy measurement data, including a data extraction module and a data upload module, the data extraction module is used to extract metadata and abstracts of comprehensive energy measurement data;

所述的数据上传模块用于将提取的元数据与摘要分别上传到双区块网络的存储链与共享链中,并将计量数据进行加密处理后上传到企业的云存储服务器中。The data upload module is used to upload the extracted metadata and summary to the storage chain and sharing chain of the dual-block network respectively, and encrypt the measurement data and then upload it to the cloud storage server of the enterprise.

而且,还包括预处理模块,所述的预处理模块用于在所述提取综合能源计量数据的元数据与摘要之前,将所述的综合能源计量数据在采集终端进行预处理。Moreover, a preprocessing module is also included, and the preprocessing module is used to preprocess the comprehensive energy measurement data at the collection terminal before extracting the metadata and summary of the comprehensive energy measurement data.

一种综合能源计量数据的访问系统,包括数据请求模块、数据许可模块、数据位置请求模块、访问请求模块及计量数据提供模块,An access system for comprehensive energy metering data, including a data request module, a data permission module, a data location request module, an access request module and a metering data providing module,

所述的数据请求模块用于请求方在共享链中向数据中心发布数据请求;The data request module is used for the requester to issue a data request to the data center in the sharing chain;

所述的数据许可模块用于数据中心获得数据请求后在数据共享链中回发一个数据许可;The data permission module is used for sending back a data permission in the data sharing chain after the data center obtains the data request;

所述的数据位置请求模块用于请求方根据数据中心签名的数据许可向数据存储链请求计量数据的位置hash;The data location request module is used for the requester to request the location hash of metering data from the data storage chain according to the data permission signed by the data center;

所述的访问请求模块用于请求方得到从存储链中得到的计量数据位置Hash后,向存储加密的计量数据云存储服务器发出数据访问请求;The access request module is used for the requester to send a data access request to the encrypted metering data cloud storage server after obtaining the metering data location Hash obtained from the storage chain;

所述的计量数据提供模块用于数据发送方在收到步骤四中的数据访问请求后,依据智能合约向数据请求方颁发密钥,同时云服务器向请求方提供对应的计量数据。The metering data providing module is used for the data sender to issue a key to the data requester according to the smart contract after receiving the data access request in step 4, and at the same time, the cloud server provides the corresponding metering data to the requester.

而且,所述的数据位置请求模块用于请求方根据数据中心签名的数据许可向数据存储链请求计量数据的位置hash的方法为:Moreover, the method used by the data location request module for the requester to request the location hash of metering data from the data storage chain according to the data permission signed by the data center is:

步骤1:数据请求方Ei对数据发送方Ej的计量数据感兴趣,在共享链中发布请求,{askData}为需要的数据集合;Step 1: The data requester Ei is interested in the measurement data of the data sender Ej , and issues a request in the sharing chain, {askData} is the required data set;

步骤2:验证后,将该请求作为一条交易记录附加在本地共享账本中;Step 2: After verification, attach the request as a transaction record to the local shared ledger;

步骤3:数据发送方Ej收到请求后,在数据请求方Ei请求的数据范围内选择可用于共享的数据,再发回一个数据许可{admitData},并将该记录发布到共享链中;Step 3: After receiving the request, the data sender Ej selects the data available for sharing within the data range requested by the data requester Ei , sends back a data permission {admitData}, and publishes the record to the sharing chain ;

步骤4:验证后,将该许可作为一条记录附加在本地共享账本中;Step 4: After verification, attach the permission as a record in the local shared ledger;

步骤5:数据请求方Ei使用签名的{admitData}向数据存储链请求计量数据的位置Hash。Step 5: The data requester Ei uses the signed {admitData} to request the location Hash of metering data from the data storage chain.

一种综合能源计量数据的共享系统,包括存储系统及访问系统,由综合能源计量数据存储链、综合能源计量数据共享链及综合能源数据共享平台构成,A comprehensive energy measurement data sharing system, including a storage system and an access system, is composed of a comprehensive energy measurement data storage chain, a comprehensive energy measurement data sharing chain and a comprehensive energy data sharing platform,

所述的综合能源计量数据存储链用于存储计量数据;The comprehensive energy metering data storage chain is used to store metering data;

所述的综合能源共享链,用于发送数据摘要到负责与其他机构共享交互的服务器节点上,在与其他能源企业组成的分享链中的广播,链上的其他能源企业验证并接受该区块;The comprehensive energy sharing chain is used to send data summaries to server nodes responsible for sharing and interacting with other institutions, broadcast in the sharing chain formed with other energy companies, and other energy companies on the chain verify and accept the block ;

所述的综合能源计量数据共享平台,用于协调各个能源企业数据之间的交互。The comprehensive energy metering data sharing platform is used for coordinating the interaction between the data of various energy enterprises.

而且,所述的综合能源计量数据存储链,由能源企业内部的综合能源计量数据的元数据上链构成;所述的综合能源共享链,主要是由能源企业提供的计量数据摘要构成;所述的综合能源计量数据共享平台,主要包括共享链数据请求端口、共享链数据授权端口、共享链数据本地账本、存储链数据位置Hash访问端口、云服务器数据访问端口以及智能合约管理。Moreover, the comprehensive energy measurement data storage chain is composed of the metadata of the comprehensive energy measurement data within the energy enterprise; the comprehensive energy sharing chain is mainly composed of the measurement data summary provided by the energy enterprise; The comprehensive energy measurement data sharing platform mainly includes sharing chain data request port, sharing chain data authorization port, sharing chain data local ledger, storage chain data location Hash access port, cloud server data access port and smart contract management.

本发明的优点和积极效果是:Advantage and positive effect of the present invention are:

1.本发明一种基于双区块链的综合能源计量数据的存储及访问方法,在保证综合能源计量数据能够安全在各个能源企业节点间的共享外,提高了企业间计量数据共享的效率,实现了数据共享的安全性要求,不可更改性要求,以及隐私性的要求。1. A method for storing and accessing comprehensive energy metering data based on dual blockchains in the present invention, in addition to ensuring that the comprehensive energy metering data can be safely shared among energy enterprise nodes, it improves the efficiency of metering data sharing among enterprises, The security requirements, immutability requirements, and privacy requirements of data sharing are realized.

2.本发明通过设计一种基于双区块链的综合能源计量数据的存储及访问系统,为综合能源计量数据数据共享提供了平台。在该平台上,各能源企业可以根据自己的业务计量数据需要,进行数据共享请求与数据授权操作,方便、高效的为各企业的提供业务的数据需求。2. The present invention provides a platform for data sharing of comprehensive energy measurement data by designing a storage and access system for comprehensive energy measurement data based on dual blockchains. On this platform, energy companies can perform data sharing requests and data authorization operations according to their own business measurement data needs, and provide business data needs for each company conveniently and efficiently.

3.在数据共享过程中,所有的共享请求与授权都会作为一种交易记录在链中,使得每一次的数据共享都有迹可循,即共享过程全流程可追溯。3. During the data sharing process, all sharing requests and authorizations will be recorded in the chain as a transaction, so that every data sharing can be traced, that is, the whole process of the sharing process can be traced.

4.本发明通过将步骤二三的交易记录在共享链中,防止作假,同时方便政府或者其他部门审核用。因为是保存在共享链中的每个本地账本中,所以造假成本极高。4. The present invention prevents fraud by recording the transactions in steps two and three in the shared chain, and at the same time facilitates the review by the government or other departments. Because it is stored in each local ledger in the shared chain, the cost of counterfeiting is extremely high.

附图说明Description of drawings

图1为本发明基于双区块链的数据存储与共享框架图;Fig. 1 is a frame diagram of data storage and sharing based on dual block chains of the present invention;

图2为本发明计量数据的访问方法流程图;Fig. 2 is the flow chart of the access method of metering data in the present invention;

图3为本发明能源企业计量数据共享图;Fig. 3 is the metering data sharing chart of the energy enterprise of the present invention;

图4为本发明综合能源计量数据共享平台示意图。Fig. 4 is a schematic diagram of the integrated energy metering data sharing platform of the present invention.

具体实施方式Detailed ways

以下结合附图对本发明的实施例做进一步详述:Embodiments of the present invention are described in further detail below in conjunction with the accompanying drawings:

一种综合能源计量数据共享方法,其创新之处在于:包括计量数据的存储方法及计量数据的访问方法,A comprehensive energy measurement data sharing method, the innovation of which is: including the storage method of measurement data and the access method of measurement data,

所述计量数据的存储方法为:The storage method of the metering data is:

步骤一:对计量数据进行预处理,提取其元数据与摘要;Step 1: Preprocess the measurement data, extract its metadata and summary;

步骤二:将提取的元数据与摘要分别上传到双区块网络的存储链与共享链中,并将计量数据进行加密处理后上传到企业的云存储服务器中;Step 2: Upload the extracted metadata and summary to the storage chain and sharing chain of the dual-block network respectively, and encrypt the measurement data and upload it to the cloud storage server of the enterprise;

如图2所示,所述计量数据的访问方法包括如下步骤:As shown in Figure 2, the access method of the measurement data includes the following steps:

步骤一:请求方在共享链中向数据中心发布数据请求;Step 1: The requester issues a data request to the data center in the shared chain;

步骤二:数据中心获得数据请求后在数据共享链中回发一个数据许可;Step 2: After obtaining the data request, the data center sends back a data permission in the data sharing chain;

步骤三:请求方根据数据中心签名的数据许可向数据存储链请求计量数据的位置hash;Step 3: The requester requests the location hash of metering data from the data storage chain according to the data permission signed by the data center;

步骤四:将步骤三的共享请求与授权记录在共享链中,从而将本次交易记录在共享链中各个能源企业的本地账本中,使得每次交易可溯源;Step 4: Record the sharing request and authorization of step 3 in the sharing chain, so that this transaction is recorded in the local ledger of each energy company in the sharing chain, making each transaction traceable;

步骤五:请求方得到从存储链中得到的计量数据位置Hash后,向云存储服务器发出数据访问请求;Step 5: The requester sends a data access request to the cloud storage server after obtaining the metering data location Hash obtained from the storage chain;

步骤六:数据发送方在收到步骤五中的数据访问请求后,依据智能合约向数据请求方颁发密钥,同时云服务器向请求方提供对应的计量数据。Step 6: After receiving the data access request in step 5, the data sender issues a key to the data requester according to the smart contract, and the cloud server provides the corresponding metering data to the requester.

如图3所示,所述请求方根据数据中心签名的数据许可向数据存储链请求计量数据的位置hash的方法为:As shown in Figure 3, the method for the requester to request the location hash of metering data from the data storage chain according to the data permission signed by the data center is:

步骤1:数据请求方Ei对数据发送方Ej的计量数据感兴趣,在共享链中发布请求,{askData}为需要的数据集合;数据请求方及数据发送方均为能源企业。Step 1: The data requester Ei is interested in the measurement data of the data sender Ej , and issues a request in the sharing chain, {askData} is the required data set; the data requester and the data sender are both energy companies.

步骤2:验证后,将该请求作为一条交易记录附加在本地共享账本中;Step 2: After verification, attach the request as a transaction record to the local shared ledger;

步骤3:数据发送方Ej收到请求后,在数据请求方Ei请求的数据范围内选择可用于共享的数据,再发回一个数据许可{admitData},并将该记录发布到共享链中;Step 3: After receiving the request, the data sender Ej selects the data available for sharing within the data range requested by the data requester Ei , sends back a data permission {admitData}, and publishes the record to the sharing chain ;

步骤4:验证后,将该许可作为一条记录附加在本地共享账本中;Step 4: After verification, attach the permission as a record in the local shared ledger;

步骤5:数据请求方Ei使用签名的{admitData}向数据存储链请求计量数据的位置Hash;Step 5: The data requester Ei uses the signed {admitData} to request the location Hash of metering data from the data storage chain;

步骤6:数据请求方Ei在获取所需数据的位置Hash后,向云存储服务器申请访问对应的许可记录,智能合约根据数据发送方Ej的许可为该记录访问颁发密钥,同时云服务器为请求方提供对应能源计量数据。Step 6: After obtaining the location Hash of the required data, the data requester Ei applies to the cloud storage server to access the corresponding permission record, and the smart contract issues a key for the record access according to the permission of the data sender Ej , and the cloud server Provide the corresponding energy metering data to the requesting party.

如图1所示,一种综合能源计量数据共享系统,其创新之处在于:由综合能源计量数据存储链、综合能源计量数据共享链、综合能源数据共享平台构成,As shown in Figure 1, an integrated energy measurement data sharing system is innovative in that it consists of an integrated energy measurement data storage chain, an integrated energy measurement data sharing chain, and an integrated energy data sharing platform.

所述的综合能源计量数据存储链,由各个能源企业内部的综合能源计量数据的元数据上链构成,防止数据被篡改、验证数据的完整性、全流程可追溯;The comprehensive energy metering data storage chain is composed of the metadata of the comprehensive energy metering data within each energy company, which prevents data from being tampered with, verifies the integrity of the data, and traces the entire process;

所述的综合能源共享链,主要是由各个能源企业提供的计量数据摘要所构成,企业发送数据摘要到负责与其他机构共享交互的服务器节点上,在与其他能源企业组成的分享链中的广播,链上的其他能源企业验证并接受该区块,各个能源企业可通过该分享找到感兴趣的数据,通过智能合约取得其他能源企业的授权后,可获得其详细数据;The comprehensive energy sharing chain is mainly composed of metering data summaries provided by various energy companies, and the companies send data summaries to server nodes responsible for sharing and interacting with other organizations, and broadcast in the sharing chain formed with other energy companies , other energy companies on the chain verify and accept the block, each energy company can find the data of interest through this sharing, and obtain its detailed data after obtaining authorization from other energy companies through smart contracts;

如图4所示,所述的综合能源计量数据共享平台,主要是作为协调各个能源企业数据之间的交互,为综合能源计量数据共享服务提供支持,该共享平台主要包括共享链数据请求端口,共享链数据授权端口,共享链数据本地账本,存储链数据位置Hash访问端口,云服务器数据访问端口以及智能合约管理。As shown in Figure 4, the comprehensive energy metering data sharing platform is mainly used to coordinate the interaction between the data of various energy enterprises and provide support for the comprehensive energy metering data sharing service. The sharing platform mainly includes a sharing chain data request port, Shared chain data authorization port, shared chain data local ledger, storage chain data location Hash access port, cloud server data access port and smart contract management.

本发明提出一种基于双区块链的综合能源计量数据共享方法及系统,各个能源企业作为一个较大的数据管理维护方,一般都具有足够的数据处理能力,因此可以单独作为一个区块链节点,与其他能源企业一起组成综合能源计量数据分享联盟链,共同维护该链,在该分享链中只存储各自计量数据的摘要与交易信息。能源计量数据作为能源企业与客户双方共同保护的隐私数据,应在能源企业内部负责计量数据的存储,一个台区的采集终端可作为计量数据存储链中的节点。存储链中只存储各综合能源计量数据的元数据,详细的数据存放在各个能源企业的云存储服务器中。由各能源企业间的合约,来确定是否共享自己的计量数据,实现了综合能源计量数据的安全存储与共享。The present invention proposes a comprehensive energy measurement data sharing method and system based on dual blockchains. Each energy enterprise, as a large data management and maintenance party, generally has sufficient data processing capabilities, so it can be used as a single blockchain Nodes, together with other energy companies, form a comprehensive energy metering data sharing alliance chain, jointly maintain the chain, and only store the summary and transaction information of their respective metering data in the sharing chain. Energy metering data, as private data jointly protected by energy companies and customers, should be responsible for the storage of metering data within the energy company, and the collection terminal in a station area can be used as a node in the metering data storage chain. Only the metadata of each comprehensive energy measurement data is stored in the storage chain, and the detailed data is stored in the cloud storage servers of each energy enterprise. The contracts between energy companies determine whether to share their own metering data, realizing the safe storage and sharing of comprehensive energy metering data.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowcharts and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

最后应当说明的是:以上实施例仅用以说明本发明的技术方案而非对其限制,尽管参照上述实施例对本发明进行了详细的说明,所属领域的普通技术人员应当理解:依然可以对本发明的具体实施方式进行修改或者等同替换,而未脱离本发明精神和范围的任何修改或者等同替换,其均应涵盖在本发明的权利要求保护范围之内。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: the present invention can still be Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention shall fall within the protection scope of the claims of the present invention.

Claims (7)

Translated fromChinese
1.一种综合能源计量数据共享方法,其特征在于:包括计量数据的存储方法及计量数据的访问方法,1. A method for sharing comprehensive energy metering data, characterized in that: it includes a method for storing metering data and an access method for metering data,所述计量数据的存储方法,包括如下步骤:The method for storing metering data includes the following steps:步骤一:提取综合能源计量数据的元数据与摘要;Step 1: Extract metadata and summaries of integrated energy metering data;步骤二:将提取的元数据与摘要分别上传到双区块网络的存储链与共享链中,并将计量数据进行加密处理后上传到企业的云存储服务器中;Step 2: Upload the extracted metadata and summary to the storage chain and sharing chain of the dual-block network respectively, and encrypt the measurement data and upload it to the cloud storage server of the enterprise;在所述提取综合能源计量数据的元数据与摘要之前,需要先将所述的综合能源计量数据在采集终端进行预处理;Before extracting the metadata and summary of the comprehensive energy measurement data, the comprehensive energy measurement data needs to be preprocessed at the collection terminal;所述计量数据的访问方法,包括如下步骤:The method for accessing the measurement data includes the following steps:步骤一:请求方在共享链中向数据中心发布数据请求;Step 1: The requester issues a data request to the data center in the shared chain;步骤二:数据中心获得数据请求后在数据共享链中回发一个数据许可;Step 2: After obtaining the data request, the data center sends back a data permission in the data sharing chain;步骤三:请求方根据数据中心签名的数据许可向数据存储链请求计量数据的位置hash;Step 3: The requester requests the location hash of metering data from the data storage chain according to the data permission signed by the data center;步骤四:请求方得到从存储链中得到的计量数据位置Hash后,向存储加密的计量数据云存储服务器发出数据访问请求;Step 4: After the requester obtains the metering data location Hash obtained from the storage chain, it sends a data access request to the cloud storage server for storing encrypted metering data;步骤五:数据发送方在收到步骤四中的数据访问请求后,依据智能合约向数据请求方颁发密钥,同时云服务器向请求方提供对应的计量数据;Step 5: After receiving the data access request in step 4, the data sender issues a key to the data requester according to the smart contract, and at the same time, the cloud server provides the corresponding measurement data to the requester;所述请求方根据数据中心签名的数据许可向数据存储链请求计量数据的位置hash的方法为:According to the data permission signed by the data center, the requester requests the location hash of metering data from the data storage chain as follows:步骤1:数据请求方Ei对数据发送方Ej的计量数据感兴趣,在共享链中发布请求,{askData}为需要的数据集合;Step 1: The data requester Ei is interested in the measurement data of the data sender Ej, and issues a request in the sharing chain, {askData} is the required data set;步骤2:验证后,将该请求作为一条交易记录附加在本地共享账本中;Step 2: After verification, attach the request as a transaction record to the local shared ledger;步骤3:数据发送方Ej收到请求后,在数据请求方Ei请求的数据范围内选择可用于共享的数据,再发回一个数据许可{admitData},并将该记录发布到共享链中;Step 3: After receiving the request, the data sender Ej selects the data available for sharing within the data range requested by the data requester Ei, sends back a data permission {admitData}, and publishes the record to the sharing chain;步骤4:验证后,将该许可作为一条记录附加在本地共享账本中;Step 4: After verification, attach the permission as a record in the local shared ledger;步骤5:数据请求方Ei使用签名的{admitData}向数据存储链请求计量数据的位置Hash。Step 5: The data requester Ei uses the signed {admitData} to request the location Hash of metering data from the data storage chain.2.一种综合能源计量数据的存储系统,其特征在于:该存储系统应用于如权利要求1所述的综合能源计量数据共享方法,其包括数据提取模块及数据上传模块,所述的数据提取模块用于提取综合能源计量数据的元数据与摘要;2. A storage system for comprehensive energy measurement data, characterized in that: the storage system is applied to the comprehensive energy measurement data sharing method as claimed in claim 1, and it includes a data extraction module and a data upload module, and the data extraction The module is used to extract metadata and summaries of comprehensive energy metering data;所述的数据上传模块用于将提取的元数据与摘要分别上传到双区块网络的存储链与共享链中,并将计量数据进行加密处理后上传到企业的云存储服务器中。The data upload module is used to upload the extracted metadata and summary to the storage chain and sharing chain of the dual-block network respectively, and encrypt the measurement data and then upload it to the cloud storage server of the enterprise.3.根据权利要求2所述的一种综合能源计量数据的存储系统,其特征在于:还包括预处理模块,所述的预处理模块用于在所述提取综合能源计量数据的元数据与摘要之前,将所述的综合能源计量数据在采集终端进行预处理。3. A storage system for comprehensive energy metering data according to claim 2, characterized in that: it also includes a preprocessing module, and the preprocessing module is used to extract metadata and abstracts of the comprehensive energy metering data Before, the comprehensive energy metering data is preprocessed at the collection terminal.4.一种综合能源计量数据的访问系统,其特征在于:该访问系统应用于如权利要求1所述的综合能源计量数据共享方法,其包括数据请求模块、数据许可模块、数据位置请求模块、访问请求模块及计量数据提供模块,4. An access system for comprehensive energy metering data, characterized in that: the access system is applied to the comprehensive energy metering data sharing method as claimed in claim 1, which includes a data request module, a data permission module, a data location request module, access request module and measurement data providing module,所述的数据请求模块用于请求方在共享链中向数据中心发布数据请求;The data request module is used for the requester to issue a data request to the data center in the sharing chain;所述的数据许可模块用于数据中心获得数据请求后在数据共享链中回发一个数据许可;The data permission module is used for sending back a data permission in the data sharing chain after the data center obtains the data request;所述的数据位置请求模块用于请求方根据数据中心签名的数据许可向数据存储链请求计量数据的位置hash;The data location request module is used for the requester to request the location hash of metering data from the data storage chain according to the data permission signed by the data center;所述的访问请求模块用于请求方得到从存储链中得到的计量数据位置Hash后,向存储加密的计量数据云存储服务器发出数据访问请求;The access request module is used for the requester to send a data access request to the encrypted metering data cloud storage server after obtaining the metering data location Hash obtained from the storage chain;所述的计量数据提供模块用于数据发送方在收到步骤四中的数据访问请求后,依据智能合约向数据请求方颁发密钥,同时云服务器向请求方提供对应的计量数据。The metering data providing module is used for the data sender to issue a key to the data requester according to the smart contract after receiving the data access request in step 4, and at the same time, the cloud server provides the corresponding metering data to the requester.5.根据权利要求4所述的一种综合能源计量数据的访问系统,其特征在于:所述的数据位置请求模块用于请求方根据数据中心签名的数据许可向数据存储链请求计量数据的位置hash的方法为:5. An access system for comprehensive energy metering data according to claim 4, characterized in that: said data location request module is used for the requester to request the location of metering data from the data storage chain according to the data permission signed by the data center The hash method is:步骤1:数据请求方Ei对数据发送方Ej的计量数据感兴趣,在共享链中发布请求,{askData}为需要的数据集合;Step 1: The data requester Ei is interested in the measurement data of the data sender Ej, and issues a request in the sharing chain, {askData} is the required data set;步骤2:验证后,将该请求作为一条交易记录附加在本地共享账本中;Step 2: After verification, attach the request as a transaction record to the local shared ledger;步骤3:数据发送方Ej收到请求后,在数据请求方Ei请求的数据范围内选择可用于共享的数据,再发回一个数据许可{admitData},并将该记录发布到共享链中;Step 3: After receiving the request, the data sender Ej selects the data available for sharing within the data range requested by the data requester Ei, sends back a data permission {admitData}, and publishes the record to the sharing chain;步骤4:验证后,将该许可作为一条记录附加在本地共享账本中;Step 4: After verification, attach the permission as a record in the local shared ledger;步骤5:数据请求方Ei使用签名的{admitData}向数据存储链请求计量数据的位置Hash。Step 5: The data requester Ei uses the signed {admitData} to request the location Hash of metering data from the data storage chain.6.一种综合能源计量数据的共享系统,其特征在于:该共享系统应用于如权利要求1所述的综合能源计量数据共享方法,其包括存储系统及访问系统,由综合能源计量数据存储链、综合能源计量数据共享链及综合能源数据共享平台构成,6. A system for sharing integrated energy metering data, characterized in that: the sharing system is applied to the method for sharing integrated energy metering data as claimed in claim 1, which includes a storage system and an access system, and the integrated energy metering data storage chain , comprehensive energy measurement data sharing chain and comprehensive energy data sharing platform,所述的综合能源计量数据存储链用于存储计量数据;The comprehensive energy metering data storage chain is used to store metering data;所述的综合能源共享链,用于发送数据摘要到负责与其他机构共享交互的服务器节点上,在与其他能源企业组成的分享链中的广播,链上的其他能源企业验证并接受该区块;The comprehensive energy sharing chain is used to send data summaries to server nodes responsible for sharing and interacting with other institutions, broadcast in the sharing chain formed with other energy companies, and other energy companies on the chain verify and accept the block ;所述的综合能源计量数据共享平台,用于协调各个能源企业数据之间的交互。The comprehensive energy metering data sharing platform is used for coordinating the interaction between the data of various energy enterprises.7.根据权利要求6所述的一种综合能源计量数据的共享系统,其特征在于:所述的综合能源计量数据存储链,由能源企业内部的综合能源计量数据的元数据上链构成;所述的综合能源共享链,主要是由能源企业提供的计量数据摘要构成;所述的综合能源计量数据共享平台,主要包括共享链数据请求端口、共享链数据授权端口、共享链数据本地账本、存储链数据位置Hash访问端口、云服务器数据访问端口以及智能合约管理。7. A system for sharing comprehensive energy metering data according to claim 6, characterized in that: said comprehensive energy metering data storage chain is constituted by uploading metadata of comprehensive energy metering data within energy companies; The comprehensive energy sharing chain described above is mainly composed of metering data abstracts provided by energy companies; the comprehensive energy metering data sharing platform described mainly includes sharing chain data request ports, sharing chain data authorization ports, sharing chain data local ledgers, storage Chain data location Hash access port, cloud server data access port and smart contract management.
CN202010314730.4A2020-04-212020-04-21Method and system for storing, accessing and sharing comprehensive energy metering dataActiveCN111682934B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010314730.4ACN111682934B (en)2020-04-212020-04-21Method and system for storing, accessing and sharing comprehensive energy metering data

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010314730.4ACN111682934B (en)2020-04-212020-04-21Method and system for storing, accessing and sharing comprehensive energy metering data

Publications (2)

Publication NumberPublication Date
CN111682934A CN111682934A (en)2020-09-18
CN111682934Btrue CN111682934B (en)2023-08-01

Family

ID=72451702

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010314730.4AActiveCN111682934B (en)2020-04-212020-04-21Method and system for storing, accessing and sharing comprehensive energy metering data

Country Status (1)

CountryLink
CN (1)CN111682934B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112583887B (en)*2020-10-232022-08-05国网福建省电力有限公司 A method for trusted data sharing based on blockchain

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107180350A (en)*2017-03-312017-09-19唐晓领 A method, device and system for multi-party sharing of transaction metadata based on blockchain
CN109040012A (en)*2018-06-192018-12-18西安电子科技大学A kind of data security protecting and sharing method based on block chain and system and application
CN109450910A (en)*2018-11-262019-03-08远光软件股份有限公司Data sharing method, data sharing network and electronic equipment based on block chain
CN109729168A (en)*2018-12-312019-05-07浙江成功软件开发有限公司A kind of data share exchange system and method based on block chain
CN109768987A (en)*2019-02-262019-05-17重庆邮电大学 A secure and private storage and sharing method of data files based on blockchain

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US10126970B2 (en)*2015-12-112018-11-13Sandisk Technologies LlcPaired metablocks in non-volatile storage device
CN109117660B (en)*2017-06-222021-05-28中思博安科技(北京)有限公司 A data sharing method and system based on blockchain and smart contracts
CN108898390B (en)*2018-06-272021-01-12创新先进技术有限公司Intelligent contract calling method and device based on block chain and electronic equipment
CN109040077B (en)*2018-08-092021-03-23清华大学Method and system for data sharing and privacy protection
CN109326337B (en)*2018-09-062021-09-03西安电子科技大学Model and method for storing and sharing electronic medical record based on block chain
CN109242636A (en)*2018-09-262019-01-18盈盈(杭州)网络技术有限公司A kind of data transacting system and its implementation based on block chain
CN109684287A (en)*2018-12-292019-04-26厦门链平方科技有限公司Gateway information sharing query method and system based on block chain
CN110298193B (en)*2019-06-102023-03-24中电科大数据研究院有限公司Information sharing system and method based on block chain
CN111010430B (en)*2019-12-052022-03-29江苏荣泽信息科技股份有限公司Cloud computing security data sharing method based on double-chain structure

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107180350A (en)*2017-03-312017-09-19唐晓领 A method, device and system for multi-party sharing of transaction metadata based on blockchain
CN109040012A (en)*2018-06-192018-12-18西安电子科技大学A kind of data security protecting and sharing method based on block chain and system and application
CN109450910A (en)*2018-11-262019-03-08远光软件股份有限公司Data sharing method, data sharing network and electronic equipment based on block chain
CN109729168A (en)*2018-12-312019-05-07浙江成功软件开发有限公司A kind of data share exchange system and method based on block chain
CN109768987A (en)*2019-02-262019-05-17重庆邮电大学 A secure and private storage and sharing method of data files based on blockchain

Also Published As

Publication numberPublication date
CN111682934A (en)2020-09-18

Similar Documents

PublicationPublication DateTitle
Gao et al.CoC: A unified distributed ledger based supply chain management system
TWI764037B (en) Interaction method and system across blockchain, computer equipment and storage medium
CN108830601B (en)Smart city information safe use method and system based on block chain
US20230316273A1 (en)Data processing method and apparatus, computer device, and storage medium
CN113065961B (en)Power block chain data management system
CN102170440B (en)Method suitable for safely migrating data between storage clouds
CN111914269A (en)Data security sharing method and system under block chain and cloud storage environment
CN108681966A (en) A blockchain-based information supervision method and device
CN111651794A (en)Alliance chain-based electronic data management method and device and storage medium
CN111291394B (en)False information management method, false information management device and storage medium
CN110555783B (en) A blockchain-based power marketing data protection method and system
CN116168820A (en) Medical data interoperability method based on virtual integration and blockchain fusion
US20230041862A1 (en)Cloud-side collaborative multi-mode private data circulation method based on smart contract
US20190139133A1 (en)System for periodically updating backings for resource requests
CN113486122A (en)Data sharing method and electronic equipment
WO2024002105A1 (en)Data asset usage control method, client and intermediate service platform
CN117009988A (en)Encryption data storage and query method based on blockchain
CN114239043B (en) A shared encrypted storage system based on blockchain technology
CN112532718A (en)Block chain based offshore equipment data sharing system, method and medium
CN113300853B (en) Financial credit information management method, device, electronic device and storage medium
CN113362063A (en)Asset digitalization method based on block chain and transaction platform thereof
CN113011960A (en)Block chain-based data access method, device, medium and electronic equipment
Liu et al.Application of blockchain technology in electric vehicle charging piles based on electricity Internet of Things
CN103078960B (en)Concerning security matters electronic document data exchanges and shared system
CN118211251A (en)Access control method, device, electronic equipment and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp