Remote management method for charging pile

By introducing remote management functions into the charging piles, using TCP long connection and FRP remote tunnel mechanism, remote login and debugging of the charging piles are realized, solving the problem of insufficient remote debugging capabilities of existing charging pile products, and improving operation and maintenance efficiency and user experience.

CN119682599AActive Publication Date: 2025-03-25SHENZHEN SINEXCEL ELECTRIC

Patent Information

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

AI Technical Summary

Technical Problem

The existing charging pile products lack remote debugging capabilities, resulting in lagging sudden abnormal handling, high risk of operational interruptions, and serious resource waste.

Method used

By introducing remote management function, the charging pile communicates with the operation and maintenance platform through a TCP long connection. Users can dynamically assign the service port number through the operation and maintenance platform, and the charging pile starts the FRP client and establishes a remote tunnel connection with the operation and maintenance platform to realize remote login and debugging.

Benefits of technology

It significantly improves the efficiency of problem handling, reduces the demand for on-site dispatch, ensures efficient and stable operation of charging piles, and improves user experience and service quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119682599A_ABST
    Figure CN119682599A_ABST
Patent Text Reader

Abstract

The invention discloses a charging pile remote management method, and belongs to the technical field of charging piles. In the scheme of the invention, the charging pile uploads the operation state information to the operation and maintenance platform through the TCP long connection, when a user needs to carry out remote debugging, the service port number is dynamically allocated to the charging pile through the operation and maintenance platform, the charging pile starts the FRP client to establish remote tunnel connection with the FRP server on the operation and maintenance platform through the service port number, and the operation and maintenance of the user are facilitated. And then the charging pile can be remotely logged in for debugging through a remote login function embedded in the operation and maintenance platform. According to the invention, the FRP remote tunnel mechanism is creatively applied to the field of remote management of the charging pile, and a safe and efficient remote debugging function of the charging pile is realized, so that operation and maintenance personnel can be helped to handle abnormal problems of the charging pile in time, the risk of operation interruption of the charging pile is effectively reduced, the operation and maintenance efficiency is improved, and the maintenance cost is reduced. And the labor cost and the resource waste are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of charging piles, and in particular to a remote management method for charging piles. Background Art

[0002] With the popularity of electric vehicles, charging piles have been widely used as key infrastructure. However, the charging pile products on the market generally have deficiencies in remote management and maintenance, which are mainly reflected in the following aspects:

[0003] 1. Lack of remote debugging capabilities: Most charging piles cannot be logged in and debugged remotely. When there are operating problems with the equipment, it is usually necessary to arrange R&D personnel to go to the site to troubleshoot and repair the problem. This method of relying on on-site operations is not only inefficient, but also has a significant impact on the normal operation of the charging pile.

[0004] 2. Delayed handling of sudden abnormalities: When encountering sudden abnormalities, technicians can only be dispatched to the site to analyze the problem urgently. Due to factors such as traffic, it often takes several hours for technicians to arrive at the site. During this period, the fault may have recovered on its own or cannot be reproduced after the technicians arrive, making it difficult to accurately analyze and solve the problem in a timely manner.

[0005] 3. High risk of operational interruption: Due to the above reasons, the normal external services of charging piles are easily affected, which may lead to poor charging experience for users and further affect the stability and reliability of the entire charging network.

[0006] 4. Serious waste of resources: Frequent on-site dispatches not only increase labor costs, but may also lead to unnecessary waste of resources, especially when the fault heals itself 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: in view of the above-mentioned defects of the prior art, a remote management method for charging piles is provided. By introducing the remote management function, the efficiency of problem handling can be significantly improved, the need for on-site dispatch can be reduced, the efficient and stable operation of the charging piles can be ensured, and the user experience and service quality can be improved.

[0009] To achieve the above object, the present invention provides a charging pile remote management method, the charging pile remote management method comprising the following steps:

[0010] Step S1, when a charging pile is opened, the basic information of the charging pile is entered into the operation and maintenance platform, wherein the basic information includes a device identification code;

[0011] Step S2, the charging pile communicates with the operation and maintenance platform through a TCP long connection, and uploads the operation status information to the operation and maintenance platform according to a preset protocol;

[0012] Step S3, the operation and maintenance platform responds to the user's request to obtain the device address, dynamically generates a service port number according to 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] Step S5, the operation and maintenance platform executes a remote login command in response to the user's remote connection request, and pops up a remote debugging window for the charging pile.

[0015] In the charging pile remote management method of the present invention, before step S1, the method further includes:

[0016] Each charging pile is assigned a unique charging pile device identification code when it leaves the factory.

[0017] In the charging pile remote management method of the present invention, in step S3, the specific method of dynamically generating the service port number according to the device identification code of the charging pile is:

[0018] Perform a hash operation on the device identification code, take the result of the hash operation modulo 65535 to obtain the port number to be allocated, and determine whether the port number to be allocated conflicts with the service port number of other charging pile devices that are undergoing remote debugging. If there is a conflict, add 1 to the port number to be allocated, and continue to determine whether there is a conflict until a non-conflicting port number to be allocated is found and used as the service port number.

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

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

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

[0022] The charging pile monitors in real time whether the remote tunnel is open, and if so, closes the remote tunnel connection after a preset time.

[0023] The present invention has the following beneficial effects: In the scheme of the present invention, the charging pile uploads the operation status information to the operation and maintenance platform through a TCP long connection. When the user needs to perform remote debugging, the operation and maintenance platform dynamically allocates a service port number to the charging pile. The charging pile starts the FRP client to establish a remote tunnel connection with the FRP server on the operation and maintenance platform through the service port number, and then the charging pile can be remotely logged in to debug through the remote login function embedded in the operation and maintenance platform. The present invention innovatively applies the FRP remote tunnel mechanism to the field of remote management of charging piles, and realizes a remote debugging function of charging piles that is both safe and efficient, thereby helping the operation and maintenance personnel to deal with abnormal problems of the charging piles in a timely manner, effectively reducing the risk of interruption of charging pile operations, improving operation and maintenance efficiency, and reducing labor costs and resource waste. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0025] Figure 1 A schematic diagram of the steps of the charging pile remote management method provided in an embodiment of the present invention.

[0026] Figure 2 A sequence diagram of a charging pile remote management method provided in an embodiment of the present invention.

[0027] Figure 3 A schematic diagram of the charging pile remote management page of the operation and maintenance platform provided in an embodiment of the present invention.

[0028] Figure 4 A schematic diagram of a charging pile remote debugging page provided in an embodiment of the present invention. DETAILED DESCRIPTION

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

[0030] The embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings of the specification. It should be understood that the embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

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

[0032] like Figure 1-Figure 2 As shown, an embodiment of the present invention provides a charging pile remote management method, and the charging pile remote management method includes the following steps:

[0033] Step S1, when a charging pile is opened, basic information of the charging pile is entered into an operation and maintenance platform, wherein the basic information includes a device identification code.

[0034] In order to facilitate the unified management of charging piles on the operation and maintenance platform, for the same manufacturer, the device identification code of each charging pile must be unique. In the embodiment of the present invention, before step S1, the following is also included:

[0035] A unique charging pile device identification code is assigned to each charging pile when it leaves the factory. In the embodiment of the present invention, the device identification code is a combination of a string and a number.

[0036] In the embodiment of the present invention, the basic information in step S1 also includes customer name, site address, charging station name, charging pile model and power. The above information is basic operation and maintenance information, which is used to manage charging pile equipment.

[0037] Step S2, the charging pile communicates with the operation and maintenance platform through a TCP long connection, and uploads the operation status information to the operation and maintenance platform according to a preset protocol.

[0038] In the embodiment of the present invention, after the charging pile is opened, it keeps in communication with the operation and maintenance platform through a TCP long connection, and uploads the operation status information to the operation and maintenance platform according to the preset protocol. The preset protocol is a data communication protocol agreed upon between the charging pile and the operation and maintenance platform. The operation status information includes the basic information of the charging device and the operation information of the charging pile. Therefore, the operation information of each charging pile can be viewed in real time on the operation and maintenance platform. When the operation information of a charging pile is found to be abnormal, the abnormal charging pile can be remotely debugged directly through the operation and maintenance platform, which effectively improves the operation and maintenance efficiency.

[0039] Step S3, the operation and maintenance platform responds to the user's request to obtain the device address, dynamically generates a service port number according to 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 the embodiment of the present invention, multiple charging piles may be connected to the operation and maintenance platform at the same time. In order to avoid port conflicts, the operation and maintenance platform dynamically allocates a service port number to each charging pile. Before the user remotely debugs the charging pile through the operation and maintenance platform, it is necessary to trigger the operation and maintenance platform to allocate a service port number to the charging pile. Specifically, the user can enter the operation and maintenance platform Figure 3In the management page of the target charging pile shown, click the "Get Address" button, and the operation and maintenance platform will dynamically allocate a service port number for the charging pile in response to the user's operation.

[0041] In the embodiment of the present invention, the specific method for dynamically generating a service port number according to the device identification code of the charging pile is:

[0042] Perform a hash operation on the device identification code, take the result of the hash operation modulo 65535 to obtain the port number to be allocated, and determine whether the port number to be allocated conflicts with the service port number of other charging pile devices that are undergoing remote debugging. If there is a conflict, add 1 to the port number to be allocated, and continue to determine whether there is a conflict until a non-conflicting port number to be allocated is found and used as the service port number.

[0043] The embodiment of the present invention innovatively applies the FRP (Fast Reverse Proxy) remote tunnel mechanism to the field of remote management of charging piles. In order to adapt to the application scenario of managing many charging piles through the same operation and maintenance platform, the operation and maintenance management platform dynamically allocates a service port number for each charging pile. Specifically, the operation and maintenance platform performs a hash operation on the device identification code of each charging pile and takes the result modulo 65535 (i.e., the maximum number of available ports) to ensure that each charging pile obtains a unique port number. This method effectively avoids port conflicts and ensures the stability and reliability when multiple charging piles are online at the same time. After the operation and maintenance platform dynamically generates a new service port number each time, it determines whether the newly generated service port number conflicts with the service number of other charging pile devices that are being remotely debugged. 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 the embodiment of the present invention, after the charging pile receives the service port number sent by the operation and maintenance platform, it 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] Step S5, the operation and maintenance platform executes a remote login command in response to the user's remote connection request, and pops up a remote debugging window for the charging pile.

[0047] like Figure 3As shown, in some embodiments of the present invention, the user clicks the "Connect" button on the operation and maintenance platform management page, and the operation and maintenance platform executes the remote login command and pops up the command line window of the charging pile. 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 plug-in vue-web-terminal to execute the remote login command.

[0048] In the prior art, the user needs to first query the port number of the FRP client through the management page provided by the FRP server, and then manually enter the address into a third-party remote login tool to achieve remote login to the charging pile. This operation process is not only cumbersome, but also prone to errors, which reduces the efficiency of remote management. In the embodiment of the present invention, a remote login function is integrated into the operation and maintenance platform, so that the user can directly call the remote login function in the management page of the operation and maintenance platform without entering the client address. The user only needs to click the corresponding button to directly log in to the charging pile remotely, and a pop-up window will appear. Figure 4 The charging pile remote debugging window page is shown. This improvement significantly improves the convenience and efficiency of remote login operations, simplifies user operation steps, reduces the possibility of human errors, and improves the overall operation and maintenance experience.

[0049] It is understandable that in the embodiment of the present invention, the IP address of the operation and maintenance platform server is a public network IP, and the user can access the management page provided by the operation and maintenance platform through any computer terminal connected to the operation and maintenance platform server, and realize the remote debugging function of the charging pile through the management page, without relying on third-party tools or manual configuration environment, thereby simplifying the user's operation. This solution realizes the safe remote debugging function of the charging pile, can promptly handle the problems of the on-site charging pile, avoid operation interruption, and reduce labor costs and resource waste.

[0050] In the embodiment of the present invention, after step S4, the operation and maintenance platform further includes: displaying the remote access address of the charging pile on the management page. Figure 3As shown, after the user clicks the "Get Address" button, the operation and maintenance platform dynamically allocates a service port number for the charging pile. After the charging pile receives the service port number, it 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. The operation and maintenance platform combines the FRP server IP address and the service port number into a command (for example: telnet 120.79.88.100 50313) and displays it in the text box behind the "Get Address" button. Among them, "120.79.88.100" represents the IP address of the FRP server, and "50313" represents the service port number. The user only needs to click the "Copy" button to copy the command to the clipboard. After that, the user can paste this command into their commonly used third-party remote login tools, so as to remotely debug the charging pile through these tools. This method not only simplifies the operation process, but also provides users with more flexibility and choices.

[0051] In an embodiment of the present invention, the charging pile remote management method further includes:

[0052] The daemon process of the charging pile monitors in real time whether the remote tunnel is opened, and if opened, closes the remote tunnel connection after a preset time.

[0053] In the embodiment of the present invention, the charging pile is responsible for closing the remote tunnel. Specifically, it is possible to monitor in real time whether the remote tunnel is open in the daemon process of the charging pile. If it is open, the remote tunnel connection is closed after a preset time. The preset time is set according to actual needs. The charging pile periodically closes the remote tunnel, which can prevent the charging pile from being exposed to the remote debugging environment for a long time, thereby improving the security of the system.

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

[0055] After the remote tunnel connection of a charging pile is closed, if it needs to be remotely debugged again next time, steps S3-S5 need to be repeated, and the user triggers the operation and maintenance platform to reallocate the service port number for the charging pile again. The charging pile re-establishes a remote tunnel connection with the FRP server based on the new service port number.

[0056] The present invention provides an innovative charging pile remote management method, and the specific beneficial effects are as follows:

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

[0058] 2. Integrate the FRP remote tunnel mechanism to achieve safe and efficient remote access: The present invention innovatively applies the FRP remote tunnel mechanism to the field of remote management of charging piles. The operation and maintenance platform dynamically generates the service port number based on the device identification code of the charging pile, avoiding the problem of port conflicts. By performing a hash operation on the device identification code and taking the modulus 65535, it is ensured that each charging pile can obtain a unique port number, thereby ensuring the stability and reliability when multiple charging piles are online at the same time. 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 safe and efficient remote access, reducing manual intervention, significantly improving operation and maintenance efficiency, and ensuring the normal operation and service quality of the charging pile.

[0059] 3. Simplify the remote debugging process: Users can directly obtain the remote debugging address information of the charging pile that needs remote debugging on the operation and maintenance platform, and remotely log in to the charging pile through the platform to open the remote debugging window without relying on third-party tools or manually configuring the environment, thereby simplifying user operations and improving the system's ease of use and user experience.

[0060] The above are only specific implementations of the present invention, which cannot be used to limit the scope of the present invention. Equivalent changes made by ordinary technicians in this technical field based on this creation, as well as changes known to technicians in this field, should still fall within the scope of the present invention.

Claims

1. A charging pile remote management method, characterized in that: The charging pile remote management method comprises the following steps: Step S1, when a charging pile is opened, the basic information of the charging pile is entered into the operation and maintenance platform, wherein the basic information includes a device identification code; Step S2, the charging pile communicates with the operation and maintenance platform through a TCP long connection, and uploads the operation status information to the operation and maintenance platform according to a preset protocol; Step S3, the operation and maintenance platform responds to the user's request to obtain the device address, dynamically generates a service port number according to the device identification code of the charging pile, and returns the service port number to the charging pile through the TCP long connection; 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; Step S5, the operation and maintenance platform executes a remote login command in response to the user's remote connection request, and pops up a remote debugging window for the charging pile.

2. The charging pile remote management method according to claim 1, characterized in that: Before step S1, the following steps are also included: Each charging pile is assigned a unique charging pile device identification code when it leaves the factory.

3. The charging pile remote management method according to claim 1, characterized in that: In step S3, the specific method of dynamically generating a service port number according to the device identification code of the charging pile is: Perform a hash operation on the device identification code, take the result of the hash operation modulo 65535 to obtain the port number to be allocated, and determine whether the port number to be allocated conflicts with the service port number of other charging pile devices that are undergoing remote debugging. If there is a conflict, add 1 to the port number to be allocated, and continue to determine whether there is a conflict until a non-conflicting port number to be allocated is found and used as the service port number.

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

5. The charging pile remote management method according to claim 1, characterized in that: After step S4, the method further includes: the operation and maintenance platform displays the remote access address of the charging pile on a management page.

6. The charging pile remote management method according to claim 1, characterized in that: The charging pile remote management method also includes: The charging pile monitors in real time whether the remote tunnel is open, and if so, closes the remote tunnel connection 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

Cited By

  • Remote debugging method and system based on Internet of Things cloud platform and proxy gateway

    CN121367710A