Synchronous updating method for multi-source heterogeneous data applied to virtual power plant and electronic equipment

By collecting and preprocessing multi-source heterogeneous data of adjustable resource equipment in virtual power plants, the problem of inconvenience in data processing and use is solved, and the standardized processing and fusion preparation of data are realized.

CN119474183APending Publication Date: 2025-02-18STATE GRID JIANGSU ELECTRIC POWER CO LTD NANJING POWER SUPPLY COMPANY +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411367651.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

Multi-source heterogeneity of adjustable resource data in virtual power plants leads to inconvenient data processing and use.

Method used

By collecting adjustable resource equipment data from the virtual power plant, data conversion and preprocessing are performed according to the communication protocol type of the device, data status tags are determined and stored in the target database.

Benefits of technology

The standardized processing of multi-source heterogeneous data is realized, the problem of inconvenience in data application is solved, and the integration of adjustable resource data is prepared.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119474183A_ABST
    Figure CN119474183A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-source heterogeneous data synchronous updating method applied to a virtual power plant and electronic equipment. The method comprises the steps that to-be-collected data corresponding to adjustable resource equipment of a virtual power plant is collected, and the adjustable resource equipment comprises at least one of a photovoltaic system, an energy storage system, a charging pile, a heating system, a cooling system and a power distribution switch interval; converting the to-be-collected data into to-be-processed data in a preset communication format according to the communication protocol type of the adjustable resource equipment; and preprocessing the to-be-processed data to determine a data state tag corresponding to the to-be-processed data, determining to-be-fused data based on the data state tag, and storing the to-be-fused data to the target database. According to the technical scheme provided by the embodiment of the invention, the problem that the multi-source heterogeneous data of the adjustable resource data is inconvenient to apply is solved, and the multi-source heterogeneous data is standardized according to different adjustable resource devices and protocols and is prepared for data fusion after being preprocessed and stored.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of virtual power plant management, and in particular to a synchronous updating method and electronic device for multi-source heterogeneous data applied to a virtual power plant. Background Art

[0003] However, with the increase in the scale and types of adjustable resource access, the multi-source heterogeneity of adjustable resource data often causes great inconvenience in data processing and use. Therefore, the multi-source heterogeneity of adjustable resource data and the inconvenience of data application are the current problems to be solved. Summary of the invention

[0004] The present invention provides a synchronous update method and electronic device for multi-source heterogeneous data applied to virtual power plants, so as to standardize multi-source heterogeneous collected data according to the differences of various adjustable resource devices and protocols in the virtual power plant scenario, and prepare for the fusion of adjustable resource data after preprocessing and storage.

[0005] According to one aspect of the present invention, a method for synchronously updating multi-source heterogeneous data applied to a virtual power plant is provided, the method comprising:

[0006] Collecting the data to be collected corresponding to the adjustable resource equipment of the virtual power plant, wherein the adjustable resource equipment includes at least one of a photovoltaic system, an energy storage system, a charging pile, a heating system, a cooling system, and a distribution switch bay;

[0007] According to the communication protocol type of the adjustable resource device, the data to be collected is converted into data to be processed in a preset communication format;

[0008] The data to be processed is preprocessed to determine a data status label corresponding to the data to be processed, the data to be fused is determined based on the data status label, and the data to be fused is stored in a target database.

[0009] According to another aspect of the present invention, a synchronous update device for multi-source heterogeneous data applied to a virtual power plant is provided, the device comprising:

[0010] A data collection module, used to collect the to-be-collected data corresponding to the adjustable resource equipment of the virtual power plant, wherein the adjustable resource equipment includes at least one of a photovoltaic system, an energy storage system, a charging pile, a heating system, a cooling system, and a distribution switch bay;

[0011] A data conversion module, used for converting the data to be collected into data to be processed in a preset communication format according to the communication protocol type of the adjustable resource device;

[0012] The data preprocessing module is used to preprocess the data to be processed to determine the data status label corresponding to the data to be processed, determine the data to be fused based on the data status label, and store the data to be fused in the target database.

[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0014] at least one processor;

[0015] and a memory communicatively connected to the at least one processor; wherein,

[0016] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for synchronously updating multi-source heterogeneous data applied to a virtual power plant as described in any embodiment of the present invention.

[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for synchronously updating multi-source heterogeneous data applied to a virtual power plant as described in any embodiment of the present invention when executed.

[0018] The technical solution of the embodiment of the present invention is applied to a virtual power plant, and the solution includes: collecting the data to be collected corresponding to the adjustable resource equipment of the virtual power plant, wherein the adjustable resource equipment includes at least one of a photovoltaic system, an energy storage system, a charging pile, a heating system, a cooling system, and a distribution switch interval; according to the communication protocol type of the adjustable resource equipment, converting the data to be collected into data to be processed in a preset communication format; preprocessing the data to be processed to determine the data status label corresponding to the data to be processed, determining the data to be fused based on the data status label, and storing the data to be fused in a target database. By standardizing the multi-source heterogeneous data to be collected according to the differences in the adjustable resource equipment and protocols in the virtual power plant scenario, the problems of multi-source heterogeneity and inconvenience in data application of the adjustable resource data are solved, and after preprocessing and storage, it is ready for the fusion of the adjustable resource data.

[0019] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0021] Figure 1 A flowchart of a synchronous update method for multi-source heterogeneous data applied to a virtual power plant provided in the first embodiment of the present invention;

[0022] Figure 2 A flowchart of collecting data to be collected provided in the first embodiment of the present invention;

[0023] Figure 3 A flowchart of a synchronous update method for multi-source heterogeneous data applied to a virtual power plant provided in the second embodiment of the present invention;

[0024] Figure 4 A flowchart of data preprocessing provided in Embodiment 2 of the present invention;

[0025] Figure 5 A data flow diagram of the application of preprocessed data provided in the second embodiment of the present invention;

[0026] Figure 6 A schematic diagram of the structure of a synchronous update device for multi-source heterogeneous data applied to a virtual power plant provided in a third embodiment of the present invention;

[0027] Figure 7 This is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0028] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0030] Embodiment 1

[0031] Figure 1 This is a flowchart of a synchronous update method for multi-source heterogeneous data applied to a virtual power plant provided in the first embodiment of the present invention. This embodiment can be applied to the processing of multi-source heterogeneous adjustable resource data of a virtual power plant and the inconvenience of data application. The method can be executed by a synchronous update device for multi-source heterogeneous data applied to a virtual power plant. The device can be implemented in the form of hardware and / or software, and the device can be configured in a computer device. Figure 1 As shown, the method includes:

[0032] S110. Collect the data to be collected corresponding to the adjustable resource equipment of the virtual power plant.

[0033] The adjustable resource equipment includes at least one of a photovoltaic system, an energy storage system, a charging pile, a heating system, a cooling system, and a distribution switch bay; the data to be collected may be data related to the adjustable resource equipment, and the data to be collected may include operating status information of the adjustable resource equipment, such as power generation, power output, equipment status, etc. Or, information such as energy storage level, charge and discharge status, temperature, etc. Or, information such as energy consumption data and load conditions may be collected.

[0034] It can be understood that a virtual power plant is a power coordination management system that uses information communication technology and software systems to achieve the aggregation and coordinated optimization of distributed energy resources such as distributed power sources, energy storage systems, and controllable loads, so as to participate in the power market and power grid operation as a special power plant. A virtual power plant does not have the physical form of a physical power plant (such as a thermal power plant), but is a management model or a system.

[0035] In order to aggregate and coordinate the optimization of distributed energy resources, the data to be collected of each adjustable resource equipment corresponding to the virtual power plant can be obtained, and the control and optimization of resources can be achieved based on the data to be collected.

[0036] In an embodiment of the present invention, collecting the data to be collected corresponding to the adjustable resource devices of the virtual power plant may include: according to each of the communication protocol types, performing access collection configuration for each of the adjustable resource devices to configure preset configuration information; after completing the access collection configuration, calling the data collection module corresponding to the communication protocol type to collect the data to be collected corresponding to each of the adjustable resource devices based on the data collection module.

[0037] The data to be collected includes a response message corresponding to the adjustable resource, and the communication protocol type includes at least one of IEC104, MODBUS-RTU, MODBUS-TCP, MQTT and HTTP. The communication protocol type and typical data format of the communication protocol of the adjustable resource equipment of the virtual power plant are shown in Table 1 and Table 2.

[0038] Table 1

[0039]

[0040]

[0041] Table 2

[0042]

[0043]

[0044] Specifically, when collecting the data to be collected corresponding to the adjustable resource devices of the virtual power plant, access collection configuration can be performed for each adjustable resource device according to each communication protocol type, and corresponding preset configuration information can be configured for each adjustable resource device to ensure that communication with the adjustable resource device can be carried out and the corresponding data to be collected can be obtained.

[0045] The preset configuration information may be pre-configured information, for example, the preset configuration information includes communication parameters and measurement point configuration information. After completing the access collection configuration, the data collection module corresponding to the communication protocol type may be called, and the data to be collected corresponding to each adjustable resource device may be collected based on the data collection module. The data to be collected may be the response message fed back by the adjustable resource after the data collection module sends the data collection request. Figure 2 The figure shows a flow chart of collecting data to be collected provided in the first embodiment of the present invention.

[0046] S120. According to the communication protocol type of the adjustable resource device, convert the data to be collected into data to be processed in a preset communication format.

[0047] The preset communication format may be understood as a unified and standardized data communication format, and the data to be processed may be data obtained after conversion of the collected data.

[0048] It is understandable that the multi-source heterogeneity of adjustable resource data often causes great inconvenience to the processing and use of data. In order to solve the problem of multi-source heterogeneity of adjustable resource data and inconvenience in data application, the data to be collected can be converted into data to be processed in a preset communication format.

[0049] Specifically, a unified data communication format can be designed based on the protocol structure style and data characteristics of each protocol, and the collected data can be standardized into a unified data communication format through a protocol adapter and saved in a local data temporary storage area. The preset communication format is shown in Table 3:

[0050] Table 3

[0051]

[0052]

[0053] In an optional implementation, according to the communication protocol type of the adjustable resource device, converting the data to be collected into data to be processed in a preset communication format includes:

[0054] When the communication protocol type is MODBUS-RTU or MODBUS-TCP, the first register address of the request message corresponding to the data to be collected is recorded; when a response message is received, the associated register address of each measuring point corresponding to the response message is determined and calculated according to the first register address; the measuring point information of each measuring point is queried according to the associated register address, and the data to be processed in the preset communication format is generated according to the measuring point information and the return time of the response message.

[0055] Specifically, when sending a request message to an adjustable resource, the register address in the message can be recorded. The address is used to identify the storage location of data in the MODBUS protocol. Then, based on the register address in the request message, the register address associated with each measuring point value in the response message is calculated. With the address of the associated register, the measuring point details corresponding to the address can be queried, and the corresponding measuring point value, i.e., the measuring point information, can be accessed. Then, combined with the return time of the response message and the measuring point configuration information, the data to be processed in a unified preset communication format is generated.

[0056] For example, Table 4 is an example of a MODBUS request message and a response message, and Table 5 is an example of the returned data after parsing:

[0057] Table 4

[0058]

[0059] Table 5

[0060] Serial number Register Address Parsing Values 1 20 20.5 2 22 5.5 3 24 219.9 4 26 221.4 5 28 220.3 6 30 3 7 31-47 0 24 48 3 25 49-59 0

[0061] Then, according to the recorded register address and measurement point configuration information, the data to be processed in a unified preset communication format is generated, wherein the data to be processed corresponding to the measurement point of register address 20 can be expressed as:

[0062]

[0063] In an optional implementation, converting the data to be collected into data to be processed in a preset communication format according to the communication protocol type of the data to be collected includes:

[0064] When the communication protocol type is IEC104, the measuring point data, measuring point time, and associated point number of the measuring point are determined according to the response message and the preset configuration information; after the associated information of the measuring point is queried through the associated point number, the data to be processed in the preset communication format is generated based on the measuring point data, the measuring point time, and the associated information.

[0065] Specifically, when receiving the response message of the IEC104 protocol, the measurement point data of the measurement point, such as the specific measurement value, acquisition time, and the point number associated with the measurement point, can be extracted from the response message. In the IEC104 protocol, the point number is usually used to uniquely identify a specific measurement point. Through the point number, other information of the measurement point associated with the point number can be queried in the measurement point configuration information, such as the name of the measurement point, type (such as telemetry, telesignaling, etc.), unit, etc.

[0066] Finally, the extracted and queried information is standardized according to the preset communication format to obtain the data to be processed, which ensures that data from different sources and in different formats can be processed and analyzed in a unified manner.

[0067] Exemplarily, the response message (response message) of the IEC104 protocol is processed. Table 6 is an example of an IEC104 response message:

[0068] The returned data of the response message parsed in Table 6 is shown in Table 7:

[0069] Serial number Register Address Parsing Values 1 4059H 0 2 405AH 0 3 405BH 0 4 405CH 0 5 405DH 0 6 405EH 0 7 405FH 0 8 4060H 0 9 4061H 0 10 4062H 0

[0070] The recorded register address and measurement point configuration information are formatted into the preset communication format shown in Table 3. For example, the measurement point at register address 4059H can be represented as:

[0071] {

[0072] "attribute id":16380,

[0073] "Attribute name":"Measurement point 1",

[0074] "Measurement point type":"Telemetry",

[0075] "Measurement point value": 0,

[0076] "Time":1721370455465,

[0077] "Storage Flag":"true",

[0078] "Data status indicator":""

[0079] }

[0080] In an optional implementation, converting the data to be collected into data to be processed in a preset communication format according to the communication protocol type of the data to be collected includes:

[0081] When the communication protocol type is MQTT, the global ID of the measuring point is obtained according to the response message and the preset configuration information; the associated information of the measuring point is queried through the global ID association, and the data to be processed in the preset communication format is generated based on the data field, the acquisition time field and the associated information of the response message.

[0082] Specifically, the global ID is usually used to uniquely identify a measurement point. The global ID can be obtained by parsing the MQTT response message. By querying the measurement point configuration information based on the global ID, the associated information of the measurement point can be determined, such as the measurement point name, data type, etc. Combined with the data and time fields of the response message, according to the preset communication format, the data to be processed is combined.

[0083] S130, pre-processing the data to be processed to determine a data status label corresponding to the data to be processed, determining the data to be fused based on the data status label, and storing the data to be fused in a target database.

[0084] It should also be noted that after the data to be processed is stored in the local data temporary storage area, it will exist as temporary data. Temporary data includes dirty data and inconsistent data. The dirty data in the collection process mainly refers to data that exceeds the reasonable range of the collection value, empty data, and meaningless register data collected during the communication process.

[0085] Therefore, the data to be processed can be preprocessed, the data status label corresponding to the data to be processed can be determined, the data to be processed can be labeled as the data to be fused, and then pushed to the internal bus. When the target database needs to obtain and store the data to be fused, the data to be fused on the internal bus can be obtained. After being stored in the target database, it is convenient to integrate and utilize the data to be fused as the data basis for virtual power plant control optimization.

[0086] The technical solution of the embodiment of the present invention is applied to a virtual power plant, and the solution includes: collecting the data to be collected corresponding to the adjustable resource equipment of the virtual power plant, wherein the adjustable resource equipment includes at least one of a photovoltaic system, an energy storage system, a charging pile, a heating system, a cooling system, and a distribution switch interval; according to the communication protocol type of the adjustable resource equipment, converting the data to be collected into data to be processed in a preset communication format; preprocessing the data to be processed to determine the data status label corresponding to the data to be processed, determining the data to be fused based on the data status label, and storing the data to be fused in a target database. By standardizing the multi-source heterogeneous data to be collected according to the differences in the adjustable resource equipment and protocols in the virtual power plant scenario, the problems of multi-source heterogeneity and inconvenience in data application of the adjustable resource data are solved, and after preprocessing and storage, it is ready for the fusion of the adjustable resource data.

[0087] Embodiment 2

[0088] Figure 3 This is a flowchart of a synchronous update method for multi-source heterogeneous data applied to a virtual power plant provided in the second embodiment of the present invention. Based on the above embodiment, this embodiment further optimizes the process of adding data status tags to the data to be processed. Figure 3 As shown, the method includes:

[0089] S210. Collect the data to be collected corresponding to the adjustable resource equipment of the virtual power plant.

[0090] S220: Convert the data to be collected into data to be processed in a preset communication format according to the communication protocol type of the adjustable resource device.

[0091] S230: Process the data to be processed according to the numerical range and data consistency corresponding to the data to be processed, and add the data status label to the data to be processed.

[0092] In an embodiment of the present invention, processing the data to be processed and adding the data status label to the data to be processed may include: if the data to be processed is beyond the normal value range, marking the data to be processed with a first type of data status label; if the data to be processed is empty data, marking the data to be processed with a second type of data status label; if the data to be processed is empty data or meaningless register data, marking the data to be processed with a third type of data status label; otherwise, marking the data to be processed with a zeroth type of data status label.

[0093] Among them, the first type refers to type 1, the second type refers to type 2, the third type refers to type 3, and the zeroth type refers to type 0.

[0094] Specifically, for the processing of dirty data: if the collected data is data beyond the normal value range, the data is marked with a data status label of type 1 and pushed to the internal bus; if the collected data is empty data, the data is marked with a data status label of type 2 and pushed to the internal bus; if the collected data is meaningless register data, the data is marked with a data status label of type 3 and pushed to the internal bus or directly discarded; otherwise, the collected data is marked with a data status label of type 0 and pushed to the internal bus, indicating that the data is normal.

[0095] In an embodiment of the present invention, processing the data to be processed and adding the data status label to the data to be processed may also include: if the data type of the data to be processed is inconsistent with the preset data type, performing type conversion on the data to be processed and marking the data to be processed with a data status label of the zeroth type; if there is coefficient information in the data to be processed, processing the data to be processed based on the coefficient information and marking the data to be processed with a data status label of the zeroth type.

[0096] Specifically, for the processing of inconsistent data: if the data type of the data to be processed is inconsistent with the preset data type, the data needs to be converted, usually converted to a floating point number and marked with a data status label of type 0, and then pushed to the internal bus; if the data to be processed contains coefficient information, the data to be processed needs to be multiplied by the coefficient, marked with a data status label of type 0, and then pushed to the internal bus.

[0097] like Figure 4 , which is a flow chart of data preprocessing provided in Embodiment 2 of the present invention.

[0098] S240: The data to be processed whose data status label is other than the third type is used as the data to be fused.

[0099] S250: Push the data to be merged to the internal bus, and store the data to be merged in the target database according to a call request of the storage interface of the target database.

[0100] Specifically, storing the data to be merged into the target database includes real-time database update and historical database update. Real-time database update: take out data with data status 0 and status 1 from the internal bus and save them to the real-time database. Take out data with data status 2 from the internal bus, record the exception, and decide whether to update the real-time database according to the business scenario.

[0101] History database update: If scheduled update is configured, call the real-time database interface to complete the periodic insertion of the history database; if change update is configured, subscribe to the bus data to implement the change update. Figure 5 , which is a data flow diagram of the application of preprocessed data provided in the second embodiment of the present invention.

[0102] The technical solution of the embodiment of the present invention is applied to a virtual power plant, and the solution includes: collecting the data to be collected corresponding to the adjustable resource equipment of the virtual power plant, wherein the adjustable resource equipment includes at least one of a photovoltaic system, an energy storage system, a charging pile, a heating system, a cooling system, and a distribution switch interval; according to the communication protocol type of the adjustable resource equipment, converting the data to be collected into data to be processed in a preset communication format; preprocessing the data to be processed to determine the data status label corresponding to the data to be processed, determining the data to be fused based on the data status label, and storing the data to be fused in a target database. By standardizing the multi-source heterogeneous data to be collected according to the differences in the adjustable resource equipment and protocols in the virtual power plant scenario, the problems of multi-source heterogeneity and inconvenience in data application of the adjustable resource data are solved, and after preprocessing and storage, it is ready for the fusion of the adjustable resource data.

[0103] Embodiment 3

[0104] Figure 6 This is a schematic diagram of a synchronous update device for multi-source heterogeneous data applied to a virtual power plant provided by the third embodiment of the present invention. Figure 6 As shown, the device comprises:

[0105] The data collection module 310 is used to collect the to-be-collected data corresponding to the adjustable resource equipment of the virtual power plant, wherein the adjustable resource equipment includes at least one of a photovoltaic system, an energy storage system, a charging pile, a heating system, a cooling system, and a distribution switch bay;

[0106] A data conversion module 320, configured to convert the data to be collected into data to be processed in a preset communication format according to the communication protocol type of the adjustable resource device;

[0107] The data preprocessing module 330 is used to preprocess the data to be processed to determine the data status label corresponding to the data to be processed, determine the data to be fused based on the data status label, and store the data to be fused in the target database.

[0108] Optionally, the data acquisition module 310 is specifically used for:

[0109] According to each of the communication protocol types, access and collect configurations for each of the adjustable resource devices to configure preset configuration information;

[0110] After completing the access collection configuration, calling the data collection module corresponding to the communication protocol type, so as to collect the to-be-collected data corresponding to each of the adjustable resource devices based on the data collection module;

[0111] The data to be collected includes a response message corresponding to the adjustable resource, and the communication protocol type includes at least one of IEC104, MODBUS-RTU, MODBUS-TCP, MQTT and HTTP.

[0112] Optionally, the data conversion module 320 is specifically used for:

[0113] When the communication protocol type is MODBUS-RTU or MODBUS-TCP, recording a first register address of a request message corresponding to the data to be collected;

[0114] When receiving the response message, determining and calculating the associated register addresses of each measuring point corresponding to the response message according to the first register address;

[0115] The measuring point information of each measuring point is queried according to the associated register address, and the to-be-processed data in the preset communication format is generated according to the measuring point information and the return time of the response message.

[0116] Optionally, the data conversion module 320 is further configured to:

[0117] In the case where the communication protocol type is IEC104, determining the measuring point data, measuring point time, and associated point number of the measuring point according to the response message and the preset configuration information;

[0118] After querying the associated information of the measuring point by associating the associated point number, and based on the measuring point data, the measuring point time and the associated information, the to-be-processed data in the preset communication format is generated.

[0119] Optionally, the data conversion module 320 is further configured to:

[0120] When the communication protocol type is MQTT, obtaining a global ID of the measuring point according to the response message and the preset configuration information;

[0121] The associated information of the measuring point is queried through the global ID association, and the to-be-processed data in the preset communication format is generated based on the data field, the acquisition time field and the associated information of the response message.

[0122] Optionally, the data preprocessing module 330 includes:

[0123] The data processing submodule is used to process the data to be processed according to the numerical range and data consistency corresponding to the data to be processed, and add the data status label to the data to be processed.

[0124] Optionally, the data processing submodule is specifically used for:

[0125] If the data to be processed is beyond the normal value range, marking the data to be processed with a first type of data status label;

[0126] If the data to be processed is empty data, marking the data to be processed with a data status tag of a second type;

[0127] If the data to be processed is empty data or meaningless register data, marking the data to be processed with a data status tag of a third type;

[0128] Otherwise, the data to be processed is marked with a data status tag of the zeroth type.

[0129] Optionally, the data processing submodule is further used for:

[0130] If the data type of the data to be processed is inconsistent with the preset data type, type conversion is performed on the data to be processed, and a data status tag of the zeroth type is marked for the data to be processed;

[0131] If there is coefficient information of the data to be processed, the data to be processed is processed based on the coefficient information, and a data status label of the zeroth type is marked for the data to be processed.

[0132] Optionally, the data preprocessing module 330 is further used to:

[0133] The data to be processed whose data status label is other than the third type is used as the data to be fused;

[0134] The data to be merged are pushed to the internal bus, and according to the calling request of the storage interface of the target database, the data to be merged are stored in the target database.

[0135] The synchronous update device for multi-source heterogeneous data applied to a virtual power plant provided in an embodiment of the present invention can execute the synchronous update method for multi-source heterogeneous data applied to a virtual power plant provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.

[0136] Embodiment 4

[0137] Figure 7A schematic diagram of the structure of an electronic device provided for Embodiment 4 of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0138] like Figure 7 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0139] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0140] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 executes the various methods and processes described above, such as a synchronous update method for multi-source heterogeneous data applied to a virtual power plant.

[0141] In some embodiments, the multi-source heterogeneous data fusion communication method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the synchronous update method of multi-source heterogeneous data applied to the virtual power plant described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the synchronous update method of multi-source heterogeneous data applied to the virtual power plant in any other appropriate manner (e.g., by means of firmware).

[0142] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0143] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0144] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, 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), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0145] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0146] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0147] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0148] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0149] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A synchronous update method for multi-source heterogeneous data applied to a virtual power plant, characterized in that: The method comprises: S110, collecting data to be collected corresponding to adjustable resource equipment of the virtual power plant, wherein the adjustable resource equipment includes at least one of a photovoltaic system, an energy storage system, a charging pile, a heating system, a cooling system, and a distribution switch interval; S120, converting the data to be collected into data to be processed in a preset communication format according to the communication protocol type of the adjustable resource device; S130, pre-processing the data to be processed to determine a data status label corresponding to the data to be processed, determining the data to be fused based on the data status label, and storing the data to be fused in a target database.

2. The method according to claim 1, characterized in that The step S110, collecting the data to be collected corresponding to the adjustable resource equipment of the virtual power plant, includes: According to each of the communication protocol types, access and collect configurations for each of the adjustable resource devices to configure preset configuration information; After completing the access collection configuration, calling the data collection module corresponding to the communication protocol type, so as to collect the to-be-collected data corresponding to each of the adjustable resource devices based on the data collection module; The data to be collected includes a response message corresponding to the adjustable resource, and the communication protocol type includes at least one of IEC104, MODBUS-RTU, MODBUS-TCP, MQTT and HTTP.

3. The method according to claim 2, characterized in that The step S120, converting the to-be-collected data into to-be-processed data in a preset communication format according to the communication protocol type of the adjustable resource device, includes: When the communication protocol type is MODBUS-RTU or MODBUS-TCP, recording a first register address of a request message corresponding to the data to be collected; When receiving the response message, determining and calculating the associated register addresses of each measuring point corresponding to the response message according to the first register address; The measuring point information of each measuring point is queried according to the associated register address, and the to-be-processed data in the preset communication format is generated according to the measuring point information and the return time of the response message.

4. The method according to claim 2, characterized in that: The step S120, converting the data to be collected into data to be processed in a preset communication format according to the communication protocol type of the data to be collected, includes: In the case where the communication protocol type is IEC104, determining the measuring point data, measuring point time, and associated point number of the measuring point according to the response message and the preset configuration information; After querying the associated information of the measuring point through the associated point number, and based on the measuring point data, the measuring point time and the associated information, the to-be-processed data in the preset communication format is generated.

5. The method according to claim 2, characterized in that: The step S120, converting the data to be collected into data to be processed in a preset communication format according to the communication protocol type of the data to be collected, includes: When the communication protocol type is MQTT, obtaining a global ID of the measuring point according to the response message and the preset configuration information; The associated information of the measuring point is queried through the global ID association, and the to-be-processed data in the preset communication format is generated based on the data field, the acquisition time field and the associated information of the response message.

6. The method according to claim 1, characterized in that The step S130, preprocessing the data to be processed to determine a data status label corresponding to the data to be processed, includes: The data to be processed is processed according to the numerical range and data consistency corresponding to the data to be processed, and the data status label is added to the data to be processed.

7. The method according to claim 6, characterized in that The processing of the data to be processed and adding the data status tag to the data to be processed includes: If the data to be processed is beyond the normal value range, marking the data to be processed with a first type of data status label; If the data to be processed is empty data, marking the data to be processed with a data status tag of a second type; If the data to be processed is empty data or meaningless register data, marking the data to be processed with a data status tag of a third type; Otherwise, the data to be processed is marked with a data status tag of the zeroth type.

8. The method according to claim 6, characterized in that The processing of the data to be processed and adding the data status tag to the data to be processed includes: If the data type of the data to be processed is inconsistent with the preset data type, type conversion is performed on the data to be processed, and a data status tag of the zeroth type is marked for the data to be processed; If there is coefficient information of the data to be processed, the data to be processed is processed based on the coefficient information, and a data status label of the zeroth type is marked for the data to be processed.

9. The method according to claim 7, characterized in that: The step S130, determining the data to be fused based on the data status tag, and storing the data to be fused in the target database, includes: The data to be processed whose data status label is other than the third type is used as the data to be fused; The data to be merged are pushed to the internal bus, and according to the calling request of the storage interface of the target database, the data to be merged are stored in the target database.

10. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for synchronously updating multi-source heterogeneous data applied to a virtual power plant as described in any one of claims 1-9.