CN117527537B - Communication method of split charging pile - Google Patents

Communication method of split charging pile Download PDF

Info

Publication number
CN117527537B
CN117527537B CN202311483878.0A CN202311483878A CN117527537B CN 117527537 B CN117527537 B CN 117527537B CN 202311483878 A CN202311483878 A CN 202311483878A CN 117527537 B CN117527537 B CN 117527537B
Authority
CN
China
Prior art keywords
port
message
state
redundant
forwarding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311483878.0A
Other languages
Chinese (zh)
Other versions
CN117527537A (en
Inventor
王磊
张继鹏
严奎
鲍玉成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Nengrei Technology Co ltd
Original Assignee
Nanjing Nengrei Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Nengrei Technology Co ltd filed Critical Nanjing Nengrei Technology Co ltd
Priority to CN202311483878.0A priority Critical patent/CN117527537B/en
Publication of CN117527537A publication Critical patent/CN117527537A/en
Application granted granted Critical
Publication of CN117527537B publication Critical patent/CN117527537B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L53/00Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles
    • B60L53/30Constructional details of charging stations
    • B60L53/305Communication interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a communication method of a split charging pile, which comprises the steps of judging the network port state of a redundant management node or a redundant forwarding node according to the network port information of the redundant management node and the redundant forwarding node, matching corresponding ports after responding, and forming a link for corresponding message transmission after switching the corresponding network port state; the link switching time is shorter, wherein the link switching is responsible for the charging host without depending on the report or state transition of each device in the link, the maximum link switching time is determined by the heartbeat timeout time, and can be set smaller than the threshold value of the minimum link switching time of the RSTP protocol.

Description

Communication method of split charging pile
Technical Field
The invention relates to the technical field of new energy charging piles, in particular to a communication method of a split charging pile.
Background
With the vigorous development of new energy automobile markets, the demand of charging piles is growing. To meet this demand, the form of the charging stake is evolving. Wherein, split type fills electric pile and regard as a novel battery charging outfit, compare in traditional integral type and fill electric pile, have higher flexibility and scalability. The integral charging pile means that all constituent units of the charging pile are integrated in one body. The split charging pile adopts a more flexible design, and is called a flexible charging pile. The direct current charging system consists of a split direct current charging host and a direct current charging terminal. The advantage of this design is that the charging output is separated from the dc power units, so that more charging guns can be deployed per dc power unit. Specifically, the number of charging guns can be increased to 6 guns, 8 guns, even 12 guns and the like according to actual demands, so that the group charging effect is realized.
Because the charging host and the charging terminal of the split charging pile are separately designed, and the charging host and the charging terminal have a one-to-many relationship, the communication method between the charging host and the charging terminal has a great difference from that of the integral charging pile, and a new scheme is needed. Aiming at the communication method between the split charging pile charging host and the charging terminal, the prior solution is as follows: the first one is star network topology, and a split charging pile charging host is connected with a plurality of charging terminals by using a switch; secondly, the ring network topology is adopted, a single ring is formed between the split charging pile charging host and the plurality of charging terminals, and a spanning tree protocol STP or a rapid spanning tree protocol RSTP is operated, so that the problem of broadcast storm caused by a loop is avoided. However, the two communication schemes have the problems of insufficient link robustness and long delay, so we propose a communication method of the split charging pile.
Disclosure of Invention
The present invention has been made in view of the above-mentioned problems occurring in the conventional split charging pile.
Therefore, the invention provides a communication method between the split charging pile charging host and the charging terminal, which improves the communication robustness through the redundant link and reduces the delay of link switching.
In order to solve the technical problems, the invention provides the following technical scheme: the split charging pile charging host and the plurality of charging terminals at least comprise two network ports, are connected through the double network ports to form a single ring and are used for internal communication between the charging host and the plurality of charging terminals, wherein the charging host is used as a redundant management node and is responsible for monitoring the connection condition of the whole single ring. The charging terminal is used as a redundant forwarding node and is responsible for forwarding data in a single ring.
Acquiring network port information of a redundancy management node and a redundancy forwarding node;
Judging the network port state of the redundant management node or the redundant forwarding node according to the network port information of the redundant management node and the redundant forwarding node, wherein the network port state comprises a forwarding state, a blocking state and a discarding state;
Responding to the network port states of the corresponding redundancy management node and the corresponding redundancy forwarding node, matching the corresponding ports, switching the network port states of the corresponding redundancy management node and the corresponding redundancy forwarding node, and carrying out corresponding message transmission and cache recording after the link switching is completed.
The network port of the redundancy management node comprises the following three states:
forwarding state, through which any frame can pass;
a blocking state, wherein the heartbeat frame of the redundant management node can pass through the port, and the rest frames can not pass through the port;
A state is discarded and no frame can pass through the port of that state.
The two network ports eth0 and eth1 of the redundancy management node are divided into two identities, namely a main port and a standby port, the port identities are distributed according to port serial numbers, the port eth0 with the small serial number is the main port, and the port eth1 with the large serial number is the standby port. The main port comprises a forwarding state and a discarding state, and the standby port comprises three states of forwarding, blocking and discarding.
And the two network ports eth0 and eth1 of the redundancy management node periodically send heartbeat messages according to time t1, and judge whether eth0 and eth1 receive the heartbeat messages or not within the timeout time t 2.
If both eth0 and eth1 receive the heartbeat message, it indicates that the split charging pile charging host and the plurality of charging terminals are in a closed loop state, the charging host needs to actively disconnect a single loop as a redundancy management node, eth0 enters a forwarding state, and eth1 enters a blocking state.
If the eth0 or eth1 does not receive the heartbeat message on time, the link between the split charging pile charging host and the plurality of charging terminals is wrong, and the link is in an open loop state. The port directly connected with the abnormal link comprises a redundant management node or a redundant forwarding node, and is switched to a discarding state; in addition, if the abnormal link is not a link directly connected to the redundancy management node, the charging host as the redundancy management node needs to switch the port that is originally in the blocking state to the forwarding state.
Preferably, the sending period t1 of the heartbeat message is tens milliseconds to hundreds milliseconds, the sending period is shorter, and the heartbeat message is constructed on a data link layer without passing through a TCP/IP protocol stack; the heartbeat messages may use generic data link layer protocol messages, such as the Goose protocol, or custom data link layer protocol messages.
When the redundancy management nodes eth0 and eth1 are in the forwarding state, the redundancy management node records a port for receiving the message of the redundancy forwarding node, and the port is used for the redundancy management node to send the message to the corresponding redundancy forwarding node.
When the redundancy management nodes eth0 and eth1 are in a forwarding state, if the redundancy management nodes need to send messages to the appointed redundancy forwarding nodes, related messages are sent according to ports recorded by the corresponding redundancy forwarding nodes, and if no response exists, the messages are tried to be sent from the other ports of the redundancy management nodes; when receiving the response message, the corresponding port is stored in the redundant management node record.
When the redundancy management nodes eth0 and eth1 are both in the forwarding state, if the ports of the redundancy management nodes receiving the redundant forwarding node messages are switched between eth0 and eth1, the ports indicate that the link errors originally causing the open loop state are recovered, and the redundancy management nodes can set the standby port eth1 to the blocking state without waiting for the next heartbeat message.
The two network ports of the redundant forwarding node comprise a forwarding state and a discarding state, and the state definition is consistent with the relevant definition of the redundant management node.
When the redundant forwarding node sends a message to the redundant management node, the message is duplicated into two parts by the redundant forwarding node, and the message is respectively tried to be sent out from two network ports; if the network port is in the forwarding state, the message can be successfully sent, otherwise, if the network port is in the discarding state, the message is discarded, and the sending fails.
When the redundant forwarding node receives a unicast message sent to the redundant forwarding node, the corresponding message is forwarded to a processor of the redundant forwarding node by a receiving port for processing; if receiving unicast message sent to other nodes, the corresponding message is forwarded from receiving port to another port of the redundant forwarding node for forwarding.
When the redundant forwarding node receives a broadcast or multicast message, the corresponding message is forwarded to a processor of the redundant forwarding node by a receiving port for processing; and meanwhile, the receiving port forwards the data to the other port of the redundant forwarding node for forwarding.
In a closed loop state that the link is not in error, a message sent by the redundant forwarding node to the redundant management node is discarded at an eth1 port of the redundant management node; when the link is in error, the message sent by the redundant forwarding node to the redundant management node is discarded at the corresponding port where the error occurs when the link is in an open loop state.
Preferably, the redundant forwarding node supports that when power is lost, message forwarding between two network ports can still be performed.
Preferably, the redundant forwarding node may actively send a link status message to the redundant management node after detecting a link error, and the redundant management node may immediately switch the blocking port to the forwarding state without waiting for a timeout of the heartbeat message after receiving the link error status message.
The invention has the beneficial effects that: the invention uses the redundant link to connect the charging host and the charging terminal, and when a certain link fails, the communication between the charging host and the charging terminal can be still maintained.
Meanwhile, compared with the existing STP or RSTP scheme, the technical scheme adopted by the invention has shorter link switching time. When the RSTP protocol performs link switching, the equipment detecting the fault notifies the port state, and the ports of the equipment in the network need to perform corresponding state transition, so that the link switching is completed. The link switching is responsible by the charging host, the reporting or state transition of each device in the link is not needed, the maximum link switching time is determined by the heartbeat timeout time, and the threshold value of the minimum link switching time of the RSTP protocol can be set smaller than that of the charging host.
In addition, compared with other redundancy protocol schemes, the technical scheme adopted by the invention is simple to realize, the charging terminal does not need to support an additional redundancy protocol, and the charging host can realize link redundancy only by additionally supporting a heartbeat message.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. Wherein:
fig. 1 is a schematic diagram of a split charging pile redundancy link in a normal closed loop state according to a first embodiment of the present invention;
Fig. 2 is a schematic diagram of a split charging pile redundancy link in a link error open loop state in a second embodiment of the present invention;
Fig. 3 is a schematic diagram illustrating state switching of a standby port of a charging host of a split charging pile according to a first embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more clear, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. It will be apparent that the described embodiments are some, but not all, embodiments of the invention. All other embodiments, which are obtained by a person skilled in the art based on the described embodiments of the invention, fall within the scope of protection of the invention.
Example 1;
Referring to fig. 1, a communication method of a split charging pile is provided for an embodiment of the present invention. The redundant link of the split charging pile is shown in fig. 1 in a normal closed loop state, a charging host is used as a redundant management node, a network port eth0 is used as a main port, and any frame can pass through the port in a forwarding state. The network port eth1 is a standby port, and is in a blocking state, and a heartbeat frame can pass through the port, and the rest frames can not pass through the port.
In the first embodiment, the charging host port eth0 and the charging host port eth1 send periodic heartbeat messages with the MAC address of the other party as the destination address, the period t1 takes 20 to 100ms, the charging host port eth0 and the charging host port eth1 determine whether heartbeat messages are received within the timeout time t2, and the timeout time t2 takes 50 to 200ms, i.e. when a plurality of continuous heartbeat messages are lost, the heartbeat timeout is determined. If the charging host network port eth0 and the network port eth1 both receive the heartbeat message before overtime, the port state is maintained. If the heartbeat timeout occurs at the charging host port eth0 or the charging host port eth1, the normal link closed loop state is converted into the open loop state of the link error shown in fig. 2.
In the first embodiment, when the charging terminal sends a charging message to the charging host, the message is duplicated into two copies, and the messages are sent from the internet port eth0 and the internet port eth1 respectively. When receiving the message which is not sent to the adjacent charging terminal, the adjacent charging terminal forwards the message to another network port and does not forward the message to a processor of the charging terminal for processing. For example, when the network port eth0 of the charging terminal 3 receives a message sent to the charging host by the charging terminal 2 through the network port eth1, the message will be directly forwarded to the network port eth1 of the terminal 3.
In the closed loop state, the copy message sent by all the charging terminals through the network port eth1 is discarded at the network port eth1 of the charging host.
In the first embodiment, when the charging host sends a charging message to the charging terminals, the message is sent from the network port eth0 in the forwarding state, and all the charging terminals receive the message through the network port eth 0. If the message received by the charging terminal is sent to the unicast message or the broadcast multicast message, the message is forwarded to the processor of the charging terminal for processing. If the message is a unicast message sent to the neighboring charging terminal, forwarding the unicast message to the network port eth1 by the network port eth0 of the charging terminal.
Example 2;
Referring to fig. 2, in two embodiments of the present invention, the error open loop state of the redundant link of the split charging pile is shown in fig. 2, and the link between the network port eth1 of the charging terminal 2 and the network port eth0 of the charging terminal 3 is in error, and after the network port of the direct-connection error link detects the link error, the state is switched to the discarding state. The charging terminal 2 can only transmit and receive the charging message from the network port eth0, and the charging terminal 3 can only transmit and receive the charging message from the network port eth 1. The charging terminal 1 still copies the message into two parts for transmission, and the charging message transmitted by the network port eth1 of the charging terminal 1 is discarded by the network port eth1 of the charging terminal 2 during charging.
In the second embodiment, due to the error of the link, the charging host cannot normally receive the heartbeat message, after waiting for the timeout period t2, the charging host eth1 switches to the forwarding state, and can interact with the charging message of the network port eth1 of the charging terminal 3, so that the charging message is not discarded any more. The delay from link error to the migration of the charging host blocking port to the forwarding state is less than the timeout time t2.
In a second embodiment, a charging host establishes and maintains a mapping relationship table between each charging terminal and a network port of the charging host, and each charging terminal has a mapping entry, including: and the charging terminal identifier is a MAC address, a port of the charging host for receiving the charging terminal, and a time stamp of the last frame of the charging host for receiving the charging terminal. And the charging host sends a charging message to the appointed charging terminal according to the port record of the charging terminal mapping table.
In the second embodiment, the charging terminal mapping table in the normal link closed loop state is shown in the following table, and the charging message interaction of each charging terminal is performed by the charging host network port eth 0.
Charging terminal 1 eth0 Time stamp 1
Charging terminal 2 eth0 Time stamp 2
Charging terminal 3 eth0 Time stamp 3
In the second embodiment, when an error occurs in the link as shown in fig. 2, the link is switched to an open loop state, and if the charging host receives a charging message of the charging terminal 3 through the network port eth1, a corresponding entry of the charging terminal mapping table is updated. If the charging host does not receive the charging message sent by the charging terminal 3 temporarily and needs to send the charging message to the charging terminal 3, sending according to the eth0 recorded by the port of the charging terminal mapping table, if no response occurs, attempting to send the message by using the eth1 port switched to the forwarding state, and updating the relevant item of the charging terminal mapping table when the corresponding charging message exists.
In the open loop state as shown in fig. 2, the charging terminal map will be stable in the state as shown in the following table:
Charging terminal 1 eth0 Time stamp 1
Charging terminal 2 eth0 Time stamp 2
Charging terminal 3 eth1 Time stamp 3
In the second embodiment, when the link error is recovered and the state is switched from the open-loop state to the closed-loop state, if the network ports eth0 and eth1 of the charging host can normally receive the heartbeat message, then eth1 is switched to the blocking state, eth1 cannot receive the charging message, the charging host can only receive the charging message of the charging terminal 3 through the network port eth0, and when receiving the corresponding message, the charging terminal mapping table is updated.
In the second embodiment, if the port of the charging host that receives the charging terminal packet is switched before the network ports eth0 and eth1 do not normally receive the heartbeat packet, for example, the network port eth0 receives the charging packet sent by the charging terminal 3 and the network port eth1 receives the charging packet sent by the charging terminal 1 or 2, it indicates that the link error is recovered, and the terminal mapping table is updated without waiting for the heartbeat packet, so that the charging host network port eth1 is directly switched to the blocking state.
In the above two embodiments, the two network ports eth0 and eth1 of the charging host perform port identity allocation according to the port serial numbers, the port eth0 with the smaller serial number is the main port, and the port eth1 with the larger serial number is the standby port. The primary port eth0 switches between forwarding and dropping states depending on the link conditions. The standby port eth1 switches between forwarding, discarding and blocking states according to the link condition.
Based on the above, the backup port eth1 state switches as shown in fig. 3.
The charging messages transmitted between the charging host and the charging terminal are listed in the following table:
When the batch upgrading of the charging terminals is required to be carried out through the charging host, the file transmission can be carried out in a multicast mode. When the batch upgrading of the rest of the charging terminals is carried out through a certain charging terminal, file transmission is carried out in a multicast mode, and if the two network ports eth0 and eth1 of the charging host are in a forwarding state, the multicast message is forwarded between the two network ports.
When the charging terminal needs to be connected with the remote charging operation management platform through the charging host, the charging terminal sends a message to the charging host in a unicast mode, and the message is forwarded to the remote end through the charging host.
Preferably, the redundant forwarding node supports that when power is lost, message forwarding between two network ports can still be performed.
Based on the above, the technical scheme adopted by the invention is shorter in link switching time compared with the existing STP or RSTP scheme. When the RSTP protocol performs link switching, the equipment detecting the fault notifies the port state, and the ports of the equipment in the network need to perform corresponding state transition, so that the link switching is completed. The link switching is responsible by the charging host, the reporting or state transition of each device in the link is not needed, the maximum link switching time is determined by the heartbeat timeout time, and the threshold value of the minimum link switching time of the RSTP protocol can be set smaller than that of the charging host. Compared with other redundancy protocol schemes, the technical scheme adopted by the invention is simple to realize, the charging terminal does not need to support an additional redundancy protocol, and the charging host can realize link redundancy only by additionally supporting a heartbeat message.
In summary, the present invention proposes a scheme for connecting a charging host and a charging terminal by using a redundant link, so as to solve the problem that communication can be maintained when a certain link fails. Compared with the existing STP or RSTP scheme, the technical scheme of the invention has shorter link switching time.
In the conventional RSTP protocol, when a device that detects a failure notifies a port state, each device in the network needs to perform a corresponding state transition to complete a link switch. In the invention, the link switching is responsible by the charging host without depending on the report or state transition of each device in the link. The maximum link switching time is determined by the heartbeat timeout time and can be set to be less than the threshold of the RSTP protocol minimum link switching time.
In addition, compared with other redundancy protocol schemes, the method and the device are simpler to realize. The charging terminal does not need to support an additional redundancy protocol, and the link redundancy can be realized only by the charging host additionally supporting a heartbeat message.
In a word, the invention realizes shorter link switching time and simple implementation by using the redundant link to connect the charging host and the charging terminal and adopting a specific technical scheme.
It should be noted that the above embodiments are only for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that the technical solution of the present invention may be modified or substituted without departing from the spirit and scope of the technical solution of the present invention, which is intended to be covered in the scope of the claims of the present invention.

Claims (6)

1. The communication method of the split charging pile is characterized by comprising the following steps of:
acquiring network port information of a redundancy management node and a redundancy forwarding node;
Judging the network port state of the redundant management node or the redundant forwarding node according to the network port information of the redundant management node and the redundant forwarding node, wherein the network port state comprises a forwarding state, a blocking state and a discarding state;
responding to the network port states of the corresponding redundant management node and the corresponding redundant forwarding node, matching the corresponding ports, switching the network port states of the corresponding redundant management node and the corresponding redundant forwarding node, and carrying out corresponding message transmission and cache recording after the link switching is completed;
The network port information of the redundancy management node comprises states of a main port eth0 and a standby port eth1, wherein the main port eth0 comprises a forwarding state and a discarding state, and the states of the standby port eth1 comprise a forwarding state, a blocking state and a discarding state; the states of the main port eth0 and the standby port eth1 of the redundant forwarding node comprise a forwarding state and a discarding state;
the forwarding state is that any frame can pass through the corresponding port, the blocking state is that the heartbeat frame of the redundancy management node singly passes through the corresponding port, the rest frames cannot pass through the corresponding port, and the discarding state is that any frame cannot pass through the corresponding port of the discarding state;
Judging the network port state of the redundancy management node or the redundancy forwarding node, wherein the network port state is as follows:
Periodically sending heartbeat messages by the main port eth0 and the standby port eth1 of the redundancy management node according to time t1, and judging whether eth0 and eth1 receive the heartbeat messages or not within the timeout time t2 to judge, wherein the method specifically comprises the following steps:
If the main port eth0 and the standby port eth1 both receive the heartbeat message, the redundant management node is in a closed loop state, the redundant management node actively breaks a single loop, the main port eth0 enters a forwarding state, and the standby port eth1 enters a blocking state;
If the standby port eth0 or the standby port eth1 does not receive the heartbeat message on time, the port is in an open loop state, the port directly connected with the abnormal link is switched to a discarding state, and the port directly connected with the abnormal link comprises a redundancy management node or a redundancy forwarding node;
Meanwhile, if the abnormal link is not a link directly connected with the redundant management node, the redundant management node switches the port originally in the blocking state into a forwarding state;
When the main port eth0 and the standby port eth1 of the redundancy management node are both in a forwarding state, the redundancy management node records the port which receives the message of the redundancy forwarding node, and the port is used for the redundancy management node to send the message to the corresponding redundancy forwarding node;
When the main port eth0 and the standby port eth1 of the redundant management node are in a forwarding state, if the redundant management node needs to send a message to the appointed redundant forwarding node, sending a related message according to the port recorded by the corresponding redundant forwarding node, if no response exists, attempting to send the message from the other port of the redundant management node, and when the response message is received, storing the message in the redundant management node record corresponding to the port;
When the main port eth0 and the standby port eth1 of the redundancy management node are both in a forwarding state, if the port of the redundancy management node, which receives the redundancy forwarding node message, is switched between the main port eth0 and the standby port eth1, the redundancy management node indicates that the link error originally causing the open loop state has been recovered, and the redundancy management node does not need to wait for the next heartbeat message, namely, the standby port eth1 is set to be in a blocking state;
when the redundant forwarding node sends a message to the redundant management node, the message processed by the redundant forwarding node is duplicated into two parts, the messages are respectively tried to be sent from two network ports, if the network ports are in a forwarding state, the message can be successfully sent, otherwise, if the network ports are in a discarding state, the message is discarded, and the sending fails;
When the redundant forwarding node receives the unicast message sent to the redundant forwarding node, the corresponding message is forwarded to a processor of the redundant forwarding node by a receiving port for processing, and if the unicast message sent to other nodes is received, the corresponding message is forwarded to another port of the redundant forwarding node by the receiving port for forwarding;
When the redundancy forwarding node receives a broadcast or multicast message, the corresponding message is forwarded to a processor of the redundancy forwarding node by a receiving port for processing, and is forwarded to another port of the redundancy forwarding node by the receiving port for forwarding;
the redundancy management node or the redundancy forwarding node switches the corresponding network port state and sends corresponding messages, wherein the corresponding messages comprise equipment information, configuration information, state information and alarm information of the charging terminal, and state information, alarm information and request information of the charging host; the device information of the charging terminal is a version number and device number message, the configuration information of the charging terminal is a charging gun number, type and rated power message, the configuration information of the charging terminal is a working state and connection state message, the alarm information of the charging terminal is an entrance guard and scram message, the state information of the charging host is an output current and voltage message, the alarm information of the charging host is an overvoltage and undervoltage message, and the request information of the charging host is a charging request and power request message.
2. The communication method of a split charging pile according to claim 1, wherein in a closed loop state where no error occurs in a link, a message sent by a redundant forwarding node to a redundant management node is discarded at a redundant management node backup port eth 1; when the link is in error, the message sent by the redundant forwarding node to the redundant management node is discarded at the corresponding port where the error occurs when the link is in an open loop state.
3. The communication method of a split charging pile according to claim 1, wherein the redundant forwarding node supports message forwarding between two network ports when power is lost.
4. The communication method of a split charging pile according to claim 2, wherein the redundant forwarding node actively transmits a link status message to the redundant management node after detecting a link error, and the redundant management node can switch the blocking port to the forwarding state immediately without waiting for a heartbeat message to timeout after receiving the link error status message.
5. The communication method of a split charging pile according to claim 1, wherein the heartbeat message sending period t1 is set to ten milliseconds to hundred milliseconds, and the heartbeat message is constructed at a data link layer and uses a general data link layer protocol message, including a Goose protocol or a custom data link layer protocol message.
6. The communication method of a split charging pile according to claim 1, wherein the backup ports eth0 and eth1 perform port identity allocation according to port serial numbers, the port eth0 with the smaller serial number is a main port, and the port eth1 with the larger serial number is a backup port.
CN202311483878.0A 2023-11-08 2023-11-08 Communication method of split charging pile Active CN117527537B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311483878.0A CN117527537B (en) 2023-11-08 2023-11-08 Communication method of split charging pile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311483878.0A CN117527537B (en) 2023-11-08 2023-11-08 Communication method of split charging pile

Publications (2)

Publication Number Publication Date
CN117527537A CN117527537A (en) 2024-02-06
CN117527537B true CN117527537B (en) 2024-07-09

Family

ID=89743209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311483878.0A Active CN117527537B (en) 2023-11-08 2023-11-08 Communication method of split charging pile

Country Status (1)

Country Link
CN (1) CN117527537B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741674A (en) * 2009-12-22 2010-06-16 上海自动化仪表股份有限公司 Method for realizing redundant ring and network recovery in Ethernet
CN109525445A (en) * 2018-12-29 2019-03-26 北京东土军悦科技有限公司 Link switch-over method, link redundancy backup network and computer readable storage medium
CN115225426A (en) * 2021-04-17 2022-10-21 华为技术有限公司 Method for establishing network, ethernet system and vehicle

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045231B (en) * 2010-12-31 2012-06-27 北京华源格林科技有限公司 Quick switching method for Ethernet redundancy ring network
CN102647319A (en) * 2012-03-27 2012-08-22 许继集团有限公司 Application service system for monitoring power charging-exchanging station and interprocess communication method
CN103051536A (en) * 2012-12-22 2013-04-17 中国船舶重工集团公司第七0九研究所 Quick multicast switching method of two-layer redundant link
CN112311642B (en) * 2020-12-23 2021-04-02 奥特酷智能科技(南京)有限公司 Automobile Ethernet redundancy scheduling method based on ring networking

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741674A (en) * 2009-12-22 2010-06-16 上海自动化仪表股份有限公司 Method for realizing redundant ring and network recovery in Ethernet
CN109525445A (en) * 2018-12-29 2019-03-26 北京东土军悦科技有限公司 Link switch-over method, link redundancy backup network and computer readable storage medium
CN115225426A (en) * 2021-04-17 2022-10-21 华为技术有限公司 Method for establishing network, ethernet system and vehicle

Also Published As

Publication number Publication date
CN117527537A (en) 2024-02-06

Similar Documents

Publication Publication Date Title
US9461841B2 (en) Communication system, communication method, node, and program for node
US8619605B2 (en) Method and apparatus for maintaining port state tables in a forwarding plane of a network element
US8385335B2 (en) Method and apparatus for providing fast reroute of a unicast packet within a network element to an available port associated with a multi-link trunk
US8811235B2 (en) System and method for assuring the operation of network devices in bridged networks
US7719956B2 (en) Trunk network system for multipoint-to-multipoint relay
US20080068985A1 (en) Network redundancy method and middle switch apparatus
JP2007507990A (en) Switching system with distributed switching structure
JP2005130049A (en) Node
CN101420381B (en) Method and apparatus for enhancing forwarding reliability in VRRP load balance
US8787147B2 (en) Ten gigabit Ethernet port protection systems and methods
CN102780615B (en) Link backup method and routing forwarding device
CN112218321B (en) Master-slave link switching method, device, communication equipment and storage medium
US20130016617A1 (en) Network relay device and control method thereof
CN102209008A (en) Multi-activation detection method and device used for intelligent elastic framework
US20120087233A1 (en) Address Refresh Method and System
KR101075462B1 (en) Method to elect master nodes from nodes of a subnet
CN117527537B (en) Communication method of split charging pile
CN110830310B (en) Cross-data-center disaster backup method and BRAS system
US6781953B1 (en) Broadcast protocol for local area networks
CN102238092A (en) Method for performing load sharing on encoder and encoder
CN108900404B (en) Super ring network structure for redundancy backup
CN102447569B (en) Protection method for point-to-multipoint multicast service and network equipment
CN112636999A (en) Port detection method and network monitoring system
KR100318966B1 (en) A system and method for automatically recovering a network by use of health check in atm exchane network
CN117014338A (en) Method and device for actively detecting and processing multi-master situation in stacked scene

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant