Energy storage EMS alarm accident backtracking system and method based on WebSocket

Through the energy storage EMS alarm accident traceback system based on WebSocket, real-time monitoring, diagnosis and traceback of abnormal alarms and accidents of energy storage equipment are realized, which solves the problem of the lack of alarm accident traceback function in the existing technology and improves the reliability of the system. and safety, reducing the workload of maintenance personnel.

CN118784444APending Publication Date: 2024-10-15BEIJING HUADIAN TIANREN ELECTRIC POWER CONTROL TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410872474.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The existing energy storage EMS system lacks an alarm accident traceback function and cannot intuitively and timely present the trend status of the equipment during the fault to the user, resulting in insufficient system stability, safety and prevention capabilities.

Method used

An energy storage EMS alarm accident traceback system based on WebSocket is adopted, including a time series database, a historical database, a data acquisition module, an alarm configuration module, an accident measurement point configuration module, a page control unit and a visual interface. Data is pushed in real time through a WebSocket long link to achieve real-time For monitoring, diagnosis and traceback, users can customize alarm rules according to needs and analyze the causes of abnormalities through accident traceback algorithms.

Benefits of technology

It improves the reliability and safety of the energy storage EMS system, provides intuitive historical data display and problem locating tools, reduces the workload of maintenance personnel, and improves work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118784444A_ABST
    Figure CN118784444A_ABST
Patent Text Reader

Abstract

According to the energy storage EMS alarm accident backtracking system and method based on the WebSocket provided by the invention, the energy storage EMS alarm accident backtracking method based on the WebSocket innovatively realizes the real-time monitoring, diagnosis and backtracking of the abnormal alarm and the accident of the energy storage equipment. Wherein an alarm configuration module is introduced, so that a user can customize an alarm rule according to specific requirements, and the system can quickly respond to an alarm event and analyze an abnormal reason through an accident backtracking algorithm. The real-time performance of the system is enhanced by adopting a WebSocket long connection pushing mode, and a visual historical data display and problem positioning tool is provided by a visual interface. The comprehensive innovative process enables the system to monitor and process the abnormal condition of the energy storage equipment more comprehensively, the reliability and safety of the energy storage EMS system are effectively improved, meanwhile, the workload of maintenance personnel is reduced, and therefore the working efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of energy storage management systems (EMS), and in particular to an energy storage EMS alarm accident backtracking system and method based on WebSocket communication, alarm data and a time series database. Background Art

[0002] At present, few energy storage EMS systems include the function of alarm accident backtracking. They only trigger the alarm mechanism when an accident occurs and display it in the form of status query. However, energy storage system equipment is usually equipped with a large number of sensors and monitoring equipment for real-time monitoring of battery, voltage, temperature, current and other parameters. These devices contain alarm points that continuously generate massive data. The data is collected and sent through websocket communication. The entire system undergoes a series of data preprocessing, time series analysis, fault detection and diagnosis, data visualization and other technologies to ensure that the energy storage system prompts in time when an accident occurs and confirms the alarm. Improve the system's stability, safety, reliability and ability to prevent future events. Summary of the invention

[0003] In order to solve the deficiencies in the prior art, the present invention provides an accident backtracking method in an energy storage EMS based on websocket communication, which can present alarm information and equipment trend status during the fault period to the user more intuitively and timely.

[0004] The present invention adopts the following technical solution.

[0005] The present invention provides an energy storage EMS alarm accident backtracking system based on WebSocket, comprising:

[0006] Time series database, used to store data generated by alarm points collected from equipment based on their historical changes;

[0007] Historical database, used to store historical data;

[0008] The data acquisition module is connected with the time series database, the alarm configuration module and the accident measurement point configuration module, and is used to send real-time alarm data to the user;

[0009] An alarm configuration module is used to import the information required for the alarm into the data acquisition module in the form of a file;

[0010] Accident measurement point configuration module, used to configure the accident measurement point;

[0011] The page control unit is used to control the progress and speed of sending historical data through websocket;

[0012] Visualization interface for graphical display of historical data and monitoring inversion.

[0013] Preferably, the historical data stored in the historical database is the historical alarm data required to provide graphics and monitoring pages for accident backtracking.

[0014] The present invention also provides a WebSocket-based energy storage EMS alarm accident backtracking method, which is a method for using the aforementioned WebSocket-based energy storage EMS alarm accident backtracking system, comprising:

[0015] Step 1: According to the alarm point on the equipment, the user configures the alarm rules in the system according to the data of the alarm point, sets the fault code and alarm level; the alarm configuration module imports the file used to configure the type information, and writes the measurement point information into the time series database;

[0016] Step 2: Combine data collection with the model according to the accident backtracking algorithm. The time series database establishes a long websocket link to collect data and send it to the data acquisition module. The data acquisition module processes real-time data, triggers the alarm push mechanism, and pushes it to the user. At the same time, the historical change data obtained by the data acquisition module is stored in the time series database module.

[0017] Step three, send the historical accident timestamps that need to be traced back to the page control unit, control the progress and speed of sending historical data through the websocket through the page control unit, and complete the graphic display and monitoring inversion through the visualization interface.

[0018] Preferably, the step 1 comprises:

[0019] Create a new alarm configuration rule, set the rule name, type, expression and alarm information; import the alarm information file, import the equipment measurement point information configuration file, and the equipment alarm level.

[0020] Preferably, the accident backtracking algorithm steps in step 2 are:

[0021] (1) Data collection: Collect historical data from the monitoring devices and sensors of the energy storage system, including battery status, voltage, current, temperature, and event records;

[0022] (2) Data preprocessing: cleaning, anomaly detection and interpolation of collected data;

[0023] (3) Time series analysis: Through time series analysis methods, we can identify the behavior patterns of the system under different conditions and find out the time and characteristics of abnormal events;

[0024] (4) Fault detection and diagnosis: Use fault detection algorithms to detect and identify abnormal behavior in the system, and then use diagnostic algorithms to find the cause of the abnormality;

[0025] (5) Data visualization: Use visualization tools to display analysis results in the form of charts, graphs, or dashboards.

[0026] Preferably, the step three comprises:

[0027] Step 3.1, the history database transmits the data to the page control unit, which has the functions of play, pause, fast forward, fast rewind, reset and screenshot;

[0028] In step 3.2, the user sends the historical timestamp as the request parameter, establishes a websocket long connection through the page control unit and retrieves the required data, and transmits the data to the visualization interface for display.

[0029] Preferably, the functions of the page control unit include:

[0030] Drag the progress bar, fast forward, and fast rewind to any time point on the monitoring page; take a screenshot of the current page and save it to extract key information status.

[0031] Preferably, the workflow of websocket in step 3 includes:

[0032] (1) The client page is opened, and the system establishes a websocket link with the server program in real time. This link remains long during the session and obtains the json data transmitted by the server program in real time;

[0033] (2) After receiving the data, the client code parses the data, displays it in real time on a visual interface, and pushes it to the user;

[0034] (3) The acquired historical change data is stored in the historical database.

[0035] The present invention also provides a terminal, including a processor and a storage medium; the characteristics are:

[0036] The storage medium is used to store instructions;

[0037] The processor is configured to operate according to the instructions to execute the steps of any of the aforementioned methods.

[0038] The present invention also provides a computer-readable storage medium having a computer program stored thereon, characterized in that when the program is executed by a processor, the steps of any of the aforementioned methods are implemented.

[0039] The beneficial effect of the present invention is that, compared with the prior art, the energy storage EMS alarm accident backtracking method based on WebSocket innovatively realizes the real-time monitoring, diagnosis and backtracking of abnormal alarms and accidents of energy storage equipment. Among them, an alarm configuration module is introduced to enable users to customize alarm rules according to specific needs. The system can quickly respond to alarm events and analyze the causes of abnormalities through accident backtracking algorithms. The use of WebSocket long connection push method enhances the real-time performance of the system, while the visual interface provides an intuitive historical data display and problem location tool. This comprehensive innovative process enables the system to more comprehensively monitor and handle abnormal situations of energy storage equipment, effectively improving the reliability and safety of the energy storage EMS system, while reducing the workload of maintenance personnel, thereby improving work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a schematic diagram of the flow of the energy storage EMS alarm accident backtracking method based on WebSocket in the present invention. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical scheme and advantages of the present invention clearer, the technical scheme of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The embodiments described in this application are only part of the embodiments of the present invention, not all of them. Based on the spirit of the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the scope of protection of the present invention.

[0042] Referring to the accident backtracking flow chart, the energy storage EMS system alarm accident backtracking method of the present invention includes a time series database, a historical database, a data acquisition module, an alarm configuration module, an accident measurement point configuration module, a page control unit, and a visualization interface. The page control unit is respectively connected to the historical database, the data acquisition module, and the visualization interface, and the user controls whether to display; the historical database acquires the data of historical changes in the data acquisition module, and the data acquisition module is connected to the time series database.

[0043] In the present invention, the time series database stores the data generated by the alarm points collected from the device according to their historical changes, which is json data with timestamp and status. The introduction of websocket in the backtracking system reduces the cyclic timing request from the client page (generally, the system request uses the http protocol, and the front-end setInterval calls the function regularly, and returns the measurement point data for demonstration by continuously sending requests every few seconds. SetInterval is a front-end technical means, a function that implements timed calls, and can call functions or calculate expressions according to a specified period (in milliseconds). The setInterval method will call the function continuously until clearInterval is called or the window is closed.) The memory overflow problem may be caused by excessive data volume, and the websocket long connection real-time push is a major innovation of the present invention. The introduction and implementation steps are as follows:

[0044] WebSocket (WEBSOCKET) long connection push is a communication protocol used in network applications, which allows a persistent two-way communication connection to be established between the client and the server for real-time data transmission. This connection method is suitable for applications that require real-time updates, such as online chat, real-time collaboration tools, stock market data updates, multiplayer games, etc.

[0045] Websocket implementation requires the following steps:

[0046] The client and server establish a WebSocket connection: The client uses a WebSocket client library (such as JavaScript's WebSocket API) to establish a connection with the server. The server also needs to support the WebSocket protocol. Some popular back-end technology frameworks such as Node.js (using the Socket.io library), Python (using the WebSocket module), and Java (using the Java WebSocket API) all provide WebSocket support.

[0047] Handshake: When establishing a connection, the client sends a WebSocket handshake request to the server, and the server responds to confirm the connection. This process is similar to the HTTP handshake, but the subsequent communication is based on the WebSocket protocol.

[0048] Data transmission: Once the connection is established, the client and server can transmit data in real time through the WebSocket connection. The data can be text, binary data, or other custom formats, depending on the application requirements.

[0049] Keep the connection active: WebSocket connections are persistent, but to ensure that the connection is continuous, the client and server usually send heartbeat messages regularly. If the connection is accidentally disconnected, the client and server will retry to establish the connection.

[0050] The present invention provides an energy storage EMS alarm accident backtracking system based on WebSocket, comprising:

[0051] Time series database, used to store data generated by alarm points collected from equipment based on their historical changes;

[0052] Historical database, used to store historical data;

[0053] The data acquisition module is connected with the time series database, the alarm configuration module and the accident measurement point configuration module, and is used to send real-time alarm data to the user;

[0054] An alarm configuration module is used to import the information required for the alarm into the data acquisition module in the form of a file;

[0055] Accident measurement point configuration module, used to configure the accident measurement point;

[0056] The page control unit is used to control the progress and speed of sending historical data through websocket;

[0057] Visualization interface for graphical display of historical data and monitoring inversion.

[0058] Preferably, the historical data stored in the historical database is the historical alarm data required to provide graphics and monitoring pages for accident backtracking. The visualization page can be displayed in various forms such as charts, overall monitoring pages, flashing light signs, automatic refresh polling of alarm information, etc., to display the received historical data.

[0059] like Figure 1 As shown, the present invention also provides a method for tracing back energy storage EMS alarm accidents based on WebSocket, and the method is a method for using the aforementioned method for tracing back energy storage EMS alarm accidents based on WebSocket, comprising:

[0060] Step 1: According to the alarm point on the equipment, the user configures the alarm rules in the system according to the data of the alarm point, sets the fault code and alarm level; the alarm configuration module imports the file used to configure the type information, and writes the measurement point information into the time series database;

[0061] Create a new alarm configuration rule, set the rule name, type, expression and alarm information; import the alarm information file, import the equipment measurement point information configuration file, and the equipment alarm level.

[0062] According to the alarm point on the device, the user configures the alarm rules in the system according to the data of the alarm point, such as Boolean alarm. Set the fault code (the fault code of the device on the device is set), and set the alarm level; the alarm configuration module imports the file used to configure the type information, and writes the measurement point information into the database. There will be some alarm point states on the device, such as 0 for normal and 1 for alarm. According to the severity of the alarm level and the equipment fault code, it can be determined which part has a fault, so that users can better identify and locate the fault and repair it in time.

[0063] Step 2: Combine data collection with the model according to the accident backtracking algorithm. The time series database establishes a long websocket link to collect data and send it to the data acquisition module. The data acquisition module processes real-time data, triggers the alarm push mechanism, and pushes it to the user. At the same time, the historical change data obtained by the data acquisition module is stored in the time series database module.

[0064] Preferably, the accident backtracking algorithm steps are:

[0065] (1) Data collection: Collect historical data from the monitoring devices and sensors of the energy storage system, including battery status, voltage, current, temperature, and event records;

[0066] (2) Data preprocessing: cleaning, anomaly detection and interpolation of collected data;

[0067] (3) Time series analysis: Through time series analysis methods, we can identify the behavior patterns of the system under different conditions and find out the time and characteristics of abnormal events;

[0068] (4) Fault detection and diagnosis: Use fault detection algorithms to detect and identify abnormal behavior in the system, and then use diagnostic algorithms to find the cause of the abnormality;

[0069] (5) Data visualization: Use visualization tools to display analysis results in the form of charts, graphs, or dashboards.

[0070] Step three, send the historical accident timestamps that need to be traced back to the page control unit, control the progress and speed of sending historical data through the websocket through the page control unit, and complete the graphic display and monitoring inversion through the visualization interface.

[0071] Step 3.1, the history database transmits the data to the page control unit, which has the functions of play, pause, fast forward, fast rewind, reset and screenshot;

[0072] In step 3.2, the user sends the historical timestamp as the request parameter, establishes a websocket long connection through the page control unit and retrieves the required data, and transmits the data to the visualization interface for display.

[0073] Preferably, the workflow of the websocket includes:

[0074] (1) The client page is opened, and the system establishes a websocket link with the server program in real time. This link remains long during the session and obtains the json data transmitted by the server program in real time;

[0075] (2) After receiving the data, the client code parses the data, displays it in real time on a visual interface, and pushes it to the user;

[0076] (3) The acquired historical change data is stored in the historical database.

[0077] Preferably, by sending the timestamp of the historical accident that needs to be traced back to the page control unit, the page control unit can control the progress and speed of the websocket sending historical data, and can pause, continue, fast forward, rewind, and take screenshots. Similar to the video format, there is a progress bar at the bottom of the page that can also be dragged. In the selected historical time period, a websocket request is initiated according to the historical event point, and the request interval can be customized until the request reaches the last time point, and the websocket request is closed. The progress bar can be dragged to the time point you want to see, and a request is initiated at this time to display the status of the current measuring point. You can also manually click the button to set a time of 15 seconds for fast forward / rewind once. Pause means closing the websocket request at the current time point, and continue to send the websocket request at a tentative time point, or at the time point to which it is dragged. Screenshots can be taken at any time during the request process, or they can be taken after the current page is temporarily fixed to display the content and data status. At the same time, the measuring point information that has been configured in the accident measuring point configuration module is matched to obtain the data that needs to be displayed on the visualization interface, so as to complete the graphic display and monitoring inversion functions on the visualization page.

[0078] Preferably, the functions of the page control unit include:

[0079] Drag the progress bar, fast forward, and fast rewind to any time point on the monitoring page; take a screenshot of the current page and save it to extract key information status.

[0080] Optimize, improve and preventive measures: Based on the analysis results, propose improvement measures, which may include modifying the system design, improving the operation and maintenance process, or updating equipment components. Each energy storage device component has a fixed measurement point code, fault code, and its normal operating range; when professional operation and maintenance personnel conduct daily inspections, if they find abnormal curves or fault conditions when checking historical time data, they will quickly locate the component based on the measurement point code of each component, so as to conduct troubleshooting and repair.

[0081] The following further describes the overall operation process of the energy storage EMS system alarm accident backtracking method:

[0082] The equipment alarm points are stored in the time series database through data collection, and the files are imported into the data acquisition module from the alarm configuration module and the accident measurement point configuration module;

[0083] The time series database establishes a websocket long link to transmit it to the data acquisition module; the data acquisition module processes the data and pushes the real-time data to the user in a timely manner in the form of a pop-up window. The user can choose to view the push at this time and jump to the visualization page at the same time, or refuse to view it. At this time, the alarm prompt will always exist;

[0084] When the user needs to view the accident information, the historical timestamp and other parameters are sent to the page control unit. The page control unit queries the data in the historical time period, clicks play to establish a websocket connection, and returns the data according to the time on the page control unit. At the same time, the progress bar can be dragged, fast-forwarded, and rewound to the time point of the monitoring page you want to view. You can also take a screenshot at the current time point and save it to extract the key information status. At this point, you can view the information and data change trends of all devices on the page.

[0085] The present invention realizes the energy storage EMS system alarm accident backtracking method by combining the acquisition of alarm information at any time from the historical database and the acquisition of real-time data push from the time series database. Effectively monitor various alarm events generated by energy storage equipment and transmit them to the system in a timely manner through the websocket channel; timely analyze the causes and effects of alarm events and systematically reverse the abnormal operations that lead to alarms, so that operation and maintenance personnel can improve the operation and maintenance process or update equipment components; effectively improve the reliability and safety of the system.

[0086] The original equipment maintenance mode is to check each component after the equipment fails and stops working, determine the specific faulty equipment and the cause, and then replace the components. This takes a long time and the system cannot operate normally for a while. Using this system, the faulty components can be quickly located according to the number, fault code, fault status, threshold and other information of the components configured in the equipment; and the historical data saved in the database during its operation can be demonstrated for a certain period of time, and its value changes within the time period can be analyzed to determine the cause and replace the components. It greatly reduces the workload of operation and maintenance personnel, improves work efficiency, and ensures that the system can operate safely and effectively.

[0087] The beneficial effect of the present invention is that, compared with the prior art, the energy storage EMS alarm accident backtracking method based on WebSocket innovatively realizes the real-time monitoring, diagnosis and backtracking of abnormal alarms and accidents of energy storage equipment. Among them, an alarm configuration module is introduced to enable users to customize alarm rules according to specific needs. The system can quickly respond to alarm events and analyze the causes of abnormalities through accident backtracking algorithms. The use of WebSocket long connection push method enhances the real-time performance of the system, while the visual interface provides an intuitive historical data display and problem location tool. This comprehensive innovative process enables the system to more comprehensively monitor and handle abnormal situations of energy storage equipment, effectively improving the reliability and safety of the energy storage EMS system, while reducing the workload of maintenance personnel, thereby improving work efficiency.

[0088] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.

[0089] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0090] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0091] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.

[0092] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A WebSocket-based energy storage EMS alarm accident backtracking system, include: Time series database, used to store data generated by alarm points collected from equipment based on their historical changes; Historical database, used to store historical data; The data acquisition module is connected with the time series database, the alarm configuration module and the accident measurement point configuration module, and is used to send real-time alarm data to the user; An alarm configuration module is used to import the information required for the alarm into the data acquisition module in the form of a file; Accident measurement point configuration module, used to configure the accident measurement point; The page control unit is used to control the progress and speed of sending historical data through websocket; Visualization interface for graphical display of historical data and monitoring inversion.

2. According to claim 1, a WebSocket-based energy storage EMS alarm accident backtracking system, Features: The historical data stored in the historical database is the historical alarm data required to provide graphics and monitoring pages for accident backtracking.

3. A WebSocket-based energy storage EMS alarm accident backtracking method, the method is a method for using a WebSocket-based energy storage EMS alarm accident backtracking system as described in the aforementioned claims 1-2, include: Step 1: According to the alarm point on the equipment, the user configures the alarm rules in the system according to the data of the alarm point, and sets the fault code and alarm level; The alarm configuration module imports the file used to configure the type information and writes the measurement point information into the time series database; Step 2: Combine data collection with the model according to the accident backtracking algorithm. The time series database establishes a long websocket link to collect data and send it to the data acquisition module. The data acquisition module processes real-time data, triggers the alarm push mechanism, and pushes it to the user. At the same time, the historical change data obtained by the data acquisition module is stored in the time series database module. Step three, send the historical accident timestamps that need to be traced back to the page control unit, control the progress and speed of sending historical data through the websocket through the page control unit, and complete the graphic display and monitoring inversion through the visualization interface.

4. According to claim 3, a WebSocket-based energy storage EMS alarm accident backtracking method, Features: The step one comprises: Create a new alarm configuration rule, set the rule name, type, expression and alarm information; import the alarm information file, import the equipment measurement point information configuration file, and the equipment alarm level.

5. According to claim 4, a WebSocket-based energy storage EMS alarm accident backtracking method, Features: The accident backtracking algorithm steps in step 2 are: (1) Data collection: Collect historical data from the monitoring devices and sensors of the energy storage system, including battery status, voltage, current, temperature, and event records; (2) Data preprocessing: cleaning, anomaly detection and interpolation of collected data; (3) Time series analysis: Through time series analysis methods, we can identify the behavior patterns of the system under different conditions and find out the time and characteristics of abnormal events; (4) Fault detection and diagnosis: Use fault detection algorithms to detect and identify abnormal behavior in the system, and then use diagnostic algorithms to find the cause of the abnormality; (5) Data visualization: Use visualization tools to display analysis results in the form of charts, graphs, or dashboards.

6. According to claim 5, a WebSocket-based energy storage EMS alarm accident backtracking method, Features: The step three comprises: Step 3.1, the history database transmits the data to the page control unit, which has the functions of play, pause, fast forward, fast rewind, reset and screenshot; In step 3.2, the user sends the historical timestamp as the request parameter, establishes a websocket long connection through the page control unit and retrieves the required data, and transmits the data to the visualization interface for display.

7. According to claim 6, a WebSocket-based energy storage EMS alarm accident backtracking method, Features: The functions of the page control unit include: Drag the progress bar, fast forward, and rewind to any time point on the monitoring page; take a screenshot of the current page and save it to extract key information status.

8. According to claim 6, a WebSocket-based energy storage EMS alarm accident backtracking method, Features: The workflow of websocket in step 3 includes: (1) The client page is opened, and the system establishes a websocket link with the server program in real time. This link remains long during the session and obtains the json data transmitted by the server program in real time; (2) After receiving the data, the client code parses the data, displays it in real time on a visual interface, and pushes it to the user; (3) The acquired historical change data is stored in the historical database.

9. A terminal comprising a processor and a storage medium; Features: The storage medium is used to store instructions; The processor is configured to operate according to the instructions to execute the steps of the method according to any one of claims 1-8.

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