Charging pile networking communication method and split type charging pile system
The independent networking of the split charging pile system is achieved through single-pair Ethernet communication technology, which solves the problems of complexity and high cost of traditional communication methods and improves network efficiency and accuracy.
Patent Information
- Application Number
- CN202411548712.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2044-10-31
AI Technical Summary
In traditional split charging pile systems, the communication method between the main charging machine and the charging pile terminal is complex, the hardware cost is high, the networking efficiency is low, and error-prone.
Using single-pair Ethernet communication technology, the charging pile terminal sends device search instructions through multicast, and after receiving the host charger, responds with unicast and establishes a connection, realizing independent networking, reducing hardware costs and improving networking efficiency and accuracy.
It simplifies network wiring and reduces hardware costs. Charging pile terminals can independently discover and form networks without manual configuration, which improves network efficiency and accuracy.
Smart Images

Figure CN119305448A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of charging piles, and in particular relates to a charging pile networking communication method and a split-type charging pile system. Background Art
[0002] With the rapid development of new energy vehicles in China, the demand for charging facilities has also increased significantly. The power of traditional integrated charging piles is fixed; therefore, their compatibility is poor and they cannot meet the charging needs of vehicles with different power requirements. In contrast, split charging piles have the characteristics of power sharing, flexible charging and smooth expansion, and can allocate charging power according to the needs of the vehicle's battery management system (BMS).
[0003] The split charging pile consists of a main charger and several charging pile terminals. The main charger includes three units: charging module, power distribution, and cooling system control. In the split charging pile system, the communication between the main charger and each charging pile terminal is a multi-master-one-slave full-duplex communication mode. The main charger acts as a slave and the charging pile terminal acts as a host to obtain the current working conditions and charging requirements of each charging pile terminal. The power distribution unit dynamically allocates power to the charging pile terminal according to the charging requirements requested by the charging pile terminal.
[0004] Regarding the communication method between the main charger and the charging pile terminal in the split charging pile system, the main communication solution for multi-master and one-slave full-duplex is to use both the Controller Area Network (CAN) bus and the Transmission Control Protocol / Internet Protocol (TCP / IP) communication solutions. The CAN bus is used as the communication link between the main charger and the charging pile terminal, and TCP / IP is used as the device networking communication link. However, the wiring of this solution is relatively complicated, the hardware cost is high, and manual operations such as dial code configuration and address configuration are required. The networking efficiency is low and it is prone to errors. Summary of the invention
[0005] The embodiments of the present application provide a charging pile networking communication method and a split charging pile system, which can reduce the hardware cost of charging pile networking and improve networking efficiency and networking accuracy.
[0006] In a first aspect, an embodiment of the present application provides a charging pile networking communication method, which is applied to a split charging pile system, wherein the split charging pile system includes a main charger and two or more charging pile terminals, each of the charging pile terminals has at least two first single-pair Ethernet SPE ports, the main charger has at least one first SPE port, and each device in the split charging pile system is cascaded through the first SPE port. The charging pile networking communication method includes:
[0007] The charging pile terminal sends a device search instruction via multicast;
[0008] After receiving the device search instruction, the main charger sends a search response instruction to the charging pile terminal via unicast;
[0009] After receiving the search response instruction, the charging pile terminal establishes a connection with the main charger through unicast.
[0010] In the embodiment of the present application, each charging pile terminal of the split charging pile system has at least two first SPE ports, and the main charger has at least one first SPE port. The various devices of the split charging pile system (i.e., the main charger and more than two charging pile terminals) are cascaded through the first SPE port. On this basis, the charging pile terminal can send a device search instruction through multicast. After the main charger receives the device search instruction, it can send a search response instruction to the charging pile terminal through unicast. After the charging pile terminal receives the search response instruction, it can establish a connection with the main charger through unicast, thereby realizing autonomous networking and completing the networking communication of each device in the split charging pile system. This solution adopts single-pair Ethernet communication technology and uses two-core cable communication, which can save materials and reduce the hardware cost of networking. The charging pile terminal in the split charging pile system can autonomously discover and autonomously network without manual dialing configuration, address configuration and other operations, thereby improving networking efficiency and networking accuracy.
[0011] In a possible implementation manner of the first aspect, the master charger further includes a second SPE port, and the master charger is cascaded with the network connection device through the second SPE port.
[0012] In a possible implementation manner of the first aspect, after the main charger is cascaded with the network connection device through the second SPE port, the method further includes:
[0013] When the main charger sends the first Ethernet frame to the network connection device through the second SPE port, the second SPE port is triggered to determine whether the first Ethernet frame is a message of a specific multicast address, and the specific multicast address is the multicast address of the main charger and more than two charging pile terminals;
[0014] If the first Ethernet frame is a message of the specific multicast address, the second SPE port is controlled to prohibit sending the first Ethernet frame to the network connection device.
[0015] In a possible implementation manner of the first aspect, the method further includes:
[0016] After receiving the second Ethernet frame, the charging pile terminal or the main charger determines whether the second Ethernet frame is a target message, where the target message is a layer 2 Ethernet frame transmitted between the charging pile terminal and the main charger;
[0017] If the second Ethernet frame is the target message, processing the second Ethernet frame;
[0018] If the second Ethernet frame is not the target message, the second Ethernet frame is stored in the corresponding network protocol stack for processing.
[0019] In a possible implementation manner of the first aspect, determining whether the second Ethernet frame is a target message includes:
[0020] determining content of a specific field of the second Ethernet frame;
[0021] If the content of the specific field is the target content, determining that the second Ethernet frame is the target message, the target content indicates that the second Ethernet frame is the target message;
[0022] If the content of the specific field is not the target content, it is determined that the second Ethernet frame is not the target message.
[0023] In a possible implementation manner of the first aspect, processing the second Ethernet frame includes:
[0024] Determining whether the second Ethernet frame is a unicast message or a multicast message;
[0025] If the second Ethernet frame is the unicast message, processing the unicast message;
[0026] If the second Ethernet frame is the multicast message, the multicast message is processed.
[0027] In a possible implementation manner of the first aspect, determining whether the second Ethernet frame is a unicast message or a multicast message includes:
[0028] If the destination MAC address of the second Ethernet frame is a unicast address, determining that the second Ethernet frame is the unicast message;
[0029] If the destination MAC address of the second Ethernet frame is a multicast address, it is determined that the second Ethernet frame is the multicast message.
[0030] In a possible implementation of the first aspect, after receiving the device search instruction, the main charger sends a search response instruction to the charging pile terminal through unicast, including:
[0031] After receiving the device search instruction, the main charger parses the device search instruction to obtain a first source MAC address, uses the first source MAC address as a first destination MAC address, and sends the search response instruction to the charging pile terminal based on the first destination MAC address;
[0032] After the charging pile terminal receives the search response instruction, establishing a connection with the main charger through unicast includes:
[0033] After receiving the search response instruction, the charging pile terminal parses the search response instruction to obtain a second source MAC address, uses the second source MAC address as a second destination MAC address, and establishes a connection with the main charger based on the second destination MAC address.
[0034] In a possible implementation manner of the first aspect, establishing a connection with the main charger based on the second destination MAC address includes:
[0035] Sending a connection request instruction to the main charger based on the second destination MAC address;
[0036] After receiving the connection request instruction, the main charger parses the connection request instruction to obtain the first source MAC address, uses the first source MAC address as the first destination MAC address, and sends the response connection instruction to the charging pile terminal based on the first destination MAC address;
[0037] After receiving the response connection instruction, the charging pile terminal establishes a connection with the main charger.
[0038] In a second aspect, an embodiment of the present application provides a split charging pile system, including a main charger and two or more charging pile terminals, each of the charging pile terminals having at least two first single-pair Ethernet SPE ports, the main charger having at least one first SPE port, and each device in the split charging pile system is cascaded through the first SPE port;
[0039] The charging pile terminal is used to send a device search instruction via multicast;
[0040] The main charger is used to send a search response instruction to the charging pile terminal via unicast after receiving the device search instruction;
[0041] The charging pile terminal is further configured to establish a connection with the main charger via unicast after receiving the search response instruction.
[0042] It can be understood that the beneficial effects of the second aspect mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0044] Figure 1 It is a structural schematic diagram of a split-type charging pile system provided in an embodiment of the present application;
[0045] Figure 2 yes Figure 1 The network topology example diagram of the split charging pile system shown;
[0046] Figure 3 It is a flow chart of the charging pile networking communication method provided in the embodiment of the present application;
[0047] Figure 4 This is an example diagram of the process of establishing a connection between a charging pile terminal and a main charger provided in an embodiment of the present application;
[0048] Figure 5 It is a schematic diagram of a process for filtering messages of a specific multicast address provided in an embodiment of the present application;
[0049] Figure 6 It is an example diagram of the format definition of a multicast message and a unicast message provided in an embodiment of the present application;
[0050] Figure 7 This is an example diagram of the internal protocol message type list of the PDU provided in an embodiment of the present application. DETAILED DESCRIPTION
[0051] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0052] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0053] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0054] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0055] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0056] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0057] See also Figure 1 , Figure 1 The structure diagram of the split charging pile system provided in the embodiment of the present application is shown. Figure 1 As shown, the split charging pile system can be a split DC charging pile system, including a main charger 101 and more than two charging pile terminals 102 ( Figure 1 Take four charging pile terminals 102 as an example). Each charging pile terminal 102 has at least two first single pair Ethernet (SPE) ports. The main charger 101 has at least one first SPE port, and each device in the split charging pile system can form a local area network through the cascade of the first SPE port. Among them, each device in the split charging pile system includes a main charger 101 and more than two charging pile terminals 102.
[0058] In one embodiment, the main charger 101 further has a second SPE port. The main charger 101 is cascaded with a network connection device through the second SPE port to achieve networking of the main charger 101. The above-mentioned network connection device includes but is not limited to a switch and a router, which are used to connect the main charger 101 to a central monitoring platform or a cloud platform.
[0059] Since the master charger 101 is connected to the charging pile terminal 102, the charging pile terminal 102 can also be connected to the network with the help of the master charger 101. That is, the embodiment of the present application realizes the communication link between the master slave 101 and the charging pile terminal 102 through the first SPE port, and realizes the networking communication link through the second SPE port, without the need to use TCP / IP as the networking communication link, which not only simplifies the wiring operation of the network, but also reduces the hardware cost of the network.
[0060] It should be understood that the first SPE port of the main charger 101 and the charging pile terminal 102 can be understood as a southbound port, and the second SPE port of the main charger 101 can be understood as a northbound port. The message transmitted between the main charger 101 and the charging pile terminal 102 can be understood as a southbound link message, and the message transmitted between the main charger 101 and the cloud platform through the network connection device can be understood as a northbound link message. Southbound can be understood as downward communication (for example, communication between the main charger 101 and the charging pile terminal 102). Northbound can be understood as upward communication (for example, communication between the main charger 101 and the central monitoring platform or cloud platform).
[0061] like Figure 2 Shown is Figure 1 The network topology example diagram of the split charging pile system shown in the figure is as follows: Figure 2 The charging pile terminal 1, charging pile terminal 2, charging pile terminal 3 and charging pile terminal 4 are all Figure 1 The charging pile terminal 102 in FIG. Figure 2 As shown, the main charger has two first SPE ports (i.e. Figure 2The charging pile terminal has two first SPE ports (i.e. Figure 2 The main charger connects the first SPE ports of the charging pile terminal 1 and the first SPE ports of the charging pile terminal 2 respectively through the two first SPE ports to realize the cascade connection between the main charger and the two charging pile terminals. The charging pile terminal 1 is connected to the first SPE port of the charging pile terminal 3 through another first SPE port to realize the cascade connection between the charging pile terminal 1 and the charging pile terminal 3. The charging pile terminal 2 is connected to the first SPE port of the charging pile terminal 4 through another first SPE port. A local area network can be formed by the cascade connection between the above devices. The second SPE port of the main charger (i.e. Figure 2 The SPE3 port in the main charger) is cascaded with the upper router, so that the communication between the main charger and the cloud platform can be realized.
[0062] In such Figure 2 Based on the networking topology shown, each charging pile terminal and the main charger can achieve networking communication through the charging pile networking communication method provided in this application. For specific implementation schemes, please refer to the relevant description of the charging pile networking communication method provided in this application.
[0063] It should be noted that this embodiment is based on Figure 1 In the description, the charging pile terminal has two first SPE ports and the main charger has two first SPE ports. In another embodiment, the charging pile terminal may have more than three first SPE ports, and the main charger has two first SPE ports. In this networking topology, the main charger can connect the first SPE ports of the two charging pile terminals through the two first SPE ports to achieve the cascade connection between the main charger and the two charging pile terminals. Any charging pile terminal connected to the main charger is connected to the first SPE ports of the remaining charging pile terminals through the other two first SPE ports to achieve the cascade connection between the charging pile terminals. In another embodiment, the charging pile terminal may have more than two first SPE ports, and the main charger has one SPE port. In this networking topology, the main charger can connect the first SPE port of a charging pile terminal through the first SPE port to achieve the cascade connection between the main charger and the charging pile terminal. The charging pile terminal is connected to the first SPE ports of the remaining charging pile terminals through the remaining first SPE ports. Of course, it is understandable that in addition to the above three network topologies, the cascade between the main charger and the charging pile terminal and the cascade between the charging pile terminals can also be realized through other network topologies, and this application does not limit this.
[0064] The networking topology implemented by the first SPE port and the second SPE port provided in the embodiment of the present application has a relatively simple structure and is less difficult to wire in on-site engineering.
[0065] See also Figure 3 , Figure 3 The flowchart of the charging pile networking communication method provided by the embodiment of the present application is shown, which is applied to a split charging pile system, wherein the split charging pile system includes a main charger and two or more charging pile terminals, each of which has at least two first SPE ports, and the main charger has at least one first SPE port, and each device in the split charging pile system is cascaded through the first SPE port. As an example but not a limitation, the method includes the following steps:
[0066] Step 301: The charging pile terminal sends a device search instruction via multicast.
[0067] After the main charger and two or more charging pile terminals in the split charging pile system are cascaded through the first SPE port, a local area network can be formed. Each charging pile terminal can send a device search instruction in the local area network through multicast, and the main charger and charging pile terminal in the local area network can receive the device search instruction. Among them, the above-mentioned device search instruction can be a message sent by the charging pile terminal to the local area network, which is used to search for the main charger in the local area network.
[0068] Since the above-mentioned device search instruction is used to search for the main charger in the local area network, the remaining charging pile terminals in the local area network (that is, the charging pile terminals among the two or more charging pile terminals except the charging pile terminal in step 301) can receive the above-mentioned device search instruction, but since these remaining charging pile terminals are not main chargers, they will not send a search response instruction to the charging pile terminal in step 301, that is, they will not respond to the charging pile terminal in step 301.
[0069] In a possible implementation, the charging pile terminal can search for the main charger in the corresponding local area network based on a specific multicast address, wherein the specific multicast address is the multicast address corresponding to the local area network formed by the main charger and more than two charging pile terminals, that is, the multicast address of the main charger and more than two charging pile terminals.
[0070] Optionally, a specific multicast address may be set according to scenario requirements and related definitions of the multicast address. For example, the specific multicast address may be 01-80-C2-00-A0-A0.
[0071] Step 302: After receiving the device search instruction, the main charger sends a search response instruction to the charging pile terminal via unicast.
[0072] After receiving the device search instruction, the main charger sends a search response instruction to the charging pile terminal that sent the device search instruction through unicast, so that the charging pile terminal that sent the device search instruction can know that the main charger has successfully received the device search instruction. Among them, the above search response instruction can be a response message sent by the main charger to the charging pile terminal that sent the device search instruction.
[0073] The main charger sends the search response command via unicast, and can accurately send the search response command to the corresponding charging pile terminal.
[0074] Step 303: After receiving the search response instruction, the charging pile terminal establishes a connection with the main charger through unicast.
[0075] After the charging pile terminal receives the search response command, it can accurately establish a connection with the main charger through unicast, thereby realizing communication between the charging pile terminal and the main charger.
[0076] For each charging pile terminal in the split-type charging pile system, the communication between each charging pile terminal and the main charger is realized by executing the above steps 301 to 303, thereby realizing the networking communication of the split-type charging pile system.
[0077] In a possible implementation, the above step 302 may include:
[0078] After receiving the device search instruction, the main charger parses the device search instruction to obtain the first source MAC address, and uses the first source MAC address as the first destination MAC address, and sends a search response instruction to the charging pile terminal based on the first destination MAC address;
[0079] The above step 303 may include:
[0080] After receiving the search response instruction, the charging pile terminal parses the search response instruction to obtain the second source MAC address, uses the second source MAC address as the second destination MAC address, and establishes a connection with the main charger based on the second destination MAC address.
[0081] Among them, the above-mentioned first source MAC address is the source MAC address in the device search instruction, that is, the MAC address of the charging pile terminal that sends the device search instruction.
[0082] The main charger sends a search response instruction to the charging pile terminal based on the first destination MAC address, and can send the search response instruction to the charging pile terminal through unicast.
[0083] The second source MAC address is the source MAC address in the search response instruction, that is, the MAC address of the main charger that sends the search response instruction.
[0084] The charging pile terminal can establish a connection with the main charger more accurately based on the second destination MAC address, thereby realizing communication between the charging pile terminal and the main charger.
[0085] In a possible implementation, establishing a connection with a main charger based on the second destination MAC address includes:
[0086] Sending a connection request instruction to the main charger based on the second destination MAC address;
[0087] After receiving the connection request instruction, the main charger parses the connection request instruction to obtain the first source MAC address, and uses the first source MAC address as the first destination MAC address, and sends a response connection instruction to the charging pile terminal based on the first destination MAC address;
[0088] After receiving the response connection command, the charging pile terminal establishes a connection with the main charger.
[0089] The charging pile terminal sends a connection request instruction to the main charger based on the second destination MAC address, and can accurately send the connection request instruction to the main charger through unicast.
[0090] The main charger sends a response connection request to the charging pile terminal based on the first destination MAC address, and can accurately send the response connection request to the charging pile terminal through unicast.
[0091] like Figure 4 The figure shows an example of the process of establishing a connection between a charging pile terminal and a main charger provided by an embodiment of the present application. The charging pile terminal sends a device search instruction through multicast; after receiving the device search instruction, the main charger parses it to obtain a first source MAC address, and uses unicast to send a search response instruction to the charging pile terminal based on the first source MAC address; after receiving the search response instruction, the charging pile terminal parses it to obtain a second source MAC address, and uses unicast to send a connection request instruction to the main charger based on the second source MAC address; after receiving the connection request instruction, the main charger parses it to obtain a first source MAC address, and uses unicast to send a response connection request to the charging pile terminal based on the first source MAC address.
[0092] In a possible implementation, the main charger further has a second SPE port, and the main charger is cascaded with the network connection device via the second SPE port.
[0093] The second SPE port of the main charger is a northbound port, which is used to cascade with the upper-layer network connection device to achieve communication with the cloud platform.
[0094] Optionally, the second SPE port of the main charger may also have the function of filtering a specific multicast address.
[0095] In one embodiment, after the main charger is cascaded with the network connection device through the second SPE port, the main charger can also filter the message of the specific multicast address through the following steps 501 and 502. For details, please refer to Figure 5 .
[0096] Step 501: When the main charger sends a first Ethernet frame to a network connection device through a second SPE port, the second SPE port is triggered to determine whether the first Ethernet frame is a message of a specific multicast address.
[0097] The first Ethernet frame can be any Ethernet message that the main charger will send through the second SPE port. Messages transmitted in the local area network formed by the main charger and two or more charging pile terminals can be understood as Ethernet frames or Ethernet messages. For example, the first Ethernet frame can include a device search instruction sent by the charging pile terminal through multicast.
[0098] Since the main charger includes a second SPE port, and messages with a specific multicast address can be transmitted arbitrarily in the local area network formed by the main charger and more than two charging pile terminals, but the network connection device may contain other local area networks (such as a local area network formed by another split charging pile system), in order to prevent messages with a specific multicast address from being transmitted to other local area networks, the main charger can filter messages with a specific multicast address through the second SPE port.
[0099] Since the main charger usually only receives multicast messages transmitted within the local area network formed by the main charger and more than two charging pile terminals, in a possible implementation, the second SPE port can be triggered to determine whether the first Ethernet frame is any multicast message received by the main charger; if the first Ethernet frame is any multicast message received by the main charger, it is determined that the first Ethernet frame is a message with a specific multicast address; if the first Ethernet frame is not any multicast message received by the main charger, it is determined that the first Ethernet frame is not a message with a specific multicast address. The above judgment method does not need to parse the first Ethernet frame, which improves the judgment efficiency of messages with specific multicast addresses.
[0100] In another possible implementation, the main charger can also parse the first Ethernet frame to obtain the destination MAC address in the first Ethernet frame, and can trigger the second SPE port to determine whether the destination MAC address in the first Ethernet frame is a specific multicast address; if the destination MAC address in the first Ethernet frame is a specific multicast address, it can be determined that the first Ethernet frame is a message of the specific multicast address; if the destination MAC address in the first Ethernet frame is not a specific multicast address, it can be determined that the first Ethernet frame is not a message of the specific multicast address.
[0101] Step 502: If the first Ethernet frame is a message of a specific multicast address, the second SPE port is controlled to prohibit sending the first Ethernet frame to the network connection device.
[0102] When the first Ethernet frame is a message with a special multicast address, the main charger can avoid transmitting the message with the specific multicast address to other local area networks by controlling the second SPE port to prohibit sending the first Ethernet frame to the network connection device, thereby filtering the message with the specific multicast address.
[0103] In a possible implementation, the embodiment of the present application further includes:
[0104] After receiving the second Ethernet frame, the charging pile terminal or the main charging machine determines whether the second Ethernet frame is a target message, where the target message is a layer 2 Ethernet frame transmitted between the charging pile terminal and the main charging machine;
[0105] If the second Ethernet frame is the target message, processing the second Ethernet frame;
[0106] If the second Ethernet frame is not the target message, the second Ethernet frame is stored in the corresponding network protocol stack for processing.
[0107] The above-mentioned second Ethernet frame can be an Ethernet frame received by the charging pile terminal or the main charger before the connection (such as a device search instruction, a search response instruction, etc.), or an Ethernet frame received during the connection process (such as a connection request instruction, a response connection instruction, etc.), or an Ethernet frame received after the connection (such as a heartbeat message, an alarm message, a charging request message, etc.), and this application does not limit this.
[0108] The Ethernet frame transmitted between the charging pile terminal and the main charger in the embodiment of the present application is a layer-2 Ethernet frame, that is, a layer-2 Ethernet communication protocol is used as the communication protocol between the charging pile terminal and the main charger, which can avoid the complex encapsulation and parsing process of layer-3 protocol messages (such as TCP / IP messages), save the memory overhead of the device, simplify the communication process, and have low requirements for hardware resources (such as memory). It is suitable for use in resource-constrained embedded hardware and reduces development costs.
[0109] If the second Ethernet frame is a layer 2 Ethernet frame transmitted between the charging pile terminal and the main charger, it can be processed according to the message type of the second Ethernet frame. As an example but not a limitation, the second Ethernet frame is a device search instruction received by the main charger (that is, the message type is a device search instruction), and the device search instruction is a layer 2 Ethernet frame transmitted between the charging pile terminal and the main charger. The main charger can parse the device search instruction to obtain the first source MAC address, and use the first source MAC address as the first destination MAC address, and send a search response instruction to the charging pile terminal based on the first destination MAC address.
[0110] When the second Ethernet frame is not the target message, the second Ethernet frame can be stored in the corresponding network protocol stack according to the protocol type of the second Ethernet frame. For example, the second Ethernet frame is the TCP / IP protocol, and the TCP / IP protocol is not the target message, so the second Ethernet frame can be stored in the TCP / IP protocol frame for processing.
[0111] In a possible implementation, it is possible to determine whether the second Ethernet frame is the target message through a specific field of the second Ethernet frame. The implementation scheme is as follows:
[0112] determining content of a specific field of a second Ethernet frame;
[0113] If the content of the specific field is the target content, determining that the second Ethernet frame is the target message, the target content indicates that the second Ethernet frame is the target message;
[0114] If the content of the specific field is not the target content, it is determined that the second Ethernet frame is not the target message.
[0115] Optionally, a specific field can be selected from each field of the second Ethernet frame according to the scenario requirements, and the target content can be set. For example, the above-mentioned specific field can be a type field. By modifying the content of the type field in the layer 2 Ethernet frame, the message transmitted in the local area network formed by the main charger and more than two charging pile terminals can be distinguished from other standard protocol messages (such as TCP / IP messages). For example, the content of the type field in the layer 2 Ethernet frame is modified to 0xaa55, and 0xaa55 is the target content.
[0116] After receiving the second Ethernet frame, the charging pile terminal or the main charger can determine the target message through the content of a specific field in the second Ethernet frame.
[0117] When processing the second Ethernet frame, the charging pile terminal or the main charger can determine whether the second Ethernet frame is a unicast message or a multicast message; if the second Ethernet frame is a unicast message, the unicast message is processed; if the second Ethernet frame is a multicast message, the multicast message is processed, thereby realizing separate processing of messages with different propagation modes.
[0118] In one embodiment, based on the propagation mode of the layer 2 Ethernet frame in the split charging pile system provided in this embodiment, the layer 2 Ethernet frame can be divided into a multicast message based on the layer 2 protocol communication and a unicast message. The formats of these two messages are defined as follows: Figure 6 As shown, Figure 6The content of the DMAC field in is the destination MAC address, the content of the SMAC field is the source MAC address, the content of the type field is the message type, the content of the protocol data unit (PDU) is the internal protocol message type, and the cyclic redundancy check code (CRC). Figure 7 The figure shows an example of a list of internal protocol message types of a PDU.
[0119] In a possible implementation, since the MAC addresses of different transmission modes are different, the charging pile terminal or the main charger can determine whether the second Ethernet frame is a unicast message or a multicast message by the destination MAC address in the received second Ethernet frame, including:
[0120] If the destination MAC address of the second Ethernet frame is a unicast address, determining that the second Ethernet frame is a unicast message;
[0121] If the destination MAC address of the second Ethernet frame is a multicast address, it is determined that the second Ethernet frame is a multicast message.
[0122] The charging pile terminal or the main charger can determine the first byte of the destination MAC address of the second Ethernet frame. If the lowest bit of the first byte of the destination MAC address of the second Ethernet frame is 0, it can be determined that the destination MAC address of the second Ethernet frame is a unicast address; if the lowest bit of the first byte of the destination MAC address of the first Ethernet frame is 1, it can be determined that the destination MAC address of the second Ethernet frame is a multicast address.
[0123] It should be understood that the charging pile terminal or the main charger may also determine whether the second Ethernet frame is a unicast message or a multicast message in other ways, and this application does not limit this.
[0124] The embodiment of the present application adopts single-pair Ethernet communication technology, which can be compatible with two-core cables as communication media while meeting high-speed data transmission, thereby saving cables and reducing the hardware cost of networking. The charging pile terminals in the split charging pile system can autonomously discover and network independently without manual dialing configuration, address configuration and other operations, thereby improving networking efficiency and accuracy.
[0125] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0126] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0127] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0128] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A charging pile networking communication method, characterized in that: Applied to a split charging pile system, the split charging pile system includes a main charger and two or more charging pile terminals, each of the charging pile terminals has at least two first single-pair Ethernet SPE ports, the main charger has at least one first SPE port, and each device in the split charging pile system is cascaded through the first SPE port. The charging pile networking communication method includes: The charging pile terminal sends a device search instruction via multicast; After receiving the device search instruction, the main charger sends a search response instruction to the charging pile terminal via unicast; After receiving the search response instruction, the charging pile terminal establishes a connection with the main charger through unicast.
2. The charging pile networking communication method according to claim 1, characterized in that: The main charger also has a second SPE port, and the main charger is cascaded with the network connection device through the second SPE port.
3. The charging pile networking communication method according to claim 2, characterized in that: After the main charger is cascaded with 3 through the second SPE port, the method further includes: When the main charger sends the first Ethernet frame to the network connection device through the second SPE port, the second SPE port is triggered to determine whether the first Ethernet frame is a message of a specific multicast address, and the specific multicast address is the multicast address of the main charger and more than two charging pile terminals; If the first Ethernet frame is a message of the specific multicast address, the second SPE port is controlled to prohibit sending the first Ethernet frame to the network connection device.
4. The charging pile networking communication method according to any one of claims 1 to 3, characterized in that: Also includes: After receiving the second Ethernet frame, the charging pile terminal or the main charger determines whether the second Ethernet frame is a target message, where the target message is a layer 2 Ethernet frame transmitted between the charging pile terminal and the main charger; If the second Ethernet frame is the target message, processing the second Ethernet frame; If the second Ethernet frame is not the target message, the second Ethernet frame is stored in the corresponding network protocol stack for processing.
5. The charging pile networking communication method according to claim 4, characterized in that: The determining whether the second Ethernet frame is a target message includes: determining content of a specific field of the second Ethernet frame; If the content of the specific field is the target content, determining that the second Ethernet frame is the target message, the target content indicates that the second Ethernet frame is the target message; If the content of the specific field is not the target content, it is determined that the second Ethernet frame is not the target message.
6. The charging pile networking communication method according to claim 4, characterized in that: Processing the second Ethernet frame includes: Determining whether the second Ethernet frame is a unicast message or a multicast message; If the second Ethernet frame is the unicast message, processing the unicast message; If the second Ethernet frame is the multicast message, the multicast message is processed.
7. The charging pile networking communication method according to claim 6, characterized in that: The determining whether the second Ethernet frame is a unicast message or a multicast message includes: If the destination MAC address of the second Ethernet frame is a unicast address, determining that the second Ethernet frame is the unicast message; If the destination MAC address of the second Ethernet frame is a multicast address, it is determined that the second Ethernet frame is the multicast message.
8. The charging pile networking communication method according to any one of claims 1 to 3, characterized in that: After receiving the device search instruction, the main charger sends a search response instruction to the charging pile terminal via unicast, including: After receiving the device search instruction, the main charger parses the device search instruction to obtain a first source MAC address, uses the first source MAC address as a first destination MAC address, and sends the search response instruction to the charging pile terminal based on the first destination MAC address; After the charging pile terminal receives the search response instruction, establishing a connection with the main charger through unicast includes: After receiving the search response instruction, the charging pile terminal parses the search response instruction to obtain a second source MAC address, uses the second source MAC address as a second destination MAC address, and establishes a connection with the main charger based on the second destination MAC address.
9. The charging pile networking communication method according to claim 8, characterized in that: The establishing a connection with the main charger based on the second destination MAC address includes: Sending a connection request instruction to the main charger based on the second destination MAC address; After receiving the connection request instruction, the main charger parses the connection request instruction to obtain the first source MAC address, uses the first source MAC address as the first destination MAC address, and sends the response connection instruction to the charging pile terminal based on the first destination MAC address; After receiving the response connection instruction, the charging pile terminal establishes a connection with the main charger.
10. A split charging pile system, characterized in that: It includes a main charger and two or more charging pile terminals, each of the charging pile terminals has at least two first single-pair Ethernet SPE ports, the main charger has at least one first SPE port, and each device of the split charging pile system is cascaded through the first SPE port; The charging pile terminal is used to send a device search instruction via multicast; The main charger is used to send a search response instruction to the charging pile terminal via unicast after receiving the device search instruction; The charging pile terminal is further configured to establish a connection with the main charger via unicast after receiving the search response instruction.
Citation Information
Patent Citations
Charging pile, charging pile networking architecture and charging pile management method
CN107231430A
A communication system of a distributed charging pile and a communication method thereof
CN109862445A
Node communication method, device, equipment and system in network and storage medium
CN113365253A
Communication method of split type charging pile
CN117527537A
Network device management device, system and method
JP2006244085A