Data processing method of distributed energy system and related product
By configuring the data processing policy configuration file, the different data types of distributed energy systems are processed and cleared, which solves the problems of large amounts and wide variety of data, improves processing efficiency and security, and meets user needs.
Patent Information
- Application Number
- CN202411020903.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-11-22
AI Technical Summary
Existing data processing methods are difficult to meet the processing needs of massive data in distributed energy systems, especially the huge amount of data, a wide variety and high real-time requirements for some data, which leads to large storage space occupancy and difficult to meet users' needs to understand the device status.
By preconfiguring the data processing policy configuration file, the data processing strategies for different upload cycles are specified, including processing flow and clearing conditions, and the data in short, medium and long upload cycles are processed and cleared separately, and after the processing is published in the data application platform Data, judge the security of data requests, and add additional information to improve the interpretability of data.
It improves data processing efficiency, saves storage space, meets users' understanding of device status, and improves data security through secure data requests.
Smart Images

Figure CN119003983A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of energy system data processing, and in particular to a data processing method for a distributed energy system and related products. Background Art
[0002] Distributed Energy Resources (DER) in the power grid include small-scale power generation, energy storage and controllable load equipment distributed in the power system. These devices are usually located on or near the user side and can be directly connected to the distribution network. The goal of distributed energy equipment is to improve the flexibility, reliability and efficiency of the power system while promoting the use of renewable energy. The distributed energy system composed of distributed energy equipment can meet the access requirements of the distribution network connected to it and improve economic benefits by scheduling the status of energy equipment.
[0003] However, most distributed energy devices are small and medium-sized devices, and the number is huge. Taking ordinary household energy devices as an example, they may include power generation equipment such as small wind power and solar photovoltaic panels, energy storage equipment such as energy storage batteries and electric vehicles, and electrical equipment such as air conditioners, water heaters, and charging piles. In addition to providing and consuming energy, the above-mentioned distributed energy devices also generate massive amounts of data. These data are essential resources for the control and analysis of distributed energy systems. Therefore, quickly and efficiently processing the massive amounts of data generated by distributed energy systems has also become a hot topic in the research of distributed energy systems.
[0004] The data processing of distributed energy systems has the following characteristics: huge data volume, various data types, and high real-time requirements for some data. Existing data processing methods are difficult to meet the data processing requirements of distributed energy systems. Summary of the invention
[0005] An object of the present invention is to provide a data processing method and related products for a distributed energy system that meet the data application requirements of the distributed energy system.
[0006] A further object of the present invention is to clean up useless data in a timely manner and reduce the requirement for storage space while meeting the data usage requirements.
[0007] Another further object of the present invention is to improve the user experience of the energy system users and meet their needs for understanding the status of the equipment.
[0008] In particular, the present invention provides a data processing method for a distributed energy system, which comprises:
[0009] Obtain multiple types of energy data to be processed uploaded in different upload cycles;
[0010] Obtain a preset data processing strategy configuration file, which is used to specify the processing strategy corresponding to data in different upload cycles. The processing strategy includes: processing flow and clearing conditions;
[0011] Execute corresponding processing procedures for multiple types of energy data to be processed to obtain processed data;
[0012] The processed data is cleared according to the corresponding clearing conditions.
[0013] Optionally, the energy data to be processed includes scheduling participation data uploaded with a short upload period, and the short upload period is configured to be less than or equal to 10 seconds;
[0014] The processing flow corresponding to the dispatch participation data includes: transmission to the designated electric energy dispatch equipment;
[0015] The clearing condition corresponding to the scheduling participation data is set to: receiving a reception reply within a first set time period after the transmission is completed, and the first set time period is a preset multiple of the short upload cycle.
[0016] Optionally, the energy data to be processed includes monitoring alarm data uploaded with a medium upload period, and the medium upload period is configured to be greater than or equal to 0.5 minutes and less than or equal to 2 minutes;
[0017] The processing flow corresponding to the monitoring alarm data includes: judging whether an abnormal event occurs according to the monitoring alarm data;
[0018] The clearing condition corresponding to the monitoring alarm data is set as: it is determined that no abnormal event has occurred and the retention time of the data exceeds a second set time, and the second set time is a preset multiple of the upload cycle.
[0019] Optionally, the energy data to be processed includes regular data uploaded with a long upload period, and the long upload period is configured to be greater than or equal to 3 minutes;
[0020] The processing flow corresponding to the routine data includes: integrating the routine data and solidifying and storing the integrated routine data;
[0021] The clearing condition corresponding to the general data is set as: receiving a clearing instruction issued by an administrator with data management authority.
[0022] Optionally, the processing strategy also includes information of a trusted device authorized to read the data; and after obtaining the processed data, it also includes:
[0023] Publishing information about the processed data to a data application platform, and obtaining a data request generated by the data application platform by querying the information about the processed data;
[0024] Determine whether the data application platform that issues the data request matches the information of the trusted device. If so, allow the data application platform to download the data corresponding to the data request.
[0025] Optionally, the processing strategy further includes additional information types, and the process of executing respective corresponding processing flows on multiple types of energy data to be processed further includes:
[0026] Additional information is added to the multiple types of energy data to be processed according to corresponding additional information types, and the additional information includes: statistical information and / or descriptive information.
[0027] Optionally, the process of acquiring multiple types of to-be-processed energy data uploaded in different upload cycles also includes:
[0028] Record the number of upload cycles of each type of energy data to be processed that have not been successfully received in succession;
[0029] When the number of recorded upload cycles exceeds the corresponding preset overtime threshold, a refresh command is sent to the data source device that sends the energy data to be processed. If the energy data to be processed is still not successfully received after the refresh command is sent, it is determined that the data source device is offline.
[0030] Optionally, the data source device includes any one or more of the following: power generation equipment, power consumption equipment, energy storage equipment, power metering equipment, and switch equipment;
[0031] The energy data to be processed includes any one or more of the following: electricity data, power data, equipment operation status data, electricity price data, economic benefit data, and monitoring data.
[0032] Optionally, after the step of obtaining multiple types of to-be-processed energy data uploaded in different upload cycles, the method further includes:
[0033] Refresh the operation status of the data source device that sends the energy data to be processed according to multiple types of energy data to be processed;
[0034] The operating status is displayed in the data source device model in the display interface.
[0035] According to another aspect of the present invention, there is also provided a computer program product, comprising a computer program, which implements the steps of any one of the above-mentioned methods for processing data in a distributed energy system when executed by a processor.
[0036] According to another aspect of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, which implements the steps of any of the above-mentioned methods for processing data in a distributed energy system when the computer program is executed by a processor.
[0037] According to another aspect of the present invention, a data transmission device is provided, which includes a memory, a processor and a computer program stored in the memory, and the processor executes the computer program to implement the steps of any of the above-mentioned data processing methods for distributed energy systems.
[0038] The data processing method for a distributed energy system of the present invention pre-configures a data processing strategy configuration file in view of the characteristics of a distributed energy system such as a huge amount of data, a wide variety of data, and high real-time requirements for some data. The data processing strategy configuration file is used to specify the processing strategies corresponding to various types of data in different upload cycles, which not only meets the processing requirements of different types of energy data to be processed and the needs of data users, but also can achieve targeted data clearing and save data storage space.
[0039] Furthermore, in the data processing method of the distributed energy system of the present invention, the processing strategy pre-configured in the data processing strategy configuration file includes processing flow, clearing conditions, additional information type, and information of trusted devices authorized to read data, thereby providing targeted processing solutions for various types of energy data to be processed uploaded in different upload cycles, thereby improving data processing efficiency.
[0040] Furthermore, the data processing method of the distributed energy system of the present invention also improves the data request method and enhances the data security.
[0041] Based on the following detailed description of specific embodiments of the present invention in conjunction with the accompanying drawings, those skilled in the art will become more aware of the above and other objects, advantages and features of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Hereinafter, some specific embodiments of the present invention will be described in detail in an exemplary and non-limiting manner with reference to the accompanying drawings. The same reference numerals in the accompanying drawings indicate the same or similar components or parts. It should be understood by those skilled in the art that these drawings are not necessarily drawn to scale. In the accompanying drawings:
[0043] Figure 1 is a schematic diagram of the architecture of a distributed energy system according to an embodiment of the present invention;
[0044] Figure 2 is a schematic diagram of a data processing method for a distributed energy system according to an embodiment of the present invention;
[0045] Figure 3 is a schematic diagram of a process for processing scheduling participation data in a data processing method for a distributed energy system according to an embodiment of the present invention;
[0046] Figure 4is a schematic diagram of a process for processing monitoring alarm data in a data processing method for a distributed energy system according to an embodiment of the present invention;
[0047] Figure 5 is a schematic diagram of a conventional data storage and encrypted transmission process in a data processing method for a distributed energy system according to an embodiment of the present invention;
[0048] Figure 6 is a schematic diagram of a computer program product according to an embodiment of the present invention;
[0049] Figure 7 is a schematic diagram of a computer-readable storage medium according to an embodiment of the present invention; and
[0050] Figure 8 FIG. 1 is a schematic diagram of a data transmission device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0051] Figure 1 1 is a schematic diagram of the architecture of a distributed energy system according to an embodiment of the present invention. From the device level, the distributed energy system generally may include: a data source 10, a data acquisition platform 20, a data processing platform 30, and a data requester 40. From the data level, the distributed energy system may adopt a layered design, including: a basic layer 21, an intermediate layer 31, and an application layer 41.
[0052] The data source 10 may include: power generation equipment, power consumption equipment, energy storage equipment, power metering equipment, and switchgear. Power generation equipment can convert various energy sources into electrical energy, for example, it can use wind energy, solar energy, biomass and other methods to generate electricity. The power generation form of the power generation equipment can be configured according to its energy status, for example, it can include solar panels laid on the roof, small wind turbines, etc. Power consumption equipment can include household appliances, charging equipment, industrial power consumption equipment, etc., for example, it can include: heat pump system, electric vehicle charging pile, etc. Energy storage equipment can use battery energy storage, mechanical energy storage, and thermal energy storage to help balance power supply and demand, improve grid stability, smooth the intermittent output of renewable energy, provide backup power, and achieve efficient use of energy. Power metering equipment can include smart meters, current sensors, voltage sensors and other electrical signal measuring devices. Switchgear can include circuit breakers, electronic switches, convergence equipment, protection equipment, etc. of electrical lines. The above data source 10 can be used as an IoT device to upload data through the Internet of Things technology. The data types and formats of different data sources are quite different, for example, they can include power data, power data, equipment operation status data, electricity price data, and economic benefit data.
[0053] The data collection platform 20 collects data from the devices of the above-mentioned data source 10, which may include various collectors, data servers, edge servers, etc. Multiple data sources of the same type can provide data to a certain data collection platform. The basic layer 21 is generally arranged on the data collection platform 20 to complete the collection and analysis of data. The basic layer 21 is convenient for docking with different data sources 10 through data reception componentization, reducing excessive dependence on a specific platform. Data analysis parses the data according to the format and protocol of the data, and converts it into a format that can be processed within the platform. The data collection platform 20 can complete the analysis of the data and transmit the data according to the set upload cycle according to the data requirements. In other words, the data collection platform 20 classifies the data according to the information type of the data, and each type of data has a corresponding upload cycle.
[0054] The data processing platform 30 is connected to each data collection platform 20, and integrates various data collected by the data collection platform 20 to achieve the unification and sharing of data, models, protocols, and storage. The middle layer 31 is generally arranged on the data processing platform 30, and is responsible for processing and integrating data. The middle layer 31 is the core part of the data processing platform 30, and its main tasks include: data preprocessing, data integration, and data provision. Data preprocessing performs various processing operations on data according to business needs, such as conversion, aggregation, filtering, etc. Data integration integrates data from different data sources to form a unified data view, which is convenient for subsequent analysis and application. Data integration can also complete the data quality control function, and ensure the quality and accuracy of data through data verification, anomaly detection and other means. Data provision provides a unified data access interface and service for the application layer 41 to achieve data sharing and reuse.
[0055] The data requester 40 can be an application party of various data, such as energy data management platform, energy data analysis platform, energy equipment control platform, user interaction platform, power grid interaction platform, etc. The data requester 40 can be a platform developed by various third parties, using energy data for various secondary developments and value-added services. The core responsibility of the application layer 41 is to transfer the processed and integrated data flow to specific users or third-party services. By providing interfaces such as HTTP REST API and SQS (Simple Queue Service), the application layer 41 can ensure flexible distribution and efficient transmission of data. It ensures the security and reliability of data transmission through authentication and authorization, data encryption, error handling and retry mechanisms.
[0056] Figure 2 is a schematic diagram of a data processing method for a distributed energy system according to an embodiment of the present invention. The data processing method for a distributed energy system may generally include:
[0057] Step S201, obtaining multiple types of energy data to be processed uploaded in different upload cycles. The energy data to be processed can be classified by the data collection platform 20 according to the information type of the data, and uploaded by the data collection platform 20 according to the corresponding upload cycle.
[0058] In some embodiments, the energy data to be processed may include: scheduling participation data uploaded with a short upload cycle, monitoring alarm data uploaded with a medium upload cycle, and regular data uploaded with a long upload cycle.
[0059] Among all kinds of energy data to be processed, the dispatch participation data may include power data, switch action information and other data that need to be responded to in a timely manner. For example, the dispatch participation data can be based on the dispatch data requirements of the virtual power plant (Virtual Power Plant, referred to as VPP). Virtual power plant VPP is one of the core technologies for realizing smart distribution network. It uses distributed energy system to integrate various clean energy, controllable load and energy storage system in the distribution network into a special power plant, participate in the operation and dispatch of the power grid, so as to effectively coordinate the relationship between smart grid and distributed energy system, and fully explore the value and benefits brought by distributed energy system to the power grid and users. Dispatching participation data can provide the operating parameters, marginal costs, measurement and prediction results of distributed energy, and realize the investment portfolio of distributed energy according to market information such as electricity price prediction results, and realize the functions of virtual power plant, including through information communication with control center, cloud center, power trading center, etc., to realize energy exchange with the power grid, provide visual information for distribution network operators, and obtain control instructions that meet the safety and stability of distribution network. According to these instructions, the virtual power plant formulates the internal control plan of the distributed energy system to realize the active management of its own resources, such as adjusting the operation mode of power generation equipment, power consumption equipment, energy storage equipment and switch equipment.
[0060] The scheduling data requirements of the virtual power plant may change due to data sources, control algorithms, data interaction, etc. Therefore, in this embodiment, the data acquisition platform 20 can identify the scheduling participation data in advance according to the scheduling data requirements of the virtual power plant and upload it in time. The amount of scheduling participation data is generally relatively small and has high real-time requirements.
[0061] Monitoring alarm data can include various types of over-temperature, over-limit, and warning data, such as temperature detection data, action completion data, instruction execution response data, etc. Monitoring alarm data can be used to determine whether the equipment is in an abnormal operating state. The amount of monitoring alarm data is average and the real-time requirements are average.
[0062] Conventional data may include various types of data generated by the data source 10, including various types of sensor data, monitoring data, operating status data, etc. Such data can be used for secondary development, data law analysis, data model training, historical record storage, etc. Conventional data has a large amount of data, but has a low real-time requirement.
[0063] The upload period of multiple types of energy data to be processed can be set according to the data requester's requirements for data real-time performance. In some embodiments, the short upload period can be configured to be less than 10 seconds, for example, 1 second, 3 seconds, 5 seconds, 10 seconds, so as to achieve second-level upload; the medium upload period can be configured to be greater than or equal to 0.5 minutes and less than or equal to 2 minutes, for example, 0.5 minutes, 0.75 minutes, 1 minute, 1.5 minutes, 2 minutes; the long upload period is configured to be greater than or equal to 3 minutes, for example, 3 minutes, 5 minutes, 10 minutes, 30 minutes.
[0064] If there are multiple upload cycles in the acquisition process where data is not successfully received, the method of this embodiment can also be actively processed. For example, in the process of acquiring multiple types of unprocessed energy data uploaded in different upload cycles, it can also include: recording the number of upload cycles in which each type of unprocessed energy data has not been successfully received; when the recorded number of upload cycles exceeds the corresponding preset overtime threshold, a refresh instruction is issued to the data source device that sends the unprocessed energy data, and if the unprocessed energy data is still not successfully received after the refresh instruction is issued, it is determined that the data source device is offline. The above-mentioned data source equipment includes any one or more of the following: power generation equipment, power consumption equipment, energy storage equipment, power metering equipment, and switching equipment; the unprocessed energy data may include any one or more of the following: electricity data, power data, equipment operation status data, electricity price data, economic benefit data, and monitoring data.
[0065] For example, if the dispatch participation data is not received for three consecutive short upload cycles, a refresh command can be sent to the device that sends the dispatch participation data. If the energy data to be processed is still not successfully received after the refresh command is sent, it is determined that the data source device is offline. Since the real-time requirements of the dispatch participation data are high, in this case, a warning message can be sent to the device manager in a timely manner.
[0066] For example, if no monitoring alarm data is received in three consecutive upload cycles, a refresh command can be sent to the device that sends the monitoring alarm data. If the energy data to be processed is still not successfully received after the refresh command is sent, it is determined that the data source device is offline. Since the monitoring alarm data involves the operating status of the device, in this case, the device viewing information can be sent to the device manager in a timely manner.
[0067] For another example, if regular data is not received for three consecutive long upload cycles, a refresh command can be sent to the device that sends regular data. If the energy data to be processed is still not successfully received after the refresh command is sent, it is determined that the data source device is offline. Since the real-time requirements for monitoring alarm data are relatively low, in this case, reminder information can be sent to the device manager at regular intervals.
[0068] After the step of obtaining multiple types of to-be-processed energy data uploaded in different upload cycles, the method further includes: refreshing the operating status of the data source device that sends the to-be-processed energy data according to the multiple types of to-be-processed energy data; and displaying the operating status in the data source device model in the display interface. The above operating status may include offline status, normal status, alarm status, etc. The display interface may generate the data source device model in advance according to the architecture of the distributed energy system.
[0069] Step S202, obtaining a preset data processing strategy configuration file, the data processing strategy configuration file is used to specify the processing strategy corresponding to the data of different upload cycles, the processing strategy includes: processing flow and clearing conditions. The processing flow is used to specify the processing steps of the data, including the specific process of reorganization, integration, information addition, filtering, and standardization, and the clearing condition is used to specify under what circumstances the data can be cleared.
[0070] Step S203, executing corresponding processing flows for the multiple types of energy data to be processed to obtain processed data.
[0071] In the case where the processing strategy also includes information about a trusted device authorized to read data, after obtaining the processed data, it may also include: publishing the information about the processed data to the data application platform, and obtaining a data request generated by the data application platform by querying the information about the processed data; determining whether the data application platform that issued the data request matches the information about the trusted device, and if so, allowing the data application platform to download the data corresponding to the data request. The above-mentioned process of publishing information for the data application platform to download data according to authority based on the query results can be targeted at regular data.
[0072] In the case where the processing strategy also includes additional information types, the process of executing the corresponding processing flows for multiple types of energy data to be processed may also include: adding additional information to the multiple types of energy data to be processed according to the corresponding additional information types, and the additional information includes: statistical information and / or descriptive information. Adding descriptive information and statistical information to the data can help enhance the interpretability of the data, and these descriptive information may include: the time, source, collection method, transmission method of data collection, data standardization parameters, data version number, etc. The statistical information of the data includes but is not limited to information reflecting the concentration trend, discrete degree, change trend, and value range of the data.
[0073] Step S204, clearing the processed data according to the corresponding clearing conditions.
[0074] The data processing method for the distributed energy system in the above-mentioned embodiment pre-configures a data processing strategy configuration file in view of the characteristics of the distributed energy system, such as huge data volume, various data types, and high real-time requirements for some data. The data processing strategy configuration file is used to specify the processing strategies corresponding to various types of data in different upload cycles, which not only meets the processing requirements of different types of energy data to be processed and the needs of data users; but also can realize targeted data clearing and save data storage space.
[0075] Figure 3 It is a flow chart of processing the dispatch participation data in the data processing method of a distributed energy system according to an embodiment of the present invention. The dispatch participation data has high real-time requirements and is uploaded in a short upload cycle. The short upload cycle can be configured to be less than or equal to 10 seconds. The processing flow corresponding to the dispatch participation data can be transmitted to a designated electric energy dispatching device. The clearing condition corresponding to the dispatch participation data is set to: receiving a reception reply within a first set time period after the transmission is completed, and the first set time period is a preset multiple of the short upload cycle. The preset multiple is generally set according to the data transmission mechanism, for example, it can be set to 5 times. The above-mentioned process for processing the dispatch participation data may include:
[0076] Step S301, determining the electric energy dispatching device specified by the received dispatching participation data, and the dispatching participation data can be pre-added with data information of the specified electric energy dispatching device by the data acquisition platform;
[0077] Step S302, sending dispatch participation data to a designated electric energy dispatching device;
[0078] Step S303, obtaining a receiving response fed back by the electric energy dispatching device;
[0079] Step S304, judging whether the electric energy dispatching device has successfully received the dispatching participation data according to the received reply;
[0080] Step S305, when the scheduling device successfully receives the scheduling participation data, it is determined whether the transmission completion has exceeded the first set time, that is, whether a number of short upload cycles have passed;
[0081] Step S306: If the transmission completion time exceeds the first set time, the scheduling participation data is cleared.
[0082] The above-mentioned dispatch participation data is cleared in a timely manner, which saves data storage space on the one hand, and avoids the leakage of data related to power dispatch on the other hand, thereby improving data security.
[0083] Figure 4 It is a flowchart of processing monitoring alarm data in a data processing method for a distributed energy system according to an embodiment of the present invention. The real-time requirements of monitoring alarm data are generally, and it is uploaded in a medium upload cycle. The medium upload cycle can be configured to be greater than or equal to 0.5 minutes and less than or equal to 2 minutes. The processing flow corresponding to the monitoring alarm data includes: judging whether an abnormal event has occurred based on the monitoring alarm data; the clearing condition corresponding to the monitoring alarm data is set to: judging that no abnormal event has occurred and the retention time of the data exceeds a second set time, and the second set time is a preset multiple of the medium upload cycle. The preset multiple is set according to the transmission mechanism of the monitoring alarm data, for example, it can be set to 5 times. The above-mentioned process for processing monitoring alarm data may include:
[0084] Step S401, judging whether an abnormal event occurs according to the monitoring alarm data, the basis for judging may include whether the detection data in the monitoring alarm data exceeds the limit, the monitoring alarm data includes the alarm signal data of the equipment, whether there is data conflict in the monitoring alarm data, etc.
[0085] Step S402, monitoring whether the data retention time of the alarm data exceeds a second set time;
[0086] Step S403: when it is determined that no abnormal event has occurred and the retention time of the monitoring alarm data exceeds the second set time, the monitoring alarm data is cleared.
[0087] Step S404: when it is determined that an abnormal event has occurred, an alarm signal is output.
[0088] For regular data uploaded with a long upload cycle, the long upload cycle can be configured to be greater than or equal to 3 minutes. The processing flow corresponding to regular data includes: integrating the regular data, and solidifying and storing the integrated regular data; the clearing condition corresponding to the regular data is set to: receiving a clearing instruction issued by an administrator with data management authority. In other words, under normal circumstances, regular data is solidified and stored and will not be cleared. It will only be cleared when an administrator with data management authority forcibly issues a clearing instruction.
[0089] Table 1 shows an example of a data processing strategy configuration file for various types of energy data to be processed. The values in the table are only examples and can be modified according to the situation when applied.
[0090] Table 1
[0091] Data type identification Upload cycle Large amount of data Actively clear? Processing Flow PID01 1 second Small Clear after transfer …… PID02 1 minute middle No abnormality cleared …… PID03 5 minutes big no ……
[0092] The data processing platform can also integrate and process the conventional data to generate a materialized energy data view to ensure the data security of the subsequent data requester distribution process. In some embodiments, the process of integrating and processing the conventional data may include: filtering out abnormal data according to preset data filtering rules to obtain qualified data; standardizing the qualified data according to a preset data format; adding descriptive information and statistical information to the standardized data to obtain integrated energy data.
[0093] The process of generating a materialized energy data view may include: generating a data view according to a preset view definition; materializing the data view to obtain a materialized energy data view. The preset view definition is set according to the data requirements of the data requester. The data view can customize the data representation for the data requester, which can represent a data query result. By selecting, combining and converting the data, it is convenient for the subsequent provision of the data, hides the actual storage structure of the data, and can provide the required data in a targeted manner.
[0094] The step of materializing the data view may include: encrypting the data view and configuring access rights; synchronizing the encrypted data view on the distributed storage nodes, thereby storing the materialized energy data view on the distributed storage nodes.
[0095] Materialized views are predefined data views that are stored or "materialized" in advance as schema objects for summarizing, calculating, replicating, and distributing data. Materialized views reduce query time by pre-calculating join and aggregation operations and storing the results in a single data set. Materialized views contain a complete or partial copy of a data set from a single point in time. Materialized views also replicate data across distributed sites and synchronize updates performed on multiple sites for data storage at edge servers.
[0096] The generated materialized energy data view can be used for read-only operation, which can realize read-write separation and avoid the pollution of original data by the data requester. In addition, the materialized energy data view can be used for data replication, realize distributed storage of data, and reduce the data pressure of the platform.
[0097] In some embodiments, after the step of generating the data view of the integrated energy data to be processed according to the preset view definition, the data in the data view can also be desensitized to avoid leakage of sensitive data. In the data desensitization process, the original sensitive data is replaced or modified, but the original format and characteristics of the data are retained to ensure the functional availability of the data. In this way, even if the data is improperly accessed, the attacker cannot obtain the real sensitive information. User information, address information, and financial information in the energy data can all be prevented from leakage through desensitization.
[0098] Figure 5Schematic diagram of conventional data storage and encrypted transmission process in a data processing method for a distributed energy system according to an embodiment of the present invention. The storage and distribution of conventional data can realize the functions of key management, data encryption storage, and authorized sharing. The data processing platform 30 and the data requester 40 respectively join the distributed energy system as registered nodes. The data processing platform 30 pre-generates a set of public keys PKA and private keys SKA, and the data requester 40 pre-generates another set of public keys PKB and private keys SKB. The data storage and encrypted transmission process may include:
[0099] In step S501, the data processing platform 30 obtains conventional data, integrates it, and generates a materialized energy data view V1. The materialized energy data view V1 uses an encryption algorithm based on the public key PKA to generate a symmetric key keyAES, and uses the AES symmetric encryption algorithm to encrypt V1 for the first time using the symmetric key to generate a ciphertext CV1, and adds an access permission identifier Flag.
[0100] In step S502, the data processing platform 30 distributes the ciphertext CV1 to distributed storage nodes 50 such as edge computing servers. The distributed storage nodes 50 return a corresponding content identifier based on the content of the uploaded ciphertext CV1. The content identifier can be generated based on the hash value of the ciphertext CV1.
[0101] Step S503: the data processing platform 30 publishes data information on the blockchain 60. The data information may include content information of energy data, access permission identification Flag, content identifier, etc.
[0102] In step S504, the data requester 40 searches for the required target data from the blockchain 60, that is, by querying the data information, it determines whether the required data exists in the materialized energy data, and generates and issues a data request if the required data exists. The data request can use the public key PKB as signature information.
[0103] In step S505, the blockchain 60 feeds back the public key PKB and the data request to the data requester 40. The data requester 40 determines the authority of the data requester 40 based on the public key PKB. If the PKB belongs to the administrator or an authorized user within the authorization scope, the re-encryption algorithm is called to re-encrypt using (SKA, PKB). If the PKB indicates that the authority of the data requester 40 is insufficient, the data processing platform 30 requests the consent of the administrator of the data source 10 from the data collection platform 20. If consent is obtained, the re-encryption algorithm is called to re-encrypt using (SKA, PKB). Re-encryption can be combined with the public key PKB of the data requester 40 and the private key SKA of the data processing platform 30 to generate re-encryption keys XA and XB.
[0104] In step S506, the data processing platform 30 uploads the re-encryption keys XA and XB to the blockchain 60, triggering the smart contract of the blockchain 60 to execute the proxy re-encryption process.
[0105] In step S507, the blockchain 60 performs proxy re-encryption and feeds back the content identifier to the data requester 40. The blockchain 60 performs proxy re-encryption and can use the proxy re-encryption smart contract to delegate access rights to data without leaking the private key of the data processing platform 30.
[0106] Step S508 : the data requester 40 obtains the ciphertext CV1 from the distributed storage node 50 through the content identifier.
[0107] Step S509 , the data requester 40 calls the decryption algorithm, uses the private key SKB to decrypt to obtain the symmetric key keyAES, and decrypts the ciphertext CV1 using the symmetric key keyAES to obtain the original data V1 .
[0108] The above solution ensures the confidentiality, integrity, scalability and traceability of data through the smart contract of the blockchain 60. Alternatively, those skilled in the art may also use other trusted service systems to implement the corresponding functions of the blockchain 60.
[0109] The above process uses a unified view of physical energy data to facilitate subsequent data analysis and other further applications. The integrated physical energy data view provides data perspectives for different platforms and applications, reduces data silos, and makes data access and use easier. There is no need to switch between different systems or convert data, which improves data utilization efficiency.
[0110] This embodiment also provides a computer program product 112 , a computer-readable storage medium 113 , and a photovoltaic power station design device 30 . Figure 6 is a schematic diagram of a computer program product 112 according to one embodiment of the present invention, Figure 7 is a schematic diagram of a computer-readable storage medium 113 according to an embodiment of the present invention, Figure 8 is a schematic diagram of a data transmission device 130 according to an embodiment of the present invention.
[0111] The computer program product 112 includes a computer program 111, which implements the steps of any of the above-mentioned data processing methods for distributed energy systems when executed by the processor 310. The computer-readable storage medium 113 stores the above-mentioned computer program 111, which implements the steps of any of the above-mentioned data processing methods for distributed energy systems when executed by the processor 310. The data transmission device 130 may include a memory 320, a processor 310, and a computer program 111 stored in the memory 320 and running on the processor 310.
[0112] The computer program 111 used to perform the operations of the present invention can be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, configuration data of an integrated circuit, or source code or object code written in any combination of one or more programming languages and procedural programming languages.
[0113] The computer program 111 may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the latter case, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, in order to perform various aspects of the present invention, electronic circuits including, for example, programmable logic circuits, field programmable gate arrays (FPGAs), or programmable logic arrays (PLAs) may execute computer-readable program instructions by utilizing state information of the computer-readable program instructions to personalize the electronic circuits.
[0114] In the description of this embodiment, the computer program product 112 is a related product including the computer program 111 .
[0115] For the purposes of the description of this embodiment, the computer-readable storage medium 113 is a tangible device capable of retaining and storing the computer program 111, which may be any device that can contain, store, communicate, propagate or transmit the program 111 for use with or in conjunction with an instruction execution system, device or apparatus. More specific examples (a non-exhaustive list) of the computer-readable storage medium 113 include the following: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, and any suitable combination of the foregoing.
[0116] At this point, those skilled in the art should recognize that, although multiple exemplary embodiments of the present invention have been shown and described in detail herein, many other variations or modifications that conform to the principles of the present invention can still be directly determined or derived based on the content disclosed in the present invention without departing from the spirit and scope of the present invention. Therefore, the scope of the present invention should be understood and recognized as covering all these other variations or modifications.
Claims
1. A data processing method for a distributed energy system, comprising: Obtain multiple types of energy data to be processed uploaded in different upload cycles; Obtaining a preset data processing strategy configuration file, wherein the data processing strategy configuration file is used to specify processing strategies corresponding to data in different upload cycles, wherein the processing strategies include: a processing flow and a clearing condition; Executing the processing flows corresponding to the plurality of types of energy data to be processed to obtain processed data; The processed data is cleared according to the corresponding clearing condition.
2. The data processing method of the distributed energy system according to claim 1, wherein: The energy data to be processed includes scheduling participation data uploaded in a short upload period, and the short upload period is configured to be less than or equal to 10 seconds; The processing flow corresponding to the dispatch participation data includes: transmitting to a designated electric energy dispatching device; The clearing condition corresponding to the scheduling participation data is set as: receiving a reception reply within a first set time period after the transmission is completed, and the first set time period is a preset multiple of the short upload cycle.
3. The data processing method of the distributed energy system according to claim 1, wherein: The energy data to be processed includes monitoring alarm data uploaded with a medium upload period, and the medium upload period is configured to be greater than or equal to 0.5 minutes and less than or equal to 2 minutes; The processing flow corresponding to the monitoring alarm data includes: judging whether an abnormal event occurs according to the monitoring alarm data; The clearing condition corresponding to the monitoring alarm data is set as: it is determined that no abnormal event has occurred and the retention time of the data exceeds a second set time, and the second set time is a preset multiple of the medium upload cycle.
4. The data processing method of the distributed energy system according to claim 1, wherein: The energy data to be processed includes regular data uploaded with a long upload period, and the long upload period is configured to be greater than or equal to 3 minutes; The processing flow corresponding to the conventional data includes: integrating the conventional data, and solidifying and storing the integrated conventional data; The clearing condition corresponding to the regular data is set as: receiving a clearing instruction issued by an administrator with data management authority.
5. The data processing method for a distributed energy system according to any one of claims 1 to 4, wherein: The processing strategy also includes information about trusted devices authorized to read data; And after obtaining the processed data, it also includes: Publishing information about the processed data to a data application platform, and obtaining a data request generated by the data application platform by querying the information about the processed data; It is determined whether the data application platform that issues the data request matches the information of the trusted device. If so, the data application platform is allowed to download the data corresponding to the data request.
6. The data processing method for a distributed energy system according to any one of claims 1 to 4, wherein: The processing strategy also includes additional information types, and the process of executing the processing flows corresponding to the multiple types of energy data to be processed also includes: Additional information is added to the multiple types of energy data to be processed respectively according to corresponding additional information types, and the additional information includes: statistical information and / or descriptive information.
7. The data processing method for a distributed energy system according to any one of claims 1 to 6, wherein: The process of obtaining multiple types of to-be-processed energy data uploaded in different upload cycles also includes: Record respectively the number of upload cycles in which each type of energy data to be processed is not successfully received continuously; When the number of recorded upload cycles exceeds the corresponding preset overtime threshold, a refresh instruction is sent to the data source device that sends the energy data to be processed. If the energy data to be processed is still not successfully received after the refresh instruction is sent, it is determined that the data source device is offline.
8. The data processing method for a distributed energy system according to claim 7, wherein: The data source equipment includes any one or more of the following: power generation equipment, power consumption equipment, energy storage equipment, power metering equipment, and switch equipment; The energy data to be processed includes any one or more of the following: electricity data, power data, equipment operation status data, electricity price data, economic benefit data, and monitoring data.
9. The data processing method for a distributed energy system according to any one of claims 1 to 6, wherein: After the step of obtaining multiple types of to-be-processed energy data uploaded in different upload cycles, the method further includes: Refreshing the operation status of the data source device that sends the energy data to be processed according to the multiple types of energy data to be processed; The operating status is displayed in the data source device model in the display interface.
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 data processing method for a distributed energy system described in any one of claims 1 to 9 are implemented.
11. 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 data processing method for a distributed energy system according to any one of claims 1 to 9 are implemented.
12. A data transmission device, comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the steps of the data processing method for a distributed energy system according to any one of claims 1 to 9.
