Dual-platform redundancy remote monitoring method for energy storage charging pile

The dual-platform redundant remote monitoring system for energy storage charging stations addresses the lack of redundancy in existing systems by automatically switching control between platforms, ensuring continuous operation and reducing downtime.

CN120307943APending Publication Date: 2025-07-15ZHONGDE CENTURY (TIANJIN) NEW ENERGY TECHNOLOGY CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510731194.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-03
Publication Date
2025-07-15

AI Technical Summary

Technical Problem

The remote monitoring system of the existing energy storage charging piles lacks a failure redundancy mechanism, which makes it difficult to obtain the operating status and fault information of the charging pile when the main control platform fails, requiring manual intervention and consuming a lot of manpower and material resources.

Method used

The dual-platform redundant remote monitoring method is adopted, and the main control platform is automatically switched through status report analysis and preset main control platform rules to ensure that the backup platform takes over the monitoring and fault logs to obtain when the main control platform is abnormal, so as to realize data coordination and permission control between platforms.

Benefits of technology

It improves the availability and safety of energy storage charging piles in complex environments, enhances the fault tolerance and operation stability of the remote control architecture, reduces manual intervention, and improves operation and maintenance efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120307943A_ABST
    Figure CN120307943A_ABST
Patent Text Reader

Abstract

The invention relates to a double-platform redundancy remote monitoring method for an energy storage charging pile. The method comprises the following steps: acquiring a state report of a first control platform of a current monitoring energy storage charging pile; analyzing the state report to obtain a state type corresponding to the first control platform; the state type comprises a normal operation state and an abnormal state; determining a master control platform of the energy storage charging pile according to the state type of the first console and a preset master control platform rule; the main control platform comprises a first control platform and a second control platform. According to the method, the second control platform can automatically take over the control right of the charging pile when the first control platform cannot normally control the charging pile, normal operation and continuous monitoring of the energy storage charging pile are guaranteed, the fault processing efficiency is improved, safety accidents of the energy storage charging pile are prevented, and the safety of the charging pile is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of monitoring and management of energy storage charging equipment, and particularly relates to a dual-platform redundant remote monitoring method for an energy storage charging pile. Background Art

[0002] With the development of electric vehicles and new energy technologies, energy storage charging pile equipment has been widely deployed. Such equipment not only has the ability to quickly supply power to electric vehicles but also can store electrical energy during the low grid load period, improve energy utilization efficiency, and alleviate the imbalance between peak and valley loads.

[0003] In order to achieve real-time control of the operating status, charging and discharging process, and fault events of the charging pile, a centralized management technology with a remote monitoring platform as the core has emerged. By connecting the energy storage charging pile to a single background monitoring platform, this platform is responsible for establishing a communication link with the charging pile, performing tasks such as real-time monitoring, parameter distribution, and log uploading, and has characteristics such as remote data collection, remote command control, abnormal warning, and operating log management, greatly improving the operation and maintenance efficiency of charging facilities.

[0004] However, the above method lacks a fault redundancy mechanism. Once the main control platform fails temporarily due to system upgrade, software failure, or communication interruption, it is difficult to obtain the operating status of the charging pile, and log and fault information are difficult to obtain due to platform failures, hindering the remote diagnosis efficiency. It requires on-site intervention by staff, consuming a large amount of manpower and material resources. Summary of the Invention

[0005] Based on this, it is necessary to provide a dual-platform redundant remote monitoring method for an energy storage charging pile that can intervene in monitoring through a redundant platform for the above technical problems.

[0006] In a first aspect, the present application provides a dual-platform redundant remote monitoring method for an energy storage charging pile, including:

[0007] Obtain a status report of a first control platform for currently monitoring the energy storage charging pile;

[0008] Analyze the status report to obtain the status type corresponding to the first control platform; the status type includes normal operation and abnormal status;

[0009] According to the status type of the first control console, determine the main control platform of the energy storage charging pile according to a preset main control platform rule; the main control platform includes a first control platform and a second control platform.

[0010] In one embodiment, according to the status type of the first control console, determining the main control platform of the energy storage charging pile according to a preset main control platform rule includes:

[0011] If the status type of the first control platform is normal operation, keep the first control platform as the main control platform;

[0012] If the status type of the first control platform is an abnormal status, determine the second control platform as the master control platform and send a takeover instruction to the second control platform; the takeover instruction is used to instruct the second control platform to replace the first control platform to take over the monitoring of the energy storage charging pile.

[0013] In one embodiment, if the status type of the first control platform is a normal operation status, it further includes:

[0014] Send a remote processing request to the client;

[0015] In response to the obtained access permission instruction, send the fault log of the energy storage charging pile to the second control platform; the access permission instruction is used to instruct the second control platform to establish a remote connection with the energy storage charging pile.

[0016] In one embodiment, the method further includes:

[0017] In response to the detected operation event of the first control platform, synchronously store the operation message corresponding to the operation event to the SFTP server; the operation event includes obtaining the fault log, upgrade log, and configuration log of the energy storage charging pile;

[0018] Send an operation event completion notice to the second control platform to instruct the second control platform to obtain the operation message through the data collaboration mechanism between platforms.

[0019] In one embodiment, the second control platform obtains the operation message through the data collaboration mechanism between platforms, including:

[0020] In response to the received download request of the operation message corresponding to the operation event by the second control platform, generate a request permission feedback; the request permission feedback includes agreeing to download and refusing to download;

[0021] If the request permission feedback is agreeing to download, send the download path corresponding to the operation message to the second control platform;

[0022] If the request permission feedback is refusing to download, send a refusal reply to the second control platform.

[0023] In one embodiment, if the request permission feedback is agreeing to download, sending the download path corresponding to the operation message to the second control platform includes:

[0024] Obtain a login credential based on the request permission feedback of agreeing to download;

[0025] Obtain the download path of the operation message corresponding to the operation message download request in the SFTP server according to the login credential; the download path is used to connect to the SFTP server to obtain the corresponding operation message;

[0026] Send the download path to the second control platform.

[0027] In one embodiment, the method further includes:

[0028] In response to obtaining the completion operation message acquisition flag sent by the second control platform, generate an SFTP server permission authentication shutdown instruction; the SFTP server permission authentication shutdown instruction is used to instruct the SFTP server to stop authenticating the temporary login credentials and the download path.

[0029] In a second aspect, the present application further provides a dual-platform redundant remote monitoring system for an energy storage charging pile, including:

[0030] A status monitoring module, configured to obtain a status report of the first control platform that currently monitors the energy storage charging pile;

[0031] A status judgment module, configured to parse the status report to obtain the status type corresponding to the first control platform; the status type includes normal operation and abnormal status;

[0032] A dual-platform switching module, configured to determine the main control platform of the energy storage charging pile according to the status type of the first control console and according to a preset main control platform rule; the main control platform includes the first control platform and the second control platform.

[0033] In a third aspect, the present application further provides a computer device, including a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, the steps of any of the above-mentioned dual-platform redundant remote monitoring methods for an energy storage charging pile are implemented.

[0034] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the above-mentioned dual-platform redundant remote monitoring methods for an energy storage charging pile are implemented.

[0035] The above-mentioned dual-platform redundant remote monitoring method for an energy storage charging pile constructs a remote monitoring system with the ability to judge the operating state and the ability to redundantly switch the main control platform by introducing a status report acquisition mechanism, a platform status parsing mechanism, and a main control platform automatic decision-making mechanism. By switching different main control platforms, the availability and safety of the energy storage charging pile in a complex operation and maintenance environment are improved. It has an automatic substitution mechanism in case of platform failure, enhancing the fault tolerance and operation stability of the entire remote control architecture. Description of the Drawings

[0036] To more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the following will briefly introduce the drawings required for use in the description of the embodiments or the related art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0037] Figure 1 Schematic flowchart of the dual-platform redundant remote monitoring method for the energy storage charging pile of the present invention;

[0038] Figure 2 Schematic flowchart of the remote control of the second control platform for the dual-platform redundant remote monitoring method of the energy storage charging pile of the present invention;

[0039] Figure 3 Schematic flowchart of the data interaction between platforms for the dual-platform redundant remote monitoring method of the energy storage charging pile of the present invention;

[0040] Figure 4 Composition structure diagram of the dual-platform redundant remote monitoring system for the energy storage charging pile of the present invention. Detailed implementation manners

[0041] In order to make the purpose, technical solutions and advantages of the present application more clear, the following further details the present application in conjunction with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0042] In one embodiment, as Figure 1As shown in the figure, a dual-platform redundant remote monitoring method for an energy storage charging pile is provided. In this embodiment, this method is exemplified by being applied to an embedded terminal equipped with an energy storage charging pile. This terminal supports multiple communication protocols and conducts two-way data interaction with a remote platform. It can be understood that this method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. Among them, the remote platform includes a first control platform, that is, the first control platform, and a second control platform, that is, the second control platform. The first control platform is self-built or hosted by a charging pile operator or supplier and is the main control platform under normal operating conditions, responsible for functions such as data collection, operation monitoring, policy issuance, log storage, and user management of the energy storage charging pile. The first control platform can be deployed on a server or an enterprise background management system. The second control platform serves as a backup control platform or a remote diagnosis support platform and intervenes when the first control platform fails or has insufficient capabilities, supporting operations such as fault takeover and log pulling. The second control platform also serves as a remote control system and operates in an independent data environment. The first control platform and the second control platform are connected through a two-way data channel transmission of a communication module, and this channel can be established on a public network, a dedicated virtual private network, or an Internet of Things message middleware. In this embodiment, this method includes the following steps:

[0043] S101. Obtain the status report of the first control platform that is currently monitoring the energy storage charging pile.

[0044] Schematically, the first control platform is a data management platform deployed by a customer locally or in the cloud. It maintains a connection with the energy storage charging pile through wired or wireless communication methods and undertakes key tasks such as real-time status collection, operation control, fault reporting, and data recording of the charging pile. The stability and reachability of this platform directly determine the integrity of the remote operation and maintenance capabilities of the charging pile. The status report refers to a data packet actively sent by the first control platform periodically or triggered by a specific event, and the content usually includes heartbeat signals, current operation status identifiers, control function enabling situations, communication link status, version information, upgrade status, etc. Specifically, the status report can be obtained through a secure channel established by the communication module with the platform. Exemplarily, it is docked through protocols such as HTTP (Hypertext Transfer Protocol) or MQTT (Message Queuing Telemetry Transport), or the information is obtained by using the intranet SFTP (SSH File Transfer Protocol) log method.

[0045] Optionally, the first control platform sends a status packet to the second control platform every 10 seconds to continuously refresh its own online status.

[0046] S102. Analyze the status report to obtain the status type corresponding to the first control platform; the status type includes normal operation and abnormal status.

[0047] Perform parsing and processing on the received status report, extract the key fields for master control judgment from it, and accordingly judge the status type of the current first control platform. Exemplarily, the status type is divided into normal operation status and abnormal status. Among them, the normal operation status refers to the situation where the communication link of the first control platform is unobstructed, the control logic responds in a timely manner, and it has the ability to perform complete remote control of the charging pile. The abnormal status includes but is not limited to software and hardware failures of the platform, the platform is undergoing version upgrade or system maintenance, the communication link is interrupted, the platform response times out, the heartbeat signal is lost for more than the set threshold, etc.

[0048] Optionally, in order to determine the accuracy of the status, a fault tolerance rule can be set. If the heartbeat is not received in two consecutive cycles, the status is marked as abnormal, otherwise the normal identification is maintained. Further, more refined classification can be carried out by combining data such as the error code of the platform response and the number of link retries.

[0049] S103. According to the status type of the first console, determine the master control platform of the energy storage charging pile according to the preset master control platform rules; the master control platform includes the first control platform and the second control platform.

[0050] Based on the obtained status type and combined with the preset master control platform switching rules, determine which platform actually undertakes the monitoring and control tasks currently. Schematically, in the default configuration, when the first control platform is judged to be in normal operation, its master control authority remains unchanged, and the second control platform is in a standby listening state and does not interfere with the operation of the charging pile. When the first control platform is identified as an abnormal status, execute the master control switching process, start the second control platform as the current master control platform, and replace the original first platform for real-time control, operation log collection and exception handling of the energy storage charging pile.

[0051] Optionally, after receiving the abnormal judgment result, the second control platform immediately sends a takeover instruction to the energy storage charging pile, redirects the data channel through the control interface, and verifies its own takeover authority and policy distribution ability to ensure that the switching process is seamlessly connected and does not affect the continuity of the charging service.

[0052] In the above-mentioned dual-platform redundant remote monitoring method for energy storage charging piles, real-time perception of the operating status of the monitoring platform is realized. Through the periodic or event-triggered status report acquisition mechanism, the current operation status of the first control platform is continuously grasped, including whether it is online, whether the communication is normal, whether it is in an upgrade, maintenance or abnormal state, so as to provide an accurate basis for the subsequent control strategy adjustment. According to the parsed state type, the judgment logic of the main control platform can be automatically executed to realize the dynamic transfer of control rights between the first and second control platforms, avoid platform anomalies causing unmanned monitoring or control windows of the charging pile, and improve the stability and reliability of the monitoring process. The fault tolerance capability of the platform failure is improved. When the first control platform fails due to failure, upgrade failure or link disconnection, it can be identified in time and switched to the second control platform for intervention and takeover, so that the energy storage charging pile can work normally, reduce the risk of business interruption caused by platform unavailability, enhance the continuous operation capability of the charging pile, prevent the transmission of safety accidents, and improve the safety of the energy storage charging pile. The status judgment and responsibility takeover between platforms are completed without manual intervention, with good adaptability, suitable for scenarios with wide equipment distribution and long operation and maintenance cycles in large-scale charging networks.

[0053] In one embodiment, according to the state type of the first console and the preset main control platform rules, the main control platform of the energy storage charging pile is determined, including:

[0054] S11: If the state type of the first control platform is normal operation, keep the first control platform as the main control platform.

[0055] According to the preset master control platform switching rules, decide which control platform will assume the monitoring and control responsibility for the energy storage charging pile at the current moment. Among them, the preset master control platform switching rules construct a one-to-one mapping relationship based on the status type and platform priority. Specifically, if the status type of the first control platform is normal operation, the first control platform continues to serve as the main control platform for the energy storage charging pile. The backup platform, that is, the second control platform, is still in monitoring mode, which is only used to receive status information and keep the link unobstructed without interfering with the operation and control of the charging pile. In this mode, the first control platform can perform operations such as remote parameter distribution, status reading, task scheduling and log collection for the charging pile. At the same time, the second control platform continues to monitor the health status of the first control platform, but does not generate control signals.

[0056] S12: If the state type of the first control platform is an abnormal state, determine that the second control platform is the main control platform, and send a takeover instruction to the second control platform; the takeover instruction is used to instruct the second control platform to replace the first control platform to take over and monitor the energy storage charging pile.

[0057] When the first control platform is identified as an abnormal state, the second control platform is set as the current master control platform. Schematically, a takeover instruction is sent to the second control platform through an internal link. As a data packet with control semantics, this instruction is used to trigger the second control platform to enter the master control mode and replace the original first control platform to fully manage the energy storage charging pile. After receiving the takeover instruction, the second control platform will activate its own control module for the energy storage charging pile, establish a direct control channel with the charging device, and complete preparatory work such as parameter takeover, command link redirection, and log synchronization.

[0058] Furthermore, the control switch is instantaneously switched logically, that is, there is no delay waiting between judging the abnormal state and issuing the takeover instruction, ensuring that the device is under full-time monitoring. The takeover does not depend on user intervention or manual confirmation and belongs to an automatic redundancy scheduling mechanism. After the takeover, the second control platform should support all the original remote management functions of the charging pile and have operation permissions such as log pulling, fault uploading, and configuration distribution to ensure the functional integrity of the control chain.

[0059] Exemplarily, the first control platform is in a state of unstable network, and its communication times out three consecutive times. The standby second control platform determines that the first control platform is in an abnormal state according to the heartbeat monitoring result, and immediately switches the master control role to the second control platform. After receiving the takeover instruction, the second control platform enables its own control link and starts to independently undertake all the operation management tasks of the energy storage charging pile, including current sampling, temperature warning, user identification, and charging strategy execution. The whole process is completed within milliseconds without causing interruption or control window for the charging service.

[0060] The above method realizes the real-time switching ability of the master control platform, constructs a remote monitoring system with self-recovery ability and strong redundancy control characteristics. This mechanism is particularly suitable for energy storage charging systems that need to run continuously for a long time and have high security guarantees, effectively improving the stability, fault tolerance, and operation and maintenance response efficiency of the monitoring process.

[0061] In one embodiment, as Figure 2 shown, if the status type of the first control platform is the normal operation state, it further includes:

[0062] S201. Send a remote processing request to the client.

[0063] Schematically, when the energy storage charging pile generates problems that cannot be locally resolved by the operator through the first control platform, such as equipment hardware failures, communication module anomalies, policy conflicts, etc., in response to the request operation of the supplier terminal, a remote processing request will be sent to the operator client. Among them, the client is a user entity with the operation and maintenance authority for the first control platform, and can authorize remote intervention behaviors through a website management interface, software, or background approval system. The remote processing request may include basic summary information about the current exception, such as fault codes, alarm types, trigger times, etc., aiming to prompt the client whether to allow the second control platform to access the fault handling process, ensuring device data security and user privacy, while avoiding unauthorized access.

[0064] S202. In response to the obtained access permission instruction, send the fault log of the energy storage charging pile to the second control platform; the access permission instruction is used to instruct the second control platform to establish a remote connection with the energy storage charging pile.

[0065] After the client confirms to allow the second control platform to intervene in the operation, it receives the access permission instruction, triggers the establishment of a remote connection between the second control platform and the energy storage charging pile, and actively conducts the log acquisition work to transfer the fault log to the supplier terminal for the supplier staff to conduct fault troubleshooting and repair.

[0066] Optionally, the second control platform directly connects to the energy storage charging pile terminal as the main control or equivalent authority and independently initiates a fault log pulling request. Exemplarily, a secure communication channel for the second control platform and the energy storage charging pile is established based on the HTTP / SFTP protocol encrypted by TLS (Transport Layer Security); the second control platform initiates a connection handshake and exchanges authentication information with the energy storage charging pile; after establishing a trusted connection, the second control platform can send a log request instruction to the device through an internal API (Application Programming Interface) or instruction set, and the energy storage charging pile returns the currently cached fault log file or real-time error report. The second control platform stores this information locally or synchronously uploads it to a remote operation and maintenance server, and the backend algorithm or manual analysis module analyzes the cause of the fault, identifies the scope of influence, and triggers repair instructions, remote restart, or other remedial measures according to the platform policy.

[0067] Exemplarily, overheating occurs in a certain energy storage charging pile module, but the customer's back-end control platform cannot confirm the source of the problem. The supplier terminal pushes a remote processing request to the client. After being approved by the customer, the standby second control platform directly establishes a communication channel with the charging pile and pulls the temperature sampling records and protection action logs within the last 30 minutes from the local cache directory. This log is forwarded by the second control platform to the supplier's back-end. It is confirmed that the false overheating monitoring is caused by the contactor adhesion. Immediately, the second control platform issues a soft reset command, and the fault is remotely resolved without on-site maintenance.

[0068] The above method ensures the compliance and authorization control of fault handling, improves the timeliness and integrity of data acquisition through the direct capture mechanism, remotely obtains the fault log through the second control platform, improves the remote repair efficiency, avoids the need for maintenance personnel to check the local area of the energy storage charging pile for problems that can be remotely maintained, and reduces the waste of manpower and material resources.

[0069] In one embodiment, as Figure 3 shown, the method further includes:

[0070] S301. In response to the detected operation event of the first control platform, synchronously store the operation message corresponding to the operation event to the SFTP server; the operation event includes obtaining the fault log, upgrade log, and configuration log of the energy storage charging pile.

[0071] The operation event refers to the critical tasks performed by the first control platform on the energy storage charging pile in the normal operation state, including but not limited to obtaining the device fault log, and can also be the upgrade log and configuration log of the first control platform recovered from the abnormal state. When the first control platform detects that any event is triggered or executed, it will automatically synchronously store the operation message corresponding to the operation event to the pre-configured secure file transfer server. Exemplarily, the secure file transfer server is the SFTP server. This SFTP server is a neutral communication medium shared between platforms, and uses an encrypted channel to implement the permission control of data upload and download, and can support the data transfer requirements of both platforms. It provides a data redundancy interface for the second control platform. The second control platform can rely on such operation event logs to complete efficient auxiliary diagnosis, or synchronize the upgrade and configuration changes of the first platform. Exemplarily, after the first control platform completes the upgrade, it will automatically call the upload module to store the log in a structured manner in the predefined directory of the SFTP server for subsequent pulling and tracing. Optionally, the file naming rule can include the event type, timestamp, device number, etc., which is convenient for the second control platform to locate and download the target.

[0072] Exemplarily, the second control platform can understand the software version of the current first control platform, whether the upgrade is completed, and whether there are abnormal behaviors such as upgrade interruption or rollback by pulling the upgrade execution record generated and uploaded by the first control platform.

[0073] The archiving of upgrade logs and configuration logs on the second control platform side helps to implement functions such as remote data comparison, operation and maintenance behavior auditing, and historical retrospective analysis. It is applicable to device status verification and dispute handling in multi-tenant and multi-platform operation scenarios. By synchronously grasping the key operation logs of the first control platform, the second control platform can, while maintaining the redundant monitoring role positioning, possess complete independent judgment and auxiliary decision-making capabilities, realizing a complementary management architecture for the two platforms.

[0074] S302. Send an operation event completion notice to the second control platform to instruct the second control platform to obtain the operation message through the data coordination mechanism between platforms.

[0075] To ensure that the second control platform can promptly perceive the above data changes, an operation event completion notice is immediately sent to the second control platform after the SFTP upload is completed. This notice does not directly contain the data packet text body, but indicates that the second control platform has the above operation message available for acquisition. If needed, based on key information such as operation type and time identifier, a download request can be actively initiated to the SFTP server through a predefined data coordination mechanism, thereby realizing the secure synchronization of logs or parameter data.

[0076] Optionally, the fault logs of the energy storage charging pile can be directly collected by the second control platform by establishing a communication link with the energy storage charging pile, or can be obtained through the indirect forwarding method of the first control platform. Exemplarily, when the first control platform is in the master control state, it is responsible for pulling the fault logs from inside the energy storage charging pile and storing them in the SFTP server, and then exposing the logs to the second control platform through an operation event completion notice, thereby realizing an indirect transmission path, which can achieve the separation of responsibilities between the primary and backup platforms or the isolation of data access permissions, taking into account both device security and operation and maintenance transparency.

[0077] Exemplarily, after detecting an abnormality in the charging pile, the first control platform pulls the latest fault logs from the device and stores them in the fault directory of the SFTP server, and at the same time sends an operation completion notice to the second control platform. When the supplier pulls the fault logs through the second control platform, it locates the corresponding file path according to the notice content and pulls the logs to its own server after TLS authentication for technical personnel to analyze and process.

[0078] In one embodiment, the second control platform obtains the operation message through the data coordination mechanism between platforms, including:

[0079] S21. Generate a request permission feedback in response to the received download request for the operation message corresponding to the operation event by the second control platform; the request permission feedback includes consent to download and refusal to download.

[0080] Schematically, after receiving the operation event completion notice, the second control platform sends a download request for a specified operation message to the first control platform based on a predefined collaboration interface. Exemplarily, the operation message download request may include the type of operation event, namely, fault log, upgrade log, or configuration change log, and also includes information such as event identifier, timestamp, file name, or file number to clarify the request target. After receiving this request, the first control platform will initiate an authorization verification process and generate a request authorization feedback as a response. This authorization feedback comprehensively determines whether to allow the second control platform to access the requested resources based on multiple factors.

[0081] Optionally, the authorization determination mechanism may execute according to the following logic: check whether the requested message exists in the SFTP server or its indexing system; verify whether the identity of the second control platform is legal, and it can verify whether its request is accompanied by valid identity credentials, including API key, certificate, or Token; it can combine actual conditions such as operation and maintenance policies, time window control, whether the log is in a locked state or is being written, and finally obtain a feedback result of agreeing to download or refusing to download.

[0082] S22. If the request authorization feedback is to agree to download, send the download path corresponding to the operation message to the second control platform.

[0083] Schematically, if the request authorization feedback is to agree to download, encapsulate the download path corresponding to the requested operation message, including the SFTP server address, subdirectory path, and file identifier, into a response message and return it to the second control platform. Optionally, this download path may carry a temporary access credential with certain timeliness and usage limit to prevent the path from being misused or illegally forwarded. After receiving this path, the second control platform can perform a secure pull on the target file through its own download module to obtain the required operation data.

[0084] S23. If the request authorization feedback is to refuse to download, send a refusal reply to the second control platform.

[0085] Schematically, in cases such as failed identity authentication, the file status not meeting the open conditions, excessive access frequency, the log data not being unlocked yet, or involving sensitive content, a request authorization feedback of the refusal to download type will be generated and a refusal response will be sent to the second control platform. This response may carry the encoding or text prompt of the refusal reason, such as "403 Insufficient Permission", "Data Not Ready Yet", "Exceeded Access Limit", etc., so that the second control platform can make subsequent operation decisions, such as re-applying, waiting, or transferring to manual processing.

[0086] Exemplarily, after receiving the notification of the upgrade completion event from the first control platform, the second control platform immediately sends a request to the first control platform to request the acquisition of specific files in the update directory. The first control platform verifies according to the current identity identifier of the second control platform, confirms that the second control platform is a pre-authorized unit, and the log generation time exceeds the write lock period, generates a feedback of consent to the download request permission, and attaches the SFTP download path and valid credentials in the response. Subsequently, the second control platform successfully downloads the file for update review.

[0087] In one embodiment, if the request permission feedback is consent to download, sending the download path corresponding to the operation message to the second control platform includes:

[0088] S31. Obtain the login credentials according to the request permission feedback of consent to download.

[0089] Schematically, according to the permission feedback of consent to download, generate and retrieve the login credentials associated with the current operation event. The login credential refers to the identity authentication token required for the second control platform to access the SFTP server, which is used to ensure that the request source is legal, the request target is clear, and can be traced by the backend audit system. Exemplarily, the login credential can be implemented in various forms, including username-password pairs, time-based one-time tokens (TOTP), digital signature keys, or access tokens (Token) with time limits. Optionally, the login credential is a signed dynamic download Token generated by the first control platform based on the unique number of the operation event and the identity of the second control platform. Its validity period is 15 minutes and it can only be used for single file download, with certain anti-replay and anti-disclosure characteristics.

[0090] S32. Obtain the download path of the operation message corresponding to the operation message download request in the SFTP server; the download path is used to connect to the SFTP server to obtain the corresponding operation message.

[0091] Schematically, the first control platform retrieves the message record matching the current operation event in its file directory structure through indexing or database query, and combines the access conditions in the login credential to verify whether the current request is legal. Once the verification passes, generate a download path that can be accessed by the second control platform, and attach the credential information parameter for the SFTP server to verify the identity of the caller.

[0092] S33. Send the download path to the second control platform.

[0093] Schematically, the first control platform sends the generated download path to the second control platform through the existing data collaboration interface. After receiving the download path, the second control platform will trigger its own pulling process, call the path through the built-in SFTP client module, and attach the login credential information issued by the first control platform in the request header to complete the pulling process of the operation message.

[0094] In one embodiment, the method further includes:

[0095] In response to the obtained completion operation message acquisition flag sent by the second control platform, generate an SFTP server permission authentication closing instruction; the SFTP server permission authentication closing instruction is used to instruct the SFTP server to stop authenticating the temporary login credential and the download path.

[0096] Schematically, the credential recycling mechanism is used to revoke the temporary credential, close the corresponding access path in a timely manner after the second control platform completes the acquisition of the operation message, and ensure the restoration of the security state of the server resources and the interface channel. Specifically, when the second control platform completes the download task of the specified operation message, it will send a completion operation message acquisition flag to the first control platform or the service hub to inform that the access operation to the target data has ended. This flag can be implemented through the data interface or the log reporting form, and the content includes the unique identifier of the involved operation event, the download file path, the platform identity information, and the operation completion time, etc., to support the first control platform to subsequently identify whether to terminate the temporary permission support for this access request.

[0097] After receiving the above completion flag, the first control platform or the dedicated control module will immediately generate an SFTP server permission authentication closing instruction to notify the SFTP server to revoke the access permission of the temporary login credential and the corresponding file path opened for the second control platform. Exemplarily, this instruction will cause the server side to execute the cancellation of the current download Token or login credential, make it be rejected in subsequent accesses, remove the corresponding file path or platform access right from the internal path white list or the access control table, interrupt or clear the current possibly unfinished download session, release the relevant cache and session threads, and record the behavior log of the permission closing for audit traceback, etc., one or all of them.

[0098] The above method can prevent the second control platform or other systems from reusing this path to download the same data, avoid potential data leakage risks caused by the long-term validity of the credential or the non-expiration of the path, and can effectively release the connection pool resources, session resources, and file handles of the SFTP service, improving the overall concurrency performance and security boundary.

[0099] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are sequentially shown according to the indications of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise clearly stated in this document, the execution of these steps has no strict order limitation, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.

[0100] Based on the same inventive concept, an embodiment of the present application further provides a dual-platform redundant remote monitoring system for an energy storage charging pile for implementing the above-mentioned dual-platform redundant remote monitoring method for an energy storage charging pile. The implementation solution provided by this system to solve problems is similar to the implementation solution described in the above method. Therefore, the specific limitations in one or more embodiments of the dual-platform redundant remote monitoring system for an energy storage charging pile provided below can refer to the limitations on the dual-platform redundant remote monitoring method for an energy storage charging pile in the above text, and will not be repeated here.

[0101] In an exemplary embodiment, as Figure 4 shown, a dual-platform redundant remote monitoring system for an energy storage charging pile is provided, including:

[0102] A status monitoring module 401, configured to obtain a status report of the first control platform for currently monitoring the energy storage charging pile;

[0103] A status judgment module 402, configured to parse the status report to obtain the status type corresponding to the first control platform; the status type includes normal operation and abnormal status;

[0104] A dual-platform switching module 403, configured to determine the master control platform of the energy storage charging pile according to the status type of the first console and according to a preset master control platform rule; the master control platform includes a first control platform and a second control platform.

[0105] In one of the embodiments, the dual-platform switching module is further configured to, if the status type of the first control platform is normal operation, keep the first control platform as the master control platform; the dual-platform switching module is further configured to, if the status type of the first control platform is abnormal status, determine the second control platform as the master control platform and send a takeover instruction to the second control platform.

[0106] In one of the embodiments, it further includes:

[0107] A permission request module, configured to send a remote processing request to the client;

[0108] A control connection module, configured to send a fault log of an energy storage charging pile to a second control platform in response to an obtained access permission instruction.

[0109] In one embodiment, it further includes:

[0110] A log upload module, configured to synchronously store an operation message corresponding to an operation event to an SFTP server in response to an operation event detected by a first control platform;

[0111] A data collaboration module, configured to send an operation event completion notification to a second control platform to instruct the second control platform to obtain the operation message through an inter-platform data collaboration mechanism.

[0112] In one embodiment, it further includes:

[0113] An authority identification module, configured to generate a request authority feedback in response to a download request for an operation message corresponding to an operation event received from a second control platform;

[0114] An authority response module, configured to send a download path corresponding to the operation message to the second control platform if the request authority feedback is consent to download; the authority response module is further configured to send a rejection reply to the second control platform if the request authority feedback is refusal to download.

[0115] In one embodiment, it further includes:

[0116] A credential issuance module, configured to obtain a login credential based on the request authority feedback of consent to download;

[0117] A path method module, configured to obtain a download path of an operation message corresponding to an operation message download request in the SFTP server based on the login credential;

[0118] The path method module is further configured to send the download path to the second control platform.

[0119] In one embodiment, it further includes:

[0120] A credential recovery module, configured to generate an SFTP server permission authentication closing instruction in response to an obtained completion operation message acquisition flag sent by the second control platform.

[0121] In one embodiment, a computer device is provided, including a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, the steps in the above method embodiments are implemented.

[0122] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-described method embodiments are implemented.

[0123] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to the partial descriptions of the method embodiments. The device embodiments described above are only illustrative. The components described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the present disclosure solution. A person of ordinary skill in the art can understand and implement it without creative work.

[0124] The above-described embodiments only represent several implementation manners of the embodiments of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of the embodiments of the application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the embodiments of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the embodiments of the present application.

Claims

1. A dual-platform redundant remote monitoring method for an energy storage charging pile, characterized in that, Including: Obtain the status report of the first control platform that currently monitors the energy storage charging pile; Analyze the status report to obtain the status type corresponding to the first control platform; the status type includes normal operation and abnormal status; According to the status type of the first control console, determine the main control platform of the energy storage charging pile according to the preset main control platform rules; the main control platform includes the first control platform and the second control platform.

2. The method according to claim 1, characterized in that, The determining the main control platform of the energy storage charging pile according to the status type of the first control console and according to the preset main control platform rules includes: If the status type of the first control platform is the normal operation, keep the first control platform as the main control platform; If the status type of the first control platform is the abnormal status, determine the second control platform as the main control platform and send a takeover instruction to the second control platform; the takeover instruction is used to instruct the second control platform to replace the first control platform to take over the monitoring of the energy storage charging pile.

3. The method according to claim 1, characterized in that If the status type of the first control platform is the normal operation status, it further includes: Send a remote processing request to the client; In response to the obtained access permission instruction, send the fault log of the energy storage charging pile to the second control platform; the access permission instruction is used to instruct the second control platform to establish a remote connection with the energy storage charging pile.

4. The method according to any one of claims 1 to 3, characterized in that, The method further includes: In response to the detected operation event of the first control platform, synchronously store the operation message corresponding to the operation event to the SFTP server; the operation events include obtaining the fault log, upgrade log and configuration log of the energy storage charging pile; Send the operation event completion notification to the second control platform to instruct the second control platform to obtain the operation message through the data collaboration mechanism between platforms.

5. The method according to claim 4, wherein The second control platform obtains the operation message through the data collaboration mechanism between platforms, including: In response to the received download request for the operation message corresponding to the operation event of the second control platform, generate a request permission feedback; the request permission feedback includes consent to download and refusal to download; If the request permission feedback is consent to download, send the download path corresponding to the operation message to the second control platform; If the request permission feedback is refusal to download, send a refusal reply to the second control platform.

6. The method according to claim 5, wherein The sending the download path corresponding to the operation message to the second control platform if the request permission feedback is consent to download includes: Obtain a login credential based on the request permission feedback of consent to download; Obtain the download path of the operation message corresponding to the operation message download request in the SFTP server according to the login credential; the download path is used to connect to the SFTP server to obtain the corresponding operation message; Send the download path to the second control platform.

7. The method according to claim 6, wherein It further includes: In response to the obtained completion operation message acquisition flag sent by the second control platform, generate an SFTP server permission authentication closing instruction; The SFTP server permission authentication shutdown instruction is used to instruct the SFTP server to stop authenticating the temporary login credentials and the download path.

8. A dual-platform redundant remote monitoring system for an energy storage charging pile, characterized in that, The system includes: A status monitoring module, configured to obtain a status report of a first control platform that currently monitors an energy storage charging pile; A status judgment module, configured to parse the status report to obtain a status type corresponding to the first control platform; the status type includes normal operation and abnormal status; A dual-platform switching module, configured to determine a main control platform of the energy storage charging pile according to the status type of the first control console and according to a preset main control platform rule; the main control platform includes the first control platform and a second control platform.

9. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

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