Charging pile and pile end software upgrading method and system based on dual-mode communication

By setting up a dual-mode communication module at the charging pile, the software upgrade of the charging pile is fully automated and dual-channel communication is guaranteed. This solves the problems of relying on manual operation and single remote communication in the existing technology, improves the upgrade success rate and reduces the failure rate.

CN121807328APending Publication Date: 2026-04-07STATE GRID JIBEI ELECTRIC POWER CO LTD TANGSHAN POWER SUPPLY CO +4
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-11
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

The current charging pile terminal software upgrade relies on on-site manual operation, which is slow to respond, has a low success rate, and the remote communication is singular and easily interrupted. It also lacks monitoring of the upgrade process status and has weak security.

Method used

It adopts a dual-mode communication design, utilizing both wireless and wired communication channels to automatically determine communication quality, prioritizing the selection of the high-efficiency channel for downloading upgrade packages, and ensuring successful transmission through block transmission mode and data block verification, thereby achieving full automation of the upgrade process and dual-channel communication assurance.

Benefits of technology

It improves the success rate of charging pile terminal software upgrades, reduces failure rate and maintenance costs, achieves full automation of the upgrade process and redundant communication protection, and avoids upgrade failures caused by signal interruption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121807328A_ABST
    Figure CN121807328A_ABST
Patent Text Reader

Abstract

The invention relates to a charging pile and a pile end software upgrading method and system based on dual-mode communication, and belongs to the technical field of charging piles. When it is determined that installation software of a pile end is to-be-upgraded software, whether the communication quality of a pile end wireless communication channel meets a preset communication quality requirement or not is judged; if yes, taking the wireless communication channel as a downloading channel for receiving an upgrade package of the to-be-upgraded software; otherwise, the pile end wired communication channel serves as the downloading channel, full automation of the upgrading process is achieved, dual-channel communication guarantee is achieved, and the problems that charging pile end software updating depends on field manual operation, and remote communication is single and low in efficiency are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a charging pile, a method and system for upgrading the pile-end software based on dual-mode communication, and belongs to the field of charging pile technology. Background Technology

[0002] The charging station is equipped with terminal software that focuses on hardware control, secure communication, and data management for the charging station itself. This software not only monitors the charging process in real time but also displays the charging station's status, facilitating operators' understanding and control over the charging stations.

[0003] The existing charging pile terminal software upgrade has the following problems: it relies on on-site manual operation or a single remote communication, resulting in slow response, low success rate and weak security; it requires technicians to connect to the equipment on-site for upgrades, which is time-consuming and labor-intensive; it uses a single network channel (such as only 4G), and signal interruption can easily lead to upgrade failure; it lacks status monitoring of the upgrade process, and faults cannot be proactively warned of, etc.

[0004] Chinese invention patent application CN108521471A discloses a charging pile network communication device, method, and system. The system includes a first communication module and a second communication module installed on the charging pile. The first communication module is connected to a server to form a first channel; the second communication module is also connected to the server to form a second channel. The first and second communication modules are used to perform one or more operations, such as sending charging pile monitoring data to the server, receiving charging control information from the server, and receiving upgrade data from the server. A control module controls the first communication module to send charging pile monitoring data to the server and receive charging control information from the server. When the first channel fails, the system switches to the second communication module to send charging pile monitoring data to the server and receive charging control information from the server, i.e., switching to the second channel for charging monitoring and control. Although multiple channels are provided to support the transmission of charging control information, the switching between channels is limited to when a channel fails and cannot be used. Information transmission quality and efficiency are not considered, and communication efficiency is greatly reduced when transmission is interrupted or the receiving power is poor. In addition, in order to avoid the problems of limited coverage and high cost of GPRS / 3G / 4G networks, the document uses NB-IoT modules or LoRa modules to achieve communication, which results in a significant reduction in speed. Summary of the Invention

[0005] The purpose of this invention is to provide a charging pile, a method and system for upgrading the pile-end software based on dual-mode communication, to solve the problems of relying on on-site manual operation and single remote communication, and to achieve full automation of the upgrade process and dual-channel communication guarantee.

[0006] To achieve the above objectives, on the one hand, the present invention provides a pile-end software upgrade method based on dual-mode communication, comprising the following steps: 1) When it is determined that the software installed at the pile end is software to be upgraded, determine whether the communication quality of the wireless communication channel at the pile end meets the preset communication quality requirements; 2) If the conditions are met, the wireless communication channel will be used as the download channel for receiving the upgrade package of the software to be upgraded; otherwise, the wired communication channel at the pile end will be used as the download channel.

[0007] Furthermore, the following method was used to determine that the installation software present at the pile tip was software to be upgraded: Compare the local version identifier of any installation software at the pile end with the latest version identifier. When the difference between the local version identifier and the latest version identifier reaches a preset iteration level threshold, the installation software is identified as the software to be upgraded, thus determining that there is installation software at the pile end that is the software to be upgraded. The version identifier of the installation software obtained from the pile end is used as the local version identifier; the latest released version identifier of the installation software obtained from the cloud, which is on the same communication link as the pile end, is used as the latest version identifier.

[0008] Furthermore, the received power and bit error rate of the wireless communication channel are detected; When the received power of the wireless communication channel meets the preset received power threshold and the bit error rate is lower than the preset bit error rate threshold, the wireless communication channel is determined to meet the preset communication quality requirements.

[0009] Furthermore, it also includes: during the process of receiving the upgrade package, the upgrade package is transmitted in a block transmission mode; after each data block of a preset size is transmitted, the transmission of the currently transmitted data block is checked for errors during transmission, and the next data block is transmitted after the check passes, until the transmission of the upgrade package is completed.

[0010] Furthermore, in response to the failure of the verification of the currently transmitted data block, the current data block is retransmitted. If the number of times the currently transmitted data block retransmission operation is executed reaches a preset threshold, then the download channel will be switched to a communication channel that does not correspond to the download channel.

[0011] On the other hand, the present invention also proposes a pile-end software upgrade system based on dual-mode communication. The system includes a controller, a status detection module for determining whether the installed software at the pile end is the software to be upgraded, and a dual-mode communication module including a wireless communication channel and a wired communication channel. The controller is connected to both the status detection module and the dual-mode communication module, and the controller is used to execute the following method steps: 1) When it is determined that the software installed at the pile end is software to be upgraded, determine whether the communication quality of the wireless communication channel at the pile end meets the preset communication quality requirements; 2) If the conditions are met, the wireless communication channel will be used as the download channel for receiving the upgrade package of the software to be upgraded; otherwise, the wired communication channel at the pile end will be used as the download channel.

[0012] Furthermore, the status detection module is also used to compare the local version identifier of any installation software at the pile end with the latest version identifier. When the difference between the local version identifier and the latest version identifier reaches a preset iteration level threshold, the installation software is identified as the software to be upgraded, thus determining that there is installation software at the pile end that is software to be upgraded. The version identifier of the installation software obtained from the pile end is used as the local version identifier; the latest released version identifier of the installation software obtained from the cloud, which is on the same communication link as the pile end, is used as the latest version identifier.

[0013] Furthermore, the controller is also configured to perform: detecting the received power and bit error rate of the wireless communication channel; When the received power of the wireless communication channel meets the preset received power threshold and the bit error rate is lower than the preset bit error rate threshold, the wireless communication channel is determined to meet the preset communication quality requirements.

[0014] Furthermore, the controller is also configured to perform the following: during the process of receiving the upgrade package, the upgrade package is transmitted in a block transmission mode; after each transmission of a preset size data block, the controller checks whether there are any errors in the transmission process of the currently transmitted data block, and after the check passes, the next data block is transmitted until the upgrade package transmission is completed.

[0015] On the other hand, the present invention also proposes a charging pile, which includes the charging pile-end software upgrade system based on dual-mode communication as described above. The dual-mode communication-based charging pile-end software upgrade system includes a controller, a status detection module for determining if the installed software at the charging pile end is the software to be upgraded, and a dual-mode communication module including a wireless communication channel and a wired communication channel. The controller is connected to both the status detection module and the dual-mode communication module, and the controller is used to execute the following method steps: 1) When it is determined that the software installed at the pile end is software to be upgraded, determine whether the communication quality of the wireless communication channel at the pile end meets the preset communication quality requirements; 2) If the conditions are met, the wireless communication channel will be used as the download channel for receiving the upgrade package of the software to be upgraded; otherwise, the wired communication channel at the pile end will be used as the download channel.

[0016] Furthermore, the status detection module is also used to compare the local version identifier of any installation software at the pile end with the latest version identifier. When the difference between the local version identifier and the latest version identifier reaches a preset iteration level threshold, the installation software is identified as the software to be upgraded, thus determining that there is installation software at the pile end that is software to be upgraded. The version identifier of the installation software obtained from the pile end is used as the local version identifier; the latest released version identifier of the installation software obtained from the cloud, which is on the same communication link as the pile end, is used as the latest version identifier.

[0017] Furthermore, the controller is also configured to perform: detecting the received power and bit error rate of the wireless communication channel; When the received power of the wireless communication channel meets the preset received power threshold and the bit error rate is lower than the preset bit error rate threshold, the wireless communication channel is determined to meet the preset communication quality requirements.

[0018] Furthermore, the controller is also configured to perform the following: during the process of receiving the upgrade package, the upgrade package is transmitted in a block transmission mode; after each transmission of a preset size data block, the controller checks whether there are any errors in the transmission process of the currently transmitted data block, and after the check passes, the next data block is transmitted until the upgrade package transmission is completed.

[0019] The beneficial effects of this invention are as follows: when it is determined that the installed software at the charging pile end is software to be upgraded, it is judged whether the communication quality of the wireless communication channel at the charging pile end meets the preset communication quality requirements; if it does, the wireless communication channel is used as the download channel for receiving the upgrade package of the software to be upgraded; otherwise, the wired communication channel at the charging pile end is used as the download channel, thereby realizing the full automation of the upgrade process and the dual-channel communication guarantee, avoiding the problems of charging pile end software updates relying on on-site manual operation and low efficiency of remote communication. Attached Figure Description

[0020] Figure 1 This is a flowchart illustrating a pile-end software upgrade method based on dual-mode communication proposed in this invention. Figure 2 This is a flowchart of data communication in a practical application scenario for a pile-end software upgrade method based on dual-mode communication proposed in this invention; Figure 3 This is a schematic diagram of the system structure of the pile-end software upgrade system based on dual-mode communication proposed in this invention in a practical application scenario; Figure 4 This is a structural diagram of the communication link between four terminals when a charging pile performs a software upgrade in a practical application scenario, as proposed in this invention. Detailed Implementation

[0021] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments.

[0022] The inventive concept of this invention is to solve the problems of existing technology where charging pile software updates rely on on-site manual operation and remote communication is inefficient due to its single mode. A dual-mode communication module is set up at the charging pile to provide two download channels when downloading the upgrade package, with priority given to the use of the wireless communication channel. This achieves full automation of the upgrade process while ensuring dual-channel communication.

[0023] Detailed implementation method 1: like Figure 1 The diagram shown is a flowchart of a pile-end software upgrade method based on dual-mode communication proposed in this invention, which includes steps S11, S12, and S13, specifically: When it is determined that the installed software at the charging pile is software to be upgraded, step S11 is executed to determine whether the communication quality of the charging pile's wireless communication channel meets the preset communication quality requirements. Here, the installed software refers to the application software included in the current system of the charging pile, which can be one, two, or more. The charging pile's wireless communication channel refers to the data transmission channel set up at the charging pile that supports wireless networks such as 4G. When judging the communication quality of the charging pile's wireless communication channel, parameters such as the channel's signal receiving power, bit error rate, signal-to-noise ratio, bandwidth, and data rate can be considered, and then it can be determined whether the detected parameter values ​​reach the corresponding parameter thresholds to obtain whether the communication quality requirements are met. In this embodiment, it is preferable to determine whether the communication quality requirements are met by the receiving power and bit error rate of the wireless communication channel, that is, by detecting the receiving power and bit error rate of the wireless communication channel. When the receiving power of the wireless communication channel meets the preset receiving power threshold and the bit error rate is lower than the preset bit error rate threshold, it is determined that the wireless communication channel meets the preset communication quality requirements.

[0024] Step S12: If satisfied, the wireless communication channel is used as a download channel for receiving the upgrade package of the software to be upgraded. It should be noted that the download channel "connects" the communication relay module and the charging pile. The communication relay module is a "bridge" between the charging pile and the cloud server, so that the cloud server sends the upgrade package to the communication relay module, and then the communication relay module sends it to the charging pile through the download channel, thereby establishing a communication link between the cloud, the communication relay module and the wireless communication channel, and enabling the charging pile to quickly receive the upgrade package sent by the cloud.

[0025] Step S13: If the condition is not met, the wired communication channel at the charging pile end will be used as a download channel for receiving the upgrade package of the software to be upgraded. Here, the wired communication channel at the charging pile end refers to the data transmission channel that supports wired networks such as Ethernet at the charging pile end, so as to establish a communication link between the cloud, the communication relay module and the wired communication channel.

[0026] Steps S11-S13 solve the problems of charging pile software upgrades relying on manual operation and the single network channel signal being easily interrupted. By utilizing a dual-channel communication design, flexible switching between wired and wireless communication is achieved, thereby improving the success rate of charging pile software upgrades.

[0027] Method Detailed Implementation 2: Following the specific embodiments described above, in step 1, the installation software present at the pile end is determined to be software to be upgraded using the following method: Since there are multiple application software programs in the current system of the charging pile, for any software installed on the pile: the version identifier of the software obtained from the pile is used as the local version identifier of the software; the latest released version identifier of the software obtained from the cloud, which is on the same communication link as the pile, is used as the latest version identifier of the software.

[0028] The local version identifier of the installed software is compared with the latest version identifier. When the difference between the local version identifier and the latest version identifier reaches a preset iteration level threshold, the installed software is identified as the software to be upgraded. Here, the iteration level refers to the repetitive development cycle divided into levels during software development. Each level focuses on a specific goal, and the software product is purified through gradual improvement. In this embodiment, the preset iteration level threshold is preferably two, that is, when the difference between the local version identifier and the latest version identifier reaches two iteration levels, the installed software is identified as the software to be upgraded.

[0029] Meanwhile, in order to promptly detect whether there is software to be upgraded at the pile end, a periodic check is performed on the installation software contained in the pile end to detect whether there is software to be upgraded. For this purpose, a status detection module for periodic detection is provided at the pile end to realize automatic software version detection and confirmation.

[0030] Method Detailed Implementation 3: Following the specific embodiments described above, in order to ensure the successful transmission of the upgrade package sent from the cloud, the present invention proposes a pile-end software upgrade method based on dual-mode communication, which further includes: during the process of receiving the upgrade package, the upgrade package is transmitted in a block transmission mode; the block transmission mode refers to dividing large files or large amounts of data (such as upgrade packages) into multiple fixed-size or dynamically sized "data blocks", and each data block is transmitted independently.

[0031] After each data block of a preset size is transmitted, the transmission of the currently transmitted data block is checked for errors during transmission. If the check passes, the next data block is transmitted until the upgrade package is transmitted. Here, the check is preferably a CRC32 check.

[0032] If the verification of the currently transmitted data block fails, a retransmission operation is performed. If the verification of the currently transmitted data block succeeds after the retransmission operation, the transmission of the next data block continues. If the verification still fails, and the number of retransmission operations for the currently transmitted data block reaches a preset threshold, the download channel is switched to a communication channel that does not correspond to the download channel. Here, switching the download channel to a communication channel that does not correspond to the download channel means: if the currently transmitted data block is transmitted through a wireless communication channel (i.e., the download channel is a wireless communication channel), the download channel is switched to a wired communication channel; if the currently transmitted data block is transmitted through a wired communication channel (i.e., the download channel is a wired communication channel), the download channel is switched to a wireless communication channel.

[0033] Method Detailed Implementation 4: The following section will explain the proposed method for upgrading charging pile software based on dual-mode communication, using practical applications. The software upgrade sequence for any target charging pile in the charging pile cluster is as follows: 1. During the triggering phase, the status detection module at the target charging pile automatically checks its software version number daily at 00:00. If an outdated version is detected, the target charging pile sends an update request to the cloud. Additionally, the status detection module also monitors the temperature or voltage of the target charging pile. If either temperature or voltage exceeds the corresponding parameter threshold, the target charging pile sends an alarm message to the cloud. Specifically: (1) Periodic self-check mechanism: The status detection module triggers a daily timed task based on the built-in real-time clock (RTC) and automatically executes the software version verification program at the preset time point (00:00).

[0034] (2) Multi-dimensional condition detection: a. Software update level: compare the local firmware version number with the latest version identifier released in the cloud. When the version difference is detected to be ≥2 iteration levels, an update flag is generated; b. Hardware anomaly level: synchronously collect temperature sensor and voltage monitoring circuit data. If the temperature or voltage exceeds the corresponding safety threshold for 3 minutes (temperature > 85℃ or voltage fluctuation > ±10%), an emergency request is triggered.

[0035] (3) Intelligent decision-making process: When any condition in (2) is met, the corresponding information message is immediately sent to the cloud server through the communication relay module (for example, when the condition is a software update, an encrypted update request message is sent; when the condition is that the temperature or voltage exceeds the corresponding safety threshold for 3 minutes, an encrypted emergency request message is sent). The message contains the target charging pile device ID, fault code and environmental parameter snapshot.

[0036] 2. Transmission Phase: The cloud server sends the upgrade package to the communication relay module. The target charging pile downloads the upgrade package through a preferred channel strategy. This preferred channel strategy means that if the 4G signal strength is greater than 20dBm, the 4G channel is used; otherwise, the Ethernet channel is switched. Specifically: (1) Cloud response and relay scheduling: After receiving the request, the cloud server retrieves the matching upgrade package and attaches a digital signature, and sends it to the communication relay module through the multi-protocol gateway. The relay module performs operator network optimization (dual SIM card load balancing).

[0037] (2) Target charging pile terminal communication link optimization strategy: a. Real-time evaluation of wireless channel quality: continuously measure the 4G network reference signal received power (RSRP). When the RSRP value is >20dBm and the bit error rate is <0.1%, activate the 4G mobile communication module to establish a transmission tunnel; b. Wired channel disaster recovery mechanism: when the wireless signal does not meet the transmission reliability requirements, automatically switch to the Ethernet physical layer interface based on the IEEE 802.3 standard and enable the TCP / IP protocol stack to establish a redundant link.

[0038] (3) Block-based verification transmission guarantee: The upgrade package adopts a block-based transmission mode (256KB per packet). After each data block is transmitted, a CRC32 verification is performed. If the transmission fails, the current channel is retransmitted (maximum 3 retries) or the channel is switched.

[0039] 3. Installation phase: The upgrade package is written to backup area B. After verification, the boot flag is modified. After restarting, the system boots from area B, and the original area A is automatically erased.

[0040] Method Detailed Implementation 5: like Figure 2The diagram shows a flowchart of data communication in a practical application scenario for a charging pile software upgrade method based on dual-mode communication proposed in this invention. First, a target communication link is established between the cloud server, the communication relay module, and the charging pile. Second, in response to the target installed software on the charging pile being the software to be upgraded, the target upgrade package for the software to be upgraded is obtained from the upgrade package management platform in the cloud based on the target communication link, and the target upgrade package is sent to the communication relay module. The communication relay module has dual SIM card channels, stably receiving the target upgrade package and sending it to the charging pile via an HTTPS encrypted tunnel. Next, the charging pile determines whether the signal strength of the wireless communication channel is greater than 20dBm. If so, the download channel is determined to be a 4G communication channel; otherwise, the download channel is determined to be an Ethernet communication channel. The main control MCU of the charging pile controls the download channel to receive the target upgrade package. After successful reception, the target upgrade package is stored in secure flash memory. Finally, in response to the upgrade command issued by the main control MCU, the secure storage flash memory writes the target upgrade package to partition B and completes the upgrade and startup in partition B. After startup, the corresponding installed software is deleted from partition A to complete the remote upgrade of the software to be upgraded. In response to the main control MCU not issuing an upgrade command or issuing a no-upgrade command, the secure storage flash memory continues to run according to the software installed in partition A.

[0041] System Specific Implementation Method 1: On the other hand, the present invention also proposes a charging pile software upgrade system based on dual-mode communication, which includes a cloud server, a communication relay module and a charging pile cluster. Each charging pile includes a main control chip (Microcontroller Unit, MCU), a dual-mode communication module (4G communication unit and wired Ethernet communication unit) connected to the main control chip, an independently set status detection module (voltage / temperature detection unit and software version verification unit) and a secure storage partition (Flash memory partitioned into A area + B area).

[0042] The main control chip MCU is connected not only to the dual-mode communication module, but also to the status detection module and the secure storage partition.

[0043] The main control chip MCU is used to realize data interaction between the charging pile terminal and the communication interruption module, and to control and manage the dual-mode communication module, detection module and security storage partition based on the data interaction to complete the software upgrade of the charging pile; the dual-mode communication module is used to provide a stable transmission channel for data interaction between the charging pile terminal and the communication interruption module; the status detection module is used to periodically detect the software version and voltage and temperature information; the security storage partition is used to store the current system software and upgrade packages to be installed.

[0044] For any target charging pile in the charging pile cluster, the corresponding communication link structure is: cloud server → communication relay module (MQTT protocol) → target charging pile. The data transmission of the communication relay module is based on the MQTT (Message Queuing Telemetry Transport) protocol. The target charging pile has an HTTPS encrypted tunnel to ensure the security of communication, so that the MQTT message of the target charging pile is transmitted to the communication relay module through the HTTPS encrypted tunnel.

[0045] In addition, to improve data transmission stability and avoid transmission interruptions, a dual SIM card slot is provided within the communication relay module, which supports automatic carrier switching. Furthermore, the communication relay module establishes a management connection with the charging management terminal. The charging management terminal sends global upgrade policies, network configuration parameters, and load balancing rules to the communication relay module, and receives aggregated reports from the communication relay module regarding the communication status and upgrade progress of its subordinate charging pile clusters, enabling centralized monitoring and intelligent management of the communication links.

[0046] System Specific Implementation Method 2: like Figure 3 The diagram shows the system structure of a charging pile software upgrade system based on dual-mode communication proposed in this invention in a practical application scenario. It includes a 4G communication module (i.e., the wireless communication channel in the dual-mode communication module), an Ethernet PHY chip (i.e., the wired communication channel in the dual-mode communication module), a main control MCU, a status detection circuit (i.e., the status detection module), and a secure storage Flash containing partitions A and B. The status detection module determines if the charging pile has installed software that needs to be upgraded. In the secure storage Flash, partition A is used as the software area in the current system, and partition B is used as the upgrade cache area. The 4G communication module provides a wireless download channel for the charging pile to receive the upgrade package of the software to be upgraded. The Ethernet PHY chip provides a wired download channel for the charging pile to receive the upgrade package of the software to be upgraded. The main control MCU acts as a controller to enable data interaction between the charging pile and the communication interruption module, and to control and manage the dual-mode communication module, the detection module, and the secure storage partition based on this data interaction, thereby completing the charging pile software upgrade method based on dual-mode communication proposed in this invention.

[0047] Specific implementation method 1 for charging piles: like Figure 4The diagram illustrates the communication link structure between four terminals of a charging pile during a software upgrade in a practical application scenario, as proposed in this invention. The communication relay module acts as a "bridge" between the charging pile and the cloud server, and a bidirectional communication link for management and feedback exists between the charging management terminal and the communication relay module. The charging management terminal, acting as the regional "commander," is responsible for formulating rules and monitoring the overall situation; the communication relay module, acting as the regional "executor," is responsible for receiving instructions, aggregating data, and efficiently executing specific communication tasks with subordinate charging piles.

[0048] In summary, this invention provides a low-cost, highly reliable remote maintenance solution for charging piles. Through innovative hardware architecture, it achieves fully automated upgrade processes, dual-channel communication redundancy, and real-time upgrade status feedback. Furthermore, this invention has at least the following technical effects or advantages: Upgrade success rate is improved, and dual-channel redundancy design reduces the risk of communication interruption; failure rate is reduced by 50%, and hardware-level partitioning and isolation prevent system crashes caused by upgrade failure; maintenance costs are reduced by 70%, and remote operation replaces manual on-site maintenance.

Claims

1. A method for upgrading pile-end software based on dual-mode communication, characterized in that, Includes the following steps: 1) When it is determined that the software installed at the pile end is software to be upgraded, determine whether the communication quality of the wireless communication channel at the pile end meets the preset communication quality requirements; 2) If the conditions are met, the wireless communication channel will be used as the download channel for receiving the upgrade package of the software to be upgraded; otherwise, the wired communication channel at the pile end will be used as the download channel.

2. The pile-end software upgrade method based on dual-mode communication according to claim 1, characterized in that, The following method was used to determine if the installation software at the pile tip was to be upgraded: Compare the local version identifier of any installation software at the pile end with the latest version identifier. When the difference between the local version identifier and the latest version identifier reaches a preset iteration level threshold, the installation software is identified as the software to be upgraded, thus determining that there is installation software at the pile end that is the software to be upgraded. The version identifier of the installation software obtained from the pile end is used as the local version identifier; the latest released version identifier of the installation software obtained from the cloud, which is on the same communication link as the pile end, is used as the latest version identifier.

3. The pile-end software upgrade method based on dual-mode communication according to claim 1, characterized in that, Detect the received power and bit error rate of the wireless communication channel; When the received power of the wireless communication channel meets the preset received power threshold and the bit error rate is lower than the preset bit error rate threshold, the wireless communication channel is determined to meet the preset communication quality requirements.

4. The pile-end software upgrade method based on dual-mode communication according to claim 1, characterized in that, Also includes: During the process of receiving the upgrade package, the upgrade package is transmitted in a chunked transmission mode; After each data block of a preset size is transmitted, the transmission of the currently transmitted data block is checked for errors during transmission. If the check passes, the next data block is transmitted until the upgrade package transmission is complete.

5. The pile-end software upgrade method based on dual-mode communication according to claim 4, characterized in that, If the verification of the currently transmitted data block fails, the currently transmitted data block will be retransmitted. If the number of times the currently transmitted data block retransmission operation is executed reaches a preset threshold, then the download channel will be switched to a communication channel that does not correspond to the download channel.

6. A pile-end software upgrade system based on dual-mode communication, the system comprising a controller, characterized in that, It also includes a status detection module for determining whether the installed software at the pile end is the software to be upgraded, and a dual-mode communication module containing a wireless communication channel and a wired communication channel; wherein, the controller is connected to the status detection module and the dual-mode communication module respectively, and the controller is used to perform the following method steps: 1) When it is determined that the software installed at the pile end is software to be upgraded, determine whether the communication quality of the wireless communication channel at the pile end meets the preset communication quality requirements; 2) If the conditions are met, the wireless communication channel will be used as the download channel for receiving the upgrade package of the software to be upgraded; otherwise, the wired communication channel at the pile end will be used as the download channel.

7. The pile-end software upgrade system based on dual-mode communication according to claim 6, characterized in that, The status detection module is also used to compare the local version identifier of any installation software at the pile end with the latest version identifier. When the difference between the local version identifier and the latest version identifier reaches a preset iteration level threshold, the installation software is identified as the software to be upgraded, and it is determined that there is installation software at the pile end that is software to be upgraded. The version identifier of the installation software obtained from the pile end is used as the local version identifier; the latest released version identifier of the installation software obtained from the cloud, which is on the same communication link as the pile end, is used as the latest version identifier.

8. The pile-end software upgrade system based on dual-mode communication according to claim 6, characterized in that, The controller is also used to perform: detecting the received power and bit error rate of the wireless communication channel; When the received power of the wireless communication channel meets the preset received power threshold and the bit error rate is lower than the preset bit error rate threshold, the wireless communication channel is determined to meet the preset communication quality requirements.

9. The pile-end software upgrade system based on dual-mode communication according to claim 6, characterized in that, The controller is also configured to perform the following: during the process of receiving the upgrade package, the upgrade package is transmitted in a block transmission mode; after each transmission of a preset size data block, the controller checks whether there are any errors in the transmission of the currently transmitted data block, and after the check passes, the next data block is transmitted until the upgrade package transmission is completed.

10. A charging pile, characterized in that, The charging pile includes a pile-end software upgrade system based on dual-mode communication as described in any one of claims 6-9.

Citation Information

Patent Citations

  • Charging pile network communication device, method and system

    CN108521471A