Redundant data backup method and system
By implementing redundant data backup methods and systems in the energy storage system, EMS collects and backups data simultaneously in the cloud and local area, solving the problem of data missing in special circumstances of the energy storage system, realizing dual-channel redundant data backup, ensuring that Data integrity and availability.
Patent Information
- Application Number
- CN202411497347.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-25
- Publication Date
- 2025-02-18
AI Technical Summary
In the prior art, energy storage systems have caused the single-channel backup data to be missing under special circumstances (such as abnormal situations such as network disconnection), and cannot effectively analyze the actual situation on site.
Provide a redundant data backup method and system, collects operating data in the energy storage system through EMS, and backs up data simultaneously in the cloud and local area. When the network connection is unstable, use the SD card for local storage, and upload the data to the cloud through the breakpoint continuous transmission mechanism after the connection is restored.
It realizes dual-channel redundant data backup of energy storage systems, and can backup data locally even in the event of network disconnection or other abnormal situations, avoiding data loss.
Smart Images

Figure CN119473714A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a redundant data backup method and system. Background Art
[0002] Data plays a vital role in business operations in today's digital age. To ensure the integrity and availability of data, data redundancy is widely used in IT solutions. Data redundancy refers to the practice of storing the same or similar data in multiple places or devices. The purpose of redundancy is to improve the reliability and availability of data. Data redundancy can be achieved in many ways, including disk mirroring, backup, replication, and distributed storage. The core idea of data redundancy is to save multiple copies of data in different locations or devices so that when one copy is damaged or unavailable, other copies can still be accessed.
[0003] Data redundancy has the following advantages: first, it ensures information integrity; second, it prevents data tampering; third, it ensures information availability; fourth, it provides data fault tolerance, etc.
[0004] At present, in energy storage systems including energy storage inverters, battery systems, air conditioning systems, fire protection systems, etc., all data related to the energy storage system are stored in the cloud. In the actual operation process, when the network is disconnected or other abnormal situations occur on site, the single-channel backup data will be lost, and the actual situation on site cannot be effectively analyzed. It can be seen that there is an urgent need for technicians in this field to provide a dual-channel redundant data backup solution that can be applied to energy storage systems. Summary of the invention
[0005] The purpose of the embodiments of the present invention is to provide a redundant data backup method and system, which can solve the problem of single-channel backup data loss occurring under special circumstances in the prior art.
[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0007] An embodiment of the present invention provides a redundant data backup method, which is applied to an energy storage system including an energy management system EMS, wherein a storage module is provided in the EMS, and the method comprises:
[0008] The EMS collects operating data of the energy storage bidirectional converter PCS and the battery management system BMS in the energy storage system;
[0009] Monitor the stability of the MQTT connection established with the cloud;
[0010] When the stability meets the preset conditions, the operation data is packaged and sent to the cloud, and the operation data is stored in the storage module;
[0011] When the stability does not meet the preset conditions, the operating data is stored in the storage module. After the MQTT connection stability is restored, the operating data to be resumed in the storage module is uploaded to the cloud through the breakpoint resume mechanism.
[0012] Optionally, the storage module is an SD card, and the SD card is mounted to the internal hardware of the EMS through a mounting program.
[0013] Optionally, the SD card is mounted to the EMS internal hardware in the following manner:
[0014] Entering the Linx system environment of the gateway machine, in response to the first command input, checking whether there is a hardware driver that can mount the SD card;
[0015] The hardware is driven, and the first instruction is run again after execution is completed to determine whether the mounting location of the SD card is displayed after the hardware is driven;
[0016] Run the first instruction again to determine whether there is a preset word, and if so, determine that the SD card mounting configuration is complete;
[0017] Add an automatic mount function to the program's startup script to automatically mount the SD card when the program starts.
[0018] Optionally, the step of monitoring the stability of the MQTT connection established with the cloud comprises:
[0019] Determine whether a network signal interruption occurs. If so, determine whether the MQTT connection established with the cloud is unstable.
[0020] If not, the network signal strength value of the MQTT connection established between the EMS and the cloud is monitored by a signal monitoring driver; when the network signal strength value is greater than a preset value, it is determined that the MQTT connection established between the EMS and the cloud is stable.
[0021] Optionally, the operating data of the PCS includes: fault information, voltage, current, cumulative charge and discharge amount, and transmitted power value;
[0022] The operation data of the BMS includes: fault information at all levels, single cell voltage, single cell temperature, voltage, current, cumulative charge and discharge amount, and water machine operation information.
[0023] Optionally, the method further comprises:
[0024] Monitoring modification operations on preset parameters; wherein the preset parameters include at least one of the following: local transformer capacity, protection threshold, and charge and discharge settings;
[0025] When it is detected that the preset parameter is modified, the modification time, modification point and modified parameter value are stored in a preset type file; wherein the preset type file is stored in the SD card;
[0026] Monitoring the amount of data stored in files of the preset type;
[0027] When the data storage amount is greater than the preset storage amount, the stored data is deleted according to the preset rules.
[0028] An embodiment of the present invention further provides a redundant data backup system, wherein a storage module is provided in the system, and the system is provided in an energy storage system; the redundant data backup system comprises:
[0029] A collection module, used to collect operating data of the energy storage bidirectional converter PCS and the battery management system BMS in the energy storage system;
[0030] Monitoring module, used to monitor the stability of the MQTT connection established with the cloud;
[0031] A first processing module, configured to package and send the operation data to the cloud and store the operation data in the storage module when the stability meets a preset condition;
[0032] The second processing module is used to store the operating data in the storage module when the stability does not meet the preset conditions, and upload the operating data to be resumed in the storage module to the cloud through the breakpoint resume mechanism after the MQTT connection stability is restored.
[0033] Optionally, the storage module is an SD card, and the SD card is mounted to the internal hardware of the redundant data backup system through a mounting program.
[0034] Optionally, the SD card is mounted to the internal hardware of the redundant data backup system in the following manner:
[0035] Entering the Linx system environment of the gateway machine, in response to the first command input, checking whether there is a hardware driver that can mount the SD card;
[0036] The hardware is driven, and the first instruction is run again after execution is completed to determine whether the mounting location of the SD card is displayed after the hardware is driven;
[0037] Run the first instruction again to determine whether there is a preset word, and if so, determine that the SD card mounting configuration is complete;
[0038] Add an automatic mount function to the program's startup script to automatically mount the SD card when the program starts.
[0039] Optionally, the monitoring module is specifically used for:
[0040] Determine whether a network signal interruption occurs. If so, determine whether the MQTT connection established with the cloud is unstable.
[0041] If not, the network signal strength value of the MQTT connection established between the redundant data backup system and the cloud is monitored through a signal monitoring driver; when the network signal strength value is greater than a preset value, it is determined that the MQTT connection established between the redundant data backup system and the cloud is stable.
[0042] The embodiment of the present invention provides a redundant data backup solution for an energy storage system. The EMS in the energy storage system collects the operating data of the energy storage bidirectional converter PCS and the battery management system BMS; monitors the stability of the MQTT connection established with the cloud; when the stability meets the preset conditions, the operating data is packaged and sent to the cloud, and the operating data is stored in the storage module; when the stability does not meet the preset conditions, the operating data is stored in the storage module, and after the stability of the MQTT connection is restored, the operating data to be resumed in the storage module is uploaded to the cloud through the breakpoint resume mechanism. Through this redundant data backup solution, data can be backed up both in the cloud and locally in the EMS, and dual-channel redundant data backup of the energy storage system can be achieved. Even if the network is disconnected or other abnormal conditions occur on site, data will be backed up locally, which can effectively avoid data loss. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 is a flowchart showing the steps of a redundant data backup method according to an embodiment of the present application;
[0044] Figure 2 is a schematic diagram showing the structure of an energy storage system according to an embodiment of the present application;
[0045] Figure 3 It is a structural block diagram of a redundant data backup system according to an embodiment of the present application. DETAILED DESCRIPTION
[0046] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
[0047] The redundant data backup solution provided by the embodiment of the present application is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.
[0048] As attached Figure 1 As shown, the redundant data backup method of the embodiment of the present application includes the following steps:
[0049] Step 101: The EMS collects operating data of the energy storage bidirectional converter PCS and the battery management system BMS in the energy storage system.
[0050] The redundant data backup method in the embodiment of the present application can be applied to an energy storage system including an energy management system EMS. EMS is an important component of the energy storage system. It provides data management, monitoring, control and optimization for the microgrid dispatching and control center to ensure the stable and efficient operation of the energy storage system. To ensure data stability, a storage module is added to the local EMS side for local redundant data backup, thereby realizing dual redundant data backup.
[0051] In a preferred embodiment, the storage module provided in the EMS is an SD card, and the SD card is mounted to the internal hardware of the EMS through a mounting program. The SD card is low in cost and easy to install and remove. It should be noted that the storage module is not limited to the SD card, and can also be any appropriate hardware with storage function.
[0052] In the actual implementation process, the SD card can be mounted to the internal hardware of the EMS in the following way, which can include the following sub-steps:
[0053] Sub-step 1: Entering the Linx system environment of the gateway machine, in response to the first command input, checking whether there is a hardware driver that can mount the SD card;
[0054] You can use MobaXterm_Personal_21.2.exe to enter the gateway machine linx system environment, enter the first command lsblk, and check whether there is a hardware driver (mmcblk1p1) that can mount the SD card.
[0055] Sub-step 2: After the hardware is driven, the first instruction is run again to determine whether the mount location of the SD card is displayed after the hardware is driven;
[0056] Execute mount / dev / mmcblk1p1 / mmc. After the execution is complete, run lsblk again to confirm that the mount is successful. You can see the mount location after mmcblk1p1.
[0057] Sub-step 3: Run the first command again to determine whether the preset words exist. If so, determine that the SD card mounting configuration is complete;
[0058] Enter lsblk again to confirm whether there is still / mmc, which is the default word. If so, it means that the SD card mounting configuration is complete.
[0059] Sub-step 4: Add an automatic mounting function to the program's startup script so that the SD card can be automatically mounted when the program starts.
[0060] After the SD card mount configuration is completed, add the automatic mount function in the program startup script to automatically mount the SD card every time it is started. The automatic mount function script can be: sleep10 mount / dev / mmcblk1p1 / mmc.
[0061] It should be noted that the specific implementation of the above-mentioned first instruction, preset words, and automatic mounting function script is only an example. In the actual implementation process, it can be set by those skilled in the art according to the actual application scenario and system environment, and this embodiment of the application does not make specific restrictions on this.
[0062] As an energy management system, the local EMS of the industrial and commercial energy storage project is responsible for the management and control of the energy storage system including the energy storage bidirectional converter, battery management system, air conditioning system, fire protection system, etc. The structural diagram of the energy storage system is as follows: Figure 2 As shown in the figure, in the actual application process, EMS is responsible for the collection and forwarding of relevant data of the energy storage bidirectional converter (i.e. PCS) and the battery management system (i.e. BMS), and reports the collected data to the cloud (i.e. Figure 2 In addition, in the embodiment of the present application, the EMS also stores redundant data backup in a local storage module such as an SD card to achieve dual-channel redundant data backup of the energy storage system.
[0063] Step 102: Monitor the stability of the MQTT connection established with the cloud.
[0064] MQTT (Message Queuing Telemetry Transport) connection is the connection between EMS and cloud server established based on MQTT.
[0065] Step 103: When the stability meets the preset conditions, the operation data is packaged and sent to the cloud, and the operation data is stored in the storage module.
[0066] The preset conditions can be flexibly set by those skilled in the art, for example: set to a network signal strength value greater than a preset value; for example, set to determine that the network signal is not interrupted; for another example: set to a network signal is not interrupted and the network signal strength value is greater than a preset value.
[0067] In an optional embodiment, the stability of the MQTT connection established with the cloud can be monitored as follows:
[0068] First, monitor the connection with the cloud to determine whether the network signal is interrupted. If so, determine that the MQTT connection with the cloud is unstable.
[0069] In the actual implementation process, there are situations where the network is interrupted due to operator base station maintenance. Therefore, in order to ensure that the MQTT connection is interrupted due to poor network signal or some other factors, it is necessary to first determine whether the network signal is interrupted; if so, it is determined that the MQTT connection established with the cloud affects data upload and causes data loss.
[0070] Secondly, if not, the network signal strength value of the MQTT connection established between the EMS and the cloud is monitored by a signal monitoring driver; when the network signal strength value is greater than a preset value, it is determined that the MQTT connection established between the EMS and the cloud is stable.
[0071] In the actual implementation process, when the signal monitoring driver displays a signal value below 3, the signal can be judged to be poor. For example, a value of 1-3 is judged to be a poor signal, and a value of 4-5 is judged to be a good signal.
[0072] Step 104: When the stability does not meet the preset conditions, the running data is stored in the storage module. After the MQTT connection stability is restored, the running data to be resumed in the storage module is uploaded to the cloud through the breakpoint resume mechanism.
[0073] The operating data of the PCS may include, but is not limited to: fault information, voltage, current, cumulative charge and discharge amount, and transmitted power value;
[0074] The operating data of the BMS may include but is not limited to: various levels of fault information, cell voltage, cell temperature, voltage, current, cumulative charge and discharge capacity, and water machine operation information.
[0075] If the stability does not meet the preset conditions, it means that the current MQTT connection network conditions will affect data transmission, resulting in data loss. Therefore, the local storage operation data stops reporting the operation data to the cloud.
[0076] When the actual breakpoint is resumed, the stored historical data can be published to the cloud at a certain period when the MQTT connection is restored. In order to save the storage space of the SD card, binary data compression can be used when storing locally on the SD card. The memory occupied after compression is about 1 / 20 of the previous one.
[0077] The redundant data backup method provided in the embodiment of the present application is that the EMS in the energy storage system collects the operating data of the energy storage bidirectional converter PCS and the battery management system BMS; monitors the stability of the MQTT connection established with the cloud; when the stability meets the preset conditions, the operating data is packaged and sent to the cloud, and the operating data is stored in the storage module; when the stability does not meet the preset conditions, the operating data is stored in the storage module, and after the stability of the MQTT connection is restored, the operating data to be resumed in the storage module is uploaded to the cloud through the breakpoint resume mechanism. Through this redundant data backup solution, data can be backed up both in the cloud and locally in the EMS, and dual-channel redundant data backup of the energy storage system can be achieved. Even if the network is disconnected or other abnormal conditions occur on site, data will be backed up locally, which can effectively avoid data loss.
[0078] In an optional embodiment, in addition to performing double backup of redundant data, the EMS can also perform operation log storage and real-time data storage.
[0079] An exemplary operation log storage process may be:
[0080] Monitor the modification operation of the preset parameters; when monitoring that the preset parameters are modified, store the modification time, modification point and modified parameter value in the preset type file;
[0081] The preset parameters include at least one of the following: local transformer capacity, protection threshold, and charge and discharge settings. The preset type file is stored in the SD card; the preset type file may be a file in TXT format.
[0082] Monitor the data storage volume in files of preset types; when the data storage volume is greater than the preset storage volume, delete the stored data according to the preset rules.
[0083] The preset storage capacity can be set by those skilled in the art according to actual needs, for example, 10mb, 15mb, 20mb, etc., and is not specifically limited in the embodiments of the present application. When deleting stored data according to preset rules, historical data whose storage time exceeds the preset time can be deleted, which can optimize the efficiency and accuracy of later query problems.
[0084] In the specific implementation process, the modification time and modification point of key data such as local transformer capacity, protection threshold, charge and discharge settings can be recorded. The setting value and setting time of the current point are stored, and when the setting operation occurs, it is stored as a txt file. The storage file size is 10mb, stored in the SD card, and saved locally in the EMS. When the SD card storage memory exceeds 10mb, the old data will be deleted.
[0085] This optional way of managing operation logs in EMS facilitates subsequent problem inquiries.
[0086] An exemplary real-time data storage process may be:
[0087] When configuring the project locally, create a new storage channel and set storage parameters; configure storage cycle, storage cycle time, storage path and other parameters;
[0088] After the storage channel is established, the new acquisition tag is manually loaded with storage points to periodically store data;
[0089] When a fault occurs on-site, the EMS local data can be compared with the cloud data to identify the problem in both directions. When a fault occurs on-site and the network is disconnected, local data can be pulled as a basis for analysis.
[0090] This optional real-time data storage process facilitates accurate and timely location of problems when failures occur on site.
[0091] The embodiment of the present application provides a method for backing up dual-channel redundant data of an energy storage system to improve the integrity of the maintained redundant data. The redundant data has the following advantages:
[0092] Advantage 1: Ensure information integrity
[0093] Data integrity refers to the state in which data has not been tampered with or damaged during storage and transmission. Data loss may be caused by hardware failure, human error, malicious attack or natural disasters. By using data redundancy, enterprises can reduce the risk of data loss. When data is stored in multiple locations or devices, even if one copy is damaged, other copies are still available, thus ensuring data integrity.
[0094] Advantage 2: Prevent data tampering
[0095] Data redundancy can not only prevent data loss, but also prevent data tampering. In a distributed system, by comparing data from different copies, any attempt to tamper with the data can be detected. This verification of data integrity can help enterprises detect potential security threats in a timely manner and take necessary measures to protect data security.
[0096] Advantage 3: Ensure information availability
[0097] Data availability refers to the ability to access data when needed. Business continuity and decision making rely on timely data availability. Data redundancy can improve data availability by storing data in multiple locations or devices. If one storage location or device fails, the data can still be accessed from other locations or devices, which can avoid the impact of data unavailability on the business.
[0098] Advantage 4: Providing fault tolerance
[0099] Data redundancy also provides fault tolerance, which means that the system can continue to operate normally even if a component fails. By keeping multiple copies of data in different locations or devices, the system can continue to operate and provide services even if one component fails. This is essential for business-critical applications, which cannot tolerate long interruptions.
[0100] Advantage 5: Regular backup
[0101] Regular backups are a core component of data redundancy. By creating copies of data on a regular basis, an enterprise can ensure that it can be restored to a previous state in the event of data loss or corruption. The frequency and retention period of backups should be planned based on the importance of the data and business needs.
[0102] Advantage 6: Backup Verification
[0103] Backup validation is an important step to ensure the integrity of backup data. Enterprises should regularly verify the consistency and recoverability of backup data. This includes testing the data recovery process to ensure that data can be successfully restored when needed.
[0104] Advantage 7: Data Recovery Plan
[0105] Data redundancy also needs to be accompanied by a comprehensive data recovery plan. In the event of data loss or corruption, the enterprise needs to be able to quickly and efficiently recover the data to minimize business interruption. The data recovery plan should include a designated recovery team, processes, and tools.
[0106] Figure 3 A structural block diagram of a redundant data backup system for implementing an embodiment of the present application.
[0107] The redundant data backup system provided in the embodiment of the present application is provided with a storage module, and the redundant data backup system is provided in an energy storage system; the redundant data backup system includes the following functional modules:
[0108] The acquisition module 301 is used to collect the operating data of the energy storage bidirectional converter PCS and the battery management system BMS in the energy storage system;
[0109] A monitoring module 302, used to monitor the stability of the MQTT connection established with the cloud;
[0110] The first processing module 303 is used to package the operation data and send it to the cloud, and store the operation data in the storage module when the stability meets the preset conditions;
[0111] The second processing module 304 is used to store the operating data in the storage module when the stability does not meet the preset conditions, and upload the operating data to be resumed in the storage module to the cloud through the breakpoint resume mechanism after the MQTT connection stability is restored.
[0112] It should be noted that the redundant data backup system in the embodiment of the present application may be an EMS in an energy storage system.
[0113] Optionally, the storage module is an SD card, and the SD card is mounted to the internal hardware of the redundant data backup system through a mounting program.
[0114] Optionally, the SD card is mounted to the internal hardware of the redundant data backup system in the following manner:
[0115] Entering the Linx system environment of the gateway machine, in response to the first command input, checking whether there is a hardware driver that can mount the SD card;
[0116] The hardware is driven, and the first instruction is run again after execution is completed to determine whether the mounting location of the SD card is displayed after the hardware is driven;
[0117] Run the first instruction again to determine whether there is a preset word, and if so, determine that the SD card mounting configuration is complete;
[0118] Add an automatic mount function to the program's startup script to automatically mount the SD card when the program starts.
[0119] Optionally, the monitoring module is specifically used for:
[0120] Determine whether a network signal interruption occurs. If so, determine whether the MQTT connection established with the cloud is unstable.
[0121] If not, the network signal strength value of the MQTT connection established between the redundant data backup system and the cloud is monitored through a signal monitoring driver; when the network signal strength value is greater than a preset value, it is determined that the MQTT connection established between the redundant data backup system and the cloud is stable.
[0122] Optionally, the operating data of the PCS includes: fault information, voltage, current, cumulative charge and discharge amount, and transmitted power value; the operating data of the BMS includes: fault information at each level, single cell voltage, single cell temperature, voltage, current, cumulative charge and discharge amount, and water machine operation information.
[0123] Optionally, the redundant data backup system further includes:
[0124] An operation monitoring module, used to monitor the modification operation of preset parameters; wherein the preset parameters include at least one of the following: local transformer capacity, protection threshold, and charge and discharge settings;
[0125] A recording module, for storing the modification time, modification point and modified parameter value in a preset type file when it is detected that the preset parameter is modified; wherein the preset type file is stored in the SD card;
[0126] The data monitoring module is used to monitor the data storage volume in the preset type file; when the data storage volume is greater than the preset storage volume, the stored data is deleted according to the preset rules.
[0127] The redundant data backup system provided in the embodiment of the present application, the EMS collects the operating data of the energy storage bidirectional converter PCS and the battery management system BMS; monitors the stability of the MQTT connection established with the cloud; when the stability meets the preset conditions, the operating data is packaged and sent to the cloud, and the operating data is stored in the storage module; when the stability does not meet the preset conditions, the operating data is stored in the storage module, and after the MQTT connection stability is restored, the operating data to be resumed in the storage module is uploaded to the cloud through the breakpoint resume mechanism. Through this redundant data backup system, data can be backed up both in the cloud and locally in the EMS, and dual-channel redundant data backup of the energy storage system can be achieved. Even if the network is disconnected or other abnormal conditions occur on site, data will be backed up locally, which can effectively avoid data loss.
[0128] The embodiments of the present application provide Figure 3 The redundant data backup system shown can achieve Figure 1 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0129] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0130] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A redundant data backup method, applied to an energy storage system including an energy management system EMS, characterized in that: The EMS is provided with a storage module, and the method comprises: The EMS collects operating data of the energy storage bidirectional converter PCS and the battery management system BMS in the energy storage system; Monitor the stability of the MQTT connection established with the cloud; When the stability meets the preset conditions, the operation data is packaged and sent to the cloud, and the operation data is stored in the storage module; When the stability does not meet the preset conditions, the operating data is stored in the storage module. After the MQTT connection stability is restored, the operating data to be resumed in the storage module is uploaded to the cloud through the breakpoint resume mechanism.
2. The method according to claim 1, characterized in that The storage module is an SD card, and the SD card is mounted to the internal hardware of the EMS through a mounting program.
3. The method according to claim 2, characterized in that The SD card is mounted to the EMS internal hardware in the following manner: Entering the Linx system environment of the gateway machine, in response to the first command input, checking whether there is a hardware driver that can mount the SD card; The hardware is driven, and the first instruction is run again after execution is completed to determine whether the mounting location of the SD card is displayed after the hardware is driven; Run the first instruction again to determine whether there is a preset word, and if so, determine that the SD card mounting configuration is complete; Add an automatic mount function to the program's startup script to automatically mount the SD card when the program starts.
4. The method according to claim 1, characterized in that: The steps of monitoring the stability of the MQTT connection established with the cloud include: Determine whether a network signal interruption occurs. If so, determine that the MQTT connection established with the cloud is unstable. If not, the network signal strength value of the MQTT connection established between the EMS and the cloud is monitored by a signal monitoring driver; when the network signal strength value is greater than a preset value, it is determined that the MQTT connection established between the EMS and the cloud is stable.
5. The method according to claim 1, characterized in that: The operating data of the PCS includes: fault information, voltage, current, cumulative charge and discharge amount, and transmitted power value; The operation data of the BMS includes: fault information at all levels, single cell voltage, single cell temperature, voltage, current, cumulative charge and discharge amount, and water machine operation information.
6. The method according to claim 2, characterized in that The method further comprises: Monitoring modification operations on preset parameters; wherein the preset parameters include at least one of the following: local transformer capacity, protection threshold, and charge and discharge settings; When it is detected that the preset parameter is modified, the modification time, modification point and modified parameter value are stored in a preset type file; wherein the preset type file is stored in the SD card; Monitoring the amount of data stored in files of the preset type; When the data storage amount is greater than the preset storage amount, the stored data is deleted according to the preset rules.
7. A redundant data backup system, characterized in that: The redundant data backup system is provided with a storage module, and the redundant data backup system is provided in an energy storage system; The redundant data backup system comprises: A collection module, used to collect operating data of the energy storage bidirectional converter PCS and the battery management system BMS in the energy storage system; Monitoring module, used to monitor the stability of the MQTT connection established with the cloud; A first processing module, configured to package and send the operation data to the cloud and store the operation data in the storage module when the stability meets a preset condition; The second processing module is used to store the operating data in the storage module when the stability does not meet the preset conditions, and upload the operating data to be resumed in the storage module to the cloud through the breakpoint resume mechanism after the MQTT connection stability is restored.
8. The redundant data backup system according to claim 7, characterized in that: The storage module is an SD card, and the SD card is mounted to the internal hardware of the redundant data backup system through a mounting program.
9. The redundant data backup system according to claim 8, characterized in that: The SD card is mounted to the internal hardware of the redundant data backup system in the following manner: Entering the Linx system environment of the gateway machine, in response to the first command input, checking whether there is a hardware driver that can mount the SD card; The hardware is driven, and the first instruction is run again after execution is completed to determine whether the mounting location of the SD card is displayed after the hardware is driven; Run the first instruction again to determine whether there is a preset word, and if so, determine that the SD card mounting configuration is complete; Add an automatic mount function to the program's startup script to automatically mount the SD card when the program starts.
10. The redundant data backup system according to claim 7, characterized in that: The monitoring module is specifically used for: Determine whether a network signal interruption occurs. If so, determine that the MQTT connection established with the cloud is unstable. If not, the network signal strength value of the MQTT connection established between the redundant data backup system and the cloud is monitored through a signal monitoring driver; when the network signal strength value is greater than a preset value, it is determined that the MQTT connection established between the redundant data backup system and the cloud is stable.
Citation Information
Cited By
Implementation method of energy storage ems system based on mqtt bidirectional communication
CN120390028A