Energy storage power station equipment and alarm information cleaning method, system, device and medium
Through MQTT message topic rules and customized alarm configuration, the energy storage power station equipment information and alarm information are automatically cleaned, which solves the shortcomings of equipment identification and alarm processing in existing technologies and realizes efficient equipment management and real-time monitoring.
Patent Information
- Application Number
- CN202410828895.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2044-06-25
AI Technical Summary
Existing energy storage power station equipment information management and alarm processing have problems such as limited equipment automatic identification and registration capabilities, insufficient flexibility and accuracy in alarm information processing, and resource occupation and efficiency issues, making it difficult to adapt to the complex and changing equipment structure and real-time monitoring needs.
A data cleaning method based on MQTT message topic rules is used to automatically obtain energy storage power station equipment information, generate unique identifiers through the equipment information database and energy storage unit table, set custom alarm configurations, and realize automatic cleaning and mapping of alarm information, reducing dependence on external databases.
It realizes plug-and-play management of device information, improves system flexibility and scalability, enhances the immediacy and accuracy of alarm processing, reduces operation and maintenance costs and data processing delays, and ensures real-time monitoring.
Smart Images

Figure CN118885469B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data cleaning, and more particularly to a method, system, device and medium for cleaning energy storage power station equipment and alarm information. Background Art
[0002] Currently, the operation and maintenance of energy storage power plants faces numerous challenges, particularly in equipment information management and alarm processing. Traditional management methods typically rely on manual entry of equipment information and configuration of alarm rules. This approach is not only time-consuming and labor-intensive, but also prone to errors and ill-suited to the complex and diverse equipment mix and real-time monitoring requirements of modern energy storage power plants. Furthermore, as power plant scale and equipment diversity increase, manual management methods are increasingly causing problems such as inaccurate equipment information and delayed alarm responses, which can severely impact the safe operation and efficiency of power plants.
[0003] Although existing automated management systems have alleviated the above problems to a certain extent, they often have the following defects:
[0004] 1. Limited automatic device identification and registration capabilities: Existing systems usually require pre-registration of device information. They are not flexible enough to respond to newly added or temporarily connected devices, and cannot achieve plug-and-play automatic identification and management.
[0005] 2. Insufficient flexibility and accuracy in alarm information processing: Alarm configurations are usually static and cannot be flexibly adjusted according to actual operating conditions. In addition, in a multi-level alarm system, the differentiation and response speed of alarms at different levels need to be improved.
[0006] 3. Resource usage and efficiency issues: Frequent database read and write operations not only consume system resources, but may also cause processing delays and affect real-time monitoring performance. Summary of the Invention
[0007] In response to the above problems, the purpose of the present invention is to provide a method, system, device and medium for cleaning energy storage power station equipment and alarm information. Based on the data reported by MQTT, all device information can be automatically cleaned without registration; and after the alarm is configured, the desired alarm information can be cleaned according to the customized configuration.
[0008] To achieve the above-mentioned purpose, the present invention is implemented through the following technical solutions:
[0009] In a first aspect, the present invention discloses a method for cleaning energy storage power station equipment and alarm information, comprising: obtaining energy storage unit data and equipment information reported by each energy storage unit in the energy storage power station based on a set MQTT message topic rule;
[0010] The energy storage unit data and device information are read into the memory block using the device information database table and the energy storage unit table; the device's unique identifier, deviceKey, is generated based on the data in the memory block, and the unique identifier, superDeviceKey, of its parent device is determined based on the deviceKey and the corresponding device type. If the device information or energy storage unit data in the memory block does not contain the device's unique identifier, deviceKey, the device information database table and the energy storage unit table are updated;
[0011] Set up alarm configuration, map the digital quantity of alarm information that needs to be cleaned to the corresponding alarm level, and automatically send a global broadcast to update the alarm configuration in the memory block when the alarm configuration changes;
[0012] Receive alarm information, filter out target alarms through alarm configuration and complete alarm level mapping, generate alarm unique identifier alarmKey based on target alarm, compare alarm unique identifier alarmKey with alarm information in memory block, and add or update alarm information.
[0013] Furthermore, the set MQTT message topic rules include:
[0014] Device serial number, data type, and device type;
[0015] The device serial number is stored in the variable DeviceSN, which is used to record the unique serial number of the energy storage unit;
[0016] When the data type is data, the corresponding message is telemetry data; when the data type is status, the corresponding message is telesignaling data;
[0017] The device type is stored in the variable deviceType.
[0018] Furthermore, the energy storage unit data and device information are read into the memory block using the device information database table and the energy storage unit table, including:
[0019] Establish a device information database table and store the device information in the device information database table;
[0020] Establish an energy storage unit table and store the energy storage unit data in the energy storage unit table;
[0021] The device information database table and the energy storage unit table are read into the memory block in a specific format.
[0022] Furthermore, the unique identifier deviceKey of the device is obtained by concatenating the unique serial number of the energy storage unit, the device type and the device number;
[0023] If the device has multiple parent devices, the numbers of the multiple parent devices are added to the end of the device's unique identifier deviceKey.
[0024] Furthermore, if the device information or energy storage unit data in the memory block does not contain the unique identifier deviceKey of the device, then updating the device information database table and the energy storage unit table includes:
[0025] If the device information or energy storage unit data in the memory block does not contain the device's unique identifier deviceKey, a new energy storage unit entry is added to the energy storage unit table, and a device entry is added to the device information database table, and the association is performed.
[0026] Furthermore, the alarm configuration is set to map the digital quantity of the alarm information to be cleaned to the corresponding alarm level, and automatically send a global broadcast to update the alarm configuration in the memory block when the alarm configuration changes, including:
[0027] Set the alarm level, which includes normal alarm, severe alarm and emergency alarm;
[0028] The digital quantity that triggers a normal alarm is set to A, the digital quantity that triggers a serious alarm is set to B, and the digital quantity device that triggers an emergency alarm is set to C; where A<B<C.
[0029] Furthermore, generating an alarm unique identifier alarmKey based on the target alarm, and comparing the alarm unique identifier alarmKey with the alarm information in the memory block, and performing a new or updated operation on the alarm information, include:
[0030] Based on the target alarm, the unique identifier alarmKey of the alarm is generated by splicing the information source, the unique identifier of the device and the alarm type; the alarm type includes but is not limited to the battery stack temperature and the battery stack health value; by comparing the unique identifier alarmKey of the alarm with the alarm information maintained in the memory block, it is determined whether the unique identifier alarmKey of the alarm appears for the first time;
[0031] If so, a new alarm entry is added to the memory block and the time when the corresponding alarm first occurs is recorded; if not, the alarm level and status of the corresponding alarm information are updated, and the time when the alarm last occurs is updated.
[0032] In a second aspect, the present invention further discloses a cleaning system for energy storage power station equipment and alarm information, comprising:
[0033] A data reporting module is configured to obtain energy storage unit data and device information reported by each energy storage unit in the energy storage power station based on the set MQTT message topic rules;
[0034] A data reading module configured to read the energy storage unit data and device information into a memory block using a device information database table and an energy storage unit table;
[0035] a device information cleaning module configured to generate a unique identifier deviceKey of the device based on the data in the memory block, and determine the unique identifier superDeviceKey of its parent device based on the deviceKey and the corresponding device type; if the device information in the memory block or the energy storage unit data does not contain the unique identifier deviceKey of the device, then update the device information database table and the energy storage unit table;
[0036] The alarm configuration module is used to set the alarm configuration, map the digital quantity of the alarm information to be cleaned to the corresponding alarm level, and automatically send a global broadcast to update the alarm configuration in the memory block when the alarm configuration changes;
[0037] The alarm information cleaning module is configured to receive alarm information, filter out target alarms through alarm configuration and complete alarm level mapping, generate an alarm unique identifier alarmKey based on the target alarm, and compare the alarm unique identifier alarmKey with the alarm information in the memory block to add or update the alarm information.
[0038] In a third aspect, the present invention further discloses a cleaning device for energy storage power station equipment and alarm information, comprising:
[0039] Memory, used to store cleaning programs for energy storage power station equipment and alarm information;
[0040] A processor is configured to implement the steps of the method for cleaning energy storage power station equipment and alarm information as described in any one of the above items when executing the cleaning program for energy storage power station equipment and alarm information.
[0041] In a fourth aspect, the present invention further discloses a readable storage medium, on which a cleaning program for energy storage power station equipment and alarm information is stored. When the cleaning program for energy storage power station equipment and alarm information is executed by a processor, the steps of the method for cleaning energy storage power station equipment and alarm information as described in any one of the above items are implemented.
[0042] Compared with the existing technology, the beneficial effects of the present invention are: the present invention discloses a method, system, device and medium for cleaning energy storage power station equipment and alarm information, which realizes that when the MQTT client is started, the existing device information database table and energy storage unit table are first loaded into the memory, and a two-point synchronous update mechanism is applied. In the process of continuous data reporting by the energy storage power station, the device information is gradually cleaned out, which ensures that there will be no duplicate devices in the unique cleaning of the equipment, no manual registration is required, and frequent database reading operations are avoided; when a new device needs to be connected, it only needs to report the data according to the existing MQTTtopic rules, and the device will be cleaned and included in the management.
[0043] Secondly, the present invention uses custom alarm configurations to specify the alarm types to be cleaned, such as battery overvoltage alarms. Alarm level mapping can also be configured to map different remote signaling digital quantities to different levels. Whenever the alarm configuration changes, a global broadcast is sent to notify the corresponding memory block in the MQTT cleaning module to update the configuration information it maintains. After cleaning the device information that reports data once, the alarm information will continue to be cleaned according to the alarm configuration in memory, and corresponding updates or additions will be made.
[0044] The present invention automatically creates or updates device information by parsing information such as device serial number, data type, and device type in the MQTT message topic, thereby achieving seamless device access management, significantly reducing operation and maintenance costs, and improving the flexibility and scalability of the system. The present invention supports users to customize alarm type and level mapping according to actual needs, and can automatically broadcast updates when the configuration changes, ensuring the immediacy and accuracy of alarm processing and enhancing the system's responsiveness to abnormal situations. The present invention adopts memory block storage technology to reduce dependence on external databases, improve data processing speed and overall system performance, and can effectively reduce delays and ensure real-time monitoring, especially when processing large amounts of device data and alarm information.
[0045] It can be seen that compared with the prior art, the present invention has outstanding substantial features and significant progress, and the beneficial effects of its implementation are also obvious. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0047] Figure 1 It is a method flow chart of a specific embodiment of the present invention.
[0048] Figure 2 It is a system structure diagram of a specific implementation method of the present invention.
[0049] In the figure, 1. Data reporting module; 2. Data reading module; 3. Equipment information cleaning module; 4. Alarm configuration module; 5. Alarm information cleaning module. DETAILED DESCRIPTION
[0050] In order to enable those skilled in the art to better understand the present invention, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0051] See also Figure 1 As shown, this embodiment provides a method for cleaning energy storage power station equipment and alarm information, including the following steps:
[0052] S1: Based on the set MQTT message topic rules, obtain the energy storage unit data and device information reported by each energy storage unit in the energy storage power station.
[0053] In a specific embodiment, the set MQTT message topic rules include:
[0054] Device serial number, data type, and device type; the device serial number is stored in the variable DeviceSN and is used to record the unique serial number of the energy storage unit; when the data type is data, the corresponding message is telemetry data; when the data type is status, the corresponding message is telesignaling data; the device type is stored in the variable deviceType.
[0055] For example, an energy storage power station consists of one or more energy storage units (ESUs). Each ESU integrates multiple components, including liquid cooling, a battery stack (battery cluster, battery cell), a BMS, a PCS, an electric meter, and an EMS. Each ESU has a globally unique serial number, which we call a DeviceSN.
[0056] Based on this, the MQTT topic rules are specified so that all target information can be cleaned out based on the reported data.
[0057] For telemetry data: / ${Reserve} / ${DeviceSN} / data / ${deviceType}.
[0058] For telesignaling data: / ${Reserve} / ${DeviceSN} / status / ${deviceType}.
[0059] Among them, Reserve is a reserved field for customized use by the operator; DeviceSN is the unique serial number of the ESU; data and status are used to distinguish telesignaling and telemetry data; deviceType is the device type, such as battery stack, battery cluster, PCS, etc. In this method, deviceType is defined as the following: arr (battery stack), clu (battery cluster), emu, liqcool (liquid cooling), iosoft, pcs, sge_meter (State Grid electricity meter), meter (electricity meter), and ems.
[0060] In addition, the payload corresponding to each topic needs to carry device-related number information and some necessary telemetry, telesignaling and other data information.
[0061] S2: Read the energy storage unit data and device information into the memory block using the device information database table and the energy storage unit table.
[0062] In a specific implementation, a device information database table is first established and the device information is stored in the device information database table. Simultaneously, an energy storage unit table is established and the energy storage unit data is stored in the energy storage unit table. Then, the device information database table and the energy storage unit table are read into a memory block in a specific format.
[0063] S3: Generate the device's unique identifier deviceKey based on the data in the memory block, and determine the unique identifier superDeviceKey of its parent device based on the deviceKey and the corresponding device type. If the device information in the memory block or the energy storage unit data does not contain the device's unique identifier deviceKey, update the device information database table and the energy storage unit table.
[0064] In a specific implementation, the device's unique identifier deviceKey is obtained by concatenating the energy storage unit's unique serial number, device type, and device number; if the device has multiple parent devices, the numbers of multiple parent devices are added to the end of the device's unique identifier deviceKey.
[0065] If the device information or energy storage unit data in the memory block does not contain the device's unique identifier deviceKey, a new energy storage unit entry is added to the energy storage unit table, and a device entry is added to the device information database table, and the association is performed.
[0066] As an example, the unique identifier of the device is specified as follows:
[0067] deviceKey=deviceSN_deviceType_No;
[0068] The "No" field refers to the device's corresponding number. If a device has multiple parent devices, multiple "No" fields are added to the end of the deviceKey field. For example, a single battery cell has two parent devices: a battery cluster and a battery stack.
[0069] At this time, when the client subscribes to a topic, it can obtain a deviceKey and, based on the device type corresponding to this topic, it can further obtain the deviceKey of its parent device, which we call superDeviceKey.
[0070] If the device information or ESU information maintained in the memory block contains this information, no processing is performed. If it does not contain this information, a new ESU entry is required, a device entry is added to the device information database table, and the ESU is associated. Furthermore, based on the current device type, a check is performed to determine whether a self-association foreign key with superDeviceKey is required.
[0071] S4: Set the alarm configuration, map the digital quantity of the alarm information that needs to be cleaned to the corresponding alarm level, and automatically send a global broadcast to update the alarm configuration in the memory block when the alarm configuration changes.
[0072] In a specific implementation, an alarm level is set, and the alarm level includes normal alarm, severe alarm and emergency alarm; the basis of mapping includes: setting the digital quantity that triggers the normal alarm to A, setting the digital quantity that triggers the severe alarm to B, and setting the digital quantity device that triggers the emergency alarm to C; wherein A<B<C.
[0073] For example, for remote signaling data from an energy storage power station, each device type reports a wide range of digital quantities. Not all of these digital quantities need to be cleaned and monitored, so this method adds an alarm configuration feature. Alarm configuration allows us to customize the alarm information we want to retrieve and flexibly map alarm levels. For example, if we only care about battery stack temperature and state of health (SOH), and not other aspects, we can clean only alarm information related to battery stack temperature and SOH.
[0074] The method has three alarm levels: normal alarm, severe alarm, and emergency alarm. Users can map different digital quantities to the desired alarm levels by setting digital quantities.
[0075] It's important to note that the alarm configuration is loaded into memory before the MQTT client is started. Therefore, after the MQTT client is started, whenever the alarm configuration is modified, the module automatically sends a global broadcast to notify the memory block to update. During information cleanup, each broadcast notification reloads the alarm configuration, ensuring that the latest alarm configuration is always used during subsequent alarm cleanup.
[0076] S5: Receive alarm information, filter out target alarms through alarm configuration and complete alarm level mapping, generate alarm unique identifier alarmKey based on target alarm, compare alarm unique identifier alarmKey with alarm information in memory block, and add or update alarm information.
[0077] In a specific embodiment, based on the target alarm, the alarm's unique identifier, alarmKey, is first generated by combining the information source, the device's unique identifier, and the alarm type. Alarm types include, but are not limited to, battery stack temperature and battery stack health value. At this point, the alarm's unique identifier, alarmKey, is compared with the alarm information maintained in the memory block to determine whether the alarm's unique identifier, alarmKey, is appearing for the first time. If so, a new alarm entry is added to the memory block, and the time the corresponding alarm first appeared is recorded. If not, the alarm level and status of the corresponding alarm information are updated, and the time the alarm last appeared is updated.
[0078] As an example, the unique identifier of the alarm is specified as follows:
[0079] alarmKey=configType_deviceKey_paraId;
[0080] Among them, configType indicates the source of information, such as telesignaling or telemetry; deviceKey is the generated unique identifier of the device; paraId is the alarm type, such as battery stack temperature (arrTemp) and battery stack SOH (arrSoh).
[0081] The purpose of this step is to clean up the alarm information, which includes the following sub-steps:
[0082] 1. For the subscribed payload, first filter out the target alarm according to the alarm configuration and complete the alarm level mapping.
[0083] 2. According to the filtered alarm information, get the alarmKey corresponding to each information;
[0084] 3. Perform recovery judgment. Determine whether the alarm information reported by the energy storage power station has the possibility of automatic recovery, such as abnormal temperature values returning to normal after a period of time.
[0085] 4. Compare with the alarm information maintained in the memory block. If the comparison shows that the alarmKey appears for the first time, a new alarm entry is added, and the field timestampMsFirstly is used to record the first occurrence time of the alarm. If the alarmKey already exists, the alarm level, status, etc. are updated, and the last occurrence time of the alarm is updated and stored in the field timestampMsLastly.
[0086] The present invention provides a method for cleaning energy storage power station equipment and alarm information. Based on the data reported by MQTT, all device information can be automatically cleaned without registration; and after the alarm configuration is performed, the desired alarm information can be cleaned according to the customized configuration.
[0087] See also Figure 2 As shown, the present invention also discloses a cleaning system for energy storage power station equipment and alarm information, including: a data reporting module 1, a data reading module 2, an equipment information cleaning module 3, an alarm configuration module 4 and an alarm information cleaning module 5.
[0088] The data reporting module 1 is configured to obtain the energy storage unit data and device information reported by each energy storage unit in the energy storage power station based on the set MQTT message topic rules.
[0089] The data reading module 2 is configured to read the energy storage unit data and device information into the memory block using the device information database table and the energy storage unit table.
[0090] The device information cleaning module 3 is configured to generate the device's unique identifier deviceKey based on the data in the memory block, and determine the unique identifier superDeviceKey of its parent device based on the deviceKey and the corresponding device type. If the device information in the memory block or the energy storage unit data does not contain the device's unique identifier deviceKey, the device information database table and the energy storage unit table are updated.
[0091] The alarm configuration module 4 is configured to set the alarm configuration, map the digital quantity of the alarm information to be cleaned to the corresponding alarm level, and automatically send a global broadcast to update the alarm configuration in the memory block when the alarm configuration changes.
[0092] The alarm information cleaning module 5 is configured to receive alarm information, filter out target alarms through alarm configuration and complete alarm level mapping, generate an alarm unique identifier alarmKey based on the target alarm, and compare the alarm unique identifier alarmKey with the alarm information in the memory block to add or update the alarm information.
[0093] The specific implementation of the system for cleaning the energy storage power station equipment and alarm information in this embodiment is basically the same as the specific implementation of the method for cleaning the energy storage power station equipment and alarm information described above, and will not be repeated here.
[0094] The present invention also discloses a device for cleaning energy storage power station equipment and alarm information, comprising a processor and a memory; wherein, when the processor executes a cleaning program for energy storage power station equipment and alarm information stored in the memory, the steps of the method for cleaning energy storage power station equipment and alarm information as described in any one of the above items are implemented.
[0095] Furthermore, the cleaning device for energy storage power station equipment and alarm information in this embodiment may also include:
[0096] The input interface is used to obtain a cleaning program for energy storage power station equipment and alarm information imported from the outside, and to save the obtained cleaning program for energy storage power station equipment and alarm information to the memory. It can also be used to obtain various instructions and parameters transmitted by external terminal devices and transmit them to the processor so that the processor can use these various instructions and parameters to perform corresponding processing. In this embodiment, the input interface may specifically include but is not limited to a USB interface, a serial interface, a voice input interface, a fingerprint input interface, a hard disk read interface, etc.
[0097] The output interface is used to output various data generated by the processor to the terminal device connected to it, so that other terminal devices connected to the output interface can obtain various data generated by the processor. In this embodiment, the output interface can specifically include but is not limited to a USB interface, a serial interface, etc.
[0098] A communication unit is configured to establish a remote communication connection between the energy storage power station equipment and alarm information cleaning device and an external server, so that the energy storage power station equipment and alarm information cleaning device can mount the image file to the external server. In this embodiment, the communication unit may specifically include, but is not limited to, a remote communication unit based on wireless communication technology or wired communication technology.
[0099] The keyboard is used to obtain various parameter data or instructions input by the user by tapping the keycaps in real time.
[0100] The display is used to display relevant information about the cleaning process of the energy storage power station equipment and alarm information in real time.
[0101] The mouse can be used to assist users in inputting data and simplify user operations.
[0102] The present invention also discloses a readable storage medium, wherein the readable storage medium includes a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, register, hard disk, removable hard disk, CD-ROM, or any other form of storage medium known in the technical field. The readable storage medium stores a program for cleaning energy storage power station equipment and alarm information, and when the program for cleaning energy storage power station equipment and alarm information is executed by a processor, the steps of the method for cleaning energy storage power station equipment and alarm information as described in any of the above items are implemented.
[0103] In summary, the present invention can automatically clean out all device information based on the data reported by MQTT without registration; and after the alarm configuration is performed, the desired alarm information can be cleaned according to the customized configuration.
[0104] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from the other embodiments. References to the same or similar parts between the various embodiments are sufficient. The methods disclosed in the embodiments are described briefly because they correspond to the systems disclosed in the embodiments. For relevant details, refer to the method description.
[0105] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.
[0106] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, systems and methods can be implemented in other ways. For example, the system embodiments described above are merely illustrative. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of systems or units, which can be electrical, mechanical or other forms.
[0107] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0108] In addition, the functional modules in the various embodiments of the present invention may be integrated into one processing unit, or each module may exist physically separately, or two or more modules may be integrated into one unit.
[0109] Similarly, each processing unit in each embodiment of the present invention may be integrated into one functional module, or each processing unit may exist physically, or two or more processing units may be integrated into one functional module.
[0110] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0111] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or device comprising the element.
[0112] The above describes in detail the method, system, device, and readable storage medium for cleaning energy storage power station equipment and alarm information provided by the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only intended to help understand the method and core ideas of the present invention. It should be noted that, for those skilled in the art, without departing from the principles of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.
Claims
1. A method for cleaning energy storage power station equipment and alarm information, characterized in that: include: Based on the set MQTT message topic rules, obtain the energy storage unit data and device information reported by each energy storage unit in the energy storage power station; Reading the energy storage unit data and device information into the memory block using the device information database table and the energy storage unit table; Generate the device's unique identifier, deviceKey, based on the data in the memory block, and determine the parent device's unique identifier, superDeviceKey, based on the deviceKey and the corresponding device type. If the device information or energy storage unit data in the memory block does not contain the device's unique identifier, deviceKey, update the device information database table and energy storage unit table. Set up alarm configuration, map the digital quantity of alarm information that needs to be cleaned to the corresponding alarm level, and automatically send a global broadcast to update the alarm configuration in the memory block when the alarm configuration changes; Receive alarm information, filter out target alarms through alarm configuration and complete alarm level mapping, generate alarm unique identifier alarmKey based on target alarm, compare alarm unique identifier alarmKey with alarm information in memory block, and add or update alarm information; The unique identifier of the device, deviceKey, is obtained by concatenating the unique serial number of the energy storage unit, the device type, and the device number; If the device has multiple parent devices, add the numbers of multiple parent devices to the end of the device's unique identifier deviceKey; The alarm configuration is set to map the digital quantity of the alarm information to be cleaned to the corresponding alarm level, and automatically send a global broadcast to update the alarm configuration in the memory block when the alarm configuration changes, including: Set the alarm level, which includes normal alarm, severe alarm and emergency alarm; The digital quantity that triggers a normal alarm is set to A, the digital quantity that triggers a severe alarm is set to B, and the digital quantity device that triggers an emergency alarm is set to C; where A<B<C; The generating of the alarm unique identifier alarmKey based on the target alarm, comparing the alarm unique identifier alarmKey with the alarm information in the memory block, and performing a new or update operation on the alarm information includes: Based on the target alarm, the unique identifier alarmKey of the alarm is generated by splicing the information source, the unique identifier of the device and the alarm type; the alarm types include but are not limited to battery stack temperature and battery stack health value; By comparing the unique identifier alarmKey of the alarm with the alarm information maintained in the memory block, it is determined whether the unique identifier alarmKey of the alarm appears for the first time; If so, a new alarm entry is added to the memory block and the time when the corresponding alarm first occurs is recorded; If not, update the alarm level and status of the corresponding alarm information, and update the time when the alarm last occurred.
2. The method for cleaning energy storage power station equipment and alarm information according to claim 1, characterized in that: The set MQTT message topic rules include: Device serial number, data type, and device type; The device serial number is stored in the variable DeviceSN, which is used to record the unique serial number of the energy storage unit; When the data type is data, the corresponding message is telemetry data; when the data type is status, the corresponding message is telesignaling data; The device type is stored in the variable deviceType.
3. The method for cleaning energy storage power station equipment and alarm information according to claim 2, characterized in that: The energy storage unit data and device information are read into the memory block using the device information database table and the energy storage unit table, including: Establish a device information database table and store the device information in the device information database table; Establish an energy storage unit table and store the energy storage unit data in the energy storage unit table; The device information database table and the energy storage unit table are read into the memory block in a specific format.
4. The method for cleaning energy storage power station equipment and alarm information according to claim 3, characterized in that: If the device information or energy storage unit data in the memory block does not contain the device's unique identifier deviceKey, then updating the device information database table and the energy storage unit table includes: If the device information or energy storage unit data in the memory block does not contain the device's unique identifier deviceKey, a new energy storage unit entry is added to the energy storage unit table, and a device entry is added to the device information database table, and the association is performed.
5. A cleaning system for energy storage power station equipment and alarm information, characterized in that: include: A data reporting module is configured to obtain energy storage unit data and device information reported by each energy storage unit in the energy storage power station based on the set MQTT message topic rules; A data reading module configured to read the energy storage unit data and device information into a memory block using a device information database table and an energy storage unit table; a device information cleaning module configured to generate a unique identifier deviceKey of the device based on the data in the memory block, and determine the unique identifier superDeviceKey of its parent device based on the deviceKey and the corresponding device type; if the device information in the memory block or the energy storage unit data does not contain the unique identifier deviceKey of the device, then update the device information database table and the energy storage unit table; The alarm configuration module is used to set the alarm configuration, map the digital quantity of the alarm information to be cleaned to the corresponding alarm level, and automatically send a global broadcast to update the alarm configuration in the memory block when the alarm configuration changes; An alarm information cleaning module is configured to receive alarm information, filter out target alarms through alarm configuration and complete alarm level mapping, generate an alarm unique identifier alarmKey based on the target alarm, compare the alarm unique identifier alarmKey with the alarm information in the memory block, and add or update the alarm information; The unique identifier of the device, deviceKey, is obtained by concatenating the unique serial number of the energy storage unit, the device type, and the device number; If the device has multiple parent devices, add the numbers of multiple parent devices to the end of the device's unique identifier deviceKey; The alarm configuration module is further configured to set the alarm level, which includes normal alarm, severe alarm and emergency alarm; the digital quantity that triggers the normal alarm is set to A, the digital quantity that triggers the severe alarm is set to B, and the digital quantity device that triggers the emergency alarm is set to C; wherein A<B<C; The alarm information cleaning module is also configured to generate a unique identifier alarmKey of the alarm based on the target alarm by splicing the information source, the unique identifier of the device and the alarm type; wherein the alarm type includes but is not limited to the battery stack temperature and the battery stack health value; by comparing the unique identifier alarmKey of the alarm with the alarm information maintained in the memory block, it is determined whether the unique identifier alarmKey of the alarm appears for the first time; if so, a new alarm entry is added to the memory block, and the time when the corresponding alarm first appears is recorded; if not, the alarm level and status of the corresponding alarm information are updated, and the time when the alarm last appeared is updated.
6. A cleaning device for energy storage power station equipment and alarm information, characterized in that: include: Memory, used to store cleaning programs for energy storage power station equipment and alarm information; A processor is configured to implement the steps of the method for cleaning energy storage power station equipment and alarm information according to any one of claims 1 to 4 when executing the cleaning program for energy storage power station equipment and alarm information.
7. A readable storage medium, characterized in that: The readable storage medium stores a cleaning program for energy storage power station equipment and alarm information. When the cleaning program for energy storage power station equipment and alarm information is executed by the processor, the steps of the method for cleaning energy storage power station equipment and alarm information according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
System for realizing monitoring system business logic online modification
CN105915381A
Data processing method and Internet of Things platform system
CN114567650A
Internet of Things platform equipment pre-registration method, equipment and medium
CN117544703A