Communication control method for charging piles, and related apparatus

WO2026174854A1PCT designated stage Publication Date: 2026-08-27SUNGROW CHARGING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/134574
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-02-24
Filing Date
2025-11-13
Publication Date
2026-08-27

Smart Images

  • Figure CN2025134574_27082026_PF_FP_ABST
    Figure CN2025134574_27082026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of charging piles. Disclosed are a communication control method for charging piles, and a related apparatus. In the present application, an internal communication network is constructed in a charging station, an online charging pile communicates with the other online charging piles by means of the internal communication network, and when the number of online charging piles reaches a first threshold, a master charging pile is determined from among the online charging piles, and the other online charging piles are determined as slave charging piles, such that the master charging pile communicates with a target device, and the slave charging piles communicate with the target device by means of the master charging pile. Compared with the approach in which all charging piles separately communicate with a target device, the present application reduces the communication pressure on a target device, and also reduces the communication costs incurred when charging piles communicate with the target device.
Need to check novelty before this filing date? Find Prior Art

Description

A communication control method of a charging pile and related device

[0001] The present disclosure claims priority to the domestic application with the application number 202510208463.5, the application name of "a communication control method of a charging pile and related device", which is filed with the China Patent Office on February 24, 2025, and the whole content is incorporated by reference in the present disclosure. TECHNICAL FIELD

[0002] The embodiments of the present disclosure relate to a communication control method of a charging pile and related device. BACKGROUND

[0003] With the popularization of new energy vehicles, the number of charging stations and the number of charging piles in the charging stations are increasing.

[0004] Usually, the charging piles in the charging station are individually communicated with the platform, and each charging pile needs to have communication function, which not only increases the communication cost, but also brings huge communication pressure to the platform. SUMMARY

[0005] In view of the above problems, the present disclosure provides a communication control method of a charging pile and related device, which reduces the communication pressure of the target device and reduces the communication cost generated by the communication between the charging pile and the target device. The specific scheme is as follows:

[0006] The first aspect of the present disclosure provides a communication control method of a charging pile, comprising:

[0007] Obtaining the number of online charging piles in a charging station, wherein each online charging pile communicates with other online charging piles through an internal communication network of the charging station;

[0008] If the number of online charging piles reaches a first threshold, a master pile is determined in each online charging pile, and other online charging piles in the charging station are determined as slave piles, wherein the master pile is used to communicate with a target device, and the slave piles communicate with the target device through the master pile.

[0009] In a possible implementation, the master pile is determined in each online charging pile, comprising:

[0010] Obtaining the communication condition of each online charging pile;

[0011] The charging pile with the best communication condition is determined as the master pile.

[0012] In a possible implementation, the master pile is determined in each online charging pile, comprising:

[0013] Based on the number of each online charging pile, the online charging pile with the largest number, the smallest number, or the preset number is determined as the main charging pile.

[0014] In one possible implementation, determining the main charging station among the various online charging stations includes:

[0015] Execute the local election process and broadcast the election results on the internal communication network;

[0016] The system receives the election results broadcast by other online charging piles in the charging station and determines the main pile according to a preset election algorithm.

[0017] In one possible implementation, after identifying the master charging pile among the various online charging piles and determining the other online charging piles in the charging station as slave charging piles, the method further includes:

[0018] If the number of disconnections from the charging piles exceeds the second threshold, then each charging pile communicates directly with the target device.

[0019] Alternatively, if the number of online charging piles is less than the third threshold, each charging pile communicates directly with the target device.

[0020] Alternatively, if the number of times the step of determining the main charging pile is executed within a preset time exceeds the fourth threshold, then each charging pile communicates directly with the target device.

[0021] In one possible implementation, obtaining the number of online charging piles in the charging station includes:

[0022] If the charging station meets the preset group control conditions, the number of online charging piles in the charging station is obtained.

[0023] In one possible implementation, the preset group control condition is: the charging pile receives a remote upgrade command or a whole-site power scheduling command.

[0024] In one possible implementation, the charging station includes a new energy system, which includes at least one of a new energy power generation system and an energy storage system, and the preset group control condition is that the operating data of the new energy system meets the preset middleware scheduling conditions.

[0025] In one possible implementation, if the new energy system includes the new energy power generation system, then the preset middle platform scheduling condition is: the power generation of the new energy power generation system is greater than the fifth threshold and the current time period belongs to the valley period of the time-of-use electricity price period;

[0026] If the new energy system includes the energy storage system, then the preset middle platform scheduling condition is: the energy storage capacity of the energy storage system is greater than the sixth threshold and the current time period belongs to the off-peak period of the time-of-use electricity price period;

[0027] If the new energy system includes the new energy power generation system and the energy storage system, then the preset middle platform scheduling conditions are: the power generation of the new energy power generation system is greater than the fifth threshold or the energy storage capacity of the energy storage system is greater than the sixth threshold, and the current time period belongs to the valley period of the time-of-use electricity price period.

[0028] In one possible implementation, if the operating data of the new energy system does not meet the preset middleware scheduling conditions, each charging pile communicates with the network-side equipment separately.

[0029] A second aspect of this disclosure provides a charging pile, including at least one processor and a memory connected to the processor, wherein:

[0030] The memory is used to store computer programs;

[0031] The processor is used to execute the computer program so that the charging pile can implement the communication control method of the charging pile according to the first aspect or any implementation of the first aspect.

[0032] A third aspect of this disclosure provides a middleware device, including at least one processor and a memory connected to the processor, wherein:

[0033] The memory is used to store computer programs;

[0034] The processor is used to execute the computer program so that the middleware device can implement the communication control method of the charging pile in the first aspect or any implementation of the first aspect.

[0035] This disclosure provides a fourth aspect of a charging station, comprising: a plurality of charging piles as described in the second aspect;

[0036] The charging pile communicates with other charging piles through the internal communication network of the charging station.

[0037] This disclosure provides a charging station in a fifth aspect, comprising: a new energy system, multiple charging piles, and the middleware device described in the third aspect;

[0038] The new energy system includes at least one of a new energy power generation system and an energy storage system;

[0039] The central platform device communicates with the new energy system and multiple charging piles respectively through the internal communication network of the charging station;

[0040] The charging pile communicates with other charging piles through the internal communication network of the charging station.

[0041] By utilizing the above technical solution, this disclosure provides a communication control method and related device for charging piles. An internal communication network is constructed within the charging station, through which online charging piles communicate with other online charging piles. When the number of online charging piles reaches a first threshold, a master pile is identified among the various online charging piles, and the other online charging piles are identified as slave piles. This enables the master pile to communicate with the target device, and the slave piles to communicate with the target device through the master pile. Compared to each charging pile communicating individually with the target device, this not only reduces the communication pressure on the target device but also lowers the communication cost incurred by the charging piles communicating with the target device.

[0042] Brief description of the attached figures

[0043] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.

[0044] Figure 1 is a structural schematic diagram of a charging station provided in an embodiment of this disclosure;

[0045] Figure 2 is a flowchart illustrating a communication control method for a charging pile according to an embodiment of this disclosure;

[0046] Figure 3 is a structural schematic diagram of a charging station provided in an embodiment of this disclosure;

[0047] Figure 4 is a flowchart illustrating another communication control method for a charging pile provided in an embodiment of this disclosure;

[0048] Figure 5 is a schematic diagram of a communication mode switching provided in an embodiment of this disclosure;

[0049] Figure 6 is a flowchart illustrating another communication control method for a charging pile provided in an embodiment of this disclosure. Detailed Implementation

[0050] The embodiments of this disclosure are described below with reference to the accompanying drawings. The terminology used in the Description of Embodiments section of this disclosure is for illustrative purposes only and is not intended to limit the scope of this disclosure.

[0051] The embodiments of this disclosure will now be described with reference to the accompanying drawings. Those skilled in the art will recognize that, with technological advancements and the emergence of new scenarios, the technical solutions provided in the embodiments of this disclosure are equally applicable to similar technical problems.

[0052] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such terms are interchangeable where appropriate; this is merely a way of distinguishing objects with the same properties in the description of embodiments of this disclosure. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion, so that a process, method, system, product, or apparatus that comprises a series of elements is not necessarily limited to those elements but may include other elements not expressly listed or inherent to those processes, methods, products, or apparatuses.

[0053] This disclosure provides a charging station including multiple charging piles, which communicate with each other through an internal communication network. The internal communication network of the charging station can be a wired network or a wireless network.

[0054] Referring to Figure 1, Figure 1 shows a schematic diagram of a charging station. The charging station includes multiple charging piles 101 and a switch 102, which together form an internal communication network. The charging piles 101 are equipped with Ethernet interfaces, and the charging piles 101 and the switch 102 are connected via Ethernet wired connection. The wired connection is stable, reliable, and has strong anti-interference capabilities.

[0055] This disclosure provides a communication control method for charging piles, applied to charging piles in charging stations. The communication control method for charging piles according to this disclosure will be described in detail below with reference to the accompanying drawings.

[0056] Referring to Figure 2, which is a flowchart illustrating a communication control method for a charging pile according to an embodiment of this disclosure, the communication control method for a charging pile according to an embodiment of this disclosure includes steps 201-202, which will be described in detail below.

[0057] 201: Obtain the number of online charging piles in the charging station, wherein each online charging pile communicates with other online charging piles through the charging station's internal communication network;

[0058] The number of online charging piles in the charging station is determined by communication with other charging piles.

[0059] For example, each charging pile runs an online detection service in real time. The online detection service sends heartbeat information to other charging piles and receives heartbeat information sent by other charging piles. The number of online charging piles is determined based on the number of heartbeat information received.

[0060] 202: If the number of online charging piles reaches the first threshold, then the master pile is determined among the online charging piles, and the other online charging piles in the charging station are determined as slave piles. The master pile is used to communicate with the network-side equipment, and the slave piles communicate with the network-side equipment through the master pile.

[0061] The first threshold is greater than or equal to 2. If the number of online charging piles is less than the first threshold, it means that the number of online charging piles is too small, and there is no need to use master-slave pile communication.

[0062] After the master charging pile is generated, it broadcasts its information in the charging station's internal communication network. Other online charging piles, upon receiving this information, default to becoming slave piles and then establish master-slave communication. For example, taking a charging station with six online charging piles, after charging pile 1 is determined as the master pile, the other five online charging piles establish heartbeat responses with charging pile 1 respectively.

[0063] After establishing master-slave communication, the master stake is used to communicate with the target device, which can be a network-side device such as a cloud server or platform server. The master stake acts as a relay device between the network-side device and the slave stake, forwarding information sent by the slave stake to the network-side device and vice versa. For ease of explanation, this communication mode is defined as the group control mode below.

[0064] This embodiment discloses a communication control method for charging piles. An internal communication network is constructed in the charging station, and online charging piles communicate with other online charging piles through this internal communication network. When the number of online charging piles reaches a first threshold, a master pile is identified among the various online charging piles, and the other online charging piles are identified as slave piles. The master pile communicates with the network-side equipment, and the slave piles communicate with the network-side equipment through the master pile. Compared with all charging piles communicating with the network side individually, this method not only reduces the communication pressure on the network-side equipment, but also reduces the communication cost incurred by the charging piles communicating with the network-side equipment.

[0065] There are multiple ways to identify the main charging station among various online charging stations.

[0066] In one possible implementation, the online charging pile with the largest number, the smallest number, or a preset number is determined as the main charging pile based on the number in each online charging pile.

[0067] In another possible implementation, the communication status of each online charging station is obtained, and the charging station with the best communication status is designated as the master station. For example, each online charging station simultaneously performs communication debugging. After completing the debugging, it notifies the other online charging stations, and the online charging station that completes the debugging first is designated as the master station.

[0068] In another possible implementation, each online charging pile performs a local election process in the internal communication network of the charging station. Each online charging pile broadcasts the election results in the internal communication network. After receiving the election results of other online charging piles, each online charging pile determines the master pile according to a preset election algorithm. The preset election algorithm can be any election algorithm.

[0069] The above three implementation methods are merely examples, and this disclosure is not limited to them.

[0070] In one possible implementation, if the charging station meets the preset conditions for exiting group control, the main charging pile is canceled, and each charging pile communicates directly with the target device.

[0071] In one embodiment, if the number of disconnected charging piles exceeds a second threshold, the charging station meets the preset exit group control conditions, and each charging pile communicates directly with the target device. The second threshold can be a fixed value or can be set according to the scale of the charging station, such as the second threshold being the number of charging piles in the charging station multiplied by a preset ratio.

[0072] In one embodiment, if the number of online charging piles is less than a third threshold, the charging station meets the preset exit condition for group control, and each charging pile communicates directly with the target device, wherein the third threshold is greater than or equal to 2. For example, there may be charging piles under maintenance in the charging station, and some charging piles may be temporarily powered off, resulting in only 1 online charging pile remaining. In this case, the number of online charging piles is too small to meet the preset exit condition for group control.

[0073] In one embodiment, if the number of times the step of determining the main charging pile is executed within a preset time exceeds a fourth threshold, the charging station meets the preset exit condition for group control. This situation often occurs when there are network anomalies or switch / router equipment failures, resulting in frequent switching between group control mode and non-group control mode. At this time, the group control mode is unstable. To ensure the normal operation of the charging piles, each charging pile communicates directly with the target device. The preset time and the fourth threshold are set according to the actual application scenario. The preset time and the fourth threshold are positively correlated, that is, the longer the preset time, the larger the fourth threshold. For example, if the preset time is 1 hour and the fourth threshold is 10 times, then if the number of times the step of determining the main charging pile is executed within 1 hour exceeds 10 times, the charging pile meets the preset exit condition for group control.

[0074] Correspondingly, if the charging station meets the preset group control conditions, step 201 in the above embodiment is executed.

[0075] For example, the preset group control condition is: the charging pile receives a remote upgrade command. In this scenario, the main charging pile completes the upgrade by communicating with the target device, and then the main charging pile performs a local upgrade on the slave charging piles, improving upgrade efficiency and reliability and preventing any charging piles from being missed in the upgrade process.

[0076] For example, the preset group control condition is: the charging pile receives the power scheduling command for the entire station. In this scenario, the target device performs power scheduling on the slave piles through the master pile, thereby improving power scheduling efficiency.

[0077] For example, the preset group control condition is that the charging station's internal communication network is in normal condition. In this case, as long as the charging station's internal communication network is in normal condition and the number of online charging piles reaches the first threshold, the group control mode not only reduces the communication pressure on the target device, but also reduces the communication cost incurred by the charging piles communicating with the target device.

[0078] This disclosure also provides a charging pile, including at least one processor and a memory connected to the processor, wherein:

[0079] The memory is used to store computer programs;

[0080] The processor is used to execute the computer program so that the charging pile can implement any of the communication control methods for charging piles provided in the embodiments of this disclosure.

[0081] It is understandable that charging stations also include charging guns, displays, charging modules, and other equipment, which will not be elaborated here.

[0082] This disclosure also provides a computer program product including computer-readable instructions, which, when executed on a charging pile, enable the charging pile to implement any of the communication control methods provided in this disclosure.

[0083] This disclosure also provides a computer-readable storage medium carrying one or more computer programs. When the one or more computer programs are executed by the charging pile, the charging pile can implement any of the communication control methods provided in this disclosure.

[0084] This disclosure also provides a charging station, including: a new energy system, multiple charging piles, and a middleware device. The new energy system includes at least one of a new energy power generation system and an energy storage system. The middleware device is communicatively connected to the new energy system and the multiple charging piles through the charging station's internal communication network. The new energy power generation system can be a photovoltaic system.

[0085] Referring to Figure 3, which shows a schematic diagram of a charging station, solid lines represent power output lines and dashed lines represent communication lines. The charging station includes multiple charging piles 301, a switch 302, a router 303, a middleware device 304, an energy storage system 305, and a photovoltaic system 306. The charging piles 301, energy storage system 305, and photovoltaic system 306 are equipped with Ethernet interfaces. The charging piles 301, energy storage system 305, photovoltaic system 306, and switch 302 are connected via Ethernet wired connection. The middleware device 304 communicates with the charging piles 301, energy storage system 305, and photovoltaic system 306 through the router 303 and switch 302.

[0086] Taking photovoltaic (PV) systems as an example of new energy power generation systems, the output phases of PV systems and energy storage systems are different. PV systems mainly generate solar power during the day, while energy storage systems, in conjunction with time-of-use pricing, can better absorb and release the power generated by PV systems. Charging piles, as loads consuming electricity, can automatically switch communication modes according to the different output periods of PV and energy storage systems to cooperate with them, improving charging efficiency and maximizing customer benefits.

[0087] The communication modes of charging piles in charging stations include: normal mode, single control mode, and group control mode.

[0088] In the normal mode, each charging pile communicates directly with the network-side equipment.

[0089] In single-control mode, each charging pile communicates with the central platform device.

[0090] In the group control mode, the main pile communicates with the central platform equipment, and the slave piles communicate with the central platform equipment through the main piles.

[0091] This disclosure provides a communication control method for charging piles, applied to a central platform device in a charging station. The communication control method for charging piles according to this disclosure will be described in detail below with reference to the accompanying drawings.

[0092] Referring to Figure 4, which is a flowchart illustrating a communication control method for a charging pile according to an embodiment of this disclosure, the communication control method for a charging pile according to an embodiment of this disclosure includes steps 401-402. These steps will be described in detail below.

[0093] 401: Obtain the number of online charging piles in the charging station, wherein each online charging pile communicates with other online charging piles through the charging station's internal communication network;

[0094] The middleware unit obtains the number of online charging piles in the charging station based on the communication status with the charging piles.

[0095] For example, the middleware device runs an online detection service in real time, which monitors whether each charging pile is online by establishing a heartbeat response with each charging pile, thereby determining the number of online charging piles.

[0096] 402: If the number of online charging piles reaches the first threshold, then the master pile is determined among the online charging piles, and the other online charging piles in the charging station are determined as slave piles. The master pile is used to communicate with the central platform equipment, and the slave piles communicate with the central platform equipment through the master pile.

[0097] The first threshold is greater than or equal to 2. If the number of online charging piles is less than the first threshold, it means that the number of online charging piles is too small, and there is no need to use master-slave pile communication.

[0098] After the main charging pile is generated, it broadcasts its information in the internal communication network of the charging station. Other online charging piles receive the main charging pile information and are then designated as slave piles, thus establishing master-slave communication.

[0099] After establishing master-slave communication, the middleware adopts a group control mode for the charging piles. The middleware communicates with the master pile, and the master pile acts as a relay device between the middleware and the slave pile, forwarding information sent by the slave pile to the middleware and forwarding information sent by the middleware to the slave pile.

[0100] The method for determining the main charging pile among various online charging piles is the same as the embodiment corresponding to step 202, and will not be repeated here.

[0101] This embodiment discloses a communication control method for charging piles. An internal communication network is constructed in the charging station, and online charging piles communicate with other online charging piles through this internal communication network. When the number of online charging piles reaches a first threshold, a master pile is identified among the various online charging piles, and the other online charging piles are identified as slave piles. The master pile communicates with the central platform equipment, and the slave piles communicate with the central platform equipment through the master pile. Compared with all charging piles communicating with the central platform individually, this method not only reduces the communication pressure on the central platform equipment, but also reduces the communication cost generated by the charging piles communicating with the central platform equipment.

[0102] Figure 5 shows a schematic diagram of the communication mode switching, allowing switching between normal mode, group control mode, and single control mode. In normal mode, the charging pile will not be scheduled by the central platform device, which can schedule the energy storage system and the new energy power generation system. In single control mode and group control mode, the charging pile is scheduled by the central platform device. The following is a detailed introduction to the switching between the three communication modes.

[0103] In one possible implementation, the charging station meets the preset group control condition as follows: the operation data of the new energy system meets the preset middleware scheduling condition.

[0104] If the new energy system includes the new energy power generation system, the preset middle platform scheduling conditions are: the power generation of the new energy power generation system is greater than the fifth threshold and the current time period belongs to the valley period of the time-of-use electricity price period, that is, when the power generation of the new energy power generation system is high and the time-of-use electricity price is low.

[0105] If the new energy system includes an energy storage system, the preset scheduling conditions for the middle platform are: the energy storage capacity of the energy storage system is greater than the sixth threshold and the current time period is a valley period in the time-of-use pricing period, that is, when the energy storage capacity of the energy storage system is large and the time-of-use pricing is low.

[0106] If the new energy system includes a new energy power generation system and an energy storage system, the preset middle platform scheduling conditions are: the power generation of the new energy power generation system is greater than the fifth threshold or the energy storage capacity of the energy storage system is greater than the sixth threshold, the current time period is a valley period in the time-of-use pricing period, that is, when the power generation of the new energy power generation system is high or the energy storage capacity of the energy storage system is large, and the time-of-use pricing is low.

[0107] The fifth and sixth thresholds above can be set according to the actual application scenario. Meeting the preset middle platform scheduling conditions indicates that there is currently excess power generation or energy storage, and the time-of-use electricity price is low, making it unsuitable to connect the excess power generation or excess energy storage to the grid. It is preferable to use the excess power generation or excess energy storage for charging piles.

[0108] When a charging station meets the preset group control conditions, the central device obtains the number of online charging piles in the charging station. If the number of online charging piles reaches the first threshold, the normal mode is switched to the group control mode. If the number of online charging piles does not reach the first threshold, the normal mode is switched to the single control mode.

[0109] If the charging station does not meet the preset group control conditions, each charging pile communicates with the network side equipment separately, i.e., the normal mode is adopted.

[0110] Taking a charging station comprising a photovoltaic power generation system and an energy storage system as an example, please refer to the flowchart of the communication control method for the charging pile shown in Figure 6. Initially, the charging pile enters normal mode. At this time, the middleware determines whether the preset middleware scheduling conditions are met based on the operating data of the photovoltaic power generation system and the energy storage system. Specifically: first, the energy storage system is detected. If the stored energy capacity of the energy storage system is greater than the sixth threshold and the current time period belongs to the off-peak period of the time-of-use pricing, then the preset middleware scheduling conditions are met. If the energy storage system does not meet the preset middleware scheduling conditions, then the photovoltaic system is detected. If the photovoltaic system's power generation is greater than the fifth threshold and the current time period belongs to the off-peak period of the time-of-use pricing, then the preset middleware scheduling conditions are met. In one possible implementation, the photovoltaic system can be detected first; if the photovoltaic system does not meet the preset middleware scheduling conditions, then the energy storage system can be detected.

[0111] If the preset scheduling conditions of the middle platform are not met, the normal mode will continue to be executed.

[0112] If the preset scheduling conditions of the middle platform are met, the charging piles will be detected online. If the number of online charging piles reaches the first threshold, the system will switch from normal mode to group control mode. In group control mode, the middle platform device will not communicate with all charging piles, but only with the main pile, which can release the computing power of the middle platform device more. At this time, the communication architecture is more robust and the charging station system is more stable.

[0113] If the group control mode fails to switch, it will switch from normal mode to single control mode.

[0114] If the number of online charging stations does not reach the first threshold, the system will switch from normal mode to single-control mode.

[0115] If the switch to single-control mode fails, the normal mode will continue to be executed.

[0116] When switching to single-control mode or group-control mode, the middleware device performs scheduling of charging piles. The specific scheduling strategy is set according to the actual application scenario, and no specific limitation is made here.

[0117] After switching to single-control mode, if the number of online charging piles reaches the first threshold, the system will switch from single-control mode to group-control mode.

[0118] When the charging pile adopts single control mode or group control mode, the middleware continues to determine whether the preset middleware scheduling conditions are met based on the operation data of the photovoltaic power generation system and energy storage system. If the middleware scheduling conditions are not met, the single control mode or group control mode is switched to normal mode. The middleware cannot schedule the charging pile. At this time, the middleware will actively send a mode switching command to the charging pile. The charging pile responds to the mode switching command and switches to normal mode.

[0119] This disclosure also provides a middleware device, including at least one processor and a memory connected to the processor, wherein:

[0120] The memory is used to store computer programs;

[0121] The processor is used to execute the computer program so that the middleware device can implement the communication control method for the charging pile provided in the embodiments of this disclosure.

[0122] This disclosure also provides a computer program product including computer-readable instructions, which, when executed on a middleware device, enable the middleware device to implement any of the communication control methods for charging piles provided in this disclosure.

[0123] This disclosure also provides a computer-readable storage medium carrying one or more computer programs. When the one or more computer programs are executed by a middleware device, the middleware device can implement any of the communication control methods for charging piles provided in this disclosure.

[0124] It should also be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. In addition, in the accompanying drawings of the device embodiments provided in this disclosure, the connection relationship between modules indicates that they have a communication connection, which can be implemented as one or more communication buses or signal lines.

[0125] Through the above description of the embodiments, those skilled in the art can clearly understand that this disclosure can be implemented by means of software plus necessary general-purpose hardware, and of course, it can also be implemented by special-purpose hardware including application-specific integrated circuits, special-purpose CPUs, special-purpose memory, special-purpose components, etc. Generally, any function performed by a computer program can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be diverse, such as analog circuits, digital circuits, or special-purpose circuits. However, for this disclosure, software program implementation is more often a better implementation method. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a readable storage medium, such as a computer floppy disk, USB flash drive, mobile hard disk, ROM, RAM, magnetic disk, or optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, training equipment, or network device, etc.) to execute the methods described in the various embodiments of this disclosure.

[0126] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product.

[0127] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this disclosure are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, training device, or data center to another website, computer, training device, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state drives (SSDs)).

Claims

1. A communication control method for a charging pile, comprising: The number of online charging piles in the charging station is obtained, wherein each online charging pile communicates with other online charging piles through the internal communication network of the charging station; If the number of online charging piles reaches a first threshold, then a master pile is identified among the online charging piles, and the other online charging piles in the charging station are identified as slave piles. The master pile is used to communicate with the target device, and the slave piles communicate with the target device through the master pile.

2. The communication control method for charging piles according to claim 1, wherein determining the main pile among the various online charging piles includes: Obtain the communication status of each of the online charging piles; The charging pile with the best communication performance is identified as the main charging pile.

3. The communication control method for charging piles according to claim 1, wherein determining the main pile among the various online charging piles includes: Based on the number of each online charging pile, the online charging pile with the largest number, the smallest number, or the preset number is determined as the main charging pile.

4. The communication control method for charging piles according to claim 1, wherein determining the main pile among the various online charging piles includes: Execute the local election process and broadcast the election results on the internal communication network; The system receives the election results broadcast by other online charging piles in the charging station and determines the main pile according to a preset election algorithm.

5. The communication control method for a charging pile according to any one of claims 1-4, after determining the master pile among the various online charging piles and determining the other online charging piles in the charging station as slave piles, the method further includes: If the number of disconnections from the charging piles exceeds the second threshold, then each charging pile communicates directly with the target device. Alternatively, if the number of online charging piles is less than the third threshold, each charging pile communicates directly with the target device. Alternatively, if the number of times the step of determining the main charging pile is executed within a preset time exceeds the fourth threshold, then each charging pile communicates directly with the target device.

6. The communication control method for charging piles according to any one of claims 1-4, wherein obtaining the number of online charging piles in the charging station includes: If the charging station meets the preset group control conditions, the number of online charging piles in the charging station is obtained.

7. The communication control method for charging piles according to claim 6, wherein the preset group control condition is: the charging pile receives a remote upgrade command or a whole-site power scheduling command.

8. The communication control method for charging piles according to claim 6, wherein the charging station includes a new energy system, the new energy system includes at least one of a new energy power generation system and an energy storage system, and the preset group control condition is: the operating data of the new energy system meets the preset middleware scheduling condition.

9. The communication control method for charging piles according to claim 8, if the new energy system includes the new energy power generation system, then the preset middle platform scheduling condition is: the power generation of the new energy power generation system is greater than the fifth threshold and the current time period belongs to the valley period of the time-of-use electricity price period; If the new energy system includes the energy storage system, then the preset middle platform scheduling condition is: the energy storage capacity of the energy storage system is greater than the sixth threshold and the current time period belongs to the off-peak period of the time-of-use electricity price period; If the new energy system includes the new energy power generation system and the energy storage system, then the preset middle platform scheduling conditions are: the power generation of the new energy power generation system is greater than the fifth threshold or the energy storage capacity of the energy storage system is greater than the sixth threshold, and the current time period belongs to the valley period of the time-of-use electricity price period.

10. The communication control method for charging piles according to claim 8, wherein if the operating data of the new energy system does not meet the preset middleware scheduling conditions, each charging pile communicates with the network-side equipment respectively.

11. A charging pile, comprising at least one processor and a memory connected to the processor, wherein: The memory is configured to store computer programs; The processor is configured to execute the computer program to enable the charging pile to implement the communication control method for the charging pile as described in any one of claims 1 to 7.

12. A middleware device, comprising at least one processor and a memory connected to the processor, wherein: The memory is configured to store computer programs; The processor is configured to execute the computer program to enable the middleware to implement the communication control method for the charging pile as described in any one of claims 1 to 6, 8 to 10.

13. A charging station, comprising: The charging piles as described in multiple claims 11; The charging pile communicates with other charging piles through the internal communication network of the charging station.

14. A charging station, comprising: The new energy system, multiple charging piles, and the middleware device as described in claim 12; The new energy system includes at least one of a new energy power generation system and an energy storage system; The central platform device communicates with the new energy system and multiple charging piles respectively through the internal communication network of the charging station; The charging pile communicates with other charging piles through the internal communication network of the charging station.