Search

CN-122001707-A - Ethernet loop chain communication system and method

CN122001707ACN 122001707 ACN122001707 ACN 122001707ACN-122001707-A

Abstract

The invention discloses an Ethernet loop chain communication system and method, wherein the system comprises a plurality of control nodes, the control nodes form a loop chain communication network topology, the control nodes comprise a first communication interface and a second communication interface, the first communication interface and the second communication interface are arranged in the loop chain communication network in series and used for communication among different control nodes, the second communication interface is configured to be only transmitted and not received in each control node, the first communication interface is configured to be transmitted and received, at the moment, the loop chain communication network supports unidirectional communication, and the second communication interface in at least one control node is configured to be transmitted and received when the second communication interface of the control node is disconnected from the loop chain communication network.

Inventors

  • ZHANG BO
  • WANG ZHENG
  • DU FANGSUO

Assignees

  • 杭州协能科技股份有限公司

Dates

Publication Date
20260508
Application Date
20260130

Claims (10)

  1. 1. An ethernet ring link communication system, comprising: the control nodes form a loop chain communication network topology; The control node comprises a first communication interface and a second communication interface, wherein the first communication interface and the second communication interface are arranged in a loop chain communication network in series and are used for communication among different control nodes; In each control node, the second communication interface is configured to be only transmitted and not received, and the first communication interface is configured to be both transmitted and received, wherein the ring chain communication network supports unidirectional communication; The second communication interface in at least one of the control nodes is configured to be retractable when disconnected from the ring communication network.
  2. 2. The ethernet ring communication system of claim 1 wherein the control node comprises a switch module, a controller module; The switch module configures the first communication interface, the second communication interface and the third communication interface, and is in communication connection with the controller module through the third communication interface; the controller module is configured to configure the second communication interface to be either only non-transmitting or both transmitting and receiving.
  3. 3. The ethernet ring communication system of claim 1 wherein the control node is configured to: When the second communication interface of one control node is disconnected from the loop-link communication network, the next control node adjacent to the failed second communication interface sends a first broadcast message to the loop-link communication network in the unidirectional communication direction; And when the rest control nodes receive the first broadcast message, configuring the corresponding second communication interfaces to be changed into the expandable and receivable state.
  4. 4. An ethernet ring communications system according to claim 3, wherein said control nodes are configured for identical local area network broadcast IP, and said first broadcast message is configured for transmission to said local area network broadcast IP.
  5. 5. The ethernet ring communication system of claim 3 wherein the control node comprises a master control node and a plurality of master control nodes; And the master control node is configured to determine the position of the master control node with the disconnected second communication interface according to the first broadcast message when the first broadcast message is received, and generate and send fault alarm information of the master control node.
  6. 6. The ethernet ring communication system of claim 3 wherein the control node configuring the second communication interface sends a second broadcast message into the ring communication network when the disconnected second communication interface re-accesses the ring communication network; And the control node which receives the second broadcast message controls the corresponding second communication interface to be changed into only transmitting and not receiving.
  7. 7. An ethernet ring communications system according to any of claims 1 to 6, further comprising establishing a static MAC address table; In each control node, the first communication interface is configured to be both expandable and retractable including: The first communication interface is configured to allow data to be sent to a target MAC address pre-stored in the static MAC address table; the second communication interface is configured to transmit only and not receive includes: and configuring the second communication interface to receive and disable at a physical layer, and allowing data to be sent to a target MAC address pre-stored in a static MAC address table.
  8. 8. The ethernet ring communication system of claim 7 wherein the second communication interface of the at least one control node is configured to be expandable and receivable when the second communication interface of the at least one control node is disconnected from the ring communication network comprises: The second communication interface is configured to be enabled at a physical layer, and the second communication interface is configured to allow reception of data of a broadcast MAC address pre-stored in the static MAC address table.
  9. 9. The ethernet ring communication system of claim 6 wherein the master node is further configured to send TCP messages to the master node over the ring communication network.
  10. 10. An ethernet ring link communication method, applied to the ethernet ring link communication system of any one of claims 1 to 9, the method comprising: In each control node, the second communication interface is configured to be only transmitted and not received, and the first communication interface is configured to be capable of being transmitted and received, at the moment, the loop communication network supports unidirectional communication; And when the second communication interface of at least one control node is disconnected from the loop-link communication network, configuring the second communication interface in the control node to be expandable and receivable.

Description

Ethernet loop chain communication system and method Technical Field The embodiment of the invention relates to the technical field of communication, in particular to an Ethernet loop chain communication system and method. Background In an energy storage system, in order to realize efficient communication between nodes, a stable network topology is required to be constructed through an Ethernet, when the Ethernet is used as a total main communication mode of the energy storage system, if a chain network topology in a hand-in-hand mode is used, when an intermediate single point is disconnected, the communication of all subsequent nodes is completely interrupted, so that core data (such as battery voltage and temperature) of the energy storage system cannot be uploaded, a control instruction cannot be issued, and serious consequences such as over-charge and over-discharge of a battery and system shutdown can be caused. In order to improve the communication reliability, the industry generally upgrades the network topology into a ring structure, so that the master control node can still maintain communication with all the master control nodes through a reverse path when a single point is disconnected. When the energy storage system is applied, the ring topology has the following problems that after the broadcast frame is sent out from a certain node, the broadcast frame continuously flows along a ring path, the broadcast frame can be copied and forwarded indiscriminately in a network, the whole network bandwidth is occupied, and finally, the network is paralyzed and the system is crashed. Disclosure of Invention The invention provides an Ethernet ring chain communication system and method, which aim to solve at least one defect in the prior art. In a first aspect, an embodiment of the present invention provides an ethernet ring link communication system, including: the control nodes form a loop chain communication network topology; The control node comprises a first communication interface and a second communication interface, wherein the first communication interface and the second communication interface are arranged in a loop chain communication network in series and are used for communication among different control nodes; In each control node, the second communication interface is configured to be only transmitted and not received, and the first communication interface is configured to be both transmitted and received, wherein the ring chain communication network supports unidirectional communication; The second communication interface in at least one of the control nodes is configured to be retractable when disconnected from the ring communication network. Optionally, the control node includes a switch module and a controller module; The switch module configures the first communication interface, the second communication interface and the third communication interface, and is in communication connection with the controller module through the third communication interface; the controller module is configured to configure the second communication interface to be either only non-transmitting or both transmitting and receiving. Optionally, the control node is configured to: When the second communication interface of one control node is disconnected from the loop-link communication network, the next control node adjacent to the failed second communication interface sends a first broadcast message to the loop-link communication network in the unidirectional communication direction; And when the rest control nodes receive the first broadcast message, configuring the corresponding second communication interfaces to be changed into the expandable and receivable state. Optionally, the control node configures the same local area network broadcast IP, and the first broadcast message is configured to be sent to the local area network broadcast IP. Optionally, the first broadcast message is transmitted by adopting a UDP protocol. Optionally, the control node comprises a master control node and a plurality of master control nodes; And the master control node is configured to determine the position of the master control node with the disconnected second communication interface according to the first broadcast message when the first broadcast message is received, and generate and send fault alarm information of the master control node. Optionally, when the disconnected second communication interface re-accesses the ring link communication network, the control node configured with the second communication interface sends a second broadcast message to the ring link communication network; And the control node which receives the second broadcast message controls the corresponding second communication interface to be changed into only transmitting and not receiving. Optionally, the master node is further configured to send a TCP packet to the master node through the ring link communication network. Optionally, the switch module