Energy storage cloud platform access method based on data structure

By adopting a data structure-based access method in the energy storage cloud platform and using the IoT bus and data structure inspection mechanism, the problem of insufficient compatibility of data access services on the energy storage cloud platform is solved, efficient and real-time data transmission and storage are achieved, and the system scalability and compatibility are improved.

CN119676262APending Publication Date: 2025-03-21XJ GRP CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411589603.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-08
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

The existing energy storage cloud platform has shortcomings in data access service compatibility, making it difficult to effectively manage and analyze massive data from energy storage stations.

Method used

The data structure-based access method is adopted to realize information interaction between the energy storage cloud platform and multiple energy storage stations through the IoT bus, subscribe to the simulated data and alarm data of the energy storage station, and verify and store the received information based on the defined data structure.

Benefits of technology

It improves the efficiency and real-time nature of data transmission, ensures data integrity and accuracy, enhances the scalability and compatibility of the system, and reduces system maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119676262A_ABST
    Figure CN119676262A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of energy storage cloud platforms, in particular to an energy storage cloud platform access method based on a data structure, and the method comprises the steps: subscribing the information of each energy storage station, the theme of the information being analog quantity data or alarm quantity data; based on the subscription, a theme published by the Internet of Things bus is received, and the theme corresponds to the subscription; receiving information of the theme, and checking the information based on the data structure; storing the received information to a database based on a test result; wherein the data structure comprises an analog quantity data theme data structure and an alarm data theme data structure. According to the method, the cloud platform can effectively check and analyze the received data by defining the definite analog quantity data theme data structure and the alarm data theme data structure, and error data can be found and corrected in time. According to the method, an access mode based on a data structure is adopted, so that the method has good expandability and compatibility.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of energy storage cloud platforms, and in particular to an energy storage cloud platform access method based on a data structure. Background Art

[0002] With the continuous transformation of the global energy structure, renewable energy such as wind power and photovoltaic power has gradually become dominant. However, these renewable energy sources are intermittent and volatile, which poses challenges to the stability of the power grid and its power consumption capacity. Energy storage technology, as a key means to solve this problem, can provide necessary regulation and support when there is an imbalance between power supply and demand. Therefore, building an energy storage cloud platform to achieve data access, management and analysis of energy storage systems is of great significance to promoting energy transformation and promoting the consumption of renewable energy.

[0003] At present, the data in the energy storage station has been collected through the 104 protocol and the 61850 protocol, and is generally forwarded to the cloud platform through the EMS system or other data collection devices in the station. In this process, the data access service of the cloud platform plays a vital role. How to improve the compatibility of the data access service of the cloud platform is a current research direction. Summary of the invention

[0004] (I) Purpose of the invention

[0005] The purpose of the present invention is to provide a data structure-based energy storage cloud platform access method that can improve the compatibility of access services.

[0006] (II) Technical solution

[0007] To solve the above problems, the present invention provides a data structure-based energy storage cloud platform access method, wherein the energy storage cloud platform and multiple energy storage stations exchange information via an IoT bus; the method comprises:

[0008] Subscribe to the information of each energy storage station, the subject of the information is analog data or alarm data; based on the subscription, receive the subject published by the IoT bus, the subject corresponds to the subscription;

[0009] receiving information of the subject, and verifying the information based on the data structure;

[0010] storing the received information in a database based on the inspection results;

[0011] Wherein, the data structure includes an analog quantity data topic data structure and an alarm data topic data structure.

[0012] In another aspect of the present invention, preferably, the verification includes format verification, timeliness verification, model verification and security verification.

[0013] In another aspect of the present invention, preferably,

[0014] The analog data subject data structure includes the protocol version number, reserved fields, energy storage station number, real-time analog data, data type, signature value and sending time;

[0015] The alarm data subject data structure includes the protocol version number, reserved fields, energy storage station number, real-time alarm quantity data, data type, signature value and sending time.

[0016] In another aspect of the present invention, preferably, the signature value is generated according to the energy storage station number, and the signature value is pre-stored in the energy storage cloud platform.

[0017] In another aspect of the present invention, preferably, the energy storage station number is encoded according to a preset coding rule, and the preset coding rule is to encode in the order of energy storage station, energy storage cabinet and equipment, the energy storage station includes multiple energy storage cabinets, and the energy storage cabinet includes multiple devices.

[0018] In another aspect of the present invention, preferably, the database includes a real-time database and a time series database;

[0019] Storing the received information in a database based on the inspection result includes:

[0020] The real-time database stores information within a predetermined period, and the time series database stores the information in chronological order;

[0021] If the real-time database receives new information with the subject of analog data or alarm data within a predetermined period, the existing information is replaced;

[0022] If the real-time database does not receive any information within a predetermined period, the existing information is cleared.

[0023] In another aspect of the present invention, preferably, the format check includes:

[0024] Using fixed fields in the data structure for verification;

[0025] If the fixed fields in the data structure are included, it is qualified information and is stored in the database;

[0026] If the fixed fields in the data structure are not included, it is unqualified information and will not be stored.

[0027] In another aspect of the present invention, preferably,

[0028] The timeliness test includes:

[0029] Obtain the sending time and access time in the accessed information;

[0030] Calculate the time difference between the sending time and the access time;

[0031] If the time difference is greater than the preset time threshold, it is considered unqualified information and will not be stored;

[0032] If the time difference is less than or equal to the preset time threshold, it is qualified information and is stored in the database.

[0033] In another aspect of the present invention, preferably,

[0034] The model verification includes:

[0035] Get the energy storage station number in the access information;

[0036] According to the energy storage station number in the access information, parse the energy storage station numbering rule;

[0037] Comparing the energy storage station numbering rule with a preset coding rule;

[0038] If the two are consistent, it is qualified information and stored in the database;

[0039] If the two are inconsistent, it is considered unqualified information and will not be stored.

[0040] In another aspect of the present invention, preferably,

[0041] The security check includes:

[0042] Get the signature value in the access information;

[0043] Compare the signature value in the accessed information with the signature value pre-stored in the energy storage cloud platform;

[0044] If the two are consistent, it is qualified information and stored in the database;

[0045] If the two are inconsistent, it is considered unqualified information and will not be stored.

[0046] (III) Beneficial effects

[0047] The above technical solution of the present invention has the following beneficial technical effects:

[0048] The present invention realizes information interaction between the energy storage cloud platform and multiple energy storage stations through the Internet of Things bus, which can significantly improve the efficiency and real-time performance of data transmission; the energy storage cloud platform subscribes to the information of each energy storage station, including analog data and alarm data, which provides a high degree of flexibility. The cloud platform can choose to subscribe to different types of data according to actual needs, so as to achieve comprehensive monitoring of the operating status of the energy storage station. The received information is verified using a data structure, which ensures the integrity and accuracy of the data. By defining a clear analog data subject data structure and an alarm data subject data structure, the cloud platform can effectively verify and parse the received data, and promptly discover and correct erroneous data. The method of the present invention adopts an access method based on a data structure, so it has good scalability and compatibility. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 It is a hierarchical structure diagram of the energy storage station;

[0050] Figure 2 It is a flow chart of an access method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0051] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. In addition, in the following description, the description of well-known structures and technologies is omitted to avoid unnecessary confusion of the concept of the present invention.

[0052] Obviously, the described embodiments are only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0053] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0054] The present invention will be described in more detail below with reference to the accompanying drawings. In each of the accompanying drawings, the same elements are represented by similar reference numerals. For the sake of clarity, the various parts in the accompanying drawings are not drawn to scale.

[0055] Embodiment 1

[0056] A method for accessing an energy storage cloud platform based on data structure. Figure 1 The hierarchical structure diagram of the energy storage station is shown in FIG. Figure 1As shown, the energy storage station is composed of an energy storage cabinet, which is composed of a battery compartment and a PCS, and the battery compartment is composed of a hierarchical structure of a battery stack, a battery cluster, a battery box, a single battery, etc. In this embodiment, the battery compartment and the PCS are collectively referred to as equipment.

[0057] The energy storage cloud platform and multiple energy storage stations exchange information via the IoT bus; Figure 2 A flow chart of an access method according to an embodiment of the present invention is shown. Figure 2 As shown, the method includes:

[0058] Subscribe to the information of each energy storage station, the subject of the information is analog data or alarm data; based on the subscription, receive the subject published by the IoT bus, the subject corresponds to the subscription; for the process of massive data access of the energy storage station, with the help of the IoT bus, realize the data access of the energy storage station according to the publish / subscribe mechanism,

[0059] receiving information of the subject, and verifying the information based on the data structure;

[0060] The received information is stored in a database based on the inspection results.

[0061] The data structure includes an analog data topic data structure and an alarm data topic data structure. When the IoT bus publishes an analog data or alarm data collected by a certain energy storage power station to a specified topic, the access service in the energy storage cloud platform can receive the collected data. Through this publish / subscribe mode, the data sender and receiver are fully decoupled during the interaction process, which improves the access performance.

[0062] Classification of energy storage station data: analog data collected in PCS units; analog data collected in battery compartments, battery stacks, battery clusters, battery boxes and single cells;

[0063] Alarm data collected in PCS units; alarm data collected in battery compartments, battery stacks, battery clusters and battery boxes.

[0064] The analog data subject data structure includes the protocol version number, reserved fields, energy storage station number, real-time analog data, data type, signature value and sending time;

[0065] The alarm data subject data structure includes the protocol version number, reserved fields, energy storage station number, real-time alarm quantity data, data type, signature value and sending time;

[0066] The signature value is generated according to the energy storage station number, and the signature value is pre-stored in the energy storage cloud platform.

[0067] Table 1 is a data structure definition table of an embodiment of the present invention, and the definition of the data structure is shown in Table 1;

[0068] Table 1 Data structure definition

[0069]

[0070]

[0071] Furthermore, in this embodiment, the energy storage station number is encoded according to a preset encoding rule, and the preset encoding rule is to encode in the order of energy storage station, energy storage cabinet and equipment, the energy storage station includes multiple energy storage cabinets, and the energy storage cabinet includes multiple devices. The information exchange between the energy storage station and the energy storage cloud platform is carried out through the IoT bus in the json format.

[0072] The following are examples of analog data:

[0073]

[0074]

[0075] The following is an example of warning data:

[0076]

[0077]

[0078] Furthermore, in this embodiment, the verification includes format verification, timeliness verification, model verification and security verification.

[0079] Further, in this embodiment, the database includes a real-time database and a time series database;

[0080] Storing the received information in a database based on the inspection result includes:

[0081] The real-time database stores information within a predetermined period, and the time series database stores the information in chronological order; batch storage is performed in the real-time database and the time series database respectively; through the data interface service in the energy storage platform, the required real-time data and historical data can be provided for subsequent data processing services.

[0082] If the real-time database receives new information with the subject of analog data or alarm data within a predetermined period, the existing information is replaced;

[0083] If the real-time database does not receive any information within a predetermined period, the existing information is cleared.

[0084] Further, in this embodiment,

[0085] The format check includes:

[0086] Using fixed fields in the data structure for verification;

[0087] If the fixed fields in the data structure are included, it is qualified information and is stored in the database;

[0088] If the fixed fields in the data structure are not included, it is unqualified information and will not be stored.

[0089] The timeliness test includes:

[0090] Obtain the sending time and access time in the accessed information;

[0091] Calculate the time difference between the sending time and the access time;

[0092] If the time difference is greater than the preset time threshold, it is considered unqualified information and will not be stored; the preset time threshold is 1 second;

[0093] If the time difference is less than or equal to the preset time threshold, it is qualified information and is stored in the database.

[0094] The model verification includes:

[0095] Get the energy storage station number in the access information;

[0096] According to the energy storage station number in the access information, parse the energy storage station numbering rule;

[0097] Comparing the energy storage station numbering rule with a preset coding rule;

[0098] If the two are consistent, it is qualified information and stored in the database;

[0099] If the two are inconsistent, it is considered unqualified information and will not be stored.

[0100] The security check includes:

[0101] Get the signature value in the access information;

[0102] Compare the signature value in the accessed information with the signature value pre-stored in the energy storage cloud platform;

[0103] If the two are consistent, it is qualified information and stored in the database;

[0104] If the two are inconsistent, it is considered unqualified information and will not be stored.

[0105] By verifying whether the access information contains fixed fields in the data structure, it can be ensured that only information that conforms to the predefined format and requirements will be stored. This avoids data errors caused by incorrect data format or incomplete information, thereby improving the accuracy and reliability of the data. By calculating the time difference between the sending time and the access time and comparing it with the preset time threshold, it can be ensured that only information that arrives in time will be stored. This helps prevent the mixing of outdated data and ensures the timeliness and relevance of the data. By verifying the compliance of the energy storage station number and the matching of the signature value, it can be further ensured that the source of the data is reliable and has not been tampered with. This verification mechanism helps prevent the injection of malicious data and enhances the security and credibility of the data. Storing the verified qualified information in the real-time database and the time series database respectively can be efficiently managed according to the different characteristics and usage requirements of the data. The real-time database can respond to query and update requests quickly, while the time series database is suitable for storing and querying time series data. This distributed storage method improves the processing efficiency and flexibility of data. Through a strict verification mechanism, the system maintenance cost caused by data errors or invalid data can be reduced. This includes reducing the frequency and complexity of tasks such as data cleaning, data conversion, and data repair, thereby improving the overall performance and stability of the system.

[0106] It should be understood that the above specific embodiments of the present invention are only used to illustrate or explain the principles of the present invention, and do not constitute a limitation of the present invention. Therefore, any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. In addition, the appended claims of the present invention are intended to cover all changes and modifications that fall within the scope and boundaries of the appended claims, or the equivalent forms of such scope and boundaries.

[0107] The present invention has been described above with reference to the embodiments of the present invention. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present invention. The scope of the present invention is defined by the appended claims and their equivalents. Without departing from the scope of the present invention, a person skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present invention.

[0108] Although the embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.

[0109] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the invention.

Claims

1. A method for accessing an energy storage cloud platform based on a data structure, characterized in that: The energy storage cloud platform and multiple energy storage stations exchange information via the IoT bus; the method includes: Subscribe to the information of each energy storage station, the subject of the information is analog data or alarm data; based on the subscription, receive the subject published by the IoT bus, the subject corresponds to the subscription; receiving information of the subject, and verifying the information based on the data structure; storing the received information in a database based on the inspection results; Wherein, the data structure includes an analog quantity data topic data structure and an alarm data topic data structure.

2. The access method according to claim 1, characterized in that: The verification includes format verification, timeliness verification, model verification and security verification.

3. The access method according to claim 1, characterized in that: The analog data subject data structure includes the protocol version number, reserved fields, energy storage station number, real-time analog data, data type, signature value and sending time; The alarm data subject data structure includes the protocol version number, reserved fields, energy storage station number, real-time alarm quantity data, data type, signature value and sending time.

4. The access method according to claim 3, characterized in that: The signature value is generated according to the energy storage station number, and the signature value is pre-stored in the energy storage cloud platform.

5. The access method according to claim 3, characterized in that: The energy storage station number is encoded according to a preset encoding rule, and the preset encoding rule is to encode in the order of energy storage station, energy storage cabinet and equipment. The energy storage station includes multiple energy storage cabinets, and the energy storage cabinet includes multiple devices.

6. The access method according to claim 1, characterized in that: The database includes a real-time database and a time series database; Storing the received information in a database based on the inspection result includes: The real-time database stores information within a predetermined period, and the time series database stores the information in chronological order; If the real-time database receives new information with the subject of analog data or alarm data within a predetermined period, the existing information is replaced; If the real-time database does not receive any information within a predetermined period, the existing information is cleared.

7. The access method according to claim 3, characterized in that: The format check includes: Using fixed fields in the data structure for verification; If the fixed fields in the data structure are included, it is qualified information and is stored in the database; If the fixed fields in the data structure are not included, it is unqualified information and will not be stored.

8. The access method according to claim 5, characterized in that: The timeliness test includes: Obtain the sending time and access time in the accessed information; Calculate the time difference between the sending time and the access time; If the time difference is greater than the preset time threshold, it is considered unqualified information and will not be stored; If the time difference is less than or equal to the preset time threshold, it is qualified information and is stored in the database.

9. The access method according to claim 5, characterized in that: The model verification includes: Get the energy storage station number in the access information; According to the energy storage station number in the access information, parse the energy storage station numbering rule; Comparing the energy storage station numbering rule with a preset coding rule; If the two are consistent, it is qualified information and stored in the database; If the two are inconsistent, it is considered unqualified information and will not be stored.

10. The access method according to claim 5, characterized in that: The security check includes: Get the signature value in the access information; Compare the signature value in the accessed information with the signature value pre-stored in the energy storage cloud platform; If the two are consistent, it is qualified information and stored in the database; If the two are inconsistent, it is considered unqualified information and will not be stored.