Data storage method, energy storage system, device, controller, medium and product

By storing the data records for a preset period locally on the controller, the problem of low accuracy of the energy storage device operating data obtained by the background monitoring system is solved, and more efficient data storage and analysis is achieved.

CN120066923BActive Publication Date: 2025-09-19CONTEMPORARY AMPEREX TECHNOLOGY CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510543662.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-28
Publication Date
2025-09-19
Estimated Expiration
2045-04-28

AI Technical Summary

Technical Problem

The operating data of the new energy storage system obtained by the background monitoring system has low accuracy, resulting in the inability to accurately monitor the operating status of the energy storage device.

Method used

The data record content of the preset time period is locally stored in the controller of the energy storage system. The data record content is generated according to the trigger type of the operation data storage requirement and the operation data within the preset time period. Only necessary operation data is stored, which reduces unnecessary storage and improves the accuracy of data storage and analysis efficiency.

Benefits of technology

This improves the accuracy of the backend monitoring system in obtaining energy storage device operating data, reduces the cost of storage modules, shortens troubleshooting time, and improves the efficiency and effectiveness of operating data analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120066923B_ABST
    Figure CN120066923B_ABST
Patent Text Reader

Abstract

The present application relates to a data storage method, energy storage system, device, controller, medium and product. The method is applied to any target controller of the energy storage system, and each controller in the energy storage system is configured with a storage function; the method includes: in response to the operation data storage requirement of the energy storage device in the energy storage system, obtaining the operation data of the energy storage device within a preset time period; the preset time period includes the target time of responding to the operation data storage requirement; based on the trigger type of the operation data storage requirement and the operation data within the preset time period, generating the data record content of the energy storage device in the preset time period; storing the data record content of the preset time period for acquisition by the background monitoring system. The use of this method can improve the accuracy of the operation data of the energy storage device acquired by the background monitoring system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of new energy technology, and in particular to a data storage method, energy storage system, device, controller, medium and product. Background Art

[0002] New energy storage systems have become a current research hotspot and have broad application prospects due to their green, pollution-free, low-carbon, environmentally friendly and renewable advantages. Monitoring the operating data of energy storage devices in new energy storage systems is conducive to improving the operating reliability of energy storage devices in new energy systems.

[0003] Taking the new energy energy storage system as an example, the related technology is that the ultra-high voltage energy storage system sends the collected operating data of the energy storage device to the background monitoring system, so that the background monitoring system can monitor the operating data of the energy storage device.

[0004] However, in the related art, there is a problem in that the operating data of the energy storage device obtained by the background monitoring system is of low accuracy. Summary of the Invention

[0005] Based on this, the present application provides a data storage method, energy storage system, device, controller, medium and product, which can improve the accuracy of the operating data of the energy storage device obtained by the background monitoring system.

[0006] In a first aspect, the present application provides a data storage method, which is applied to any target controller of an energy storage system, wherein each controller in the energy storage system is configured with a storage function. The method comprises: in response to an operation data storage requirement of an energy storage device in the energy storage system, obtaining operation data of the energy storage device within a preset time period; the preset time period includes a target time for responding to the operation data storage requirement; generating data record content of the energy storage device within the preset time period based on a trigger type of the operation data storage requirement and the operation data within the preset time period; and storing the data record content of the preset time period for acquisition by a background monitoring system.

[0007] The technical solution provided in the embodiments of the present application abandons the idea of ​​improving the transmission line between the controller and the background monitoring system. Instead, the controller locally stores the data record content for a preset time period. Since the data record content for the preset time period is generated based on the trigger type of the operation data storage requirement and the operation data within the preset time period, the data record content for the preset time period can not only accurately record the operation data generated by the energy storage device at each time point in the preset time period, but also record the trigger type of the operation data storage requirement. This allows the background monitoring system to accurately determine why the controller stored the operation data and the accurate operation data stored based on the data record content for the preset time period, thereby improving the accuracy of the operation data of the energy storage device monitored by the background monitoring system. Moreover, when there is a need for operation data storage, the controller stores the operation data for the preset time period instead of storing all the acquired operation data. This not only significantly reduces the amount of unnecessary operation data to be stored, reduces the storage resources of the storage module in the controller, and thus reduces the cost of the storage module in the controller, but also allows, when analyzing the operation data, for example, when it is necessary to trace the operation status of a specific event or a certain period of the energy storage system, to analyze the operation data within the preset time period without having to analyze all the operation data acquired by the controller, thereby improving the efficiency of the operation data analysis.

[0008] In some embodiments, before responding to the operation data storage demand of the energy storage device in the energy storage system, the method also includes at least one of the following: detecting the operation data of the energy storage device, and triggering the operation data storage demand when it is detected that the operation data of the energy storage device is faulty operation data; triggering the operation data storage demand when an operation data storage instruction of the energy storage device sent by the background monitoring system is received; triggering the operation data storage demand when the target controller fails; triggering the operation data storage demand when the target controller receives fault indication information sent by a processing device connected to the target controller; wherein the fault indication information indicates that the processing device fails, and the processing device includes at least one of the following: an upper controller of the target controller, a lower controller of the target controller, a power controller, and a detection device.

[0009] In the technical solution provided in the embodiments of the present application, by automatically triggering storage when detecting that the operating data of the energy storage device is faulty operating data, the operating data of the critical period can be retained when a fault occurs, providing a detailed basis for technical personnel to accurately locate the cause of the fault, shortening the fault troubleshooting and repair time, and improving the efficiency of fault troubleshooting; by triggering the operating data storage demand upon receiving the operating data storage instruction sent by the background monitoring system, the flexibility of operating data storage can be improved; by triggering the operating data storage demand in the event of a target controller fault or a processing device fault, it is beneficial to analyze the impact of the target controller fault or the processing device fault on the operating data, reproduce the operating scenario of the energy storage device corresponding to the fault, and improve the effectiveness of the operating data analysis.

[0010] In some embodiments, when it is detected that the operating data of the energy storage device is faulty operating data, triggering an operating data storage requirement includes: obtaining a storage trigger range of the operating data of the energy storage device and a fault data range of the operating data of the energy storage device; wherein the storage trigger range is larger than the fault data range and covers the fault data range; when it is detected that the operating data of the energy storage device is within the storage trigger range, storing the operating data of the energy storage device and obtaining a start storage time of the operating data of the energy storage device; determining a fault start time when the operating data of the energy storage device is faulty operating data based on the storage start time and the fault data range; and triggering the operating data storage requirement at the fault start time.

[0011] In the technical solution provided by the embodiment of the present application, a preset time window is set so that it is possible to detect within the preset time window that the operating data of the energy storage device is within the fault data range. Only then is the moment when the operating data of the energy storage device is first within the fault data range determined as the fault start time of the fault operating data. This avoids the situation where the operating data changes slowly, a long time is required from the start of storage to bring the operating data within the fault data range, and a long time is required from the start of storage to the fault triggering moment, resulting in the storage of a large amount of non-fault operating data, which reduces the effectiveness of the operating data storage. Therefore, the embodiment of the present application can reduce the storage of a large amount of non-fault operating data and improve the effectiveness of the stored operating data.

[0012] In some embodiments, obtaining a storage trigger range of operating data of an energy storage device includes: obtaining a fault type of a fault data range and determining a preset offset value matching the fault type; and determining a storage trigger range according to the fault data range and the preset offset value.

[0013] In the technical solution provided in the embodiment of the present application, the storage trigger range can be accurately determined according to each fault type, so that these potential abnormal data can be captured in advance before the energy storage device fails, which is conducive to improving the effectiveness of the analysis of the operating data of the stored energy storage device.

[0014] In some embodiments, determining a fault start time at which the operation data of the energy storage device is faulty operation data based on the storage start time and the fault data range includes: obtaining a preset time window with the storage start time of the operation data of the energy storage device as the starting time and the storage time limit as the interval; starting from the starting time of the preset time window, if it is detected that the operation data of the energy storage device are all within the fault data range, and if it is detected that the operation data of the energy storage device are within the fault data range at the set time, then determining the set time as the fault start time.

[0015] In the technical solution provided by the embodiments of the present application, when it is detected that the operating data of the energy storage device is within the storage trigger range, the operating data of the energy storage device is stored, so that the operating data is stored before the moment when the operating data is detected as fault operating data, and thus abnormal operating data before the fault triggering moment can be stored. Therefore, when analyzing the operating data, the analysis is no longer limited to the operating data at the fault triggering moment, but is combined with the operating data stored before the fault triggering moment for comprehensive analysis, thereby improving the comprehensiveness of the operating data analysis.

[0016] In some embodiments, obtaining the operating data of the energy storage device within a preset time period includes: obtaining a first portion of the operating data of the energy storage device between a start time of storage of the operating data and a target time; obtaining a second portion of the operating data within a time period starting at the target time and having an interval of a target time length; and merging the first portion of the operating data and the second portion of the operating data to obtain the operating data within the preset time period.

[0017] In the technical solution provided in the embodiment of the present application, the first part of the operating data covers all operating data from the start of storage to the target time, and can record the operating data of the energy storage device at the fault triggering time and the operating data of a period of time before the fault triggering time. The second part of the operating data supplements the operating data of a period of time after the operating data at the fault triggering time. The operating data of the preset time period obtained by merging the first part of the operating data and the second part of the operating data can directly reflect the changing pattern of the operating status before and after the fault triggering time, which not only balances the integrity and practicality of the operating data storage, but also balances the effectiveness and efficiency of the operating data analysis.

[0018] In some embodiments, obtaining the operating data of the energy storage device within a preset time period includes: when the operating data storage demand is triggered by receiving an operating data storage instruction sent by a background monitoring system, storing the operating data of the energy storage device starting from a target time; and in response to a demand to stop storing the operating data of the energy storage device in the energy storage system, determining the operating data of the energy storage device stored between the target time and the time of responding to the data stop storage demand as the operating data within the preset time period.

[0019] In the technical solution provided in the embodiment of the present application, the operation data storage demand is triggered only when the target controller receives the operation data storage instruction sent by the background monitoring system, and the operation data is stored from the target time until the operation data storage demand is responded to. This solution can not only adapt to different business scenarios and data analysis requirements, so that the operation data can be stored flexibly, but also accurately record the operation data of the energy storage device within a specific time period, avoid unnecessary redundant data storage, and improve the pertinence and effectiveness of the stored operation data.

[0020] In some embodiments, before responding to a demand to stop storing operating data of an energy storage device in an energy storage system, the method further includes: obtaining a specified time window with a target time as a starting time and an interval of a set time length; triggering a demand to stop storing operating data when a data stop storing instruction is received from a background monitoring system within the specified time window; and triggering a demand to stop storing operating data at the end time of the specified time window when no data stop storing instruction is received from the background monitoring system within the specified time window.

[0021] In the technical solution provided in the embodiment of the present application, a clear and settable definition method is provided for the storage duration of the operating data by setting a specified time window. Even if the background monitoring system does not send the data stop storage instruction in time, the target controller can automatically trigger the operating data stop storage requirement at the end of the specified time window, thereby ensuring the controllable data storage duration and avoiding the phenomenon of unlimited data storage due to the untimely sending of the data stop storage instruction, so that the amount of stored operating data can be within a reasonable range, avoiding the situation where a large amount of invalid operating data occupies storage resources, and improving the effectiveness of data storage; and, by triggering the operating data stop storage requirement when receiving the data stop storage instruction sent by the background monitoring system, the end time of data storage can be flexibly controlled according to actual conditions, thereby improving the flexibility of operating data storage.

[0022] In some embodiments, obtaining operating data of the energy storage device within a preset time period includes: in the event of a target control device failure, obtaining the type of the target control device; the target control device includes a target controller or at least one of the following items connected to the target controller: an upper controller of the target controller, a lower controller of the target controller, a power controller, and a detection device; determining a predetermined duration for data storage based on the type of the target control device, and obtaining a predetermined time window with a target moment as the starting moment and an interval of a predetermined time length; determining the operating data of the energy storage device collected within the predetermined time window as the operating data within the preset time period.

[0023] In the technical solution provided in the embodiments of the present application, since the predetermined duration of data storage is flexibly determined based on the type of target control device in which the fault occurs, the operating data stored within the preset time period accurately matches the actual fault condition. For example, a failure of an upper-level controller may affect the scheduling of the entire energy storage system, and a longer predetermined time window can be configured. On the other hand, a failure of a detection device may affect the accuracy of local operating data, and a shorter predetermined time window can be configured. This improves the accuracy of the matching of the operating data obtained within the preset time period with the actual fault condition, thereby improving the validity of the operating data obtained within the preset time period.

[0024] In some embodiments, before responding to a demand for storage of operating data of an energy storage device in an energy storage system, the method further includes: storing the operating data of the energy storage device after detection in a first-in-first-out queue set within a target controller; obtaining the operating data of the energy storage device within a preset time period, including: determining the operating data of the energy storage device stored in the first-in-first-out queue as a third portion of operating data; obtaining a fourth portion of operating data within a time period starting at a target time and having an interval of a target duration; and merging the third portion of operating data and the fourth portion of operating data to obtain the operating data within the preset time period.

[0025] In the technical solution provided by the embodiment of the present application, a first-in-first-out queue is set up, and the operating data of the energy storage device after detection is stored in the first-in-first-out queue. Therefore, whenever the target controller responds to the operating data storage request, it can obtain the third portion of the operating data before the target time of responding to the operating data storage request, and use the third portion of the operating data as part of the operating data within the preset time period. This not only avoids the problem of being unable to obtain the operating data before the target time, resulting in reduced validity of the stored operating data, but also avoids the problem of the target controller storing the operating data of each energy storage device each time it obtains the operating data before the target time, resulting in large storage resource consumption and reduced validity of the stored operating data due to a large amount of invalid operating data storage. Therefore, the embodiment of the present application can improve the validity of data storage and reduce storage resources. In addition, the target controller only needs to detect whether the operating data is faulty, without having to perform other tests (such as detecting whether it is within the storage trigger range), thereby reducing the computing resource consumption of the target controller and improving the operating efficiency of the target controller.

[0026] In some embodiments, data record content of the energy storage device in the preset time period is generated based on the trigger type of the operation data storage requirement and the operation data in the preset time period, including: generating an operation data file for the preset time period based on each time point in the preset time period and the operation data of the energy storage device at each time point; generating a trigger summary parameter for the target time based on the trigger type of the operation data storage requirement, the target time, and the file identifier of the operation data file for the preset time period; and merging the trigger summary parameter for the target time and the operation data file for the preset time period to obtain the data record content for the preset time period.

[0027] In the technical solution provided by the embodiment of the present application, since the trigger summary parameters of the target moment include the file identifier of the operation data file of the preset time period, the operation data file of the preset time period can be quickly found through the file identifier in the trigger summary parameters of the target moment, without the need to blindly search among a large number of operation data files, thereby saving the search time of the operation data file and improving the search efficiency of the operation data file search.

[0028] In some embodiments, storing data record content for a preset time period includes: writing the trigger summary parameters of the target moment in the data record content for the preset time period into a preset write table entry of a data table pre-established in the target controller; determining a preset storage area associated with the preset write table entry; and storing an operation data file of the preset time period in the data record content for the preset time period in the preset storage area.

[0029] In the technical solution provided by the embodiment of the present application, each write table entry in the data table is associated with a storage area. Through this association relationship, not only the confusion and redundancy of data storage are reduced and the orderliness of data storage is improved, but also the trigger summary parameters in each write table entry can be used to find the corresponding operation data file of the preset time period. There is no need to additionally record and store the storage location of the operation data file of the preset time period after each storage of the operation data file of the preset time period, which reduces the calculation amount of the target controller when storing the data recording content of the preset time period and improves the efficiency of the data recording content of the preset time period.

[0030] In some embodiments, the target controller is a first-level controller in a multi-level controller in an energy storage system; the method further includes: in response to a first read instruction sent by a background monitoring system, packaging the data record content of at least one preset time period stored internally to generate a first package file; wherein the first read instruction instructs to read the data record content stored in the first-level controller; and sending the first package file to the background monitoring system.

[0031] In the technical solution provided in the embodiment of the present application, the data record content of at least one preset time period is transmitted as a whole, thereby reducing the risk of data loss or damage; and through effective interaction between the primary controller and the background monitoring system, the background monitoring system can flexibly send read instructions to the primary controller to obtain the required data record content according to actual needs. The primary controller can respond in a timely manner and provide the corresponding data record content, so that the background monitoring system can better monitor and manage the operating status of the energy storage device.

[0032] In some embodiments, the target controller is a first-level controller in a multi-level controller in an energy storage system; the method further includes: in response to a second read instruction sent by a background monitoring system, sending a second read instruction to a designated controller among a plurality of second-level controllers; the plurality of second-level controllers are all subordinate controllers of the first-level controller, and the second read instruction instructs to read the data record content stored in the designated controller; receiving a second package file sent by the designated controller; the second package file is obtained by the designated controller packaging the data record content of at least one preset time period stored internally; and sending the second package file to the background monitoring system.

[0033] In the technical solution provided in the embodiment of the present application, the first-level controller serves as the upper-level controller, receiving and forwarding the read instructions of the background monitoring system, while multiple second-level controllers serve as lower-level controllers and are responsible for storing and processing specific data. This hierarchical management architecture makes the storage and management of data more decentralized and detailed, avoiding the problem that all data is stored in one layer of controller, resulting in excessive storage pressure and low data processing efficiency of the first-level controller. It can also avoid the problem that multiple second-level controllers communicate with the background monitoring system, resulting in network congestion and reduced data transmission reliability. Therefore, the solution of forwarding instructions and packaging files through the first-level controller in the embodiment of the present application can not only reduce the storage pressure of the first-level controller, but also improve the data processing efficiency of the first-level controller and the reliability of data transmission.

[0034] In some embodiments, the target controller is a lower-level controller of a first-level controller in a multi-level controller in an energy storage system; the method further includes: in response to a third read instruction sent by the first-level controller, packaging the data record content of at least one preset time period stored internally to obtain a third package file; the third read instruction instructs to read the data record content stored in the lower-level controller, and the third read instruction is received by the first-level controller from the background monitoring system; sending the third package file to the first-level controller; the third package file is used by the first-level controller to send to the background monitoring system.

[0035] In the technical solution provided in the embodiment of the present application, the lower-level controller communicates with the first-level controller, receives read instructions sent by the first-level controller, and sends packaged files to the first-level controller. The lower-level controller focuses on storing, processing and responding to instructions of the first-level controller for local data. The lower-level controller does not need to care about the final destination of the data and higher-level processing logic, but only needs to operate according to the requirements of the first-level controller, thereby improving the maintainability and scalability of the energy storage system.

[0036] In a second aspect, the present application provides an energy storage system, which includes an energy storage container, a primary controller, a container detection device, multiple secondary controllers, and energy storage cabinet detection devices corresponding to each secondary controller; the energy storage container includes multiple energy storage cabinets;

[0037] The primary controller is connected to the energy storage container through the container detection device;

[0038] Each secondary controller is connected to each energy storage cabinet through each energy storage cabinet detection device;

[0039] When the primary controller and each of the multiple secondary controllers execute the computer program, the steps of any one of the above methods are implemented.

[0040] In a third aspect, the present application provides a data storage device, the data storage device comprising:

[0041] An operation data acquisition module, configured to respond to an operation data storage requirement of an energy storage device in the energy storage system and acquire operation data of the energy storage device within a preset period; the preset period includes a target time for responding to the operation data storage requirement;

[0042] A data record content generation module, configured to generate data record content of the energy storage device in a preset period of time according to a trigger type of an operation data storage requirement and operation data in a preset period of time;

[0043] The data storage module is used to store the data record content of the preset time period for the background monitoring system to obtain.

[0044] In a fourth aspect, the present application provides a controller in an energy storage system, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above methods when executing the computer program.

[0045] In a fifth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of any of the above methods when the computer program is executed by a processor.

[0046] In a sixth aspect, the present application provides a computer program product, comprising a computer program, which implements the steps of any of the above methods when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0048] Figure 1 A schematic diagram of the structure of an energy storage system is provided for some embodiments;

[0049] Figure 2 A schematic flow chart of a data storage method provided in some embodiments;

[0050] Figure 3 A flowchart of a method for triggering an operation data storage demand provided in some embodiments;

[0051] Figure 4 A schematic flow chart of a data storage method provided in another embodiment;

[0052] Figure 5 A schematic flow chart of a data storage method provided in yet another embodiment;

[0053] Figure 6 A flowchart of a method for generating data record content of an energy storage device during a preset time period provided in some embodiments;

[0054] Figure 7 A flowchart of a method for storing data record content for a preset period of time provided in some embodiments;

[0055] Figure 8 A logical diagram of an operational data store provided for some embodiments;

[0056] Figure 9 A logical diagram of operating data storage provided for other embodiments;

[0057] Figure 10 A schematic structural diagram of an energy storage system is provided for other embodiments;

[0058] Figure 11 A schematic structural diagram of a data storage device provided in some embodiments;

[0059] Figure 12 A schematic structural diagram of a controller in an energy storage system provided in some embodiments. DETAILED DESCRIPTION

[0060] The following embodiments of the technical solution of the present application will be described in detail with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application and are therefore only examples and are not intended to limit the scope of protection of the present application.

[0061] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned figure descriptions are intended to cover non-exclusive inclusions.

[0062] In the description of the embodiments of the present application, the technical terms "first" and "second" are only used to distinguish different objects and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "plurality" is more than two, unless otherwise clearly and specifically defined. In the description of the embodiments of the present application, "each" means each or each of a plurality, unless otherwise clearly and specifically defined.

[0063] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0064] In the description of the embodiments of this application, the term "and / or" is simply a description of the association relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent the following three situations: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this document generally indicates that the associated objects are in an "or" relationship.

[0065] An energy storage system is a system used to store energy and release it when needed to meet energy demands. For example, a UHV energy storage system (UHVES) consists of multiple energy storage devices connected in cascade and / or parallel. For example, a UHVES system can include a UHV cascaded energy storage system.

[0066] Figure 1 A schematic diagram of the structure of an energy storage system is provided for some embodiments, such as Figure 1 As shown, the energy storage system includes an energy storage container, a primary controller, a container detection device, multiple secondary controllers (for example, secondary controller 1, secondary controller 2, up to secondary controller N, etc., where N is an integer greater than or equal to 2), and energy storage cabinet detection devices corresponding to each secondary controller; the energy storage container includes multiple energy storage cabinets. The primary controller is connected to the energy storage container through the container detection device. Each secondary controller is connected to each energy storage cabinet through each energy storage cabinet detection device. Among them, multiple secondary controllers are connected to multiple energy storage cabinet detection devices in a one-to-one correspondence, and multiple energy storage cabinet detection devices are connected to multiple energy storage cabinets in a one-to-one correspondence. Figure 1 In the embodiment shown, the energy storage system further includes a power controller, which is used to control the power of the energy storage device. Figure 1 In the embodiment shown, different communication connections exist between different two devices (eg Figure 1 Communication 1, Communication 2, Communication 7, etc.). Figure 1 In the illustrated embodiment, only one energy storage system is shown; in other embodiments, there may be multiple energy storage systems all connected to the background monitoring system.

[0067] The primary controller can be used to manage the operation of the energy storage container. It can detect at least one item of operating data, such as the operating voltage, operating current, and operating power of the energy storage container, and control and manage the operating status of the energy storage container. Each secondary controller can manage the operation of each energy storage cabinet separately. Each secondary controller can detect at least one item of operating data, such as the operating voltage, operating current, and operating power of each energy storage cabinet, and control and manage the operating status of each energy storage cabinet. Each secondary controller detects, controls, and manages the operation of its corresponding energy storage cabinet.

[0068] The primary controller can communicate with each secondary controller. Each secondary controller can communicate with the background monitoring system through the primary controller. The primary controller can send control instructions to one or more of the secondary controllers, so that the secondary controllers that receive the control instructions can control the operation of the corresponding energy storage cabinet according to the control instructions.

[0069] The container detection device can detect the operating data of the energy storage container and send the detected operating data of the energy storage container to the first-level controller. The energy storage cabinet detection device can detect the operating data of each energy storage cabinet and send the detected operating data of each energy storage cabinet to each second-level controller respectively.

[0070] The container detection device may include at least one detection module. For example, the container detection device may include an insulation detection module. For another example, the container detection device may include a voltage detection module, a current detection module, a power detection module, a temperature detection module, and the like.

[0071] An energy storage cabinet detection device may include at least one detection module. Exemplarily, the energy storage cabinet detection device may include: a high-voltage detection module, a cell voltage detection module, and a current detection module.

[0072] In some embodiments, each time the primary controller receives operating data of a container, it sends the operating data of the container to the background monitoring system, so that the background monitoring system obtains the operating data of the container. Each secondary controller each time receives operating data of each energy storage cabinet, it sends the operating data of each energy storage cabinet to the background monitoring system, so that the background monitoring system obtains the operating data of each energy storage cabinet.

[0073] For each controller in the energy storage system (e.g., the primary controller and each of the secondary controllers), the data transmission distance between each controller and the backend monitoring system is long, and the data transmission network is subject to fluctuations. As a result, the backend monitoring system is often unable to obtain accurate operating data from energy storage devices (e.g., energy storage containers and energy storage cabinets). For example, at time T1, the controller obtains the operating data of the energy storage device. After a delay of △T, the operating data of the energy storage device is transmitted to the backend monitoring system. The backend monitoring system will believe that the operating data of the energy storage device was generated at time T1+△T. In this way, the operating data of the energy storage device that the backend monitoring system believes to have been generated at time T1+△T is actually generated at time T1, resulting in the backend monitoring system being unable to accurately obtain the operating data of the energy storage device.

[0074] In addition, even if the background monitoring system can know that there is a delay in the data transmission between the controller and the background monitoring system, the delay ΔT is often affected by the data transmission distance between the controller and the background monitoring system and the fluctuation of the data transmission network, and it cannot be accurately obtained. Therefore, there is still the problem of low accuracy of the operating data of the energy storage device obtained by the background monitoring system.

[0075] In order to reduce the data transmission delay between the controller and the background monitoring system, many solutions have been proposed in this field:

[0076] For example, using low-loss, high-bandwidth transmission lines between the controller and the backend monitoring system can reduce the data transmission latency of the energy storage device's operating data. However, this method has limited ways to reduce transmission latency, and replacing the transmission line between the controller and the backend monitoring system will increase the operating cost of the energy storage system.

[0077] Another example is reducing the length of the communication line between the controller and the background monitoring system. However, due to the long distance between the controller and the background monitoring system, there are still limited ways to reduce transmission delay.

[0078] An embodiment of the present application provides a new solution, namely, a data storage method, wherein any controller in an energy storage system obtains operating data of the energy storage device within a preset time period in response to an operating data storage requirement of the energy storage device in the energy storage system; the preset time period includes a target time for responding to the operating data storage requirement; data record content of the energy storage device in the preset time period is generated based on the trigger type of the operating data storage requirement and the operating data within the preset time period; and the data record content of the preset time period is stored for acquisition by a background monitoring system.

[0079] In this manner, the idea of ​​improving the transmission line between the controller and the background monitoring system is abandoned. Instead, the data record content of the preset time period is stored locally in the controller. Since the data record content of the preset time period is generated based on the trigger type of the operation data storage requirement and the operation data within the preset time period, the data record content of the preset time period can not only accurately record the operation data generated by the energy storage device at each time point in the preset time period, but also record the trigger type of the operation data storage requirement. This allows the background monitoring system to accurately determine why the controller stored the operation data and the accurate operation data stored based on the data record content of the preset time period, thereby improving the accuracy of the operation data of the energy storage device monitored by the background monitoring system. Moreover, when there is a need for operation data storage, the controller stores the operation data of the preset time period instead of storing all the acquired operation data. This not only significantly reduces the storage amount of unnecessary operation data and reduces the storage resources of the storage module in the controller, thereby reducing the cost of the storage module in the controller, but also allows, when analyzing the operation data, for example, when it is necessary to trace the operation status of a specific event or a certain period of the energy storage system, to analyze the operation data within the preset time period without having to analyze all the operation data acquired by the controller, thereby improving the efficiency of the operation data analysis.

[0080] Figure 2 A flowchart of a data storage method provided in some embodiments, such as Figure 2 As shown, the method is applied to any target controller of the energy storage system, and the method includes:

[0081] S201 , in response to an operation data storage requirement of an energy storage device in an energy storage system, obtaining operation data of the energy storage device within a preset time period; the preset time period includes a target time for responding to the operation data storage requirement.

[0082] In an embodiment of the present application, each controller in the energy storage system is configured with a storage function. For example, each controller includes a storage module for storing data records. Exemplarily, the energy storage system may include at least two levels of controllers, and any target controller may be any of the at least two levels of controllers.

[0083] The energy storage device in any embodiment of the present application may be an energy storage device corresponding to the target controller. The energy storage device is an energy storage container or an energy storage cabinet. For example, when the target controller is a primary controller, the primary controller responds to the operational data storage requirements of an energy storage container corresponding to the primary controller. When the target controller is a secondary controller, the secondary controller responds to the operational data storage requirements of an energy storage cabinet corresponding to the secondary controller. The controller in the embodiments of the present application refers to the target controller unless otherwise specified.

[0084] The operating data of an energy storage container may include at least one of the following: insulation test data of the energy storage container, voltage data at both ends of the energy storage container, current data passing through the energy storage container, power data of the energy storage container, temperature data on the surface of the energy storage container, etc. The operating data of an energy storage cabinet may include at least one of the following: voltage data at both ends of the energy storage cabinet, voltage data of each battery cell in the energy storage cabinet, temperature data of each battery cell in the energy storage cabinet, current data passing through the energy storage cabinet, etc.

[0085] In some embodiments, the preset time period may be a fixed time period. In other embodiments, the preset time period may be a flexible time period. In some embodiments, the starting time of the preset time period may be the target time, or the middle time of the preset time period may be the target time, or the ending time of the preset time period may be the target time.

[0086] The operation data within the preset period includes the operation data at each time point within the preset period. For example, if the preset period is one minute, each time point is the operation data for each second within one minute.

[0087] In some embodiments, triggering of an operating data storage requirement may also be included before S201. Exemplarily, the operating data storage requirement may be triggered by a variety of scenarios. For example, the operating data storage requirement may be triggered when the controller detects that the operating data of the energy storage device is faulty operating data. For another example, the operating data storage requirement may be triggered when the controller receives an operating data storage instruction sent by the background monitoring system. For another example, the operating data storage requirement may be triggered when the target controller fails or the processing device connected to the target controller fails. For example, when the controller detects that the operating data of the energy storage device is faulty operating data at time T2, one operating data storage requirement is triggered. At time T3 after time T2, the controller receives an operating data storage instruction sent by the background monitoring system, triggering another operating data storage requirement.

[0088] In some embodiments, before S201, the step may further include obtaining the operating data of the energy storage device in real time. During implementation, the target controller is connected to a corresponding detection device, which is also connected to the energy storage device. The detection device detects the operating data of the energy storage device in real time and sends the detected operating data of the energy storage device to the target controller in real time, so that the target controller can obtain the operating data of the energy storage device in real time. Each time the energy storage device obtains operating data of a particular energy storage device, it detects whether the operating data of that energy storage device is faulty operating data.

[0089] In some embodiments, the target controller can be configured with trigger priorities of different trigger types through the background monitoring system. The trigger type is the type of data storage requirement trigger. When data storage requirements of different trigger types conflict, the target controller executes a data storage requirement according to the trigger priority. For example, at the same time, not only the data storage requirement of the first trigger type is triggered, but also the data storage requirement of the second trigger type is triggered. According to the priority of the first trigger type and the second trigger type, a data storage requirement is responded to. For another example, in response to the data storage requirement of the first trigger type, in the process of obtaining the operating data of the energy storage device within a preset time period, the data storage requirement of the second trigger type is triggered. The controller does not know whether to continue to execute the first operation of continuing to obtain the operating data according to the data storage requirement of the first trigger type until the operating data within the preset time period is obtained, or to start the second operation of obtaining the operating data within the preset time period according to the data storage requirement of the second trigger type. That is, the data storage requirement of the first trigger type and the data storage requirement of the second trigger type still conflict. The controller can determine to execute the first operation or the second operation according to the trigger priority.

[0090] S202 : Generate data record content of the energy storage device in the preset time period according to the trigger type of the operation data storage requirement and the operation data in the preset time period.

[0091] Exemplarily, the trigger type of the operating data storage requirement may include a fault trigger type or a forced control trigger type. Among them, the trigger type of the operating data storage requirement is a fault trigger type, indicating that the operating data storage requirement may be triggered when the controller detects that the operating data of the energy storage device is fault operating data. The trigger type of the operating data storage requirement is a forced control trigger type, indicating that the operating data storage requirement may be triggered when the controller receives an operating data storage instruction sent by the background monitoring system. In some embodiments, the fault trigger type may include an energy storage device operating fault and a target control device fault. The target control device includes a target controller or at least one of the following items connected to the target controller: an upper controller of the target controller, a lower controller of the target controller, a power controller, and a detection device. For example, in Figure 1 In the illustrated embodiment, when the insulation detection module fails, the primary controller triggers the operation data storage requirement; when the high-voltage detection module connected to the secondary controller 1 fails, the secondary controller 1 triggers the operation data storage requirement.

[0092] In some embodiments, the controller can combine the trigger type of the operation data storage requirement with the operation data within a preset time period to obtain the data recorded by the energy storage device during the preset time period. In other embodiments, the controller can generate a trigger summary parameter for the target time based on the trigger type of the operation data storage requirement; generate an operation data file for the preset time period based on the operation data within the preset time period, and combine the trigger summary parameter for the target time period with the operation data file for the preset time period to obtain the data recorded for the preset time period. In some embodiments, the target controller can generate an operation data file for the preset time period based on each time point within the preset time period and the operation data at each time point.

[0093] S203: Storing the data recorded in the preset time period for acquisition by the background monitoring system.

[0094] The controller may store the data recorded content for a preset period in an internal storage module. In some embodiments, the controller stores the data recorded content for each preset period in the internal storage module each time the data recorded content is obtained. For example, the controller may sequentially store the data recorded content for each preset period in the order in which the data recorded content was obtained.

[0095] In some embodiments, the controller can proactively report data log content. For example, each time the controller obtains data log content for a preset period, it stores the data log content for that preset period. If the number of data log content stored in the preset period is greater than or equal to a preset number, or if the size of the data log content stored in the preset period reaches a preset size, the controller can proactively report all stored data log content for the preset period to the backend monitoring system. The preset size can be less than or equal to the maximum storage size of the storage module in the controller.

[0096] In other embodiments, the controller may report the data record content according to the instruction of the background monitoring system. For example, the background monitoring system may send a read instruction to the controller, and the controller may report all or part of the stored data record content of the preset time period to the background monitoring system according to the read instruction.

[0097] The energy storage system includes multiple controllers. If multiple controllers report data record content at the same time, it will cause network congestion. Therefore, the first-level controller sends the data record content first, and then schedules each controller at the lower level to send the data record content in turn. For example, when the first-level controller has completed sending the data record content, it can send a transmission request to the first secondary controller at the lower level, so that the first secondary controller reports the data record content through the first-level controller. When the first secondary controller completes reporting the data record content, the first-level controller sends a transmission request to the second secondary controller at the lower level, so that the second secondary controller reports the data record content through the first-level controller, and so on, until all controllers have completed reporting the data record content.

[0098] In an embodiment of the present application, the controller stores data recorded content for a preset time period, thereby enabling the controller to accurately record the operating data of the energy storage device. For example, at time T4, the controller obtains the operating data of the energy storage device at time T4 and stores the operating data of the energy storage device at time T4. Even if the operating data of the energy storage device at time T4 reaches the background monitoring system at time T5, the background monitoring system can still determine that the operating data of the energy storage device is the operating data at time T4, and will not consider it to be the operating data at time T5, thereby improving the accuracy of the operating data of the energy storage device monitored by the background monitoring system.

[0099] The technical solution provided in the embodiments of the present application abandons the idea of ​​improving the transmission line between the controller and the background monitoring system. Instead, the controller locally stores the data record content for a preset time period. Since the data record content for the preset time period is generated based on the trigger type of the operation data storage requirement and the operation data within the preset time period, the data record content for the preset time period can not only accurately record the operation data generated by the energy storage device at each time point in the preset time period, but also record the trigger type of the operation data storage requirement. This allows the background monitoring system to accurately determine why the controller stored the operation data and the accurate operation data stored based on the data record content for the preset time period, thereby improving the accuracy of the operation data of the energy storage device monitored by the background monitoring system. Moreover, when there is a need for operation data storage, the controller stores the operation data for the preset time period instead of storing all the acquired operation data. This not only significantly reduces the amount of unnecessary operation data to be stored, reduces the storage resources of the storage module in the controller, and thus reduces the cost of the storage module in the controller, but also allows, when analyzing the operation data, for example, when it is necessary to trace the operation status of a specific event or a certain period of the energy storage system, to analyze the operation data within the preset time period without having to analyze all the operation data acquired by the controller, thereby improving the efficiency of the operation data analysis.

[0100] In some embodiments, before responding to the operation data storage requirement of the energy storage device in the energy storage system, the method further includes: detecting the operation data of the energy storage device, and triggering the operation data storage requirement when detecting that the operation data of the energy storage device is faulty operation data.

[0101] In other embodiments, before responding to the operation data storage demand of the energy storage device in the energy storage system, the method further includes: triggering the operation data storage demand upon receiving an operation data storage instruction of the energy storage device sent by the background monitoring system.

[0102] In other embodiments, before responding to the operation data storage demand of the energy storage device in the energy storage system, the method further includes: triggering the operation data storage demand in the event of a target controller failure.

[0103] In other embodiments, before responding to the operating data storage demand of the energy storage device in the energy storage system, the method further includes: triggering the operating data storage demand when the target controller receives fault indication information sent by a processing device connected to the target controller; wherein the fault indication information indicates a fault in the processing device, and the processing device includes at least one of the following: an upper-level controller of the target controller, a lower-level controller of the target controller, a power controller, and a detection device.

[0104] In some embodiments, the operation data storage instruction may carry a preset duration, so that the target controller obtains the operation data within a preset period corresponding to the preset duration.

[0105] For example, before and after the energy storage device is maintained, instructions are issued through the background monitoring system to cause the target controller to store operating data for a preset period of time in order to compare the performance before and after maintenance and evaluate the maintenance effectiveness;

[0106] As another example, when it is necessary to determine the operating status of the energy storage device of the energy storage system under a certain working condition, an instruction is issued through the background monitoring system to enable the target controller to store the operating data of a preset time period, thereby facilitating the acquisition of the operating status of the energy storage device under the working condition and providing data support for the upgrade of the energy storage system.

[0107] In the technical solution provided in the embodiments of the present application, by automatically triggering storage when detecting that the operating data of the energy storage device is faulty operating data, the operating data of the critical period can be retained when a fault occurs, providing a detailed basis for technical personnel to accurately locate the cause of the fault, shortening the fault troubleshooting and repair time, and improving the efficiency of fault troubleshooting; by triggering the operating data storage demand upon receiving the operating data storage instruction sent by the background monitoring system, the flexibility of operating data storage can be improved; by triggering the operating data storage demand in the event of a target controller fault or a processing device fault, it is beneficial to analyze the impact of the target controller fault or the processing device fault on the operating data, reproduce the operating scenario of the energy storage device corresponding to the fault, and improve the effectiveness of the operating data analysis.

[0108] The following describes a scenario in which the operation data storage requirement is triggered when the operation data of the energy storage device is detected to be faulty operation data, and describes the steps of triggering the operation data storage requirement and the steps of a method for obtaining the operation data of the energy storage device within a preset time period.

[0109] Figure 3 A flowchart of a method for triggering a data storage requirement is provided for some embodiments, such as Figure 3 As shown, the method is applied to any target controller of the energy storage system. The method may be executed before S101 and includes the following steps:

[0110] S301: Acquire a storage trigger range of operation data of an energy storage device and a fault data range of operation data of the energy storage device.

[0111] The storage trigger range is larger than the fault data range and covers the fault data range. The storage trigger range is a more relaxed range than the fault data range.

[0112] In some implementations, the storage trigger range may be determined according to the fault data range.

[0113] In some implementations, the storage trigger range can be determined based on the fault data range and a preset offset value. For example, the storage trigger threshold can be determined based on the fault threshold of the fault data range and a preset offset value, and the storage trigger range can be determined based on the storage trigger threshold.

[0114] In some implementations, the fault type of the fault data range may be acquired, and a preset offset value matching the fault type may be determined; and the storage trigger range may be determined according to the fault data range and the preset offset value.

[0115] The fault type may include at least one of the following: insulation fault, communication fault, overvoltage fault, overcurrent fault, overtemperature fault, undertemperature fault, etc. Different fault types may correspond to different preset offset values. For example, a preset offset value matching the fault type may be determined based on a one-to-one mapping relationship between multiple fault types and multiple preset offset values.

[0116] In some embodiments, different levels of processors may have different preset offset values ​​for the same fault type. For example, determining a preset offset value that matches the fault type may include determining a preset offset value that matches both the fault type and the level of the target controller (e.g., level 1 or level 2).

[0117] In the technical solution provided in the embodiment of the present application, the storage trigger range can be accurately determined according to each fault type, so that these potential abnormal data can be captured in advance before the energy storage device fails, which is conducive to improving the effectiveness of the analysis of the operating data of the stored energy storage device.

[0118] S302 : When it is detected that the operating data of the energy storage device is within a storage trigger range, the operating data of the energy storage device is stored, and a start time for storing the operating data of the energy storage device is obtained.

[0119] When the operating data begins to be within the storage trigger range, the operating data of the energy storage device begins to be stored.

[0120] In other embodiments, when it is detected that the operating data of the energy storage device is not within the storage trigger range, the detected operating data of the energy storage device is not stored or is discarded.

[0121] S303: Determine, based on the storage start time and the fault data range, the fault start time at which the operation data of the energy storage device is the fault operation data.

[0122] In some embodiments, S303 may include: obtaining a preset time window with a storage time limit interval at the start time of the operation data of the energy storage device as the start time; starting from the start time of the preset time window, if it is detected that the operation data of the energy storage device are all within the fault data range, and if it is detected that the operation data of the energy storage device are within the fault data range at the set time, then determining the set time as the fault start time.

[0123] In the technical solution provided by the embodiment of the present application, a preset time window is set so that it is possible to detect within the preset time window that the operating data of the energy storage device is within the fault data range. Only then is the moment when the operating data of the energy storage device is first within the fault data range determined as the fault start time of the fault operating data. This avoids the situation where the operating data changes slowly, a long time is required from the start of storage to bring the operating data within the fault data range, and a long time is required from the start of storage to the fault triggering moment, resulting in the storage of a large amount of non-fault operating data, which reduces the effectiveness of the operating data storage. Therefore, the embodiment of the present application can reduce the storage of a large amount of non-fault operating data and improve the effectiveness of the stored operating data.

[0124] In some embodiments, the method may further include the following steps: starting from the start time of the preset time window, continuously detecting that the operating data of the energy storage device is within the storage trigger range and not within the fault data range, and detecting at a second time that the operating data of the energy storage device is not within the storage trigger range, stopping storage of the operating data, and discarding or deleting the stored operating data. The second time is a time within the preset time window, and the second time may be the end time of the preset time window.

[0125] In some embodiments, the method may further include the following steps: within a preset time window, it is detected that the operating data of the energy storage device are all stored in the trigger range and are not in the fault data range, and at the end of the preset time window, the operating data stored in the preset time window is deleted.

[0126] S304: Trigger the operation data storage requirement at the time the fault begins.

[0127] In some embodiments, the fault start time may be the same as the target time for responding to the running data storage demand, or the target time for responding to the running data storage demand may be a time after the fault start time (for example, an adjacent time or a time separated by a certain time length).

[0128] In the technical solution provided by the embodiments of the present application, when it is detected that the operating data of the energy storage device is within the storage trigger range, the operating data of the energy storage device is stored, so that the operating data is stored before the moment when the operating data is detected as fault operating data, and thus abnormal operating data before the fault triggering moment can be stored. Therefore, when analyzing the operating data, the analysis is no longer limited to the operating data at the fault triggering moment, but is combined with the operating data stored before the fault triggering moment for comprehensive analysis, thereby improving the comprehensiveness of the operating data analysis.

[0129] exist Figure 3Based on the embodiment, obtaining the operating data of the energy storage device within a preset time period includes: obtaining a first portion of the operating data of the energy storage device between the start time of storage of the operating data and a target time; obtaining a second portion of the operating data within a time period starting at the target time and having an interval of a target time length; and merging the first portion of the operating data and the second portion of the operating data to obtain the operating data within the preset time period.

[0130] In some implementations, the target duration may be configured by the background monitoring system to the target controller.

[0131] In the technical solution provided in the embodiment of the present application, the first part of the operating data covers all operating data from the start of storage to the target time, and can record the operating data of the energy storage device at the fault triggering time and the operating data of a period of time before the fault triggering time. The second part of the operating data supplements the operating data of a period of time after the operating data at the fault triggering time. The operating data of the preset time period obtained by merging the first part of the operating data and the second part of the operating data can directly reflect the changing pattern of the operating status before and after the fault triggering time, which not only balances the integrity and practicality of the operating data storage, but also balances the effectiveness and efficiency of the operating data analysis.

[0132] The following describes the steps of the method for obtaining the operating data of the energy storage device within a preset time period by taking the scenario where the target controller receives an operating data storage instruction of the energy storage device sent by the background monitoring system, triggering the operating data storage demand.

[0133] Figure 4 A flow chart of a data storage method provided in another embodiment is shown as follows: Figure 2 As shown, this method is applied to any target controller of the energy storage system. Figure 4 Example compared to Figure 2 The difference between the embodiments is that S201 may include S2011 to S2012.

[0134] S2011 , in response to an operation data storage demand of an energy storage device in the energy storage system, when the operation data storage demand is triggered by receiving an operation data storage instruction sent by a background monitoring system, store the operation data of the energy storage device starting from a target time.

[0135] After the energy storage system is put into operation, if the operator of the background monitoring system finds that the energy storage device has an abnormality, or determines that the operating data of a certain period of time needs to be obtained according to the debugging stage of the energy storage device, the operating data storage instruction can be sent to the target controller through the background monitoring system.

[0136] In some embodiments, the running data storage instruction may include a duration corresponding to a preset period of time.

[0137] In some embodiments, the background monitoring system can send an operating data storage instruction to each controller in the energy storage system. In other embodiments, the background monitoring system can select at least one controller related to the debugging stage based on the debugging status of the energy storage device and send an operating data storage instruction to each of the at least one controller. The operating data storage instruction received by the secondary controller is forwarded by the primary controller.

[0138] In some embodiments, starting at the target time, another storage module (e.g., a cache) of the target controller begins storing operating data of the energy storage device. When the operating data for a preset period of time is stored in the other storage module, data records for the preset period of time are generated and then stored in the storage module of the target controller.

[0139] S2012 : In response to a request to stop storing the operating data of the energy storage device in the energy storage system, determine the operating data of the energy storage device stored between the target time and the time of responding to the request to stop storing the data as the operating data within a preset time period.

[0140] In some embodiments, after responding to the data storage stop request, the target controller stops storing the operating data of the energy storage device.

[0141] In some embodiments, the target controller receives an operation data storage instruction sent by the background monitoring system, triggering an operation data storage requirement. The target control starts storing the operation data of the energy storage device in another storage module from the target moment of responding to the operation data storage requirement, until stopping storing the operation data of the energy storage device at the moment of responding to the data stop storage requirement. Based on the operation data of the preset time period already stored in another storage module and the trigger type of the operation data storage requirement, data record content of the preset time period is generated, and the data record content of the preset time period is stored in the storage module.

[0142] In the technical solution provided in the embodiment of the present application, the operation data storage demand is triggered only when the target controller receives the operation data storage instruction sent by the background monitoring system, and the operation data is stored from the target time until the operation data storage demand is responded to. This solution can not only adapt to different business scenarios and data analysis requirements, so that the operation data can be stored flexibly, but also accurately record the operation data of the energy storage device within a specific time period, avoid unnecessary redundant data storage, and improve the pertinence and effectiveness of the stored operation data.

[0143] exist Figure 4 In the technical solution of the embodiment, the demand for stopping storage of running data is triggered by the following methods:

[0144] In some embodiments, a specified time window with a target time as the starting time and a set time interval is obtained; when a data stop storage instruction sent by the background monitoring system is received within the specified time window, the operation data stop storage requirement is triggered.

[0145] For example, the set duration may be configured by the background monitoring system to the target controller, and the set durations configured to different controllers may be the same or different.

[0146] In some embodiments, a specified time window is obtained with the target time as the starting time and the interval of the set time length; if no data stop storage instruction is received from the background monitoring system within the specified time window, the operation data stop storage requirement is triggered at the end time of the specified time window.

[0147] In the technical solution provided in the embodiment of the present application, a clear and settable definition method is provided for the storage duration of the operating data by setting a specified time window. Even if the background monitoring system does not send the data stop storage instruction in time, the target controller can automatically trigger the operating data stop storage requirement at the end of the specified time window, thereby ensuring the controllable data storage duration and avoiding the phenomenon of unlimited data storage due to the untimely sending of the data stop storage instruction, so that the amount of stored operating data can be within a reasonable range, avoiding the situation where a large amount of invalid operating data occupies storage resources, and improving the effectiveness of data storage; and, by triggering the operating data stop storage requirement when receiving the data stop storage instruction sent by the background monitoring system, the end time of data storage can be flexibly controlled according to actual conditions, thereby improving the flexibility of operating data storage.

[0148] The following describes the steps of obtaining the operating data of the energy storage device within a preset time period, taking the scenario where a target control device failure triggers the need for operating data storage as an example:

[0149] In some embodiments, obtaining operating data of the energy storage device within a preset time period includes: in the event of a target control device failure, obtaining the type of the target control device; the target control device includes a target controller or at least one of the following items connected to the target controller: an upper controller of the target controller, a lower controller of the target controller, a power controller, and a detection device; determining a predetermined duration for data storage based on the type of the target control device, and obtaining a predetermined time window with a target moment as the starting moment and an interval of a predetermined time length; determining the operating data of the energy storage device collected within the predetermined time window as the operating data within the preset time period.

[0150] In the technical solution provided in the embodiments of the present application, since the predetermined duration of data storage is flexibly determined based on the type of target control device in which the fault occurs, the operating data stored within the preset time period accurately matches the actual fault condition. For example, a failure of an upper-level controller may affect the scheduling of the entire energy storage system, and a longer predetermined time window can be configured. On the other hand, a failure of a detection device may affect the accuracy of local operating data, and a shorter predetermined time window can be configured. This improves the accuracy of the matching of the operating data obtained within the preset time period with the actual fault condition, thereby improving the validity of the operating data obtained within the preset time period.

[0151] The following embodiment of obtaining the operating data within a preset time period is applicable not only to the scenario where the operating data of the energy storage device is detected as faulty operating data, thereby triggering the need for operating data storage, but also to the scenario where the target controller receives an operating data storage instruction for the energy storage device sent by the background monitoring system, thereby triggering the need for operating data storage, and further applicable to the scenario where the target control device fails, thereby triggering the need for operating data storage.

[0152] Figure 5 A flowchart of a data storage method provided in another embodiment is shown in FIG. Figure 5 As shown, this method is applied to any target controller of the energy storage system. Figure 5 Example compared to Figure 2 The difference between the embodiments is that before S201, the method further includes S501, and S201 includes S2013 to S2015.

[0153] S501 : Storing the detected operating data of the energy storage device in a first-in-first-out queue set inside the target controller.

[0154] A first-in-first-out queue is a linear data structure that follows the principle of "the first element to enter the queue is taken out first". New elements are always inserted from the end of the queue, while elements are deleted from the head of the queue.

[0155] The width of the first-in-first-out queue may be a preset width, which is the size of the energy storage device operating data acquired at a given moment and the time storage size at that moment. The depth of the first-in-first-out queue may be a preset depth, which represents the maximum amount of energy storage device operating data that the first-in-first-out queue can store.

[0156] The width of the first-in, first-out queues in different controllers of the energy storage system is the same. The depth of the first-in, first-out queues in different controllers of the same level can be the same. The depth of the first-in, first-out queues in controllers of different levels can be different. For example, the width and depth of the first-in, first-out queue of the target controller can be configured by the background monitoring system or pre-set.

[0157] In some embodiments, each time the target controller obtains operating data of an energy storage device, it detects whether the operating data of the energy storage device is faulty operating data, and puts the operating data of the energy storage device into a first-in-first-out queue regardless of whether the operating data of the energy storage device is faulty operating data.

[0158] S2013 . In response to a storage requirement for operation data of the energy storage device in the energy storage system, determine the operation data of the energy storage device stored in the first-in-first-out queue as the third part of operation data.

[0159] In S2013 , the operation data storage requirement may be triggered when it is detected that the operation data of the energy storage device is faulty operation data, or may be triggered when an operation data storage instruction for the energy storage device is received from the background monitoring system.

[0160] For example, at time T6, the target controller responds to the operation data storage requirement and determines the operation data of the energy storage device stored in the first-in-first-out queue at time T6 as the third part of the operation data.

[0161] S2014: Acquire the fourth portion of operating data within a time period starting from the target time and lasting for the target duration.

[0162] The fourth portion of operating data includes operating data at a target time in response to the operating data storage requirement. In some embodiments, the amount of operating data in the fourth portion of operating data may be the same as the maximum amount of operating data that can be stored in the first-in-first-out queue.

[0163] S2015: Merge the third part of the operating data and the fourth part of the operating data to obtain the operating data within a preset time period.

[0164] The operation data within the preset time period may be a union of the third part of the operation data and the fourth part of the operation data. For example, the fourth part of the operation data is set after the third part of the operation data to obtain the operation data within the preset time period.

[0165] In the technical solution provided by the embodiment of the present application, a first-in-first-out queue is set up, and the operating data of the energy storage device after detection is stored in the first-in-first-out queue. Therefore, whenever the target controller responds to the operating data storage request, it can obtain the third portion of the operating data before the target time of responding to the operating data storage request, and use the third portion of the operating data as part of the operating data within the preset time period. This not only avoids the problem of being unable to obtain the operating data before the target time, resulting in reduced validity of the stored operating data, but also avoids the problem of the target controller storing the operating data of each energy storage device each time it obtains the operating data before the target time, resulting in large storage resource consumption and reduced validity of the stored operating data due to a large amount of invalid operating data storage. Therefore, the embodiment of the present application can improve the validity of data storage and reduce storage resources. In addition, the target controller only needs to detect whether the operating data is faulty, without having to perform other tests (such as detecting whether it is within the storage trigger range), thereby reducing the computing resource consumption of the target controller and improving the operating efficiency of the target controller.

[0166] Figure 6 A flow chart of a method for generating data record content of an energy storage device in a preset time period provided in some embodiments, the method is applied to any target controller of the energy storage system, and the method is an explanation of the above step S202, such as Figure 6 As shown, the method includes the following steps:

[0167] S2021. Generate an operation data file for the preset period based on each time point within the preset period and the operation data of the energy storage device at each time point.

[0168] In some embodiments, each time point within the preset time period may include each time point at which operation data of the energy storage device is acquired during the preset time period.

[0169] Exemplarily, the operation data file (also referred to as an operation data message) may include a controller area network (CAN) communication message file.

[0170] Exemplarily, the operation data file of a preset time period may include at least one of the following: the recording date and time of the operation data file, the base format used by the data, each time point (such as each timestamp), the channel number of the message reception, the identification code of the message, the receiving direction or sending direction of the message, the length of the operation data obtained at each time point, the operation data obtained at each time point, the message terminator, etc.

[0171] S2022: Generate trigger summary parameters for the target time according to the trigger type of the operation data storage requirement, the target time, and the file identifier of the operation data file in the preset time period.

[0172] In some embodiments, the trigger type of the operation data storage requirement, the target time, and the file identifier of the operation data file of the preset time period can be combined to obtain the trigger summary parameter of the target time.

[0173] In some embodiments, when the trigger type of the running data storage requirement is a forced control trigger type, the forced control trigger type, the target time, the file identifier of the running data file of the preset time period, and the identifier of the target controller can be merged to obtain the trigger summary parameters of the target time.

[0174] In some embodiments, when the trigger type for the operational data storage requirement is a fault trigger type, the fault trigger type, target time, file identifiers of the operational data files for a preset time period, and target parameters may be combined to obtain trigger summary parameters for the target time. The target parameters may include at least one of the following: target controller identifier, fault code, fault name, fault trigger threshold, and fault level. For example, the fault trigger type may include at least one of the following: energy storage device operational fault, target controller fault, upper controller fault of the target controller, lower controller fault of the target controller, power controller fault, detection device fault, etc.

[0175] S2023: Merge the trigger summary parameters of the target time and the operation data file of the preset time period to obtain the data record content of the preset time period.

[0176] Exemplarily, the merging result of the trigger summary parameters at the target moment and the operation data file of the preset time period (i.e., the data record content of the preset time period, exemplarily, the merging operation can also be a union operation) is used as the storage result of the operation data storage demand of this response.

[0177] In the technical solution provided by the embodiment of the present application, since the trigger summary parameters of the target moment include the file identifier of the operation data file of the preset time period, the operation data file of the preset time period can be quickly found through the file identifier in the trigger summary parameters of the target moment, without the need to blindly search among a large number of operation data files, thereby saving the search time of the operation data file and improving the search efficiency of the operation data file search.

[0178] Figure 7 A flow chart of a method for storing data record contents for a preset period of time provided in some embodiments is provided. The method is applied to any target controller of the energy storage system. The method is an explanation of the above step S203. Figure 7As shown, the method includes the following steps S2031 to S2033:

[0179] S2031. Writing the trigger summary parameters of the target moment in the data record content of the preset time period into a preset write entry of the data table pre-established in the target controller for acquisition by the background monitoring system.

[0180] Illustratively, the pre-established data table may include at least one of the following fields: a sequence number, a file identifier (e.g., a file name), a target time for responding to the operational data storage request (in other embodiments, this may be the trigger time for the operational data storage request), a fault code, a fault name, a fault trigger threshold, a fault level, an identifier of the controller that triggered the operational data storage request, and a trigger type for the operational data storage request. In some embodiments, the pre-established data table may also include at least one of the following: version information, software version number, software version information, and a data table name.

[0181] Exemplarily, the preset write entry is the first entry in the unwritten entries. For example, if 100 trigger summary parameters have already been written into the first 100 write entries (corresponding to sequence numbers 1-100) of the data table, then the newly obtained trigger summary parameters for the target time are written into the 101st write entry (corresponding to sequence number 101).

[0182] S2032: Determine a preset storage area associated with the preset write entry.

[0183] Exemplarily, each write entry in the data table is associated with a storage area, and different write entries are associated with different storage areas. In some embodiments, the storage areas associated with different write entries have the same size.

[0184] S2033. Storing the operation data file of the preset period in the data record content of the preset period in the preset storage area for acquisition by the background monitoring system.

[0185] In the technical solution provided by the embodiment of the present application, each write table entry in the data table is associated with a storage area. Through this association relationship, not only the confusion and redundancy of data storage are reduced and the orderliness of data storage is improved, but also the trigger summary parameters in each write table entry can be used to find the corresponding operation data file of the preset time period. There is no need to additionally record and store the storage location of the operation data file of the preset time period after each storage of the operation data file of the preset time period, which reduces the calculation amount of the target controller when storing the data recording content of the preset time period and improves the efficiency of the data recording content of the preset time period.

[0186] The following describes the process by which the controller in the energy storage system sends data records to the background monitoring system:

[0187] In some embodiments, the target controller is a first-level controller in a multi-level controller in an energy storage system; the method further includes: in response to a first read instruction sent by a background monitoring system, packaging the data record content of at least one preset time period stored internally to generate a first package file; wherein the first read instruction instructs to read the data record content stored in the first-level controller; and sending the first package file to the background monitoring system.

[0188] Exemplarily, the read instruction sent by the backend monitoring system to the controller may include at least one of the following: a specified time period, an encryption type, a file compression format, etc. The controller reports the data recorded within the specified time period. The controller encrypts the acquired file based on the encryption type, so that the encrypted packaged file is sent to the backend monitoring system. The controller compresses the file to be transmitted based on the file compression format, so that the compressed packaged file is sent to the backend monitoring system.

[0189] Exemplarily, the background monitoring system may send a read instruction to some or all controllers in the storage system, so that the controllers receiving the read instruction send a package file to the background monitoring system. The package file is obtained by packaging the data record content of at least one preset time period.

[0190] In some embodiments, the controller responds to a read instruction. If the read instruction carries a specified time period, the controller can package the data record content of at least one preset time period within the specified time period to generate a package file; if the read instruction does not carry a specified time period, the controller can package all the stored data record content (for example, the data record content of at least one preset time period) to generate a package file.

[0191] In some embodiments, the controller responds to the read instruction and may further send at least one of the following to the background monitoring system: the transmission time of the packaged file, the size of the packaged file, the identifier of the packaged file, and the identifier of the controller.

[0192] In some embodiments, the first package file may include multiple sub-package files, for example, each sub-package file may contain data recorded for a predetermined number of predetermined time periods. Upon receiving each sub-package file, the background monitoring system restores the sub-package file to contain the data recorded for the predetermined number of predetermined time periods, eliminating the need for the background monitoring system to obtain the data recorded content only after receiving the first package file.

[0193] In the technical solution provided in the embodiment of the present application, the data record content of at least one preset time period is transmitted as a whole, thereby reducing the risk of data loss or damage; and through effective interaction between the primary controller and the background monitoring system, the background monitoring system can flexibly send read instructions to the primary controller to obtain the required data record content according to actual needs. The primary controller can respond in a timely manner and provide the corresponding data record content, so that the background monitoring system can better monitor and manage the operating status of the energy storage device.

[0194] In some embodiments, the target controller is a first-level controller in a multi-level controller in an energy storage system; the method further includes: in response to a second read instruction sent by a background monitoring system, sending a second read instruction to a designated controller among a plurality of second-level controllers; the plurality of second-level controllers are all subordinate controllers of the first-level controller, and the second read instruction instructs to read the data record content stored in the designated controller; receiving a second package file sent by the designated controller; the second package file is obtained by the designated controller packaging the data record content of at least one preset time period stored internally; and sending the second package file to the background monitoring system.

[0195] In the technical solution provided in the embodiment of the present application, the first-level controller serves as the upper-level controller, receiving and forwarding the read instructions of the background monitoring system, while multiple second-level controllers serve as lower-level controllers and are responsible for storing and processing specific data. This hierarchical management architecture makes the storage and management of data more decentralized and detailed, avoiding the problem that all data is stored in one layer of controller, resulting in excessive storage pressure and low data processing efficiency of the first-level controller. It can also avoid the problem that multiple second-level controllers communicate with the background monitoring system, resulting in network congestion and reduced data transmission reliability. Therefore, the solution of forwarding instructions and packaging files through the first-level controller in the embodiment of the present application can not only reduce the storage pressure of the first-level controller, but also improve the data processing efficiency of the first-level controller and the reliability of data transmission.

[0196] In some embodiments, the target controller is a lower-level controller of a first-level controller in a multi-level controller in an energy storage system; the method further includes: in response to a third read instruction sent by the first-level controller, packaging the data record content of at least one preset time period stored internally to obtain a third package file; the third read instruction instructs to read the data record content stored in the lower-level controller, and the third read instruction is received by the first-level controller from the background monitoring system; sending the third package file to the first-level controller; the third package file is used by the first-level controller to send to the background monitoring system.

[0197] In the technical solution provided in the embodiment of the present application, the lower-level controller communicates with the first-level controller, receives read instructions sent by the first-level controller, and sends packaged files to the first-level controller. The lower-level controller focuses on storing, processing and responding to instructions of the first-level controller for local data. The lower-level controller does not need to care about the final destination of the data and higher-level processing logic, but only needs to operate according to the requirements of the first-level controller, thereby improving the maintainability and scalability of the energy storage system.

[0198] In some embodiments, an energy storage system includes a control module, which includes the aforementioned primary controller and multiple secondary controllers below it. Exemplarily, the control module may be a battery management system (BMS), which includes a primary controller and multiple secondary controllers below it. Each secondary controller is connected to the primary controller. Exemplarily, the primary controller may be a battery management controller (BMC), and the secondary controller may be a slave battery management unit (SBMU).

[0199] In some embodiments, data storage is associated with fault thresholds, or data storage is associated with flag-type faults, and each controller can filter the fault content online to trigger data storage. In some embodiments, the data storage duration (i.e., the duration corresponding to the above-mentioned preset period) and the storage channel content (i.e., the storage of operating data sent by some or all detection modules, some or all detection modules are configurable, for example, storing voltage data but not temperature data) can be configured through the background monitoring system. In some embodiments, the format of the operating data file stored in the controller is the CAN communication message file format, which is convenient for debugging personnel to analyze data. In some embodiments, the controller can save the corresponding data storage file logic according to the different fault trigger timings to optimize the space occupied by the storage content. In this way, the debugging efficiency of the energy storage system and the troubleshooting efficiency when the system fails are improved, and strategic storage can save memory space.

[0200] In some embodiments, the background monitoring system can configure the communication channel interface corresponding to each fault, and selectively store the corresponding channel data, and the background monitoring system can configure the data storage duration. In some embodiments, when the storage space in the controller is full, the storage rule of the new operation data file overwriting the first stored operation data file is implemented. In some embodiments, the operation data file is stored in the local storage module of the controller included in the BMS, and the background monitoring system can read the corresponding file from the controller. In this way, according to different faults, the data of the corresponding communication interface is stored, and the corresponding channel data is saved in a targeted manner. The storage conditions (such as fault threshold or fault data range) can be configured to increase the flexibility of the amount of data stored.

[0201] In some embodiments, data storage can be triggered by threshold-type faults. For example, based on the corresponding fault threshold, the operation data storage requirements corresponding to the threshold-type fault are triggered, and the data before and after the corresponding fault data channel is stored.

[0202] In some embodiments, data storage can be triggered by a flag-type fault. For example, based on the corresponding flag-type fault, the corresponding operational data storage requirement is triggered, and data before and after the corresponding fault data channel is stored. For example, flag-type faults may include transformer failure, switch failure, insulation failure, or other electronic component failures.

[0203] In some embodiments, data storage can be triggered through the customer backend to save the operating data from the time the trigger command is issued to the time the stop command is issued.

[0204] Each controller can configure at least one of the following items through software configuration or host computer online: fault trigger storage time (i.e. the duration corresponding to the above-mentioned preset period), triggered fault content (such as the name of the triggered fault), configuration of the fault storage data channel, fault judgment conditions (i.e. the above-mentioned fault data range), etc.

[0205] The first-level controller and the second-level controller store their respective data summary tables (i.e. the above-mentioned data tables) and data files (i.e. the above-mentioned operation data files). The data files of the second-level controller are read through the background request. The second-level controller uploads the data files to the first-level controller through the protocol, and then uploads them to the customer background through the first-level controller.

[0206] Figure 8 A logical diagram of an operational data storage provided for some embodiments, such as Figure 8 As shown, the method is applied to any controller in the energy storage system, and the method includes:

[0207] S801. Obtain the current operating data of the energy storage device.

[0208] S802: Determine whether there is a demand for storage of running data triggered by a fault at the current moment.

[0209] If there is a demand for storing operating data triggered by a fault at the current moment, step S804 is executed. If there is no demand for storing operating data triggered by a fault at the current moment, step S801 is executed.

[0210] S803: Determine whether there is a demand for storage of running data triggered by a background instruction at the current moment.

[0211] If there is a demand for storage of running data triggered by a background instruction at the current moment, steps S805 to S809 are executed. If there is no demand for storage of running data triggered by a background instruction at the current moment, step S801 is executed.

[0212] S804: Save the operation data of the preset time period between the current moment and the previous moment, and record the trigger summary parameters of the current moment in a data table.

[0213] S805: Start saving the running data.

[0214] S806: Whether a data stop storage instruction is received.

[0215] If a data storage stop instruction is received, S807 is executed. If a data storage stop instruction is not received, S808 is executed.

[0216] S807: Save the operation data of the preset period between the current moment and the receipt of the data storage stop instruction, and record the trigger summary parameters of the current moment in the data table.

[0217] S808: Determine whether the specified time has passed.

[0218] The interval between the specified time and the current time is set to a duration.

[0219] If the designated time has passed, S809 is executed. If the designated time has not passed, S806 is executed.

[0220] S809: Save the operation data of the preset time period between the current moment and the designated moment, and record the trigger summary parameters of the current moment in the data table.

[0221] Figure 9 A logical diagram of operating data storage provided for other embodiments, such as Figure 9 As shown, the method is applied to any controller in the energy storage system, and the method includes:

[0222] S901: Is there a need to store operating data triggered by a fault at time T7?

[0223] If S901 is yes, execute S902 and then execute S903; if S901 is no, execute S903.

[0224] S902: Save the operation data of the preset time period between the time before and after the time T7, and record the trigger summary parameters of the current time in the data table.

[0225] S903: Is there a need to store operating data triggered by a fault at time T8?

[0226] If S903 is yes, then execute S904 and then execute S905; if S903 is no, then execute S905.

[0227] S904: Save the operation data of the preset time period between the time before and after time T8, and record the trigger summary parameters of the current time in the data table.

[0228] S905: Continue to determine whether there is a need to store running data triggered by a fault at each subsequent moment.

[0229] The operation data of the preset period before and after the moment when the operation data storage requirement is triggered by the fault is saved, and the trigger summary parameters at the current moment are recorded in the data table.

[0230] Exemplarily, the data table records at least one of the following: the time point of each fault trigger, the time point of background control trigger, the name of the stored data file, the corresponding fault code, the corresponding trigger threshold, the fault level, the trigger type, etc.

[0231] For example, a CAN message parsing tool may be used to perform data parsing on the running data file.

[0232] In some embodiments, the backend monitoring system can trigger summary parameters and / or operational data files based on access to data tables in any one or more controllers. For example, the backend monitoring system can automatically upload files stored within the controller directly to a corresponding storage folder in the backend monitoring system (e.g., a storage folder on a computer device) by accessing the corresponding controller.

[0233] In an exemplary embodiment, the present application may also provide an energy storage system, which includes an energy storage container, a primary controller, a container detection device, multiple secondary controllers, and energy storage cabinet detection devices corresponding to each secondary controller; the energy storage container includes multiple energy storage cabinets; the primary controller is connected to the energy storage container through the container detection device; each secondary controller is connected to each energy storage cabinet through each energy storage cabinet detection device; when the primary controller and each of the multiple secondary controllers execute a computer program, the steps of the method in any of the above embodiments are implemented.

[0234] Figure 10 A structural diagram of an energy storage system is provided for other embodiments, such as Figure 10 As shown, the energy storage system includes a primary controller and multiple secondary controllers. The multiple secondary controllers are all connected to the primary controller, and the primary controller is also connected to the background monitoring system.

[0235] Data tables and operating data files may be stored locally in each of the primary and secondary controllers.

[0236] Based on the same inventive concept, embodiments of the present application further provide a data storage device for implementing the aforementioned data storage method. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations of one or more data storage device embodiments provided below can be found in the above-described limitations of the data storage method and are not further elaborated here.

[0237] In an exemplary embodiment, Figure 11 A schematic diagram of a data storage device provided in some embodiments, such as Figure 11 As shown, the data storage device 1100 includes:

[0238] An operation data acquisition module 1101 is configured to respond to an operation data storage requirement of an energy storage device in an energy storage system and acquire operation data of the energy storage device within a preset period; the preset period includes a target time when the operation data storage requirement is responded to;

[0239] The data record content generating module 1102 is configured to generate data record content of the energy storage device in a preset period of time according to the trigger type of the operation data storage requirement and the operation data in the preset period of time;

[0240] The data storage module 1103 is used to store data record content of a preset period of time for acquisition by the background monitoring system.

[0241] In some embodiments, the data storage device 1100 further includes a demand triggering module, which is used to detect the operating data of the energy storage device and trigger the operating data storage demand when it is detected that the operating data of the energy storage device is faulty operating data.

[0242] In some embodiments, the data storage device 1100 further includes a demand triggering module, which is configured to trigger an operation data storage demand upon receiving an operation data storage instruction of the energy storage device sent by the background monitoring system.

[0243] In some embodiments, the demand trigger module includes a range acquisition unit, a start storage time acquisition unit, a fault start time acquisition unit and a demand trigger unit; the range acquisition unit is used to acquire the storage trigger range of the operating data of the energy storage device and the fault data range of the operating data of the energy storage device; wherein the storage trigger range is larger than the fault data range and covers the fault data range; the start storage time acquisition unit is used to store the operating data of the energy storage device and acquire the start storage time of the operating data of the energy storage device when it is detected that the operating data of the energy storage device is within the storage trigger range; the fault start time acquisition unit is used to determine the fault start time of the operating data of the energy storage device as the fault operating data based on the start storage time and the fault data range; the demand trigger unit is used to trigger the operating data storage demand at the fault start time.

[0244] In some embodiments, the range acquisition unit is further configured to acquire a fault type of the fault data range and determine a preset offset value matching the fault type; and determine a storage trigger range according to the fault data range and the preset offset value.

[0245] In some embodiments, the fault start time acquisition unit is used to acquire a preset time window with the start time of storage of the operating data of the energy storage device as the starting time and the interval storage time limit; starting from the start time of the preset time window, if it is detected that the operating data of the energy storage device are all within the fault data range, and if it is detected that the operating data of the energy storage device are within the fault data range at the set time, the set time is determined as the fault start time.

[0246] In some embodiments, the operation data acquisition module 1101 includes a first part of the operation data acquisition unit, a second part of the operation data acquisition unit and a preset time period data acquisition unit; the first part of the operation data acquisition unit is used to acquire the first part of the operation data of the energy storage device between the start storage time and the target time; the second part of the operation data acquisition unit is used to acquire the second part of the operation data within a time period with the target time as the starting time and the target time interval; the preset time period data acquisition unit is used to merge the first part of the operation data and the second part of the operation data to obtain the operation data within the preset time period.

[0247] In some embodiments, the operation data acquisition module 1101 includes a storage start unit and a preset time period data acquisition unit; the storage start unit is used to store the operation data of the energy storage device from a target time when the operation data storage demand is triggered by receiving an operation data storage instruction sent by the background monitoring system; the preset time period data acquisition unit is used to respond to the operation data stop storage demand of the energy storage device in the energy storage system, and determine the operation data of the energy storage device stored between the target time and the time of responding to the data stop storage demand as the operation data within the preset time period.

[0248] In some embodiments, the operation data acquisition module 1101 also includes an operation data storage stop demand triggering unit, which is used to obtain a specified time window with a target time as the starting time and an interval of a set time length; when a data storage stop instruction is received from the background monitoring system within the specified time window, the operation data storage stop demand is triggered; when no data storage stop instruction is received from the background monitoring system within the specified time window, the operation data storage stop demand is triggered at the end time of the specified time window.

[0249] In some embodiments, the data storage device 1100 also includes a queue storage module for storing the operating data of the energy storage device after detection in a first-in-first-out queue set inside the target controller; the operating data acquisition module 1101 includes a third-part operating data acquisition unit, a fourth-part operating data acquisition unit and a preset time period data acquisition unit; the third-part operating data acquisition unit is used to determine the operating data of the energy storage device stored in the first-in-first-out queue as the third part of the operating data; the fourth-part operating data acquisition unit is used to acquire the fourth part of the operating data within a time period with the target time as the starting time and the target time interval; the preset time period data acquisition unit is used to merge the third part of the operating data and the fourth part of the operating data to obtain the operating data within the preset time period.

[0250] In some embodiments, the data recording content generation module 1102 includes a file generation unit, a parameter generation unit, and a content generation unit; the file generation unit is used to generate an operation data file for a preset period based on each time point within the preset period and the operation data of the energy storage device at each time point; the parameter generation unit is used to generate a trigger summary parameter for the target moment based on the trigger type of the operation data storage requirement, the target moment, and the file identifier of the operation data file for the preset period; the content generation unit is used to merge the trigger summary parameter for the target moment and the operation data file for the preset period to obtain the data recording content for the preset period.

[0251] In some embodiments, the data storage module 1103 includes a parameter storage unit, an associated area determination unit, and a file storage unit; the parameter storage unit is used to write the trigger summary parameters of the target moment in the data recording content of the preset time period into the preset write table item of the data table pre-established in the target controller; the associated area determination unit is used to determine the preset storage area associated with the preset write table item; the file storage unit is used to store the operation data file of the preset time period in the data recording content of the preset time period in the preset storage area.

[0252] In some embodiments, the data storage device 1100 is applied to a first-level controller in a multi-level controller in an energy storage system; the data storage device 1100 also includes a packaging module and a communication module, the packaging module is used to respond to a first read instruction sent by a background monitoring system, and package the data record content of at least one preset time period stored internally to generate a first package file; wherein the first read instruction instructs to read the data record content stored in the first-level controller; the communication module is used to send the first package file to the background monitoring system.

[0253] In some embodiments, the data storage device 1100 is applied to a first-level controller in a multi-level controller in an energy storage system; the data storage device 1100 also includes a communication module, which is used to send a second read instruction to a designated controller among multiple second-level controllers in response to a second read instruction sent by a background monitoring system; the multiple second-level controllers are all subordinate controllers of the first-level controller, and the second read instruction instructs to read the data record content stored in the designated controller; receive a second package file sent by the designated controller; the second package file is obtained by the designated controller packaging the data record content of at least one preset time period stored internally; and send the second package file to the background monitoring system.

[0254] In some embodiments, the data storage device 1100 is applied to a lower-level controller of a first-level controller in a multi-level controller in an energy storage system; the data storage device 1100 also includes a packaging module and a communication module, the packaging module is used to respond to a third read instruction sent by the first-level controller, and package the data recording content of at least one preset time period stored internally to obtain a third package file; the third read instruction instructs to read the data recording content stored in the lower-level controller, and the third read instruction is received by the first-level controller from the background monitoring system; the communication module is used to send the third package file to the first-level controller; the third package file is used by the first-level controller to send to the background monitoring system.

[0255] The description of the above device embodiment is similar to the description of the above method embodiment and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of this application, please refer to the description of the method embodiment of this application for understanding.

[0256] Each module in the aforementioned data storage device can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a controller within the energy storage system in hardware form, or can be stored in memory within the controller within the energy storage system in software form, allowing the processor to call and execute the corresponding operations of each module.

[0257] In an exemplary embodiment, Figure 12 This is a schematic diagram of the structure of a controller in an energy storage system provided in some embodiments. The controller includes a processor, memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, memory, and input / output interface are connected via a system bus, while the communication interface, display unit, and input device are connected to the system bus via the input / output interface. The processor of the controller in the energy storage system provides computing and control capabilities. The memory of the controller in the energy storage system includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and computer program in the non-volatile storage medium to run. The input / output interface of the controller in the energy storage system is used to exchange information between the processor and external devices. The communication interface of the controller in the energy storage system is used to communicate with external terminals via wired or wireless communication. The wireless communication can be achieved through wireless fidelity (Wi-Fi), a mobile cellular network, near field communication (NFC), or other technologies. When executed by the processor, this computer program implements a data storage method. The display unit of the controller in the energy storage system is used to produce a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display or an electronic ink display screen. The input device of the controller in the energy storage system can be a touch screen covering the display screen, a keypad, a trackball, or a touchpad provided on the controller housing, or an external keyboard, touchpad, or mouse.

[0258] Those skilled in the art will understand that Figure 12 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the controller in the energy storage system to which the solution of the present application is applied. The controller in a specific energy storage system may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0259] For example, the controller in the energy storage system includes a memory and a processor. The memory stores a computer program, and the processor implements the steps of the method of any of the above embodiments when executing the computer program.

[0260] For example, in an exemplary embodiment, when the processor is used to execute a computer program, the following is achieved: in response to the operation data storage requirement of the energy storage device in the energy storage system, the operation data of the energy storage device within a preset time period is obtained; the preset time period includes a target time for responding to the operation data storage requirement; based on the trigger type of the operation data storage requirement and the operation data within the preset time period, the data record content of the energy storage device in the preset time period is generated; and the data record content of the preset time period is stored for acquisition by the background monitoring system.

[0261] Figure 11 This is a schematic structural diagram of an energy storage control system provided in some embodiments. The energy storage control system includes the above-mentioned control device and an energy storage valve control device connected to the control device.

[0262] In one embodiment, a computer-readable storage medium is provided, and when a computer program is executed by a processor, the computer program implements the steps of the method provided in any of the above embodiments.

[0263] For example, in an exemplary embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: in response to an operation data storage requirement of an energy storage device in an energy storage system, the operation data of the energy storage device within a preset time period is obtained; the preset time period includes a target time for responding to the operation data storage requirement; based on the trigger type of the operation data storage requirement and the operation data within the preset time period, the data record content of the energy storage device in the preset time period is generated; and the data record content of the preset time period is stored for acquisition by a background monitoring system.

[0264] In one embodiment, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the steps of the method provided in any of the above embodiments are implemented.

[0265] For example, in an exemplary embodiment, a computer program product is provided, including a computer program, which, when executed by a processor, implements the following steps: in response to an operation data storage requirement of an energy storage device in an energy storage system, obtaining operation data of the energy storage device within a preset time period; the preset time period includes a target time for responding to the operation data storage requirement; generating data record content of the energy storage device in the preset time period based on the trigger type of the operation data storage requirement and the operation data within the preset time period; and storing the data record content of the preset time period for acquisition by a background monitoring system.

[0266] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods.

[0267] The processor, each functional module or each functional unit in any embodiment of the present application may include any one or more of the following integrations: a general-purpose processor, an application-specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a central processing unit (CPU), a graphics processing unit (GPU), an embedded neural network processing unit (NPU), a controller, a microcontroller, a microprocessor, a programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, a data processing logic based on quantum computing, an artificial intelligence (AI) processor, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0268] The memory or computer-readable storage medium in any embodiment of the present application may include at least one of a non-volatile memory and a volatile memory. Non-volatile memory includes the integration of one or more of the following: Read Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Ferromagnetic Random Access Memory (FRAM), Flash Memory, Magnetic Surface Storage, Optical Disc, Compact Disc Read-Only Memory (CD-ROM), Magnetic Tape, Floppy Disk, Flash Memory, Optical Storage, High-density Embedded Non-volatile Memory, Resistive Random Access Memory (ReRAM), Magnetoresistive Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), Graphene Memory, Volatile Memory, etc. Volatile memory includes one or more of the following: random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can come in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0269] The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0270] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. A data storage method, characterized in that: Applied to any target controller of an energy storage system, where each controller in the energy storage system is configured with a storage function, the method comprises: detecting operating data of the energy storage device, obtaining a fault data range of the operating data of the energy storage device and a fault type within the fault data range, and determining a preset offset value matching the fault type; Determining a storage trigger range according to the fault data range and the preset offset value; wherein the storage trigger range is larger than the fault data range and covers the fault data range; When detecting that the operating data of the energy storage device is within the storage trigger range, storing the operating data of the energy storage device and obtaining a start time for storing the operating data of the energy storage device; Determining, based on the storage start time and the fault data range, a fault start time at which the operation data of the energy storage device is fault operation data; In response to an operation data storage requirement of an energy storage device in the energy storage system, obtaining operation data of the energy storage device within a preset time period; the preset time period includes a target time for responding to the operation data storage requirement; wherein the operation data storage requirement is triggered at least at the start time of the fault; generating data record content of the energy storage device during the preset period according to the trigger type of the operation data storage requirement and the operation data during the preset period; The data record content of the preset time period is stored for acquisition by the background monitoring system.

2. The method according to claim 1, characterized in that The operation data storage requirement is also triggered in at least one of the following situations: Receiving an operation data storage instruction of the energy storage device sent by a background monitoring system; The target controller fails; The target controller receives fault indication information sent by a processing device connected to the target controller; wherein the fault indication information indicates that the processing device is faulty, and the processing device includes at least one of the following: an upper-level controller of the target controller, a lower-level controller of the target controller, a power controller, and a detection device.

3. The method according to claim 1, characterized in that The step of determining, based on the storage start time and the fault data range, that the operation data of the energy storage device is the fault start time of the fault operation data includes: Obtaining a preset time window with a storage time limit interval, starting from the start time of storage of the operation data of the energy storage device; Starting from the starting moment of the preset time window, if it is detected that the operating data of the energy storage device are all within the fault data range, and if it is detected that the operating data of the energy storage device are within the fault data range at the set moment, the set moment is determined as the fault start moment.

4. The method according to any one of claims 1 to 3, characterized in that The obtaining of the operating data of the energy storage device within a preset time period includes: Acquire a first portion of the operating data of the energy storage device between a start time of storing the operating data and a target time; Acquire a second portion of operating data within a time period starting at the target time and lasting for a target duration; The first portion of operating data and the second portion of operating data are combined to obtain operating data within the preset time period.

5. The method according to any one of claims 1 to 3, characterized in that The obtaining of the operating data of the energy storage device within a preset time period includes: When the operation data storage requirement is triggered by receiving an operation data storage instruction sent by a background monitoring system, storing the operation data of the energy storage device starting from the target time; In response to a requirement to stop storing the operating data of the energy storage device in the energy storage system, the operating data of the energy storage device stored between the target time and the time of responding to the requirement to stop storing the data is determined as the operating data within the preset time period.

6. The method according to claim 5, characterized in that Before the storage demand is stopped in response to the operation data of the energy storage device in the energy storage system, the method further includes: Obtain a specified time window starting at the target time and with a set interval length; When a data storage stop instruction sent by the background monitoring system is received within the specified time window, the operation data storage stop requirement is triggered; In the case that the data storage stop instruction sent by the background monitoring system is not received within the specified time window, the operation data storage stop requirement is triggered at the end moment of the specified time window.

7. The method according to any one of claims 1 to 3, characterized in that The obtaining of the operating data of the energy storage device within a preset time period includes: In the event of a target control device failure, obtaining a type of the target control device; the target control device includes the target controller or at least one of the following items connected to the target controller: an upper controller of the target controller, a lower controller of the target controller, a power controller, and a detection device; Determining a predetermined duration for data storage according to the type of the target control device, and obtaining a predetermined time window starting at the target time and having an interval of the predetermined duration; The operating data of the energy storage device collected within the predetermined time window is determined as the operating data within the preset time period.

8. The method according to any one of claims 1 to 3, characterized in that Before responding to the operation data storage demand of the energy storage device in the energy storage system, the method further includes: Storing the detected operating data of the energy storage device in a first-in-first-out queue provided inside the target controller; The obtaining of the operating data of the energy storage device within a preset time period includes: determining the operating data of the energy storage device stored in the first-in-first-out queue as the third part of operating data; Acquire a fourth portion of operating data within a time period starting from the target time and lasting for a target duration; The third portion of operating data and the fourth portion of operating data are combined to obtain operating data within the preset time period.

9. The method according to any one of claims 1 to 3, characterized in that The generating of data record content of the energy storage device during the preset period according to the trigger type of the operation data storage requirement and the operation data during the preset period includes: generating an operation data file for the preset period according to each time point within the preset period and the operation data of the energy storage device at each time point; generating a trigger summary parameter for the target time according to the trigger type of the operation data storage requirement, the target time, and the file identifier of the operation data file of the preset time period; The trigger summary parameters of the target moment and the operation data file of the preset period are merged to obtain the data record content of the preset period.

10. The method according to claim 9, characterized in that The storing of the data record content of the preset time period includes: Writing the trigger summary parameter of the target moment in the data record content of the preset time period into a preset write entry of a data table pre-established in the target controller; Determining a preset storage area associated with the preset write entry; The operation data file of the preset period of time among the data record contents of the preset period of time is stored in the preset storage area.

11. The method according to any one of claims 1 to 3, characterized in that The target controller is a first-level controller in a multi-level controller in the energy storage system; the method further includes: In response to a first read instruction sent by the background monitoring system, the data record content of at least one preset time period stored internally is packaged to generate a first package file; wherein the first read instruction instructs to read the data record content stored in the primary controller; Send the first package file to the background monitoring system.

12. The method according to any one of claims 1 to 3, characterized in that The target controller is a first-level controller in a multi-level controller in the energy storage system; the method further includes: In response to a second read instruction sent by the background monitoring system, the second read instruction is sent to a designated controller among the plurality of secondary controllers; the plurality of secondary controllers are all subordinate controllers of the primary controller, and the second read instruction instructs to read the data record content stored in the designated controller; receiving a second package file sent by the designated controller; the second package file is obtained by the designated controller packaging data record content of at least one preset time period stored internally; Send the second package file to the background monitoring system.

13. The method according to any one of claims 1 to 3, characterized in that The target controller is a lower-level controller of a first-level controller in a multi-level controller in the energy storage system; the method further includes: In response to a third read instruction sent by the primary controller, the data record content of at least one preset time period stored internally is packaged to obtain a third package file; the third read instruction instructs to read the data record content stored in the lower-level controller, and the third read instruction is received by the primary controller from the background monitoring system; The third package file is sent to the primary controller; the third package file is used by the primary controller to send to the background monitoring system.

14. An energy storage system, characterized in that: The energy storage system includes an energy storage container, a primary controller, a container detection device, multiple secondary controllers, and energy storage cabinet detection devices corresponding to each of the secondary controllers; the energy storage container includes multiple energy storage cabinets; The primary controller is connected to the energy storage container via the container detection device; Each of the secondary controllers is connected to each of the energy storage cabinets through each of the energy storage cabinet detection devices; When the primary controller and each of the plurality of secondary controllers execute the computer program, the steps of the method according to any one of claims 1 to 13 are implemented.

15. A data storage device, characterized in that: The data storage device comprises: A demand trigger module is configured to detect the operating data of the energy storage device, obtain a fault data range of the operating data of the energy storage device and a fault type of the fault data range, and determine a preset offset value that matches the fault type; determine a storage trigger range based on the fault data range and the preset offset value; wherein the storage trigger range is larger than the fault data range and covers the fault data range; upon detecting that the operating data of the energy storage device is within the storage trigger range, store the operating data of the energy storage device and obtain a start storage time of the operating data of the energy storage device; determine, based on the start storage time and the fault data range, a fault start time when the operating data of the energy storage device is fault operating data; an operating data acquisition module, configured to, in response to an operating data storage requirement of an energy storage device in an energy storage system, acquire operating data of the energy storage device within a preset period; the preset period includes a target time for responding to the operating data storage requirement; wherein the operating data storage requirement is triggered at least at the onset of the fault; A data record content generating module, configured to generate data record content of the energy storage device during the preset period according to a trigger type of the operation data storage requirement and the operation data during the preset period; The data storage module is used to store the data record content of the preset time period for acquisition by the background monitoring system.

16. A controller in an energy storage system, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method according to any one of claims 1 to 13 are implemented.

17. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 13 are implemented.

18. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 13 are implemented.

Citation Information

Patent Citations

  • Method, controller, system and vehicle for data recording

    CN117809473A