Distributed resource monitoring terminal data credibility method, device and system oriented to power auxiliary service
By using edge gateways to obtain blockchain certificates in the resource monitoring terminal of power distributed resources, and signing and on-chain processing of data, the problem of lack of credibility in the collection and transmission of power distributed resources is solved, and the problem of the lack of credibility of power distributed resource data is realized. Reliability and accuracy of virtual power plant data.
Patent Information
- Application Number
- CN202411466174.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-21
- Publication Date
- 2025-02-18
AI Technical Summary
The source data of distributed power resources lacks credibility during the acquisition and transmission process, and cannot reliably support virtual power plants to participate in power auxiliary service scenarios.
Through the edge gateway connected to the resource monitoring terminal, the blockchain certificate of the consensus chain is obtained, the end source data is signed, the signed backend source data is obtained, and the signed backend source data is put on the chain for processing.
It improves the credibility of power distributed resource data in the acquisition and transmission link, ensures the accuracy of the settlement service of the virtual power plant on the user side, and provides reliable data credible support for the application of virtual power plant.
Smart Images

Figure CN119483885A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power auxiliary services, and in particular to a method, device, system, computer equipment, storage medium and computer program product for distributed resource monitoring terminal data for power auxiliary services. Background Art
[0002] With the continuous development of smart grid technology, traditional power systems are facing new challenges and opportunities. In the context of global energy shortage and global climate change, improving the coverage of clean energy, improving electricity efficiency, further promoting the application of distributed power sources in distribution networks and increasing the utilization of flexible load resources, and enhancing the two-way interaction between the user side and the grid side in the form of demand response will have a positive impact on alleviating power supply tension and environmental protection. In this context, virtual power plant technology came into being. It combines the traditional power grid physical architecture with modern Internet and communication technology, realizes multi-source complementarity on the power supply side and flexible interaction on the load side through the optimized aggregation and coordinated control of different types of distributed energy, and builds a virtual controllable aggregate to participate in the dispatching and operation of the power grid, which can ultimately achieve the optimal allocation of resources and improve the reliability of power supply.
[0003] The source data of distributed power resources lacks credibility during the entire collection and transmission process, and cannot reliably support virtual power plants to participate in power auxiliary service scenarios. Therefore, it is urgent to provide a method to improve the credibility of distributed power resource data. Summary of the invention
[0004] Based on this, it is necessary to provide a distributed resource monitoring terminal data trust method, device, system, computer equipment, computer-readable storage medium and computer program product for power auxiliary services in response to the above technical problems.
[0005] In a first aspect, the present application provides a distributed resource monitoring terminal data trust method for power auxiliary services. The method comprises:
[0006] Obtain end-source data of distributed power resources;
[0007] Obtaining, through an edge gateway connected to the resource monitoring terminal, a blockchain certificate of a consensus chain where the edge gateway is located;
[0008] According to the blockchain certificate, the end source data is signed to obtain signed backend source data;
[0009] The signature backend source data is sent to the edge gateway to perform on-chain processing on the signature backend source data.
[0010] In one embodiment, obtaining a blockchain certificate of a consensus chain where the edge gateway is located through an edge gateway connected to the resource monitoring terminal includes:
[0011] Generate a certificate acquisition request according to the device identification information of the resource monitoring terminal, and send the certificate acquisition request to the edge gateway;
[0012] Receive the blockchain certificate returned by the edge gateway based on the certificate acquisition request; the blockchain certificate is obtained by requesting the consensus chain through the edge gateway.
[0013] In one embodiment, the signature backend source data is processed on-chain, including:
[0014] Sending a request for uplinking the signature backend source data to the consensus chain through the edge gateway, so that the consensus chain performs signature verification processing on the signature backend source data to obtain a signature verification result of the signature backend source data;
[0015] If the signature verification result indicates passing, the signature backend source data is uploaded to the chain through the consensus chain.
[0016] In one embodiment, obtaining end source data of distributed power resources includes:
[0017] Collecting raw data of the electric power distributed resources;
[0018] The original data is processed by a metering chip built into the resource monitoring terminal to obtain the terminal source data.
[0019] In one embodiment, before acquiring the end source data of the distributed power resource, the method further includes:
[0020] After the resource monitoring terminal is powered on for the first time, sending the original version verification code of the program and configuration file of the resource monitoring terminal to the edge gateway;
[0021] Obtaining the current version verification code of the program and configuration file according to a preset period;
[0022] If it is detected that the current version verification code is different from the original version verification code, the current version verification code is signed and transmitted to the edge gateway.
[0023] In a second aspect, the present application also provides a distributed resource monitoring terminal data trust device for power auxiliary services. The device includes:
[0024] Data acquisition module, used to obtain end-source data of power distributed resources;
[0025] A certificate acquisition module, used to obtain the blockchain certificate of the consensus chain where the edge gateway is located through the edge gateway connected to the resource monitoring terminal;
[0026] A data signature module is used to sign the end source data according to the blockchain certificate to obtain signed backend source data;
[0027] The data transmission module is used to send the signature backend source data to the edge gateway so that the edge gateway can process the signature backend source data on the chain.
[0028] In the third aspect, the present application also provides a distributed resource monitoring terminal data trust system for power auxiliary services. The system includes: a resource monitoring terminal, an edge gateway, an edge cluster master station and an aggregator; the edge gateway is used to isolate the edge cluster master station and the aggregator; the resource monitoring terminal is connected to the edge gateway; the edge cluster master station, the aggregator and the edge gateway form a consensus chain;
[0029] The aggregator is used to integrate multiple distributed power resources to obtain a virtual power plant;
[0030] The edge gateway is used to forward the operation information of the virtual power plant to the edge cluster master station;
[0031] The edge cluster master station is used to generate an instruction according to the received operation information and send the instruction to the edge gateway;
[0032] The edge gateway is further used to forward the instruction to the resource monitoring terminal;
[0033] The resource monitoring terminal is used to collect the end source data of the distributed power resources, and forward the end source data to the edge cluster master station through the edge gateway, and at the same time, regulate the distributed power resources in real time according to the received instructions.
[0034] In a fourth aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0035] Obtain end-source data of distributed power resources;
[0036] Obtaining, through an edge gateway connected to the resource monitoring terminal, a blockchain certificate of a consensus chain where the edge gateway is located;
[0037] According to the blockchain certificate, the end source data is signed to obtain signed backend source data;
[0038] The signature backend source data is sent to the edge gateway to perform on-chain processing on the signature backend source data.
[0039] In a fifth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0040] Obtain end-source data of distributed power resources;
[0041] Obtaining, through an edge gateway connected to the resource monitoring terminal, a blockchain certificate of a consensus chain where the edge gateway is located;
[0042] According to the blockchain certificate, the end source data is signed to obtain signed backend source data;
[0043] The signature backend source data is sent to the edge gateway to perform on-chain processing on the signature backend source data.
[0044] In a sixth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0045] Obtain end-source data of distributed power resources;
[0046] Obtaining, through an edge gateway connected to the resource monitoring terminal, a blockchain certificate of a consensus chain where the edge gateway is located;
[0047] According to the blockchain certificate, the end source data is signed to obtain signed backend source data;
[0048] The signature backend source data is sent to the edge gateway to perform on-chain processing on the signature backend source data.
[0049] The above-mentioned distributed resource monitoring terminal data trust method, device, system, computer equipment, storage medium and computer program product for power auxiliary services obtains the end source data of power distributed resources; obtains the blockchain certificate of the consensus chain where the edge gateway is located through the edge gateway connected to the resource monitoring terminal; signs the end source data according to the blockchain certificate to obtain the signed backend source data; sends the signed backend source data to the edge gateway to process the signed backend source data on the chain. By adopting this method, the end source data of power distributed resources is signed and then chained by the blockchain certificate of the consensus chain where the edge gateway is located, which can improve the credibility of the source data in the entire collection and transmission link, thereby ensuring the accuracy of the user-side settlement business of the virtual power plant composed of power distributed resources, and providing more reliable data trust support for the application of virtual power plants. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 An application environment diagram of a distributed resource monitoring terminal data trust method for power auxiliary services in one embodiment;
[0051] Figure 2 A schematic diagram of a flow chart of a method for trusting distributed resource monitoring terminal data for power auxiliary services in one embodiment;
[0052] Figure 3 A schematic diagram of a process for a resource monitoring terminal to obtain a blockchain certificate in one embodiment;
[0053] Figure 4 It is a flowchart of the steps of uploading the signature backend source data to the chain in one embodiment;
[0054] Figure 5 It is a schematic diagram of a process of uploading signature backend source data to a chain in one embodiment;
[0055] Figure 6 A schematic diagram of a process of sending version verification codes of programs and configuration files of a resource monitoring terminal to an edge cluster master station for latching in one embodiment;
[0056] Figure 7 A schematic diagram of a flow chart of a distributed resource monitoring terminal data trust method for power auxiliary services in another embodiment;
[0057] Figure 8 A structural block diagram of a distributed resource monitoring terminal data trusted device for power auxiliary services in one embodiment;
[0058] Fig. 9 It is a structural block diagram of a distributed resource monitoring terminal data trusted device for power auxiliary services in one embodiment;
[0059] Fig.10 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0060] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0061] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0062] The distributed resource monitoring terminal data trust method for power auxiliary services provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown, the edge cluster master station 101, the aggregator 102 and the edge gateway 103 form a consensus chain; the edge gateway 103 is used to isolate the edge cluster master station 101 and the aggregator 102; the edge gateway 103 is also connected to the resource monitoring terminal 104; the resource monitoring terminal 104 is also connected to the power distributed resource 105.
[0063] In one embodiment, Figure 2 As shown in the figure, a distributed resource monitoring terminal data trust method for power auxiliary services is provided. Figure 1 The resource monitoring terminal in the example is used as an example to illustrate, including the following steps:
[0064] Step S201, obtaining the end source data of the distributed power resources.
[0065] Among them, distributed power resources refer to energy supply systems that arrange power generation systems in a small-scale, decentralized manner near the user side and can operate independently or in conjunction with the grid.
[0066] Specifically, the resource monitoring terminal is deployed at each power distributed resource, responsible for collecting real-time data of each power distributed resource and performing necessary calculations to obtain the end source data of each power distributed resource.
[0067] Step S202, obtaining the blockchain certificate of the consensus chain where the edge gateway is located through the edge gateway connected to the resource monitoring terminal.
[0068] Among them, the edge gateway is a gateway device deployed at the edge of the power network (such as the smart grid).
[0069] Step S203: According to the blockchain certificate, the end source data is signed to obtain the signed backend source data.
[0070] Among them, blockchain certificate is a digital certificate recorded and stored using blockchain technology; blockchain certificate has a high degree of authenticity and immutability, ensuring the accuracy and credibility of information (such as end-source data).
[0071] Specifically, the resource monitoring terminal can request the blockchain certificate of the consensus chain to which the end source data is to be uploaded through the edge gateway connected to it, and then use the blockchain certificate to add a digital signature to the end source data, so that the resource monitoring terminal obtains the signed backend source data.
[0072] Step S204, sending the signature backend source data to the edge gateway to process the signature backend source data on the chain.
[0073] Specifically, the resource monitoring terminal sends the signature backend source data to the edge gateway, and then the edge gateway sends the signature backend source data to the consensus chain, so that the signature backend source data can be processed on the chain in the consensus chain. Among them, the chain refers to storing data (such as signature backend source data or end source data) in the consensus chain, and ensuring the immutability and uniqueness of the data through the consensus mechanism of the consensus chain, thereby improving the credibility of the source data.
[0074] In the above-mentioned distributed resource monitoring terminal data trust method for power auxiliary services, the end source data of the power distributed resources is obtained; the blockchain certificate of the consensus chain where the edge gateway is located is obtained through the edge gateway connected to the resource monitoring terminal; the end source data is signed according to the blockchain certificate to obtain the signed backend source data; the signed backend source data is sent to the edge gateway to process the signed backend source data on the chain. By adopting this method, the end source data of the power distributed resources is signed and then chained by the blockchain certificate of the consensus chain where the edge gateway is located, which can improve the credibility of the source data in the entire collection and transmission link, thereby ensuring the accuracy of the user-side settlement business of the virtual power plant composed of power distributed resources, and providing more reliable data trust support for the application of virtual power plants.
[0075] In one embodiment, the above step S202, through the edge gateway connected to the resource monitoring terminal, obtains the blockchain certificate of the consensus chain where the edge gateway is located, specifically including the following contents: generating a certificate acquisition request according to the device identification information of the resource monitoring terminal, and sending the certificate acquisition request to the edge gateway; receiving the blockchain certificate returned by the edge gateway based on the certificate acquisition request; the blockchain certificate is obtained by requesting the consensus chain through the edge gateway.
[0076] The device identification information refers to a unique identification that can represent the resource monitoring terminal. The device identification information can be a unique device number of the resource monitoring terminal.
[0077] Figure 3 Schematic diagram of the process of obtaining a blockchain certificate for a resource monitoring terminal. Specifically, the resource monitoring terminal sends a certificate acquisition request to the edge gateway according to the unique device number, and then the edge gateway applies for a blockchain certificate from the consensus chain. The consensus chain generates and stores the blockchain certificate, and then returns the generated blockchain certificate to the edge gateway. The edge gateway finally sends the blockchain certificate to the resource monitoring terminal, which is then stored locally.
[0078] In this embodiment, by applying for a blockchain certificate to sign the end source data, and then transmitting the signed backend source data to the edge gateway, the transmission security of the signed backend source data can be improved to prevent it from being tampered with during transmission, thereby ensuring the credibility of the signed backend source data during transmission, thereby improving the data credibility of distributed power resources.
[0079] In one embodiment, Figure 4 As shown, the above step S204, the signature backend source data is processed on the chain, which specifically includes the following contents:
[0080] Step S401, sending a request for uplinking the signature backend source data to the consensus chain through the edge gateway, so that the consensus chain can perform signature verification processing on the signature backend source data to obtain the signature verification result of the signature backend source data.
[0081] Figure 5 The figure is a flowchart for uploading the signature backend source data to the chain. Specifically, the resource monitoring terminal sends the signature backend source data and the chain request to the edge gateway, wherein the chain request carries the request parameter; the request parameter can be the current version verification code of the program and configuration file of the resource monitoring terminal, so that the consensus chain can verify whether the chain request is reliable, such as comparing the current version verification code with the latest version verification code stored in the consensus chain (the original version verification code or the current version verification code stored in the past). The edge gateway forwards the received signature backend source data and chain request to the consensus chain; if the consensus chain receives the signature backend source data and the chain request, it parses the chain request and uses the blockchain certificate stored therein to perform signature verification processing on the signature backend source data to obtain the signature verification result of the signature backend source data.
[0082] Step S402: If the signature verification result indicates that it has passed, the signature backend source data is uploaded to the chain through the consensus chain.
[0083] Specifically, if the signature verification result of the signature backend source data indicates that it has passed, the consensus chain stores the signature backend source data in the edge cluster master station in the consensus chain, that is, the data is on-chain. After the on-chain is completed, the consensus chain returns the on-chain result to the resource monitoring terminal step by step. Among them, the on-chain result is used to indicate whether the signature backend source data is successfully on-chain.
[0084] In this embodiment, by uploading the signature backend source data to the consensus chain, the credibility of the signature backend source data is further improved, thereby improving the data credibility of power distributed resources.
[0085] In one embodiment, the above step S201, obtaining the end source data of the distributed power resources, specifically includes the following contents: collecting the original data of the distributed power resources; processing the original data through the metering chip built into the resource monitoring terminal to obtain the end source data.
[0086] Among them, the metering chip has the ability to process data in the power field.
[0087] Specifically, the resource monitoring terminal is equipped with a high-precision power metering chip. After the resource monitoring terminal collects the raw data of the distributed power resources, it can also pre-process and calculate the raw data through the metering chip, such as calculating the current, voltage, power and other data based on the collected raw data, and then the resource monitoring terminal processes the end source data.
[0088] In this embodiment, the collected raw data is processed by a high-precision metering chip in the power field. The high calculation accuracy of the metering chip can be used to improve the accuracy of the processed end-source data, thereby improving the credibility of distributed power resources in the data collection link.
[0089] In one embodiment, in the above step S201, before obtaining the end source data of the power distributed resources, it also includes: after the resource monitoring terminal is powered on for the first time, the original version verification code of the program and configuration file of the resource monitoring terminal is sent to the edge gateway; according to a preset period, the current version verification code of the program and configuration file is obtained; if it is detected that the current version verification code is different from the original version verification code, the current version verification code is signed and transmitted to the edge gateway.
[0090] Here, power-on means that the resource monitoring terminal has been powered and is in a working ready state.
[0091] Figure 6A flow chart for sending the version verification code of the program and configuration file of the resource monitoring terminal to the edge cluster master station for latching. Specifically, after the resource monitoring terminal is powered on for the first time, it can sign the original version verification code V0 of its program and configuration file and send it to the edge gateway, so that the original version verification code can be forwarded to the edge cluster master station through the edge gateway; the edge cluster master station stores the received original version verification code. After that, the resource monitoring terminal will periodically calculate the current version verification code of the program and configuration file according to the preset period, and determine whether the current version verification code has changed; if the current version verification code has changed, that is, the current version verification code V1 is different from the original version verification code, then the resource monitoring terminal will sign the changed current version verification code and forward it to the edge cluster master station through the edge gateway. After receiving the current version verification code, the edge cluster master station will continue to compare the current version verification code with the original version verification code. If it is detected that the current version verification code is not equal to the original version verification code, it will continue to determine whether it has received an application report for the on-site upgrade program and configuration of the resource monitoring terminal in the historical time period. If it has not received an application report, the edge cluster master station will issue an alarm that the version verification code of the program and configuration file of the resource monitoring terminal is abnormal. Otherwise, the edge cluster master station will store V1 as the latest version verification code of the resource monitoring terminal.
[0092] Furthermore, when the subsequent resource monitoring terminal periodically calculates the current version verification code V2 of the program and configuration file, and detects that the current version verification code V2 is different from V1, it will also sign the current version verification code V2 and send it to the edge cluster master station; the edge cluster master station will compare the newly received current version verification code V2 with the latest stored V1 to determine whether to update the stored version verification code.
[0093] In this embodiment, by sending the version verification code of the program and configuration file of the resource monitoring terminal to the edge cluster master station for storage, the edge cluster master station can verify the reliability of the resource monitoring terminal during operation, thereby avoiding tampering of the program or configuration file of the resource monitoring terminal during operation, avoiding tampering of the source data, and avoiding data loss of power distributed resources, thereby greatly improving the credibility of power distributed resources in the data processing link.
[0094] In one embodiment, Figure 7 As shown in the figure, another distributed resource monitoring terminal data trust method for power auxiliary services is provided. This method is applied to Figure 1 The resource monitoring terminal in the example is used as an example to illustrate, including the following steps:
[0095] Step S701, collecting raw data of distributed power resources; processing the raw data through the metering chip built into the resource monitoring terminal to obtain terminal source data.
[0096] Step S702: Generate a certificate acquisition request according to the device identification information of the resource monitoring terminal, and send the certificate acquisition request to the edge gateway.
[0097] Step S703, receiving the blockchain certificate returned by the edge gateway based on the certificate acquisition request; the blockchain certificate is obtained by requesting the consensus chain through the edge gateway.
[0098] Step S704: According to the blockchain certificate, the end source data is signed to obtain the signed backend source data.
[0099] Step S705, sending the signed backend source data to the edge gateway.
[0100] Step S706: Send the on-chain request for the signature backend source data to the consensus chain through the edge gateway, so that the consensus chain can perform signature verification processing on the signature backend source data to obtain the signature verification result of the signature backend source data.
[0101] Step S707: If the signature verification result indicates that it is passed, the signature backend source data is uploaded to the chain through the consensus chain.
[0102] The above-mentioned distributed resource monitoring terminal data trust method for power auxiliary services can achieve the following beneficial effects: by signing the end source data of power distributed resources and then uploading them to the chain through the blockchain certificate of the consensus chain where the edge gateway is located, the credibility of the source data in the entire collection and transmission link can be improved, thereby ensuring the accuracy of the user-side settlement business of the virtual power plant composed of power distributed resources, and providing more reliable data trust support for the application of virtual power plants.
[0103] In order to more clearly illustrate the distributed resource monitoring terminal data trust method for power auxiliary services provided by the embodiment of the present disclosure, the above-mentioned distributed resource monitoring terminal data trust method for power auxiliary services is specifically described below with a specific embodiment. Another distributed resource monitoring terminal data trust method for power auxiliary services is provided, which can be applied to Figure 1 The resource monitoring terminal in the system includes data collection link enhancement, data processing link enhancement and data transmission link enhancement, among which:
[0104] The data collection stage is enhanced by accurate data calculation. The resource monitoring terminal has a built-in high-precision dedicated metering chip, which calculates the current, voltage, power and other end source data based on the collected raw data.
[0105] The data processing link realizes data processing link enhancement by sending the version verification code of the resource monitoring program and configuration file to the edge cluster master station for latching. First, after the resource monitoring terminal is powered on for the first time, the program and configuration version verification code V0 is sent to the edge cluster master station, and the edge cluster master station stores V0. After that, the resource monitoring terminal periodically calculates whether the program and configuration version verification code has changed. If it has changed, the changed version verification code V1 is sent to the edge cluster master station. Finally, the edge cluster master station compares V0 and V1. If it is found that V0 and V1 are not equal, it will determine whether there is an application report for on-site upgrade of the program and configuration. If there is no report, the edge cluster master station will issue an alarm for abnormal program and configuration version verification code of the resource monitoring terminal. Otherwise, the edge cluster master station will store V1 as the latest program and configuration version verification code of the resource monitoring terminal.
[0106] The data transmission link realizes the credit enhancement of the data transmission link by introducing blockchain technology. The resource monitoring terminal signs the data by applying for a blockchain certificate, and then transmits the data to the edge gateway to ensure the secure transmission of the data. The resource monitoring terminal sends a certificate request to the edge gateway according to the unique number of the device, and the edge gateway then applies for a certificate from the blockchain system. The blockchain system generates and stores the certificate, and then returns the generated certificate to the edge gateway. The edge gateway finally sends the certificate to the resource monitoring terminal, which is stored locally by the resource monitoring terminal.
[0107] The resource monitoring terminal first signs the data to be uploaded to the chain, and then sends the signed data together with the request upload parameters to the edge gateway. The edge gateway then sends the received data to the blockchain system for an upload request. After receiving the request, the blockchain system first verifies the signature of the data. After the signature verification is passed, the final data is uploaded to the chain, and the result of whether the upload is successful or not is returned to the resource monitoring terminal step by step.
[0108] In this embodiment, by signing the end source data of the distributed power resources with the blockchain certificate of the consensus chain where the edge gateway is located and then uploading it to the chain, the credibility of the source data in the entire collection and transmission link can be improved, thereby ensuring the accuracy of the user-side settlement business of the virtual power plant composed of distributed power resources, and providing more reliable data credibility support for the application of virtual power plants.
[0109] In one embodiment, a distributed resource monitoring terminal data trust system for power auxiliary services is provided, the system comprising: Figure 1The resource monitoring terminal, edge gateway, edge cluster master station and aggregator shown in the figure; the edge gateway is used to isolate the edge cluster master station and the aggregator; the resource monitoring terminal is connected to the edge gateway; the edge cluster master station, the aggregator and the edge gateway form a consensus chain; the aggregator is used to integrate multiple distributed power resources to obtain a virtual power plant; the edge gateway is used to forward the operation information of the virtual power plant to the edge cluster master station; the edge cluster master station is used to generate instructions according to the received operation information and send the instructions to the edge gateway; the edge gateway is also used to forward the adjustment instructions to the resource monitoring terminal; the resource monitoring terminal is used to collect the end source data of the distributed power resources, and forward the end source data to the edge cluster master station through the edge gateway, and at the same time, according to the received instructions, the distributed power resources are adjusted in real time.
[0110] Specifically, aggregators are used to effectively integrate distributed power resources of different types scattered in different spaces to form a virtual centralized power plant, namely a virtual power plant. The integrated virtual power plant will also participate in market competition as a whole, and issue resource regulation demands to each distributed power resource based on the requirements from the edge cluster master station.
[0111] The edge cluster master station is deployed in the dispatching center of the power company. It is responsible for real-time monitoring of the real-time data of various power distributed resources, and issues planned adjustment requirements or real-time adjustment commands according to the operation of the virtual power plant.
[0112] The edge gateway is deployed between the aggregator system and the edge cluster master station. It is responsible for isolating the aggregator's intranet from the power company's dispatching intranet, and uploading and issuing aggregator data, dispatching instructions, etc.
[0113] The resource monitoring terminal is deployed at each power distributed resource. It is responsible for collecting real-time data from each power distributed resource point and performing necessary calculations. It then signs the data and transmits it to the superior. At the same time, it regulates the power distributed resources under its jurisdiction in real time according to the received instructions.
[0114] The edge cluster master, edge gateway and aggregator constitute a decentralized consensus chain network.
[0115] The above-mentioned distributed resource monitoring terminal data trust system for power auxiliary services, through the resource monitoring terminal, signs the end source data of power distributed resources and then uploads it to the chain through the blockchain certificate of the consensus chain where the edge gateway is located. It can improve the credibility of the source data in the entire collection and transmission link, and then ensure the accuracy of the user-side settlement business of the virtual power plant composed of distributed power resources, providing more reliable data trust support for the application of virtual power plants.
[0116] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0117] Based on the same inventive concept, the embodiment of the present application also provides a distributed resource monitoring terminal data trusted device for power auxiliary services for implementing the above-mentioned distributed resource monitoring terminal data trusted method for power auxiliary services. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in the embodiments of one or more distributed resource monitoring terminal data trusted devices for power auxiliary services provided below can be referred to the limitations of the distributed resource monitoring terminal data trusted method for power auxiliary services above, and will not be repeated here.
[0118] In one embodiment, Figure 8 As shown, a distributed resource monitoring terminal data trusted device 800 for power auxiliary services is provided, including: a data acquisition module 801, a certificate acquisition module 802, a data signature module 803 and a data transmission module 804, wherein:
[0119] The data acquisition module 801 is used to obtain the end source data of the distributed power resources.
[0120] The certificate acquisition module 802 is used to obtain the blockchain certificate of the consensus chain where the edge gateway is located through the edge gateway connected to the resource monitoring terminal.
[0121] The data signature module 803 is used to sign the end source data according to the blockchain certificate to obtain the signed backend source data.
[0122] The data transmission module 804 is used to send the signature backend source data to the edge gateway so that the edge gateway can process the signature backend source data on the chain.
[0123] In one embodiment, the certificate acquisition module 802 is also used to generate a certificate acquisition request based on the device identification information of the resource monitoring terminal, and send the certificate acquisition request to the edge gateway; receive the blockchain certificate returned by the edge gateway based on the certificate acquisition request; the blockchain certificate is obtained by requesting the consensus chain through the edge gateway.
[0124] In one embodiment, the data transmission module 804 is also used to send a chain request for the signature backend source data to the consensus chain through the edge gateway, so that the consensus chain can perform signature verification processing on the signature backend source data to obtain the signature verification result of the signature backend source data; if the signature verification result indicates that it is passed, the signature backend source data is chained through the consensus chain.
[0125] In one embodiment, the data collection module 801 is also used to collect raw data of the distributed power resources; the raw data is processed through the built-in metering chip of the resource monitoring terminal to obtain the end source data.
[0126] In one embodiment, the distributed resource monitoring terminal data trusted device 800 for power auxiliary services also includes a verification code sending module, which is used to send the original version verification code of the program and configuration file of the resource monitoring terminal to the edge gateway after the resource monitoring terminal is powered on for the first time; obtain the current version verification code of the program and configuration file according to a preset period; if it is detected that the current version verification code is different from the original version verification code, the current version verification code is signed and transmitted to the edge gateway.
[0127] In one embodiment, Fig. 9 As shown, another distributed resource monitoring terminal data trusted device for power auxiliary services is provided, including:
[0128] The metering sampling module is responsible for collecting or receiving source data from distributed resource points, performing necessary calculations, and storing the final data in the data center module.
[0129] The version calculation module is responsible for calculating the version verification code of the resource monitoring terminal program and configuration file using an encryption algorithm according to a set period, and storing the version verification code as a data source in the data center module.
[0130] The data center module is responsible for storing the real-time data generated by the entire resource monitoring terminal, including data generated by the metering sampling module and the version calculation module, and provides all the data stored in the data center module to the data upload module.
[0131] The data uploading module is responsible for connecting to the edge gateway and uploading the data in the resource monitoring terminal to the edge gateway as required.
[0132] The certificate management module is responsible for applying for the unique blockchain certificate file of the resource monitoring terminal from the blockchain service and performing local storage management.
[0133] Each module in the above-mentioned distributed resource monitoring terminal data trusted device for power auxiliary services can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0134] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.10 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a distributed resource monitoring terminal data trust method for power auxiliary services is realized. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0135] Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0136] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0137] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0138] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0139] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0140] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0141] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A distributed resource monitoring terminal data trust method for power auxiliary services, applied to resource monitoring terminals, characterized in that: The method comprises: Obtain end-source data of distributed power resources; Obtaining, through an edge gateway connected to the resource monitoring terminal, a blockchain certificate of a consensus chain where the edge gateway is located; According to the blockchain certificate, the end source data is signed to obtain signed backend source data; The signature backend source data is sent to the edge gateway to perform on-chain processing on the signature backend source data.
2. The method according to claim 1, characterized in that The step of obtaining the blockchain certificate of the consensus chain where the edge gateway is located through the edge gateway connected to the resource monitoring terminal includes: Generate a certificate acquisition request according to the device identification information of the resource monitoring terminal, and send the certificate acquisition request to the edge gateway; Receive the blockchain certificate returned by the edge gateway based on the certificate acquisition request; the blockchain certificate is obtained by requesting the consensus chain through the edge gateway.
3. The method according to claim 1, characterized in that The on-chain processing of the signature backend source data includes: Sending a request for uplinking the signature backend source data to the consensus chain through the edge gateway, so that the consensus chain performs signature verification processing on the signature backend source data to obtain a signature verification result of the signature backend source data; If the signature verification result indicates passing, the signature backend source data is uploaded to the chain through the consensus chain.
4. The method according to claim 1, characterized in that: The obtaining of the terminal source data of the distributed power resources includes: Collecting raw data of the electric power distributed resources; The original data is processed by a metering chip built into the resource monitoring terminal to obtain the terminal source data.
5. The method according to any one of claims 1 to 4, characterized in that: Before obtaining the end source data of the distributed power resources, it also includes: After the resource monitoring terminal is powered on for the first time, sending the original version verification code of the program and configuration file of the resource monitoring terminal to the edge gateway; Obtaining the current version verification code of the program and configuration file according to a preset period; If it is detected that the current version verification code is different from the original version verification code, the current version verification code is signed and transmitted to the edge gateway.
6. A distributed resource monitoring terminal data trust device for power auxiliary services, characterized in that: The device comprises: Data acquisition module, used to obtain end-source data of power distributed resources; A certificate acquisition module, used to obtain the blockchain certificate of the consensus chain where the edge gateway is located through the edge gateway connected to the resource monitoring terminal; A data signature module is used to sign the end source data according to the blockchain certificate to obtain signed backend source data; The data transmission module is used to send the signature backend source data to the edge gateway so that the edge gateway can process the signature backend source data on the chain.
7. A distributed resource monitoring terminal data trust system for power auxiliary services, characterized in that: The system includes: a resource monitoring terminal, an edge gateway, an edge cluster master station and an aggregator; the edge gateway is used to isolate the edge cluster master station and the aggregator; the resource monitoring terminal is connected to the edge gateway; the edge cluster master station, the aggregator and the edge gateway form a consensus chain; The aggregator is used to integrate multiple distributed power resources to obtain a virtual power plant; The edge gateway is used to forward the operation information of the virtual power plant to the edge cluster master station; The edge cluster master station is used to generate an instruction according to the received operation information and send the instruction to the edge gateway; The edge gateway is further used to forward the adjustment instruction to the resource monitoring terminal; The resource monitoring terminal is used to collect the end source data of the distributed power resources, and forward the end source data to the edge cluster master station through the edge gateway, and at the same time, regulate the distributed power resources in real time according to the received instructions.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.