Battery energy storage data processing method, device, electronic equipment and storage medium

By performing local data persistence processing and format conversion at the edge of the battery energy storage system, the problem of low data transmission efficiency in traditional data storage methods is solved, achieving faster data storage speed and stronger real-time performance, and adapting to meet the demand for battery system expansion.

CN117201530BActive Publication Date: 2024-10-22HUANENG CLEAN ENERGY RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311091744.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-28
Publication Date
2024-10-22
Estimated Expiration
2043-08-28

AI Technical Summary

Technical Problem

Traditional electrochemical energy storage system data storage methods cannot meet the high-quality transmission and processing of huge data scale in rapidly developing battery systems, resulting in low data transmission efficiency, prone to data loss and poor security.

Method used

A battery energy storage data processing method is proposed. By performing local persistent data storage processing at the edge, the data transmission mode and target data fields are determined, format conversion processing is performed, and the data files are stored in the local server and then transmitted to the cloud. server, reducing network latency and improving data transmission efficiency.

Benefits of technology

It effectively reduces the network delay of data from the edge to the cloud, improves data transmission efficiency and real-time performance, and meets the storage and transmission needs of energy storage power stations as the scale continues to expand and the amount of data increases.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117201530B_ABST
    Figure CN117201530B_ABST
Patent Text Reader

Abstract

The present disclosure proposes a battery energy storage data processing method, device, electronic device and storage medium, the method comprising: performing local persistent storage processing of initial power data in a first data storage area, obtaining target power data from the initial power data stored in the first data storage area according to the data transmission mode and the target data field, storing the target power data file in the edge local server of the second data storage area, and transmitting the target power data file from the edge local server of the second data storage area to the cloud server of the second data storage area. Through the present disclosure, the network delay of directly writing data from the edge database to the cloud database can be effectively reduced, the data transmission efficiency can be effectively improved, the data storage speed can be faster, the data real-time performance can be stronger, and the data storage and transmission requirements brought about by the continuous expansion of the scale of energy storage power stations and the surge in data volume can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of intelligent operation and maintenance of battery energy storage, and in particular to a battery energy storage data processing method, device, electronic device and storage medium. Background Art

[0002] Currently, among various energy storage technologies, electrochemical energy storage systems occupy a large proportion in the power system due to their high energy density, high charging and discharging efficiency, low self-discharge rate, and excellent dynamic response performance. Unlike conventional energy systems, electrochemical energy storage systems have many equipment units and the scale of the data generated is very large, requiring appropriate data processing.

[0003] In related technologies, traditional data storage methods are usually used to collect power data at the edge and write the power data directly into the cloud database at the edge.

[0004] In this way, for the rapidly developing power system containing hundreds of thousands of battery cells and nearly one million measuring points, the traditional data storage method cannot meet the high-quality transmission and processing of large-scale data. The method of directly writing from the edge to the cloud database will cause a long data transmission delay, resulting in low data transmission efficiency, easy data loss, etc., resulting in poor data accuracy and security. Summary of the invention

[0005] The present disclosure aims to solve one of the technical problems in the related art at least to some extent.

[0006] To this end, the purpose of the present disclosure is to provide a battery energy storage data processing method, device, electronic device, storage medium and computer program product.

[0007] The first aspect of the present disclosure provides a battery energy storage data processing method, including: obtaining initial power data at the edge of an energy storage power station, and performing local persistent storage processing on the initial power data in a first data storage area; obtaining data call requirements of a second data storage area; determining a data transmission mode and a target data field according to the data call requirements; obtaining target power data from the initial power data stored in the first data storage area according to the data transmission mode and the target data field; performing format conversion processing on the target power data to obtain a target power data file, and storing the target power data file in a local server at the edge of the second data storage area; and transmitting the target power data file from the local server at the edge of the second data storage area to a cloud server in the second data storage area.

[0008] The second aspect of the present disclosure provides a battery energy storage data processing device, including: a first acquisition module, used to acquire initial power data at the edge of an energy storage power station, and perform local persistent storage processing on the initial power data in a first data storage area; a second acquisition module, used to acquire data call requirements of a second data storage area; a determination module, used to determine a data transmission mode and a target data field according to the data call requirements; a third acquisition module, used to acquire target power data from the initial power data stored in the first data storage area according to the data transmission mode and the target data field; a processing module, used to perform format conversion processing on the target power data to obtain a target power data file, and store the target power data file in a local server at the edge of the second data storage area; and a transmission module, used to transmit the target power data file from the local server at the edge of the second data storage area to a cloud server in the second data storage area.

[0009] The third aspect embodiment of the present disclosure proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the battery energy storage data processing method proposed in the first aspect embodiment of the present disclosure is implemented.

[0010] The fourth aspect embodiment of the present disclosure proposes a non-temporary computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, it implements the battery energy storage data processing method proposed in the first aspect embodiment of the present disclosure.

[0011] The fifth embodiment of the present disclosure proposes a computer program product. When the instructions in the computer program product are executed by a processor, the battery energy storage data processing method proposed in the first embodiment of the present disclosure is executed.

[0012] The battery energy storage data processing method, device, electronic device, storage medium and computer program product proposed in the present disclosure at least include the following beneficial effects: by obtaining the initial power data at the edge of the energy storage power station, and performing local persistent storage processing on the initial power data in the first data storage area, obtaining the data call requirements of the second data storage area, determining the data transmission mode and the target data field according to the data call requirements, obtaining the target power data from the initial power data stored in the first data storage area according to the data transmission mode and the target data field, performing format conversion processing on the target power data to obtain the target power data file, and storing the target power data file in the local server at the edge of the second data storage area, and transmitting the target power data file from the local server at the edge of the second data storage area to the cloud server at the second data storage area, the network delay existing in directly writing data from the edge database to the cloud database can be effectively reduced, the data transmission efficiency can be effectively improved, the data storage speed can be faster, the data real-time performance can be stronger, and the data storage and transmission requirements of the ever-expanding scale of energy storage power stations and the soaring data volume can be met.

[0013] Additional aspects and advantages of the present disclosure will be given in part in the following description and in part will be obvious from the following description or learned through practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The above and / or additional aspects and advantages of the present disclosure will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0015] Figure 1 It is a flowchart of a battery energy storage data processing method proposed in an embodiment of the present disclosure;

[0016] Figure 2 It is a schematic diagram of power safety zoning of an energy storage power station in an embodiment of the present disclosure;

[0017] Figure 3 is a flowchart of a battery energy storage data processing method proposed in another embodiment of the present disclosure;

[0018] Figure 4 is a schematic diagram of a data transmission processing flow in an embodiment of the present disclosure;

[0019] Figure 5 is a flowchart of a battery energy storage data processing method proposed in another embodiment of the present disclosure;

[0020] Figure 6 is a structural schematic diagram of a battery energy storage data processing device proposed in an embodiment of the present disclosure;

[0021] Figure 7is a structural schematic diagram of a battery energy storage data processing device proposed in another embodiment of the present disclosure;

[0022] Figure 8 A block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0023] Embodiments of the present disclosure are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present disclosure, and are not to be construed as limitations of the present disclosure. On the contrary, the embodiments of the present disclosure include all changes, modifications, and equivalents that fall within the spirit and connotation of the appended claims.

[0024] Figure 1 It is a flowchart of a battery energy storage data processing method proposed in an embodiment of the present disclosure.

[0025] It should be noted that the execution subject of the battery energy storage data processing method of this embodiment is a battery energy storage data processing device, which can be implemented by software and / or hardware, and the device can be configured in an electronic device, without limitation.

[0026] like Figure 1 As shown, the battery energy storage data processing method includes:

[0027] S101: Acquire initial power data at the edge of the energy storage power station, and perform local persistent storage processing on the initial power data in a first data storage area.

[0028] Among them, the initial power data refers to a large amount of unprocessed power data of the energy storage power station collected by the data acquisition device. The initial power data may include: operating status data of the energy storage equipment in the energy storage power station, environmental status data of the energy storage power station, and fire protection data of the energy storage power station, etc., or may also include any other power data generated by the energy storage power station, without limitation.

[0029] The edge end of the energy storage power station refers to a database that can collect data from the power system of the energy storage power station. The number of edge ends of the energy storage power station can be multiple.

[0030] Among them, the first data storage area refers to a data storage area of ​​the power system of the energy storage power station. The first data storage area is the data storage area with the highest security level of the power system of the energy storage power station. The power system can usually be divided into a production control area and an information management area. The production control area is divided into a control area (safety area I) and a non-control area (safety area II). The information management area is divided into a production management area (safety area III) and a management information area (safety area IV). Different safety areas have different safety protection requirements. Among them, the first data storage area as safety area I can be called power area 1, which has the highest security level, followed by safety area II, and the rest are by analogy. For example, Figure 2 As shown, Figure 2 : is a schematic diagram of power safety zoning of an energy storage power station in an embodiment of the present disclosure. The energy storage power station system may include: an energy storage secondary cabin system, an energy storage power station power plant room system, a regional centralized control regional system and a cloud communication server cluster, wherein the energy storage secondary cabin system includes: an energy storage converter (Power Conversion System, PCS) and an energy management system (Energy Management System,) of the energy storage power station, the PCS and EMS are connected to the EMS ring network switch to perform data exchange and communication with the edge communication server cluster, and also to perform data interaction with the regional centralized control and cloud communication server cluster. The security zone levels to which different parts belong are as follows: Figure 2 As shown, the power safety zoning structure of the energy storage power station includes but is not limited to Figure 2 form.

[0031] In the disclosed embodiment, when obtaining the initial power data at the edge of the energy storage power station, the power data of the energy storage power station can be collected through the energy storage power station sensors, the energy storage converter PCS of the energy storage power station, the electric energy management system EMS and other equipment, and the collected power data is stored in the edge database corresponding to each device. The collected power data may include the operating status data of the energy storage device, the environmental status data of the energy storage power station and the fire protection data of the energy storage power station, etc. Then, the operating status data of the energy storage device, the environmental status data of the energy storage power station and the fire protection data of the energy storage power station stored in each energy storage power station edge can be obtained as the initial power data, and the initial power data is locally persistently stored in the first data storage area.

[0032] S102: Obtaining a data call requirement of a second data storage area.

[0033] Among them, the second data storage area refers to the data storage area in the energy storage power station whose safety level corresponds to safety zone III. The second data storage area can be called power zone III in the energy storage power station.

[0034] Among them, the data call requirement refers to a data call instruction used by the second data storage area to call data from the first data storage area. The data call requirement can describe the data type of the power data required by the second data storage area, the data transmission method, and the specific data fields to be obtained, etc., or can also include any other information used to determine and obtain power data, without limitation.

[0035] In the implementation of the present disclosure, when the second data storage area needs to obtain data from the initial power data stored in the first data storage area, the second data storage area can generate corresponding data acquisition requirement information based on the data type, data field, etc. of the required power data, and use the data acquisition requirement information as the data call requirement of the second data storage area.

[0036] S103: Determine the data transmission mode and target data field according to the data call requirement.

[0037] The target data field refers to the power data field specifically required by the second data storage area.

[0038] Among them, the data transmission mode refers to the data acquisition method of the second data storage area to obtain power data from the first data storage area. The data transmission mode can be determined according to the data type required by the second data storage area in the data requirement. For example, real-time data and historical data have different corresponding data transmission modes. Real-time data corresponds to the real-time data transmission mode, and historical data corresponds to the historical data transmission mode.

[0039] After obtaining the data call requirement of the second data storage area, the embodiment of the present disclosure can determine the data transmission mode and the target data field according to the data call requirement.

[0040] In the embodiment of the present disclosure, when determining the data transmission mode and the target data field according to the data call requirement, the data call requirement can be first parsed to obtain the data type of the power data required to be obtained by the second data storage area described in the data call requirement, and the data transmission mode is determined according to different data types. If the data type is real-time data, then the data transmission mode is the real-time data transmission mode; if the data type is historical data, then the data transmission mode is the historical data transmission mode.

[0041] S104: Acquire target power data from the initial power data stored in the first data storage area according to the data transmission mode and the target data field.

[0042] The target power data refers to the power data ultimately required by the second data storage area, and part of the power data can be obtained from the initial power data stored in the first data storage area as the target power data.

[0043] After determining the data transmission mode and the target data field according to the data call requirements as described above, the embodiment of the present disclosure can obtain the target power data from the initial power data stored in the first data storage area according to the data transmission mode and the target data field.

[0044] In the embodiment of the present disclosure, when acquiring target power data from initial power data stored in a first data storage area according to a data transmission mode and a target data field, power data matching the target data field can be first acquired from the initial power data, and different data processing is performed on the power data matching the target data field for different data transmission modes, i.e., a real-time data transmission mode and a historical data transmission mode, to obtain the target power data. The data processing method corresponding to the real-time data transmission mode is as follows: acquiring the target power data from the power data matching the target data field according to a sampling interval of the initial power data and a time interval of the required target power data. Since the sampling interval of the initial power data and the data time interval of the required target power data can be different, There may be differences. For example, the sampling interval is in seconds and the required time interval is in minutes. In this case, all the power data matching the target data field within the most recent minute are selected, and according to the data requirements of the second data storage area, the maximum value, minimum value or average value of all the power data matching the target data field within the most recent minute are taken as the value of the required field within that minute. The calculated value can be used as the target power data. If the sampling interval is greater than the required data time interval, a piece of data with the last storage time among the power data matching the target data field is selected as the target power data. The data processing method corresponding to the historical data transmission mode is: all the power data matching the target data field within the required data time interval are taken as the target power data.

[0045] S105: Perform format conversion processing on the target power data to obtain a target power data file, and store the target power data file in the edge local server in the second data storage area.

[0046] The target power data file refers to a data file that conforms to a preset file format and is obtained by format conversion processing of the target power data.

[0047] Among them, the second data storage area has a corresponding edge local server and cloud server.

[0048] After the target power data is acquired as described above, the embodiment of the present disclosure may perform format conversion processing on the target power data to obtain a target power data file.

[0049] In the disclosed embodiment, when the target power data is format converted to obtain the target power data file, the target power data can be preprocessed according to the data transmission mode corresponding to the target power data, and the target power data obtained in the real-time data transmission mode can be cleaned, including but not limited to abnormal value processing, null value filling, unit conversion, normalization, etc. For the target power data obtained in the historical data transmission mode, since the sampling time of each battery compartment and each field is different, in addition to the data cleaning operation of the above-mentioned real-time data transmission mode, it is also necessary to perform timestamp alignment on the data of different fields in different battery compartments, and then a data set can be constructed for the target power data set after data preprocessing, and the fields with the same time interval can be spliced ​​into a data set for the three-zone front-end display, which is recorded as [ts', dev_code', v1', p1', t1'], and then the target power data after the data set is constructed can be converted into a file format, and the target power data can be saved in a file format, and the file format includes but is not limited to a tabular data file format (comma-separated values, csv), a plain text file format (plain text txt) to obtain the target power file, and store the target power data file in the edge local server of the second data storage area.

[0050] S106: Transmitting the target power data file from the edge local server in the second data storage area to the cloud server in the second data storage area.

[0051] After the target power data is format-converted to obtain a target power data file and the target power data file is stored in an edge local server in a second data storage area, the target power data file can be transmitted from the edge local server in the second data storage area to a cloud server in the second data storage area.

[0052] In the disclosed embodiment, the target power data file obtained after preprocessing can be packaged and compressed by lossless compression and stored in the edge local server of the power zone 3 (second data storage area), and the compressed power data file can be stored in the cloud server of the second data storage area, wherein the data compression package of the edge local server of the second data storage area of ​​the energy storage power station is transmitted to the cloud server of the second data storage area. The adopted methods can be: a file upload method based on the Hypertext Transfer Protocol (HTTP), a file upload method based on the Linux plug-in sshpass and expect or Python's paramiko package, and a method in which the zone 3 cloud server remotely accesses the zone 3 cloud server to perform file copy operations, etc. There is no restriction on this, and the data compression package is decompressed locally on the cloud server and written into the cloud server database.

[0053] In this embodiment, by obtaining the initial power data at the edge of the energy storage power station, and performing local persistent storage processing on the initial power data in the first data storage area, obtaining the data call requirements of the second data storage area, determining the data transmission mode and the target data field according to the data call requirements, obtaining the target power data from the initial power data stored in the first data storage area according to the data transmission mode and the target data field, performing format conversion processing on the target power data to obtain the target power data file, and storing the target power data file in the local server at the edge of the second data storage area, and transmitting the target power data file from the local server at the edge of the second data storage area to the cloud server in the second data storage area, the network delay of directly writing data from the edge database to the cloud database can be effectively reduced, the data transmission efficiency can be effectively improved, the data storage speed can be faster, the data real-time performance can be stronger, and the data storage and transmission requirements of the ever-expanding scale of energy storage power stations and the soaring data volume can be met.

[0054] Figure 3 It is a flowchart of a battery energy storage data processing method proposed in another embodiment of the present disclosure.

[0055] like Figure 3 As shown, the battery energy storage data processing method includes:

[0056] S301: Acquire initial power data at the edge of the energy storage power station, and perform local persistent storage processing on the initial power data in a first data storage area, wherein the initial power data has a corresponding data sampling interval.

[0057] The data sampling interval refers to the sampling frequency when obtaining the initial power data.

[0058] S302: Obtain data call requirements from the second data storage area.

[0059] S303: Determine the data transmission mode and target data field according to the data call requirement.

[0060] For the detailed description of S301 to S303 , please refer to the above embodiment, which will not be repeated here.

[0061] S304: Obtain a target time interval corresponding to the target data field.

[0062] The target time interval refers to the time period corresponding to the target power data to be acquired, that is, the target power data is acquired from the initial power data within the target time interval.

[0063] In the disclosed embodiment, the time period corresponding to the target power data to be acquired may be determined as the target time interval corresponding to the target data field, and then the target power data may be acquired from the initial power data within the target time interval.

[0064] S305: Acquire initial power data matching the target data field within the target time interval.

[0065] After acquiring the target time interval corresponding to the target data field as described above, the embodiment of the present disclosure can acquire the initial power data that matches the target data field within the target time interval. First, the initial power data with a time tag within the target time interval can be screened out from the initial power data. Each data field in the initial power data within the target time interval can be matched with the target data field to obtain the initial power data that matches the target data field within the target time interval.

[0066] S306: If the data transmission mode is real-time data transmission, the target power data is obtained from the matching initial power data according to the data sampling interval and the target time interval.

[0067] In the disclosed embodiment, the data transmission mode may be analyzed, and if the data transmission mode is real-time data transmission, the target power data may be acquired from the matching initial power data according to the data sampling interval and the target time interval.

[0068] Optionally, in some embodiments, when obtaining target power data from matching initial power data based on the data sampling interval and the target time interval, if the target time interval is greater than the data sampling interval, the matching initial power data is processed according to a preset data processing mode to obtain the target power data, wherein the preset data processing mode is to take the maximum value, the minimum value, or the average value, and if the target time interval is less than the data sampling interval, the data with the shortest data storage time is determined from the matching initial power data as the target power data.

[0069] In an embodiment of the present disclosure, when obtaining target power data from matching initial power data based on a data sampling interval and a target time interval, the target time interval and the data sampling interval can be compared and processed. If the target time interval is greater than the data sampling interval, the matching initial power data is processed according to a preset data processing mode. The preset data processing mode can be determined according to the data processing requirements of the second data storage area, wherein the preset data processing mode can be one of taking a maximum value, a minimum value, or an average value. The maximum value, the minimum value, or the average value of the data can be taken from the matching initial power data, and the corresponding calculation result under the preset data processing mode is used as the target power data. If the target time interval is less than or equal to the data sampling interval, the data storage time of the matching initial power data in the database is sorted and processed, and the data with the shortest data storage time is determined from the matching initial power data as the target power data.

[0070] S307: If the data transmission mode is historical data transmission, the matched initial power data is used as the target power data.

[0071] In the embodiment of the present disclosure, the data transmission mode may be analyzed. If the data transmission mode is historical data transmission, all matching initial power data are used as target power data.

[0072] S308: Perform format conversion processing on the target power data to obtain a target power data file, and store the target power data file in the edge local server in the second data storage area.

[0073] For the specific description of S308, please refer to the above embodiment, which will not be repeated here.

[0074] S309: Transmitting the target power data file from the edge local server in the second data storage area to the cloud server in the second data storage area.

[0075] Optionally, in some embodiments, when the target power data file is transmitted from the edge local server of the second data storage area to the cloud server of the second data storage area, the target power data file can be losslessly compressed on the edge local server of the second data storage area to obtain a power data compressed file, determine the data upload mode of the power data compressed file, and transmit the power data compressed file to the cloud server of the second data storage area based on the data upload mode.

[0076] In the disclosed embodiment, when the target power data file is transmitted from the edge local server of the second data storage area to the cloud server of the second data storage area, the target power data file can be losslessly compressed on the edge local server of the second data storage area to obtain a power data compressed file, and a data upload mode of the power data compressed file is determined. The data upload mode may include: a file upload method based on the hypertext transfer protocol HTTP, a file upload method based on the Linux plug-in sshpass and expect or Python's paramiko package, and a method in which the three-zone cloud server remotely accesses the three-zone cloud server to perform a file copy operation. There is no restriction on this. Then, based on the data upload mode, the power data compressed file can be transmitted to the cloud server of the second data storage area.

[0077] like Figure 4 As shown, Figure 4 It is a schematic diagram of the data transmission processing flow in the embodiment of the present disclosure, in which the collected power data is persistently stored in the power zone 1, and then the database data of zone 1 is read from the edge server of zone 3, and the data is pre-processed and compressed locally on the edge server of zone 3 and then transmitted to the cloud server of zone 3, and then the data is decompressed locally on the cloud server of zone 3 to complete the data warehousing. The full data of the energy storage power station is stored in the power zone 1, and only when there is a demand for data call does it need to be transmitted from the power zone 1 to the power zone 3 for processing.

[0078] In this embodiment, by obtaining the initial power data at the edge of the energy storage power station, and performing local persistent storage processing on the initial power data in the first data storage area, obtaining the data call requirements of the second data storage area, determining the data transmission mode and the target data field according to the data call requirements, obtaining the target power data from the initial power data stored in the first data storage area according to the data transmission mode and the target data field, performing format conversion processing on the target power data to obtain the target power data file, and storing the target power data file in the local server at the edge of the second data storage area, and transmitting the target power data file from the local server at the edge of the second data storage area to the cloud server in the second data storage area, the network delay of directly writing data from the edge database to the cloud database can be effectively reduced, the data transmission efficiency can be effectively improved, the data storage speed can be faster, the data real-time performance can be stronger, and the data storage and transmission requirements of the ever-expanding scale of energy storage power stations and the soaring data volume can be met.

[0079] Figure 5 It is a flowchart of a battery energy storage data processing method proposed in another embodiment of the present disclosure.

[0080] like Figure 5 As shown, the battery energy storage data processing method includes:

[0081] S501: Acquire initial power data at the edge of the energy storage power station, and perform local persistent storage processing on the initial power data in a first data storage area.

[0082] S502: Obtain data call requirements of the second data storage area.

[0083] S503: Determine the data transmission mode and target data field according to the data call requirement.

[0084] S504: Acquire target power data from the initial power data stored in the first data storage area according to the data transmission mode and the target data field.

[0085] For the detailed description of S501 to S504 , please refer to the above embodiments, which will not be repeated here.

[0086] S505: Determine a data preprocessing mode according to the data transmission mode.

[0087] The data preprocessing mode refers to a data preprocessing method that is pre-set for power data acquired in different data transmission modes.

[0088] Optionally, in some embodiments, when determining the data preprocessing mode according to the data transmission mode, if the data transmission mode is real-time data transmission, then the data preprocessing mode is determined to be the first data preprocessing mode, wherein the first data preprocessing mode includes: outlier removal, null value filling, unit conversion and normalization processing; if the data transmission mode is historical data transmission, then the data preprocessing mode is determined to be the second data preprocessing mode, wherein the second data preprocessing mode includes: outlier removal, null value filling, unit conversion, normalization processing and timestamp alignment processing.

[0089] In the disclosed embodiment, different data preprocessing methods can be set for the historical data transmission mode and the real-time data transmission mode. A first data preprocessing mode can be set for real-time data transmission, and the first data preprocessing mode includes: outlier removal, null value filling, unit conversion and normalization processing. Since the power data obtained under the historical data transmission mode has differences in field sampling time, the data preprocessing mode corresponding to the historical data transmission mode contains more data processing processes, and adds a data processing process for timestamp alignment processing. That is to say, the second data preprocessing mode set for the historical data transmission mode includes: outlier removal, null value filling, unit conversion, normalization processing and timestamp alignment processing.

[0090] S506: Perform data preprocessing on the target power data according to the data preprocessing mode to obtain reference power data.

[0091] In the disclosed embodiment, the first data preprocessing mode includes: outlier removal, null value filling, unit conversion and normalization processing, and the second data preprocessing mode includes: outlier removal, null value filling, unit conversion, normalization processing and timestamp alignment processing. If the data transmission mode is real-time data transmission, the data preprocessing mode is determined to be the first data preprocessing mode, and the target power data obtained by the real-time data transmission is subjected to outlier removal, null value filling, unit conversion and normalization processing. If the data transmission mode is historical data transmission, the data preprocessing mode is determined to be the second data preprocessing mode, and the target power data obtained by the historical data transmission is subjected to outlier removal, null value filling, unit conversion, normalization processing and timestamp alignment processing.

[0092] S507: Determine the file format information of the reference power data.

[0093] The file format information refers to data information that can be used to describe the final file format into which the reference power data needs to be converted.

[0094] In the disclosed embodiment, the final file format into which the reference power data needs to be converted can be set according to the file format requirements of the second data storage area for the power data to obtain the file format information of the reference power data. The file format includes but is not limited to csv, txt and other formats. The file format information can be set adaptively according to the data file format in the actual scenario.

[0095] S508: Perform format conversion processing on the reference power data according to the file format information to obtain a target power data file.

[0096] After the target power data is preprocessed according to the data preprocessing mode to obtain the reference power data and the file format information of the reference power data is determined, the embodiment of the present disclosure can perform format conversion processing on the reference power data according to the file format information to obtain the target power data file.

[0097] S509: Transmitting the target power data file from the edge local server in the second data storage area to the cloud server in the second data storage area.

[0098] For the specific description of S509, please refer to the above embodiment, which will not be repeated here.

[0099] The battery energy storage data processing method, device, electronic device, storage medium and computer program product proposed in the present disclosure, in order to overcome the difficulties in the above-mentioned existing data analysis process, after the power data of the energy storage power station is transmitted from the first data storage area (power area 1 of the energy storage power station) to the second data storage area (power area 3 of the energy storage power station), it is compressed at the edge of the second data storage area and uploaded to the cloud server, and is decompressed and stored locally on the cloud server. Compared with the method of directly writing the power data at the edge, it has the following advantages: compressed data reduces the amount of data sent or stored by partially eliminating the inherent redundancy in the data. Through data compression, the efficiency of data transmission and storage is improved, while the integrity of the data is protected, the demand for network bandwidth and hardware equipment is reduced, and the initial construction cost required for data transmission is reduced. Since there is network delay in writing directly from the edge to the cloud database, the method of transmitting the compressed package from the edge and decompressing the compressed package locally on the cloud server has low network performance requirements, faster data storage speed, and stronger data real-time performance. As the scale of energy storage power stations continues to expand and the amount of data increases rapidly, this method has obvious advantages.

[0100] In this embodiment, by obtaining the initial power data at the edge of the energy storage power station, and performing local persistent storage processing on the initial power data in the first data storage area, obtaining the data call requirements of the second data storage area, determining the data transmission mode and the target data field according to the data call requirements, obtaining the target power data from the initial power data stored in the first data storage area according to the data transmission mode and the target data field, performing format conversion processing on the target power data to obtain the target power data file, and storing the target power data file in the local server at the edge of the second data storage area, and transmitting the target power data file from the local server at the edge of the second data storage area to the cloud server in the second data storage area, the network delay of directly writing data from the edge database to the cloud database can be effectively reduced, the data transmission efficiency can be effectively improved, the data storage speed can be faster, the data real-time performance can be stronger, and the data storage and transmission requirements of the ever-expanding scale of energy storage power stations and the soaring data volume can be met.

[0101] Figure 6 It is a structural diagram of a battery energy storage data processing device proposed in one embodiment of the present disclosure.

[0102] like Figure 6 As shown, the battery energy storage data processing device 60 includes:

[0103] The first acquisition module 601 is used to acquire the initial power data of the edge end of the energy storage power station, and perform local persistent storage processing on the initial power data in the first data storage area;

[0104] The second acquisition module 602 is used to acquire the data call requirement of the second data storage area;

[0105] A determination module 603 is used to determine a data transmission mode and a target data field according to a data call requirement;

[0106] A third acquisition module 604 is used to acquire target power data from the initial power data stored in the first data storage area according to the data transmission mode and the target data field;

[0107] A processing module 605 is used to perform format conversion processing on the target power data to obtain a target power data file, and store the target power data file in the edge local server in the second data storage area; and

[0108] The transmission module 606 is used to transmit the target power data file from the edge local server of the second data storage area to the cloud server of the second data storage area.

[0109] In some embodiments of the present disclosure, Figure 7 As shown, Figure 7is a structural schematic diagram of a battery energy storage data processing device proposed in another embodiment of the present disclosure, wherein the initial power data has a corresponding data sampling interval;

[0110] The third acquisition module 604 includes:

[0111] The first acquisition submodule 6041 is used to acquire a target time interval corresponding to a target data field;

[0112] The second acquisition submodule 6042 is used to acquire initial power data matching the target data field within the target time interval;

[0113] The third acquisition submodule 6043 is used to acquire target power data from the matched initial power data according to the data sampling interval and the target time interval when the data transmission mode is real-time data transmission;

[0114] The processing submodule 6044 is used to use the matched initial power data as the target power data when the data transmission mode is the historical data transmission mode.

[0115] In some embodiments of the present disclosure, the third acquisition submodule 6043 is specifically used to:

[0116] If the target time interval is greater than the data sampling interval, the matched initial power data is processed according to a preset data processing mode to obtain the target power data, wherein the preset data processing mode is to take the maximum value, the minimum value or the average value;

[0117] If the target time interval is less than or equal to the data sampling interval, data with the shortest data storage time is determined from the matched initial power data as the target power data.

[0118] In some embodiments of the present disclosure, the processing module 605 is specifically configured to:

[0119] Determine the data preprocessing mode according to the data transmission mode;

[0120] Performing data preprocessing on the target power data according to the data preprocessing mode to obtain reference power data;

[0121] Determine the file format information of reference power data;

[0122] The reference power data is format converted according to the file format information to obtain a target power data file.

[0123] In some embodiments of the present disclosure, the processing module 605 is further configured to:

[0124] If the data transmission mode is real-time data transmission, determining the data preprocessing mode to be the first data preprocessing mode, wherein the first data preprocessing mode includes: outlier removal, null value filling, unit conversion and normalization processing;

[0125] If the data transmission mode is historical data transmission, the data preprocessing mode is determined to be the second data preprocessing mode, wherein the second data preprocessing mode includes: outlier removal, null value filling, unit conversion, normalization processing and timestamp alignment processing.

[0126] In some embodiments of the present disclosure, the transmission module 606 is specifically configured to:

[0127] At the edge local server of the second data storage area, losslessly compressing the target power data file to obtain a power data compressed file;

[0128] Determine the data upload mode of the power data compressed file;

[0129] Based on the data upload mode, the power data compressed file is transmitted to the cloud server in the second data storage area.

[0130] With the above Figures 1 to 5 Corresponding to the battery energy storage data processing method provided in the embodiment, the present disclosure also provides a battery energy storage data processing device. Since the battery energy storage data processing device provided in the embodiment of the present disclosure is consistent with the above Figures 1 to 5 The battery energy storage data processing method provided in the embodiment corresponds to the embodiment, so the implementation of the battery energy storage data processing method is also applicable to the battery energy storage data processing device provided in the embodiment of the present disclosure, and will not be described in detail in the embodiment of the present disclosure.

[0131] In this embodiment, by obtaining the initial power data at the edge of the energy storage power station, and performing local persistent storage processing on the initial power data in the first data storage area, obtaining the data call requirements of the second data storage area, determining the data transmission mode and the target data field according to the data call requirements, obtaining the target power data from the initial power data stored in the first data storage area according to the data transmission mode and the target data field, performing format conversion processing on the target power data to obtain the target power data file, and storing the target power data file in the local server at the edge of the second data storage area, and transmitting the target power data file from the local server at the edge of the second data storage area to the cloud server in the second data storage area, the network delay of directly writing data from the edge database to the cloud database can be effectively reduced, the data transmission efficiency can be effectively improved, the data storage speed can be faster, the data real-time performance can be stronger, and the data storage and transmission requirements of the ever-expanding scale of energy storage power stations and the soaring data volume can be met.

[0132] In order to implement the above embodiments, the present disclosure further proposes a non-temporary computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the battery energy storage data processing method proposed in the above embodiments of the present disclosure is implemented.

[0133] In order to implement the above embodiments, the present disclosure further proposes a computer program product. When an instruction processor in the computer program product is executed, the battery energy storage data processing method proposed in the above embodiments of the present disclosure is executed.

[0134] Figure 8 A block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure is shown.

[0135] Figure 8 The electronic device 8 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0136] like Figure 8 As shown, the electronic device 8 is in the form of a general purpose computing device. The components of the electronic device 8 may include, but are not limited to: one or more processors or processing units 16, a memory 28, and a bus 18 connecting different system components (including the memory 28 and the processing unit 16).

[0137] The bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnection (PCI) bus.

[0138] The electronic device 8 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 8, including volatile and non-volatile media, removable and non-removable media.

[0139] The memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 8 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 8 Not shown, often called a "hard drive").

[0140] although Figure 8 Not shown in the figure, a disk drive for reading and writing a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing a removable non-volatile optical disk (e.g., a compact disc read only memory (hereinafter referred to as: CD-ROM), a digital versatile disc read only memory (hereinafter referred to as: DVD-ROM) or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present disclosure.

[0141] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the memory 28, such program modules 42 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described in the present disclosure.

[0142] The electronic device 8 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), may also communicate with one or more devices that enable the human body to interact with the electronic device 8, and / or communicate with any device that enables the electronic device 8 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed through an input / output (I / O) interface 22. In addition, the electronic device 8 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 8 through the bus 18. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 8, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0143] The processing unit 16 executes various functional applications and parameter information determination by running the program stored in the memory 28, for example, implementing the battery energy storage data processing method mentioned in the above embodiment.

[0144] It should be noted that, in the description of the present disclosure, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present disclosure, unless otherwise specified, the meaning of "plurality" is two or more.

[0145] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present disclosure includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present disclosure belong.

[0146] It should be understood that the various parts of the present disclosure can be implemented in hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0147] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0148] In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0149] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0150] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0151] Although the embodiments of the present disclosure have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present disclosure. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present disclosure.

Claims

1. A battery energy storage data processing method, characterized in that: include: Acquire initial power data at the edge of the energy storage power station, and perform local persistent storage processing on the initial power data in the first data storage area; Obtaining data call requirements from the second data storage area; Determine the data transmission mode and the target data field according to the data call requirement; acquiring target power data from the initial power data stored in the first data storage area according to the data transmission mode and the target data field; Performing format conversion processing on the target power data to obtain a target power data file, and storing the target power data file in an edge local server in the second data storage area; as well as The target power data file is transmitted from the edge local server of the second data storage area to the cloud server of the second data storage area.

2. The method according to claim 1, characterized in that The initial power data has a corresponding data sampling interval; Wherein, acquiring target power data from the initial power data stored in the first data storage area according to the data transmission mode and the target data field includes: Obtaining a target time interval corresponding to the target data field; Acquire initial power data matching the target data field within the target time interval; If the data transmission mode is real-time data transmission, acquiring the target power data from the matched initial power data according to the data sampling interval and the target time interval; If the data transmission mode is historical data transmission, the matched initial power data is used as the target power data.

3. The method according to claim 2, characterized in that The acquiring the target power data from the matched initial power data according to the data sampling interval and the target time interval includes: If the target time interval is greater than the data sampling interval, the matched initial power data is processed according to a preset data processing mode to obtain the target power data, wherein the preset data processing mode is to take the maximum value, the minimum value or the average value; If the target time interval is less than or equal to the data sampling interval, data with the shortest data storage time is determined from the matched initial power data as the target power data.

4. The method according to claim 1, characterized in that The step of performing format conversion processing on the target power data to obtain a target power data file includes: Determining a data preprocessing mode according to the data transmission mode; Performing data preprocessing on the target power data according to the data preprocessing mode to obtain reference power data; Determining file format information of the reference power data; The reference power data is format converted according to the file format information to obtain the target power data file.

5. The method according to claim 4, characterized in that Determining a data preprocessing mode according to the data transmission mode includes: If the data transmission mode is real-time data transmission, determining that the data preprocessing mode is a first data preprocessing mode, wherein the first data preprocessing mode includes: outlier removal, null value filling, unit conversion and normalization processing; If the data transmission mode is historical data transmission, the data preprocessing mode is determined to be a second data preprocessing mode, wherein the second data preprocessing mode includes: outlier removal, null value filling, unit conversion, normalization processing and timestamp alignment processing.

6. The method according to claim 1, characterized in that The step of transmitting the target power data file from the edge local server of the second data storage area to the cloud server of the second data storage area includes: At the local server at the edge of the second data storage area, losslessly compressing the target power data file to obtain a compressed power data file; Determining a data uploading mode of the power data compression file; Based on the data upload mode, the power data compressed file is transmitted to the cloud server in the second data storage area.

7. A battery energy storage data processing device, characterized in that: include: A first acquisition module is used to acquire initial power data at the edge of the energy storage power station, and perform local persistent storage processing on the initial power data in a first data storage area; A second acquisition module, used to acquire data call requirements of a second data storage area; A determination module, used to determine a data transmission mode and a target data field according to the data call requirement; a third acquisition module, configured to acquire target power data from the initial power data stored in the first data storage area according to the data transmission mode and the target data field; a processing module, configured to perform format conversion processing on the target power data to obtain a target power data file, and store the target power data file in an edge local server in the second data storage area; as well as A transmission module is used to transmit the target power data file from the edge local server of the second data storage area to the cloud server of the second data storage area.

8. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 6.

9. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: in, The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 6.

10. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 6.