A charging pile self-matching method and system of a routing switch and a multi-path gateway

By using a self-matching method with routing switches and multi-gateways, and by filtering secondary nodes using WiFi and SIM card signal strength, a tree-like local area network is constructed, which solves the problems of unstable communication and difficult maintenance of charging piles, and realizes stable and secure charging pile networking and management.

CN115915487BActive Publication Date: 2025-12-12XIAN WANMA SMART NEW ENERGY TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211513227.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-29
Publication Date
2025-12-12
Estimated Expiration
2042-11-29

AI Technical Summary

Technical Problem

Existing charging pile communication methods suffer from problems such as unstable communication between individual piles, high maintenance costs, vulnerability to internet attacks, and difficulties in maintenance and management.

Method used

The system employs a self-matching method using routing switches and multi-gateways to filter secondary nodes based on WiFi signal and SIM card signal strength, constructs a tree-like local area network structure, elects a root node for networking, and adaptively re-networks when the root node fails.

Benefits of technology

It achieves stable network connectivity for charging piles, reduces maintenance costs, improves safety and management efficiency, avoids internet attacks, and ensures the stability and reliability of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115915487B_ABST
    Figure CN115915487B_ABST
Patent Text Reader

Abstract

The application discloses a charging pile self-matching method and system of a routing switch and a multi-path gateway, characterized in that the method comprises the following steps: configuring a network card for each charging pile in a charging pile cluster, wherein the network card establishes intercommunication connection of each charging pile and other charging piles through a signal transmission module; calculating signal strength between each charging pile network card and other network cards, configuring a signal strength threshold, and screening a plurality of secondary nodes according to the signal strength and the signal strength threshold; selecting a root node from the secondary nodes according to the signal strength in an enumeration algorithm, and establishing communication connection of other secondary nodes and the root node; taking charging pile network cards except the secondary nodes as root nodes as child nodes, establishing communication connection of the child nodes and the secondary nodes to construct a tree-shaped networking structure; and managing the secondary nodes and the child nodes through the root node.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of charging pile network, in particular to a charging pile self-matching method and system of routing switch and multi-path gateway. BACKGROUND

[0002] At present, the communication mode of the charging pile is mainly single pile communication, which includes limited communication mode and 4G wireless communication mode. The 4G wireless communication mode basically communicates directly through the Internet in a single body, and does not form an interconnected operation. When the charging pile uses wired network communication, the charging pile construction site must have network access, and many charging pile construction sites do not meet the conditions. The charging pile uses Internet of Things card direct communication: using single SIM card communication, the stability is relatively poor, and each pile upgrade or other conditions needs to be downloaded by itself, resulting in uncontrollable traffic cost. When a single pile network error occurs, it will be isolated, unable to accept and accept any cloud information, resulting in increased maintenance cost. SUMMARY

[0003] One of the purposes of the present application is to provide a charging pile self-matching method and system of routing switch and multi-path gateway, which uses WiFi for networking, and adjusts the networking through the exchange and multi-path gateway between the charging piles through the self-matching mode, so that each charging pile can be effectively and stably connected to the network, reducing the maintenance cost.

[0004] Another purpose of the present application is to provide a charging pile self-matching method and system of routing switch and multi-path gateway, which screens out secondary nodes according to the signal strength and communication stability between the charging piles, and elects a root node according to the signal strength between the secondary nodes. The secondary nodes connect the lower level secondary nodes to build a tree-shaped local area network structure, so that the charging piles can form a networking structure of interconnection and intercommunication in the local area network. The above networking mode can avoid the attack of the external Internet on the charging pile group, improve the security, and improve the maintenance and management effect of the charging pile. As long as the root node charging pile data reading and program setting management is realized, the management of the clustered charging piles is realized.

[0005] Another purpose of the present application is to provide a charging pile self-matching method and system of routing switch and multi-path gateway, which uses SIM card as charging pile identification, detects WiFi signal strength and SIM card signal strength, and judges the communication stability of the SIM card. On the basis of the signal strength threshold range and the communication stability of the SIM card, the tree-shaped networking structure is constructed, so as to guarantee the stability of the charging pile communication transmission.

[0006] Another object of the present application is to provide a charging pile self-matching method and system for a routing switch and a multi-path gateway.

[0007] To achieve at least one of the above objects, the present application further provides a charging pile self-matching method for a routing switch and a multi-path gateway, comprising:

[0008] A network card is configured for each charging pile in a charging pile cluster, and the network card establishes interconnection between each charging pile and other charging piles through a signal transmission module

[0009] The signal strength between each charging pile network card and other network cards is calculated, a signal strength threshold is configured, and a plurality of secondary nodes are screened according to the signal strength and the signal strength threshold.

[0010] A root node is elected from the secondary nodes according to the signal strength in an enumeration algorithm, and other secondary nodes and the root node are connected in communication;

[0011] The network cards of the charging piles other than the secondary nodes serving as the root node are configured as child nodes, and the child nodes and the secondary nodes are connected in communication to build a tree-shaped networking structure;

[0012] The secondary nodes and the child nodes are managed through the root node.

[0013] According to a preferred embodiment of the present application, the root node networking method comprises: configuring a signal transmission module, sending signal data to the charging pile cluster, reading the signal strength of each charging pile, wherein the signal strength comprises WiFi signal strength and SIM card signal strength, and screening secondary nodes according to the signal strength data.

[0014] According to another preferred embodiment of the present application, a first signal strength threshold of the WiFi signal and a second signal strength threshold of the SIM card signal are respectively configured, and the network card of the charging pile whose WiFi signal strength is greater than the first signal strength threshold and whose SIM card signal strength is greater than the second signal strength threshold is taken as a secondary node network card.

[0015] According to another preferred embodiment of the present application, the network card of the charging pile whose WiFi signal strength is greater than the first signal strength threshold and whose SIM card signal strength is greater than the second signal strength threshold is calculated according to the signal sent by the signal transmission module, the corresponding charging pile of the network card is recorded, the corresponding charging pile network card and mac address information are recorded, and the corresponding charging pile network card and mac address information are saved in a routing table for subsequent data routing.

[0016] According to another preferred embodiment of the present application, the signal transmission module transmits a WiFi signal, the WiFi signal forms a signal strength circle layer in the charging pile cluster, a signal circle layer threshold of different signal strength levels is set in advance, the data transmission stability is judged according to the SIM card signal, each charging pile is marked according to the signal strength according to the signal circle layer threshold and the data transmission stability, and the election of the root node is performed according to the signal strength mark.

[0017] According to another preferred embodiment of the present application, the root node election method comprises: according to the charging piles with different signal strength marks, using the enumeration method to take the charging pile with the maximum received signal strength and the stable data transmission as the root node.

[0018] According to another preferred embodiment of the present application, when the root node fails, the secondary node and the root node are disconnected, the secondary root node with the maximum signal strength and the stable data transmission is elected as the new root node according to the communication mark, and the other secondary nodes and the newly elected root node are connected according to the routing table.

[0019] According to another preferred embodiment of the present application, each secondary charging pile is configured with a signal transmission module, the signal strength between each secondary charging pile and other charging piles nearby is calculated, the signal strength level between the secondary charging pile and other charging piles is calculated according to the signal circle layer threshold, the root node is determined through the signal strength level, and the optimal tree connection networking structure is formed according to the signal strength level between the secondary node and the child node.

[0020] In order to achieve at least one of the above-mentioned purposes, the present application further provides a charging pile self-matching system of a routing switch and a multi-path gateway, which executes the above-mentioned charging pile self-matching method of a routing switch and a multi-path gateway.

[0021] The present application further provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to execute the above-mentioned charging pile self-matching method of a routing switch and a multi-path gateway. BRIEF DESCRIPTION OF DRAWINGS

[0022] Figure 1 A flowchart of a charging pile self-matching method of a routing switch and a multi-path gateway is shown.

[0023] Figure 2 A networking structure diagram of a charging pile is shown.

[0024] Figure 3 Another networking structure diagram of a charging pile is shown.

[0025] Figure 4 The figure shows a schematic diagram of a station networking structure based on SIM signal strength in the application. DETAILED DESCRIPTION

[0026] The following description is presented to enable any person skilled in the art to practice the application as claimed. The preferred embodiments disclosed herein are only examples of the application and alternative embodiments will be apparent to those skilled in the art upon reading the following description. The basic principles illustrated in the following description can be applied to other embodiments, variations, improvements, equivalents and other technical solutions without departing from the spirit and scope of the application.

[0027] It can be understood that the term "one" should be understood as "at least one" or "one or more", that is, in one embodiment, the number of one element can be one, and in another embodiment, the number of the element can be multiple, and the term "one" cannot be understood as a limitation on the number.

[0028] Please refer to Figures 1-4 The application discloses a charging pile self-matching method and system of a routing switch and a multi-path gateway, wherein the method comprises the following steps: first, a network card needs to be configured for each charging pile, so that communication connection can be established between the charging piles, that is, each charging pile, when serving as a terminal device (ST), also serves as a wireless access point (AP), and in other optional embodiments of the application, a limited network card can be configured for connecting a wired network. Further, a signal transmission module is configured in the charging pile cluster, and the signal transmission module is preferably configured as a WiFi module for sending WiFi signals externally. After each charging pile node is configured with an Internet of Things card (SIM card), the WiFi module can establish communication connection with each SIM card, calculate the signal strength between the current WiFi module and each charging pile, and test the SIM card signal strength range and data transmission stability. The tree-shaped networking structure is constructed. The application judges whether the charging pile meets the secondary node screening requirement according to the WiFi module signal strength, the SIM card signal strength and the SIM data transmission stability, and adopts an enumeration method to elect the optimal root node from the secondary nodes to re-network.

[0029] Specifically, as Figure 2As shown, the root node is used to receive the traffic of other secondary nodes and child nodes, and undertakes the functions of external communication and modulation to other charging piles. The secondary nodes and child nodes are connected, and the secondary nodes serve as backup nodes of the root node, so that a new root node can be elected from the connected secondary nodes when the root node fails, and other secondary nodes are connected to the newly elected root node through switches and routers, so that the charging pile cluster can still guarantee stable communication when the root node fails, so that the system itself has good self-adaptive effect. The charging piles corresponding to the other child nodes can be configured to only send single pile information, and the child nodes can be configured to only send charging data to the secondary nodes. When the newly elected root node also fails, the system can re-elect a new root node from the remaining secondary nodes, and re-distribute the communication connection between the secondary nodes and the newly elected root node using switches and routers, and so on until all the secondary nodes fail. The above networking mode effectively avoids the problem of failure of the entire networking network caused by the failure of the root node, and improves the stability of the networking network. Figure 3 As shown, the system can re-elect a new root node from the remaining secondary nodes, and re-distribute the communication connection between the secondary nodes and the newly elected root node using switches and routers, and so on until all the secondary nodes fail. The above networking mode effectively avoids the problem of failure of the entire networking network caused by the failure of the root node, and improves the stability of the networking network.

[0030] That is, at least one secondary node is connected to the root node, and at least one child node is connected to the secondary node, so that the entire charging pile cluster can form a tree structure as shown. Figure 2 When it is necessary to send large traffic data such as charging pile firmware upgrade package and debugging package, the large traffic data package can be directly input to the root node, and sent to the corresponding charging pile by using switches and routers according to the charging pile identifier in the data package. Therefore, by using the above tree-shaped networking structure of the charging pile, low-cost and high-efficiency charging pile cluster management can be realized. And since the above tree-shaped networking mode of the charging piles is a local area network, the communication security of the charging pile cluster can be fully guaranteed, and attacks from the Internet can be avoided.

[0031] It is worth mentioning that one of the core technical solutions of the application is that the election of the root node and the connection between the secondary nodes and the child nodes are completed according to the signal strength, so that the tree-shaped network itself has the optimal communication network. Even under the condition of root node failure election, the newly elected root node is also the optimal networking solution.

[0032] In this invention, the root node is elected through an enumeration method using secondary nodes. These secondary nodes are selected based on the signal strength and data stability received by the charging piles. The signal transmission module can establish communication connections with the network cards of other charging piles. Preferably, this invention configures the signal transmission module as a WiFi module. The WiFi module transmits WiFi signals within a spatial range. Since the location of the charging pile corresponding to the secondary node where the WiFi signal is located is within the charging pile cluster, the WiFi signal strength of different secondary nodes corresponding to different charging piles is different relative to the WiFi signal strength sensed by other secondary nodes, the root node, and child nodes. This invention utilizes a self-enumeration method to elect the optimal root node and establish the optimal connection method between child nodes and secondary nodes, ensuring that the network topology is the optimal solution under the current communication conditions.

[0033] After the root node election is completed, the charging station corresponding to the current root node is a wireless access point (AP) whose WiFi signal can cover all secondary nodes, enabling the root node to send information to secondary nodes via WiFi. When a secondary node is working normally, the WiFi signal sent by the charging station corresponding to that secondary node can cover the child nodes, allowing the child nodes to establish communication connections with the secondary node.

[0034] The root node election method specifically includes: the WiFi signal sent by the WiFi module of the root node has a strength range; this invention sets a WiFi signal layer threshold to represent the signal strength level of WiFi signal coverage, such as... Figure 4 The diagram shown illustrates a network architecture based on SIM signal strength. Figure 4 The center of the circle formed by the WiFi signal strength levels is the origin of the WiFi signal. Figure 4 The signal strength at the inner circle boundary is equal to the preset first-layer threshold of the WiFi signal. Figure 4 The signal strength at the outer boundary of the circle is equal to the preset second-layer threshold of the WiFi signal. The signal strength sensed by the charging pile within the inner circle is greater than the first-layer threshold of the WiFi signal. The WiFi signal strength sensed by the charging pile in the area between the inner and outer circles is greater than the second-layer threshold but less than the first-layer threshold. The WiFi signal strength sensed by the charging pile outside the outer boundary of the circle is less than the second-layer threshold.

[0035] Please combine Figure 4 Based on the aforementioned layered threshold configuration, different charging piles are marked with signal strength. For example, the signal strength of the charging pile network card within the inner circle is marked as 1, indicating a strong signal; the signal strength of the charging pile network card in the area between the inner and outer circles is marked as 2, indicating a medium signal; and the signal strength of the charging pile network card outside the outer circle is marked as 3, indicating a weak signal. Charging piles that cannot establish communication are marked as ∞. 。The signal strength value between each charging pile and the signal sending module is calculated. When the root node fails and a new root node needs to be elected, the signal strength level of the current secondary node and each secondary node within the preset first circle threshold and second circle threshold setting range is calculated. The sum of the signal strength levels of the current secondary node and all secondary nodes is counted. The sum of the signal strength levels of each secondary node and all secondary nodes is calculated according to the above method, and the secondary node with the smallest sum of signal strength levels is selected as the new root node. The above new root node election process makes the new root node and other secondary nodes have a good position relationship and signal coverage relationship, so that the root node can cover all secondary nodes with the optimal signal connection scheme.

[0036] It is worth mentioning that for the connection network structure of secondary nodes and subnodes, the present application matches and connects according to the mutual signal strength between secondary nodes and subnodes. For example, the secondary node sends a WiFi signal to the subnode through the WiFi module. The signal strength level of each subnode relative to each secondary node can be calculated according to the first circle threshold and the second circle threshold setting signal strength level between each subnode and the corresponding secondary node. The subnode with the smallest mutual signal strength level value (the largest actual signal strength value) is preferentially connected to the corresponding secondary node. When the signal strength level of the secondary node or the subnode is ∞, it means that the subnode or the secondary node is faulty, and the network operation is not performed. Further, the tree network of the root node, the secondary node and the subnode is completed according to the above network rule.

[0037] For example, when the first secondary node and the second secondary node are set, the first subnode, the second subnode and the third subnode are set. The signal strength level between the first subnode and the first secondary node is 1, the signal strength value between the first subnode and the second secondary node is 2, the signal strength level between the second subnode and the first secondary node is 3, and the signal strength level between the second subnode and the second secondary node is 2. The signal strength level between the third subnode and the first secondary node is 1, and the signal strength level between the third subnode and the second secondary node is 2. Therefore, according to the preset matching rule, the first subnode is connected to the first secondary node, the second subnode is connected to the second secondary node, and the third subnode is connected to the first secondary node, thereby forming a high signal strength coverage and stable communication subnode and secondary node connection network.

[0038] In particular, the processes described above with reference to the flowcharts can be implemented as a computer software program according to embodiments disclosed herein. For example, embodiments of the disclosure include a computer program product comprising a computer program carried on a computer readable medium, the computer program comprising program code for performing the methods illustrated by the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication section, and / or installed from a detachable medium. When the computer program is executed by a central processing unit (CPU), the above-described functions defined in the methods of the present application are performed. It should be noted that the computer readable medium described above in the present application can be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable storage medium may, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination of the above. More specific examples of the computer readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, the computer readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus or device. In the present application, the computer readable signal medium can include a data signal carried in a baseband or as part of a carrier wave, in which the computer readable program code is carried. Such a propagated data signal can take many forms, including but not limited to, an electromagnetic signal, an optical signal or any suitable combination of the above. The computer readable signal medium can also be any computer readable medium that can send, propagate or transfer a program for use by or in connection with an instruction execution system, apparatus or device. The program code contained on the computer readable medium can be transmitted by any suitable medium, including but not limited to, wireless, wire, optical cable, RF or the like, or any suitable combination of the above.

[0039] The computer program product of the present application can be a computer program product comprising a computer-readable medium bearing computer program code embodied therein for use with a computer. The computer program code can be code defining and / or implementing the present application. The computer program code can be written in any suitable computer readable programming language. The computer program code can be stored in a computer- readable storage medium, such as, but not limited to, any type of disk including an optical disk, a CD-ROM, a CD-R, a CD-RW, a DVD, a flash memory, a ROM, a RAM, a magnetic disk or hard drive, or any other suitable type of medium including a medium that holds the software for a particular or specialized computing purpose, or any suitable combination of media. The computer program product can be a computer program product distributed to end users, whether as a stand-alone program, as part of a physical system, or as a software download. The computer program product can be distributed on a physical medium, such as, but not limited to, a floppy disk, a CD-ROM, a CD-R, a CD-RW, a DVD, a flash memory, a ROM, a RAM, a magnetic disk or hard drive, or any other suitable type of medium, or any suitable combination of media. The computer program product can be distributed from a program distribution center, either as a tangible medium or via electronic delivery, such as from a Web site via the Internet, or from one computer to another via electronic transfer, such as by e-mail. The computer program product can be distributed in an encrypted manner, such as via encryption or via password protection.

[0040] Those skilled in the art will understand that the application described above and illustrated in the accompanying drawings is presented by way of example only and is not limiting as to the present application. The intent is to cover all modifications and alternatives of the present application falling within the scope of the application.

Claims

1. A method for self-matching charging piles using a routing switch and a multi-channel gateway, characterized in that, The method includes: Each charging pile in the charging pile cluster is equipped with a network card, and the network card establishes an interconnection between each charging pile and other charging piles through a signal transmission module. Calculate the signal strength between each charging pile network card and other network cards, configure a signal strength threshold, and filter out multiple secondary nodes based on the signal strength and the signal strength threshold; wherein, configure a first signal strength threshold for WiFi signal and a second signal strength threshold for SIM card signal respectively, and select network cards whose WiFi signal strength is greater than the first signal strength threshold and whose SIM card signal strength is greater than the second signal strength threshold as secondary node network cards; Based on the signal strength, a root node is elected from the secondary nodes according to an enumeration algorithm, and communication connections are established between the other secondary nodes and the root node. The charging pile network card, except for the secondary node which is the root node, is designated as a child node. The child nodes and the secondary nodes establish a communication connection to construct a tree-like network structure. The root node manages the secondary and child nodes.

2. The self-matching method for charging piles using a routing switch and a multi-channel gateway according to claim 1, characterized in that, The root node networking method includes: configuring a signal transmission module, sending signal data to the charging pile cluster, reading the signal strength of each charging pile, wherein the signal strength includes WiFi signal strength and SIM card signal strength, and filtering out secondary nodes based on the signal strength data.

3. The self-matching method for charging piles using a routing switch and a multi-channel gateway according to claim 2, characterized in that, Based on the signal sent by the signal transmission module, the charging piles corresponding to the network cards whose WiFi signal strength is greater than the first signal strength threshold and whose SIM card signal strength is greater than the second signal strength threshold are calculated. The network card and MAC address information of the corresponding charging piles are recorded and saved to the routing table for subsequent data routing.

4. The self-matching method for charging piles using a routing switch and a multi-channel gateway according to claim 1, characterized in that, The signal transmission module sends a WiFi signal, which forms a signal strength layer in the charging pile cluster. Different signal strength levels of signal layer thresholds are preset. Data transmission stability is judged based on the SIM card signal. Each charging pile is marked with signal strength based on the signal layer threshold and data transmission stability. Root node election is performed based on the signal strength marking.

5. The self-matching method for charging piles using a routing switch and a multi-channel gateway according to claim 4, characterized in that, The root node election method includes: based on the charging piles marked with different signal strengths, using an enumeration method to select the charging pile with the largest received signal strength and stable data transmission as the root node.

6. The self-matching method for charging piles using a routing switch and a multi-channel gateway according to claim 3, characterized in that, When the root node fails, the connection between the secondary nodes and the root node is disconnected, and a secondary root node with the largest receiving signal strength and stable data transmission is elected as the new root node according to the communication flag. Then, communication connections are established between the other secondary nodes and the newly elected root node according to the routing table.

7. The self-matching method for charging piles using a routing switch and a multi-channel gateway according to claim 4, characterized in that, Each secondary charging station is equipped with a signal transmission module to calculate the signal strength between each secondary charging station and other nearby charging stations. It also calculates the signal strength level between the secondary charging station and other charging stations based on the signal ring threshold. The root node is determined based on the signal strength level, and the optimal tree-like connection network structure is constructed based on the signal strength level between the secondary node and its child nodes.

8. A charging pile self-matching system with a routing switch and a multi-way gateway, comprising a charging pile, characterized in that, The system executes a self-matching method for charging piles using a routing switch and a multi-channel gateway as described in any one of claims 1-7.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which is executed by a processor as described in any one of claims 1-7: a charging pile self-matching method for a routing switch and a multi-channel gateway.

Citation Information

Patent Citations

  • Method for selecting parent node in mesh network

    CN108156644A

  • Self-service equipment networking system capable of reducing communication cost

    CN210781375U

  • Method and apparatus for root node selection in an ad hoc network

    US20070201381A1