Remote debugging system and method for energy storage EMS device
By introducing FRP client and wireless communication modules into the energy storage EMS device and combining with the FRP server to achieve intranet penetration, the complex configuration and unstable connection problems in remote operation and maintenance of energy storage EMS are solved, and network configuration is simplified and power protocol compatibility is improved, ensuring the reliability and flexibility of remote operation and maintenance.
Patent Information
- Application Number
- CN202510442623.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-10
- Publication Date
- 2025-07-25
AI Technical Summary
The remote operation and maintenance of existing energy storage EMS devices has problems such as complex configuration, poor power protocol compatibility and poor connection stability.
It adopts FRP client and wireless communication module, combined with FRP server to realize intranet penetration technology, dynamically allocate a unique external network access IP address, supports multiple protocols, simplify network configuration and improve connection stability.
Simplifies the network configuration process, improves power protocol compatibility and connection stability, and ensures the reliability and flexibility of remote operation and maintenance.
Smart Images

Figure CN120378466A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of the Internet of Things, and particularly relates to a remote debugging system and method for an energy storage EMS device. Background Art
[0002] With the wide application of industrial and commercial energy storage power stations, the demand for remote operation and maintenance of energy storage EMS is increasing day by day. Currently, the operation and maintenance of energy storage EMS devices are realized by using VPN (Virtual Private Network), which has complex configuration, poor compatibility with power protocols and poor connection stability, and cannot meet the requirements of remote operation and maintenance of industrial and commercial energy storage power stations. Summary of the Invention
[0003] In view of this, embodiments of the present invention provide a remote debugging system and method for an energy storage EMS device, which are used to solve the problems of complex configuration, poor compatibility with power protocols and poor connection stability existing in the current remote operation and maintenance of energy storage EMS.
[0004] In the first aspect of the embodiments of the present invention, a remote debugging system for an energy storage EMS device is provided, including: An energy storage EMS device, which is used for energy collection, energy monitoring, energy scheduling and energy analysis of an energy storage system; Wherein, the energy storage EMS device includes an FRP client and a wireless communication module; The FRP client is used to apply for registration to an FRP server, receive a connection request from the FRP server, establish a connection with the FRP server, and forward the operation and maintenance request of the FRP server to the energy storage EMS device; The wireless communication module is used to establish a wireless communication connection between the energy storage EMS device and the FRP server based on the IP protocol; The FRP server is used to receive a registration request from the FRP client, allocate a unique external network access IP address for the energy storage EMS device, establish a connection with the FRP client according to the request of an operation and maintenance terminal, forward the operation and maintenance request of the operation and maintenance terminal, and receive the operation and maintenance data fed back by the FRP client; The operation and maintenance terminal is used to initiate a connection request to the FRP server, send an operation and maintenance request to the FRP server, and receive the operation and maintenance data returned by the FRP server.
[0005] In the second aspect of the embodiments of the present invention, a remote debugging method for an energy storage EMS device is provided, including: After deploying the FRP client in the energy storage EMS device, the FRP client initiates a registration request to the FRP server, and the FRP server responds to the registration request of the FRP client and allocates a unique external network access IP address for the energy storage EMS device; When the operation and maintenance terminal sends a connection request to the FRP server, the FRP server responds to the request of the operation and maintenance terminal and establishes a connection with the FRP client; The FRP server receives the operation and maintenance request sent by the operation and maintenance terminal, forwards the operation and maintenance request to the FRP client, and responds to the operation and maintenance request in the energy storage EMS device, and returns the operation and maintenance data through the FRP client.
[0006] In the third aspect of the embodiments of the present invention, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method described in the first aspect of the embodiments of the present invention are implemented.
[0007] In the fourth aspect of the embodiments of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method provided in the first aspect of the embodiments of the present invention are implemented.
[0008] In the embodiments of the present invention, based on the wireless communication module and the FRP intranet penetration technology, the problems existing in traditional VPN communication, such as complex configuration, poor compatibility with power protocols, and poor connection stability, are solved. By dynamically allocating a unique access address, it can adapt to the dynamic IP of the wireless network and support multiple protocols such as http and tcp, improving the flexibility and scalability of the system and enhancing the compatibility with power protocols. Through the FRP intranet penetration technology, the network configuration process is simplified, the connection stability during wireless network jitter is improved, and the reliability of remote operation and maintenance is ensured. At the same time, it is convenient for operation and maintenance personnel to remotely maintain the energy storage power station, saving manpower and material resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the following described drawings are only some embodiments of the present invention, and those of ordinary skill in the art can obtain other drawings without creative efforts based on these drawings.
[0010] Figure 1 It is a schematic structural diagram of a remote debugging system for an energy storage EMS device provided by an embodiment of the present invention; Figure 2 It is a partial flowchart of remote debugging of an energy storage EMS device provided by an embodiment of the present invention; Figure 3 It is a flowchart of a method for remote debugging of an energy storage EMS device provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0011] In order to make the objectives, features, and advantages of the present invention more obvious and understandable, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the embodiments described below are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts belong to the scope of protection of the present invention.
[0012] It should be understood that the term "including" and other similar expressions in the specification or claims of the present invention and the above-mentioned accompanying drawings mean covering non-exclusive inclusion. For example, a process, method, system, or device including a series of steps or units is not limited to the listed steps or units. In addition, "first" and "second" are used to distinguish different objects and are not used to describe a specific order.
[0013] Please refer to Figure 1 , a schematic structural diagram of a remote debugging system for an energy storage EMS device provided by an embodiment of the present invention, includes: An energy storage EMS device 10, which is used for energy collection, energy monitoring, energy scheduling, and energy analysis of an energy storage system; Among them, the energy storage EMS device 10 includes an FRP client 110 and a wireless communication module 120; The energy storage EMS (Energy Management System, that is, the power management system) device can be used to implement functions such as data collection, energy scheduling, energy monitoring, energy analysis, and safety protection of the energy storage system, and is connected to the external network through the wireless communication module 120.
[0014] The FRP client 110 is used to apply for registration with the FRP server 20, receive the connection request of the FRP server, establish a connection with the FRP server, and forward the operation and maintenance request of the FRP server to the energy storage EMS device; FRP (Fast Reverse Proxy) is an open-source reverse proxy tool for intranet penetration. It can securely expose the intranet service to external access through the public network and support protocols such as HTTP, HTTPs, TCP, and UDP.
[0015] The FRP client 110 is deployed in the energy storage EMS device 10 to realize the registration connection between the EMS device and the cloud penetration server, simplify network configuration and device management, and improve the usability and maintainability of the system.
[0016] After the FRP client 110 establishes a connection with the FRP server 20, it can forward the operation and maintenance request of the FRP server, and the energy storage EMS system can respond to the request of the FRP server and feedback the operation and maintenance data.
[0017] The wireless communication module 120 is used to establish a wireless communication connection between the energy storage EMS device 10 and the FRP server 20 based on the IP protocol; After the FRP server 20 initiates a connection request and the FRP client 110 receives the request, the energy storage EMS device 10 will verify the FRP server request and establish a wireless connection with the FRP server.
[0018] The wireless communication module 120 is integrated in the energy storage EMS device 10 to achieve a wireless communication connection between the device and the external network, support the mobile wireless communication network, and be able to adapt to the dynamic IP scenario.
[0019] Optionally, the wireless communication module 120 establishes a wireless communication connection between the energy storage EMS device and the FRP server based on the 4G network or 5G network.
[0020] The FRP server 20 is used to receive the registration request of the FRP client 110, allocate a unique external network access IP address for the energy storage EMS device, establish a connection with the FRP client according to the operation and maintenance terminal request, forward the operation and maintenance request of the operation and maintenance terminal, and receive the operation and maintenance data fed back by the FRP client; After establishing a connection with the energy storage EMS device 10, the FRP server 20 will forward the data from the operation and maintenance terminal and the data from the FRP client to each other, send the user request of the operation and maintenance terminal to the FRP client, and send the response data of the FRP client to the operation and maintenance terminal.
[0021] The FRP server 20 is deployed in the cloud and is responsible for establishing and managing the intranet penetration tunnel to achieve secure communication between the energy storage EMS device and the operation and maintenance terminal.
[0022] Among them, the FRP server 20 includes: The port setting unit is used to call the frps.toml file and configure the port of the FRP service by editing the frps.toml file.
[0023] In some embodiments, call the frpc.toml file on the energy storage EMS device, configure the address and port of the FRP server, and open the FRP client software; call the frps.toml configuration file in the cloud, set the penetration service port, and configure the access control policy and security audit function.
[0024] The operation and maintenance terminal 30 is used to initiate a connection request to the FRP server 20, send an operation and maintenance request to the FRP server, and receive the operation and maintenance data returned by the FRP server.
[0025] The operation and maintenance terminal is a movable device used by operation and maintenance personnel, such as a personal computer, a tablet, etc., which communicates with the energy storage EMS device through a browser or an ssh tool.
[0026] After the wireless communication module of the energy storage EMS device 10 is connected to the wireless network, it registers with the FRP server 20 through the FRP client 110 to establish an intranet penetration tunnel. The FRP server 20 assigns a unique external network access IP address to the energy storage EMS device 10, so that based on this access address, the connection between the FRP server and the energy storage EMS device can be realized, and users can access the energy storage EMS device through the FRP server.
[0027] In this embodiment, through the wireless communication module and the FRP intranet penetration technology, not only can the network configuration process in the remote operation and maintenance of the energy storage EMS be simplified, the power protocol compatibility be improved, but also the connection stability and reliability can be guaranteed.
[0028] It can be understood that through the dynamic IP of the wireless network, the network configuration process can be simplified, multiple protocols such as http and tcp can be supported, and the power protocol compatibility can be enhanced; through the FRP intranet penetration technology, the connection stability during wireless network jitter is improved.
[0029] In some embodiments, the energy storage EMS device is configured as an industrial control gateway product EM-500, and the wireless network module is configured as an EC20 4G communication module to ensure the high efficiency of data processing and transmission. At the same time, the FRP server is deployed on the Alibaba Cloud, which can have high availability and high load balancing capabilities.
[0030] In one embodiment, the sending of an operation and maintenance request to the FRP server includes: The operation and maintenance terminal 30 accesses the energy storage EMS device based on the external network access IP address and login credentials of the energy storage EMS device 10, and configures the system parameters of the energy storage EMS device.
[0031] The operation and maintenance personnel can access the web interface of the energy storage EMS device through a browser on the operation and maintenance terminal. By inputting the external network access IP address and login credentials of the energy storage EMS device, the system parameters of the energy storage EMS device can be configured based on the FRP server, such as charge and discharge strategies, power limits, etc.
[0032] In one embodiment, the sending of an operation and maintenance request to the FRP server includes: The operation and maintenance terminal 30 accesses the energy storage EMS device based on the external network access IP address and ssh login credentials of the energy storage EMS device 10, and views the running status and system logs of the energy storage EMS device.
[0033] Operation and maintenance personnel can use the ssh client software on the operation and maintenance terminal to access the energy storage EMS device. By using the external network access IP address and ssh login credentials of the energy storage EMS device, they can connect to the operating system of the energy storage EMS device to view information such as the operating status and system logs of the energy storage EMS device, so as to perform operations such as fault troubleshooting and performance optimization.
[0034] In another embodiment of the present invention, as Figure 2 shown, a partial flow diagram of remote debugging of the energy storage EMS device is provided, including: Step S21: The FRP client sends a registration request to the FRP server, and the FRP server responds to the request of the FRP client for registration; Step S22: When the operation and maintenance terminal sends a connection request to the FRP server; Step S23: The FRP server forwards the connection request to the FRP client; Step S24: The FRP client responds to the request and establishes a connection with the FRP server; In step S24, the FRP server and the energy storage EMS device will establish a network connection (i.e., an IP connection) based on the external network access IP address; Step S25: The FRP server forwards the data between the operation and maintenance terminal and the FRP client to each other.
[0035] It should be understood that the sequence numbers of the steps in the above embodiments do not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
[0036] Figure 3 This is a flow diagram of a method for remote debugging of an energy storage EMS device provided by an embodiment of the present invention. This method is implemented based on a remote debugging system for an energy storage EMS device, and includes: S301: After deploying the FRP client in the energy storage EMS device, the FRP client sends a registration request to the FRP server, and the FRP server responds to the registration request of the FRP client and assigns a unique external network access IP address to the energy storage EMS device; S302: When the operation and maintenance terminal sends a connection request to the FRP server, the FRP server responds to the request of the operation and maintenance terminal and establishes a connection with the FRP client; When the FRP server establishes a connection with the FRP client, the FRP server will establish a network connection with the energy storage EMS device based on the unique external network access IP address of the energy storage EMS device.
[0037] Among them, a wireless communication connection between the energy storage EMS device and the FRP server is established based on a 4G network or a 5G network.
[0038] S303. The FRP server receives the operation and maintenance request sent by the operation and maintenance terminal, forwards the operation and maintenance request to the FRP client, and responds to the operation and maintenance request in the energy storage EMS device, and returns the operation and maintenance data through the FRP client.
[0039] Optionally, call the frps.toml file and configure the port of the FRP service by editing the frps.toml file.
[0040] In one embodiment, the operation and maintenance terminal accesses the energy storage EMS device based on the external network access IP address and login credentials of the energy storage EMS device, and configures the system parameters of the energy storage EMS device.
[0041] In one embodiment, the operation and maintenance terminal accesses the energy storage EMS device based on the external network access IP address and ssh login credentials of the energy storage EMS device, and views the operation status and system logs of the energy storage EMS device.
[0042] Those of ordinary skill in the art can understand that all or part of the steps in the methods of the above embodiments can be implemented by an electronic device. The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed, it implements part or all of the processes in steps S301 to S303.
[0043] Those of ordinary skill in the art can also understand that all or part of the steps in the methods of the above embodiments can be completed by instructing relevant hardware through a program. The program can be stored in a computer-readable storage medium. When the program is executed, it implements part or all of the processes in steps S301 to S303. The storage medium includes, for example, ROM / RAM, etc. In the above embodiments, the descriptions of the various embodiments have their own emphases. For the parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0044] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and modules described above can refer to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0045] In the above embodiments, the descriptions of the various embodiments have their own emphases. For the parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0046] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A remote debugging system for an energy storage EMS device, characterized in that Comprising: An energy storage EMS device for energy acquisition, energy monitoring, energy scheduling, and energy analysis of an energy storage system; Wherein, the energy storage EMS device includes an FRP client and a wireless communication module; The FRP client is used to apply for registration with the FRP server, receive connection requests from the FRP server, establish a connection with the FRP server, and forward the operation and maintenance requests of the FRP server to the energy storage EMS device; The wireless communication module is used to establish a wireless communication connection between the energy storage EMS device and the FRP server based on the IP protocol; The FRP server is used to receive registration requests from the FRP client, assign a unique external network access IP address to the energy storage EMS device, establish a connection with the FRP client according to operation and maintenance terminal requests, forward operation and maintenance requests of the operation and maintenance terminal, and receive operation and maintenance data fed back by the FRP client; The operation and maintenance terminal is used to initiate a connection request to the FRP server, send operation and maintenance requests to the FRP server, and receive operation and maintenance data returned by the FRP server.
2. The system according to claim 1, characterized in that, The wireless communication module establishes a wireless communication connection between the energy storage EMS device and the FRP server based on a 4G network or a 5G network.
3. The system according to claim 1, wherein The FRP server includes: A port setting unit for calling the frps.toml file and configuring the port of the FRP service by editing the frps.toml file.
4. The system according to claim 1, characterized in that, The sending of operation and maintenance requests to the FRP server includes: The operation and maintenance terminal accesses the energy storage EMS device based on the external network access IP address and login credentials of the energy storage EMS device, and configures system parameters of the energy storage EMS device.
5. The system according to claim 1, wherein The sending of operation and maintenance requests to the FRP server includes: The operation and maintenance terminal accesses the energy storage EMS device based on the external network access IP address and ssh login credentials of the energy storage EMS device, and views the operating status and system logs of the energy storage EMS device.
6. A method for remotely debugging an energy storage EMS device using the remote debugging system of the energy storage EMS device as described in claim 1, characterized in that, Including: After deploying the FRP client in the energy storage EMS device, the FRP client initiates a registration request to the FRP server, and the FRP server responds to the registration request of the FRP client and assigns a unique external network access IP address to the energy storage EMS device; When the operation and maintenance terminal initiates a connection request to the FRP server, the FRP server responds to the request of the operation and maintenance terminal and establishes a connection with the FRP client; The FRP server receives the operation and maintenance requests sent by the operation and maintenance terminal, forwards the operation and maintenance requests to the FRP client, and responds to the operation and maintenance requests in the energy storage EMS device, and returns operation and maintenance data through the FRP client.
7. The method according to claim 6, characterized in that, The FRP server responds to the request of the operation and maintenance terminal and establishes a connection with the FRP client, including: Establishing a wireless communication connection between the energy storage EMS device and the FRP server based on a 4G network or a 5G network.
8. The method according to claim 6, wherein Before the FRP client initiates a registration request to the FRP server, it further includes: Calling the frps.toml file and configuring the port of the FRP service by editing the frps.toml file.
9. The method according to claim 6, wherein The FRP server receives the operation and maintenance requests sent by the operation and maintenance terminal, forwards the operation and maintenance requests to the FRP client, and responds to the operation and maintenance requests in the energy storage EMS device, including: Based on the external network access IP address and login credentials of the energy storage EMS device, the operation and maintenance terminal accesses the energy storage EMS device and configures the system parameters of the energy storage EMS device.
10. The method according to claim 6, wherein The FRP server receives the operation and maintenance request sent by the operation and maintenance terminal, forwards the operation and maintenance request to the FRP client, and the response to the operation and maintenance request in the energy storage EMS device includes: Based on the external network access IP address and ssh login credentials of the energy storage EMS device, the operation and maintenance terminal accesses the energy storage EMS device and views the running status and system logs of the energy storage EMS device.
Citation Information
Cited By
Crawler crane whole vehicle remote debugging method and system, electronic equipment and medium
CN121396964A