A method for remote management of charging piles

By establishing a long TCP connection between the charging pile and the operation and maintenance platform and using the FRP remote tunnel mechanism to dynamically allocate service port numbers, remote login and debugging of the charging pile are realized, solving the problem of insufficient remote debugging in the existing charging pile management and improving operational efficiency and user experience.

CN119682599BActive Publication Date: 2025-11-14SHENZHEN SINEXCEL ELECTRIC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411869121.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-18
Publication Date
2025-11-14
Estimated Expiration
2044-12-18

AI Technical Summary

Technical Problem

Existing charging stations lack remote debugging capabilities, are slow to handle sudden anomalies, have a high risk of operational interruption, and suffer serious waste of resources, resulting in poor user experience and unstable operation.

Method used

By establishing a long TCP connection between the charging pile and the operation and maintenance platform, dynamically allocating service port numbers, and using the FRP remote tunneling mechanism, remote login and debugging are achieved. The remote login function is integrated into the operation and maintenance platform to monitor and manage the status of the charging pile in real time.

Benefits of technology

It enables efficient remote management of charging piles, reduces the need for on-site dispatch, improves operation and maintenance efficiency, reduces labor costs and resource waste, and ensures the stable operation of charging piles and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119682599B_ABST
    Figure CN119682599B_ABST
Patent Text Reader

Abstract

This invention discloses a remote management method for charging piles, belonging to the field of charging pile technology. In this invention, the charging pile uploads its operational status information to the operation and maintenance platform via a TCP long connection. When a user needs to perform remote debugging, the operation and maintenance platform dynamically assigns a service port number to the charging pile. The charging pile starts an FRP client and establishes a remote tunnel connection with the FRP server on the operation and maintenance platform through the service port number. Then, the user can remotely log in to the charging pile for debugging through the remote login function embedded in the operation and maintenance platform. This invention innovatively applies the FRP remote tunnel mechanism to the field of remote charging pile management, achieving a remote debugging function for charging piles that combines security and high efficiency. This helps operation and maintenance personnel to promptly handle abnormal problems with charging piles, effectively reducing the risk of charging pile operation interruption, improving operation and maintenance efficiency, and reducing labor costs and resource waste.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of charging pile technology, and in particular to a method for remote management of charging piles. Background Technology

[0002] With the increasing popularity of electric vehicles, charging stations have become a widely used critical infrastructure. However, existing charging station products on the market generally suffer from shortcomings in remote management and maintenance, mainly in the following aspects:

[0003] 1. Lack of remote debugging capabilities: Most charging stations cannot be logged into and debugged remotely. When equipment malfunctions, it is usually necessary to send R&D personnel to the site for troubleshooting and repair. This reliance on on-site operation is not only inefficient but also significantly impacts the normal operation of the charging stations.

[0004] 2. Delayed Handling of Sudden Anomalies: In the event of a sudden anomaly, technical personnel must be dispatched urgently to the site to analyze the problem. Due to factors such as transportation, it often takes several hours for technical personnel to arrive on site. During this time, the fault may have already resolved itself or may not be reproducible after the technical personnel arrive, making it difficult to accurately analyze and resolve the problem in a timely manner.

[0005] 3. High risk of operational disruption: Due to the above reasons, the normal external service of charging piles is easily affected, which may lead to a poor charging experience for users and thus affect the stability and reliability of the entire charging network.

[0006] 4. Serious waste of resources: Frequent on-site dispatch not only increases labor costs, but may also lead to unnecessary waste of resources, especially when the fault is self-healing or the problem cannot be reproduced, the attendance of technicians becomes inefficient and unnecessary.

[0007] Therefore, it is of great significance to develop a charging pile management system that can support remote login, debugging, and fault diagnosis. Summary of the Invention

[0008] The technical problem to be solved by the present invention is to provide a remote management method for charging piles, which addresses the above-mentioned deficiencies of the prior art. By introducing remote management functions, the efficiency of problem handling can be significantly improved, the need for on-site dispatch can be reduced, the efficient and stable operation of charging piles can be ensured, and the user experience and service quality can be enhanced.

[0009] To achieve the above objectives, the present invention provides a method for remote management of charging piles, the method comprising the following steps:

[0010] Step S1: When the charging pile is activated, the basic information of the charging pile is entered into the operation and maintenance platform. The basic information includes the device identification code.

[0011] Step S2: The charging pile communicates with the operation and maintenance platform via a TCP long connection and uploads its operating status information to the operation and maintenance platform according to a preset protocol;

[0012] Step S3: In response to the user's request to obtain the device address, the operation and maintenance platform dynamically generates a service port number based on the device identification code of the charging pile, and returns the service port number to the charging pile through the TCP long connection;

[0013] Step S4: The charging pile starts the FRP client and establishes a remote tunnel connection with the FRP server on the operation and maintenance platform through the service port number; after the remote tunnel connection is successfully established, the charging pile sends a connection success message to the operation and maintenance platform through the TCP long connection.

[0014] In step S5, the operation and maintenance platform responds to the user's remote connection request by executing a remote login command and pops up the remote debugging window of the charging pile.

[0015] In the remote management method for charging piles of the present invention, the method further includes the following steps before step S1:

[0016] Each charging station is assigned a unique charging station device identification code at the factory.

[0017] In the remote management method for charging piles of the present invention, the specific method for dynamically generating the service port number based on the device identification code of the charging pile in step S3 is as follows:

[0018] A hash operation is performed on the device identification code, and the result of the hash operation is modulo 65535 to obtain the port number to be assigned. It is then determined whether the port number to be assigned conflicts with the service port number of other charging pile devices that are undergoing remote debugging. If there is a conflict, the port number to be assigned is incremented by 1, and the conflict is checked again until a non-conflicting port number to be assigned is found and used as the service port number.

[0019] In the remote management method for charging piles of the present invention, the basic information in step S1 further includes customer name, site address, charging station name, charging pile model, and power.

[0020] In the remote management method for charging piles of the present invention, after step S4, the method further includes: the operation and maintenance platform displays the remote access address of the charging pile on the management page.

[0021] The remote management method for charging piles of the present invention also includes:

[0022] The charging pile monitors in real time whether the remote tunnel is open. If it is open, the remote tunnel connection is closed after a preset time.

[0023] This invention offers the following advantages: In this solution, the charging pile uploads its operational status information to the maintenance platform via a long TCP connection. When remote debugging is required, the maintenance platform dynamically assigns a service port number to the charging pile. The charging pile then starts an FRP client to establish a remote tunnel connection with the FRP server on the maintenance platform through the service port number. Users can then remotely log in to the charging pile for debugging using the remote login function embedded in the maintenance platform. This invention innovatively applies the FRP remote tunnel mechanism to the field of remote charging pile management, achieving a remote debugging function for charging piles that combines security and high efficiency. This helps maintenance personnel promptly handle abnormal charging pile issues, effectively reducing the risk of charging pile operational interruptions, improving maintenance efficiency, and reducing labor costs and resource waste. Attached Figure Description

[0024] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this invention, illustrate exemplary embodiments of the invention and are used to explain the invention, but do not constitute an undue limitation of the invention. In the drawings:

[0025] Figure 1 This is a schematic diagram illustrating the steps of a remote management method for charging piles provided in an embodiment of the present invention.

[0026] Figure 2 This is a sequence diagram of a remote management method for charging piles provided in an embodiment of the present invention.

[0027] Figure 3 This is a schematic diagram of the remote management page for charging piles on the operation and maintenance platform provided in an embodiment of the present invention.

[0028] Figure 4 This is a schematic diagram of a remote debugging page for a charging pile provided in an embodiment of the present invention. Detailed Implementation

[0029] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0030] The embodiments of the present invention will now be described in further detail with reference to the accompanying drawings. It should be understood that the embodiments described herein are for illustrative and explanatory purposes only and are not intended to limit the scope of the invention.

[0031] The remote management method for charging piles provided in this embodiment of the invention is suitable for remote debugging of charging pile equipment on an operation and maintenance platform.

[0032] like Figures 1-2 As shown in the figure, this invention provides a method for remote management of charging piles, which includes the following steps:

[0033] Step S1: When the charging pile is activated, the basic information of the charging pile is entered into the operation and maintenance platform. The basic information includes the device identification code.

[0034] To facilitate unified management of charging piles on the operation and maintenance platform, each charging pile from the same manufacturer must have a unique device identification code. In this embodiment of the invention, the method prior to step S1 includes:

[0035] Each charging station is assigned a unique device identification code at the factory. In this embodiment of the invention, the device identification code is a combination of a string and numbers.

[0036] In this embodiment of the invention, the basic information in step S1 further includes the customer name, site address, charging station name, charging pile model, and power. This information constitutes basic operation and maintenance information used to manage the charging pile equipment.

[0037] In step S2, the charging pile communicates with the operation and maintenance platform via a TCP long connection and uploads its operating status information to the operation and maintenance platform according to a preset protocol.

[0038] In this embodiment of the invention, after the charging pile is activated, it maintains communication with the operation and maintenance platform via a persistent TCP connection, uploading operational status information to the platform according to a preset protocol. The preset protocol is a data communication protocol negotiated between the charging pile and the operation and maintenance platform. The operational status information includes basic information about the charging equipment and operational information about the charging pile. Therefore, the operation and maintenance platform can view the operational information of each charging pile in real time. When an anomaly is detected in the operational information of a charging pile, remote debugging of the malfunctioning charging pile can be performed directly through the operation and maintenance platform, effectively improving operation and maintenance efficiency.

[0039] In step S3, the operation and maintenance platform responds to the user's request to obtain the device address, dynamically generates a service port number based on the device identification code of the charging pile, and returns the service port number to the charging pile through the TCP long connection.

[0040] In this embodiment of the invention, multiple charging piles may connect to the operation and maintenance platform simultaneously. To avoid port conflicts, the operation and maintenance platform dynamically assigns a service port number to each charging pile. Before remotely debugging the charging pile through the operation and maintenance platform, the user needs to trigger the platform to assign a service port number to the charging pile. Specifically, the user can access the operation and maintenance platform... Figure 3On the management page of the target charging pile shown, clicking the "Get Address" button will cause the operation and maintenance platform to dynamically assign a service port number to the charging pile in response to the user's operation.

[0041] In this embodiment of the invention, the specific method for dynamically generating the service port number based on the device identification code of the charging pile is as follows:

[0042] A hash operation is performed on the device identification code, and the result of the hash operation is modulo 65535 to obtain the port number to be assigned. It is then determined whether the port number to be assigned conflicts with the service port number of other charging pile devices that are undergoing remote debugging. If there is a conflict, the port number to be assigned is incremented by 1, and the conflict is checked again until a non-conflicting port number to be assigned is found and used as the service port number.

[0043] This invention innovatively applies the FRP (Fast Reverse Proxy) remote tunneling mechanism to the field of remote management of charging piles. To adapt to application scenarios where numerous charging piles are managed through a single operation and maintenance platform, the platform dynamically assigns a service port number to each charging pile. Specifically, the platform hashes the device identification code of each charging pile and modulo the result to 65535 (the maximum number of available ports), ensuring that each charging pile obtains a unique port number. This method effectively avoids port conflicts and guarantees the stability and reliability of multiple charging piles online simultaneously. After each dynamic generation of a new service port number, the platform checks whether the newly generated service port number conflicts with the service numbers of other charging piles undergoing remote debugging. Even when the number of charging piles under the same operation and maintenance platform exceeds 65535, conflicts can still be effectively avoided.

[0044] Step S4: The charging pile starts the FRP client and establishes a remote tunnel connection with the FRP server on the operation and maintenance platform through the service port number; after the remote tunnel connection is successfully established, the charging pile sends a connection success message to the operation and maintenance platform through the TCP long connection.

[0045] In this embodiment of the invention, after receiving the service port number sent by the operation and maintenance platform, the charging pile starts the FRP client and establishes a remote tunnel connection with the FRP server on the operation and maintenance platform through the service port number.

[0046] In step S5, the operation and maintenance platform responds to the user's remote connection request by executing a remote login command and pops up the remote debugging window of the charging pile.

[0047] like Figure 3As shown, in some embodiments of the present invention, when a user clicks the "Connect" button on the operation and maintenance platform management page, the operation and maintenance platform executes a remote login command, and a command line window for the charging pile pops up. Specifically, in some embodiments of the present invention, when the "Connect" button on the operation and maintenance platform management page is clicked, the front end calls the browser plugin vue-web-terminal to execute the remote login command.

[0048] In existing technologies, users need to first query the FRP client's port number through the management page provided by the FRP server, and then manually enter this address into a third-party remote login tool to remotely log in to the charging pile. This process is not only cumbersome but also prone to errors, reducing the efficiency of remote management. In this embodiment of the invention, a remote login function is integrated into the operation and maintenance platform, allowing users to directly invoke the remote login function within the platform's management page without needing to enter the client address. Users simply click the corresponding button to directly remotely log in to the charging pile, and a pop-up window will appear... Figure 4 The image shows the remote debugging window for the charging station. This improvement significantly enhances the convenience and efficiency of remote login operations, simplifies user steps, reduces the possibility of human error, and improves the overall operation and maintenance experience.

[0049] It is understood that in this embodiment of the invention, the IP address of the operation and maintenance platform server is a public IP address. Users can access the management page provided by the operation and maintenance platform through any computer terminal connected to the operation and maintenance platform server. The management page enables remote debugging of charging piles without relying on third-party tools or manual environment configuration, thus simplifying user operations. This solution achieves secure remote debugging of charging piles, enabling timely handling of problems occurring at the charging piles, avoiding operational interruptions, and reducing labor costs and resource waste.

[0050] In this embodiment of the invention, after step S4, the method further includes: the operation and maintenance platform displays the remote access address of the charging pile on the management page. For example... Figure 3As shown, after the user clicks the "Get Address" button, the operation and maintenance platform dynamically assigns a service port number to the charging pile. Upon receiving the service port number, the charging pile starts its FRP client and establishes a remote tunnel connection with the FRP server on the operation and maintenance platform through the service port number. After the remote tunnel connection is successfully established, the charging pile sends a connection success message to the operation and maintenance platform through the TCP long connection. The operation and maintenance platform combines the FRP server IP address and service port number into a command (e.g., telnet 120.79.88.100 50313) and displays it in the text box after the "Get Address" button. Here, "120.79.88.100" represents the FRP server's IP address, and "50313" represents the service port number. The user can simply click the "Copy" button to copy the command to the clipboard. Afterward, the user can paste this command into their preferred third-party remote login tools to remotely debug the charging pile. This method not only simplifies the operation process but also provides users with more flexibility and choices.

[0051] In this embodiment of the invention, the remote management method for charging piles further includes:

[0052] The charging pile's guardian process monitors in real time whether the remote tunnel is open. If it is open, the remote tunnel connection is closed after a preset time.

[0053] In this embodiment of the invention, the charging pile is responsible for shutting down the remote tunnel. Specifically, the charging pile's daemon process can monitor in real time whether the remote tunnel is open. If it is open, the remote tunnel connection is closed after a preset time. The preset time is set according to actual needs. Having the charging pile periodically close the remote tunnel prevents the charging pile from being exposed to the remote debugging environment for extended periods, thus improving system security.

[0054] In addition, maintenance personnel can also... Figure 4 The remote debugging window of the charging pile shown calls a script in the charging pile host to actively close the remote tunnel connection.

[0055] If the remote tunnel connection of a charging pile is closed, and remote debugging is required again, steps S3-S5 need to be repeated. The user will then trigger the operation and maintenance platform to reassign the service port number to the charging pile. The charging pile will then re-establish the remote tunnel connection with the FRP server based on the new service port number.

[0056] This invention provides an innovative method for remote management of charging piles, with the following specific benefits:

[0057] 1. Real-time status monitoring: The charging pile continuously uploads its operating status information to the operation and maintenance platform via a long TCP connection, ensuring that operation and maintenance personnel can obtain the working status of the charging pile in real time and promptly identify and handle potential problems.

[0058] 2. Integrated FRP Remote Tunneling Mechanism for Secure and Efficient Remote Access: This invention innovatively applies the FRP remote tunneling mechanism to the field of charging pile remote management. The operation and maintenance platform dynamically generates a service port number based on the charging pile's device identification code, avoiding port conflict issues. By hashing the device identification code and taking the modulo 65535, it ensures that each charging pile obtains a unique port number, thereby guaranteeing the stability and reliability of multiple charging piles online simultaneously. The charging pile starts the FRP client and establishes a remote tunnel connection with the FRP server on the operation and maintenance platform through the dynamically generated service port number, achieving secure and efficient remote access, reducing manual intervention, significantly improving operation and maintenance efficiency, and ensuring the normal operation and service quality of the charging piles.

[0059] 3. Simplified remote debugging process: Users can directly obtain the remote debugging address information of the charging pile that needs to be remotely debugged on the operation and maintenance platform, and remotely log in to the charging pile through the platform to open the remote debugging window. There is no need to rely on third-party tools or manually configure the environment, which simplifies the user's operation and improves the ease of use and user experience of the system.

[0060] The above are merely specific embodiments of the present invention and should not be construed as limiting the scope of the present invention. Equivalent variations made by those skilled in the art based on this invention, as well as changes well-known to those skilled in the art, should still fall within the scope of the present invention.

Claims

1. A method for remote management of charging piles, characterized in that, The remote management method for charging piles includes the following steps: Step S1: When the charging pile is activated, the basic information of the charging pile is entered into the operation and maintenance platform. The basic information includes the device identification code. Step S2: The charging pile communicates with the operation and maintenance platform via a TCP long connection and uploads its operating status information to the operation and maintenance platform according to a preset protocol; Step S3: In response to the user's request to obtain the device address, the operation and maintenance platform dynamically generates a service port number based on the device identification code of the charging pile, and returns the service port number to the charging pile through the TCP long connection; the specific method for dynamically generating the service port number based on the device identification code of the charging pile is as follows: A hash operation is performed on the device identification code. The result of the hash operation is modulo the maximum number of available ports, 65535, to obtain the port number to be assigned. It is determined whether the port number to be assigned conflicts with the service port number of other charging pile devices that are undergoing remote debugging. If there is a conflict, the port number to be assigned is incremented by 1, and the conflict is determined again until a non-conflicting port number to be assigned is found and used as the service port number. Step S4: The charging pile starts the FRP client and establishes a remote tunnel connection with the FRP server on the operation and maintenance platform through the service port number; after the remote tunnel connection is successfully established, the charging pile sends a connection success message to the operation and maintenance platform through the TCP long connection. In step S5, the operation and maintenance platform responds to the user's remote connection request by executing a remote login command and pops up the remote debugging window of the charging pile.

2. The remote management method for charging piles according to claim 1, characterized in that, The procedure preceding step S1 also includes: Each charging station is assigned a unique charging station device identification code at the factory.

3. The remote management method for charging piles according to claim 1, characterized in that, The basic information in step S1 also includes customer name, site address, charging station name, charging pile model, and power.

4. The remote management method for charging piles according to claim 1, characterized in that, After step S4, the operation and maintenance platform will display the remote access address of the charging pile on the management page.

5. The remote management method for charging piles according to claim 1, characterized in that, The remote management method for charging piles also includes: The charging pile monitors in real time whether the remote tunnel is open. If it is open, the remote tunnel connection is closed after a preset time.

Citation Information

Patent Citations

  • Method for remotely maintaining charging pile based on SSH reverse tunnel technology

    CN110708158A

  • Charging pile wireless starting method and system

    CN118219906A