Search

CN-121984804-A - Communication method and device and equipment-level ring network

CN121984804ACN 121984804 ACN121984804 ACN 121984804ACN-121984804-A

Abstract

The application provides a communication method, a device and a device-level ring network, which belong to the technical field of communication, wherein the method is applied to communication equipment in the device-level ring network, the device-level ring network further comprises a ring network manager and ring network nodes, the communication equipment comprises a first port and two second ports, the first port is connected with the ring network manager, the two second ports are respectively connected with one ring network node, the method comprises the step of sending a device-level ring network frame through the first port, and the device-level ring network frame comprises at least one of a beacon state frame, a link state frame or a neighbor state frame, and the beacon state frame is used for indicating whether the two second ports receive the beacon frame. The application can reduce the recovery time and the fault detection time of the looped network, and support more looped network participation nodes, thereby improving the performance of the equipment-level looped network. The application is used for communication in the equipment-level ring network.

Inventors

  • YANG YANWEI

Assignees

  • 华为技术有限公司

Dates

Publication Date
20260505
Application Date
20241031

Claims (19)

  1. 1. The communication method is characterized by being applied to communication equipment in an equipment-level ring network, wherein the equipment-level ring network further comprises a ring network manager and ring network nodes, the communication equipment comprises a first port and two second ports, the first port is connected with the ring network manager, and the two second ports are respectively connected with one ring network node, and the method comprises the following steps: Transmitting a device-level ring network frame through the first port; the device-level ring network frame comprises at least one of a beacon state frame, a link state frame or a neighbor state frame, wherein the beacon state frame is used for indicating whether the two second ports receive the beacon frame.
  2. 2. The method according to claim 1, wherein the method further comprises: Receiving a beacon frame through the first port, wherein the beacon frame indicates that the ring network state is a fault state; Forwarding the beacon frames through the two second ports respectively; The sending the device-level ring network frame through the first port includes: and sending the beacon status frame through the first port, wherein the beacon status frame is used for indicating whether the beacon frame is received through the two second ports in a first time length.
  3. 3. The method according to claim 1 or 2, wherein said sending a device-level ring network frame through said first port comprises: and in the case of detecting the link failure, transmitting the link state frame through the first port, wherein the link state frame is used for indicating that the link failure exists.
  4. 4. A method according to any one of claims 1 to 3, further comprising: Receiving the link state frame through the second port, wherein the link state frame is sent by the ring network node under the condition of detecting a link fault; The sending the device-level ring network frame through the first port includes: forwarding the link state frame through the first port, wherein the link state frame is used for indicating that a link fault exists.
  5. 5. The method according to any one of claims 1 to 4, further comprising: Receiving a fault location frame through the first port; forwarding the fault locating frames through the two second ports respectively; And responding to the fault locating frame, respectively sending a neighbor check request frame through the two second ports, wherein the neighbor check request frame is used for indicating the looped network node connected with the second ports to return a neighbor check response frame.
  6. 6. The method of claim 5, wherein said transmitting a device-level ring network frame through said first port comprises: and under the condition that the neighbor check response frame is not received through the second port within the second time period, sending the neighbor state frame through the first port, wherein the neighbor state frame is used for indicating that a non-link fault exists.
  7. 7. The method according to claim 5 or 6, characterized in that the method further comprises: Receiving a neighbor check request frame through the second port, wherein the neighbor check request frame is sent by the ring network node connected with the second port in response to the fault locating frame; and responding to the neighbor check request frame, and sending a neighbor check response frame through the second port.
  8. 8. The method according to any one of claims 1 to 7, further comprising: Receiving, by the second port, the neighbor state frame being used to indicate that a non-link failure exists; The sending the device-level ring network frame through the first port includes: forwarding the neighbor state frame through the first port.
  9. 9. A communication method, characterized in that the communication method is applied to a ring manager in a device-level ring network, the device-level ring network further comprises a ring network node and at least one communication device, the communication device comprises a first port and two second ports, the ring network manager comprises at least one third port and two fourth ports, each third port is connected with one first port, the two second ports are respectively connected with one ring network node, and the two fourth ports are respectively connected with one ring network node, the method comprises: Receiving a device-level ring network frame sent by the communication device through the third port; wherein the device-level ring network frame includes at least one of a beacon status frame, a link status frame, or a neighbor status frame, the beacon status frame being used to indicate whether the two second ports of the communication device receive beacon frames.
  10. 10. The method according to claim 9, wherein the method further comprises: Transmitting a beacon frame through the at least one third port and the two fourth ports, wherein the beacon frame indicates that the ring network state is a fault state; The receiving, by the third port, the device-level ring network frame sent by the communication device, including: the beacon status frame sent by the communication device is received through the third port, and the beacon status frame is used for indicating whether the two second ports of the communication device receive the beacon frame in a first duration.
  11. 11. The method according to claim 10, wherein the method further comprises: Transmitting a fault location frame through the third port connected to the first communication device if the beacon status frame transmitted by the first communication device indicates that there is no beacon frame received by the second port; The fault locating frame is used for indicating the first communication equipment to send a neighbor check request frame through the two second ports, and the neighbor check request frame is used for indicating the looped network node connected with the first communication equipment to return a neighbor check response frame.
  12. 12. The method of claim 11, wherein the receiving, via the third port, the device-level ring network frame transmitted by the communication device comprises: Receiving, by the third port, the neighbor state frame sent by the first communication device, where the neighbor state frame is sent by the first communication device when the first communication device does not receive a neighbor check response frame through the second port within a second duration, or is received by the first communication device through the second port and forwarded through the first port; The method further comprises the steps of: and positioning the position of the non-link fault according to the source address carried by the neighbor state frame.
  13. 13. The method according to any one of claims 10 to 12, further comprising: In the event that each beacon status frame received through the third port indicates that both of the two second ports of the communication device receive beacon frames, traffic data is transmitted through either fourth port.
  14. 14. The method according to any one of claims 9 to 13, wherein the receiving, through the third port, the device-level ring network frame transmitted by the communication device, comprises: receiving, by the third port, the link state frame sent by the communication device, where the link state frame is sent by the communication device if a link failure is detected, or the link state frame is received by the communication device through the second port and forwarded through the first port; The method further comprises the steps of: And positioning the position of the link fault according to the source address carried by the link state frame.
  15. 15. The communication device is characterized by being applied to communication equipment in a device-level ring network, the device-level ring network further comprises a ring network manager and ring network nodes, the communication equipment comprises a first port and two second ports, the first port is connected with the ring network manager, and the two second ports are respectively connected with one ring network node, and the device comprises: the receiving and transmitting module is used for transmitting the equipment-level ring network frame through the first port; the device-level ring network frame comprises at least one of a beacon state frame, a link state frame or a neighbor state frame, wherein the beacon state frame is used for indicating whether the second port and the third port receive the beacon frame.
  16. 16. A communication apparatus, characterized by a ring manager applied in a device-level ring network, the device-level ring network further comprising a ring network node and at least one communication device, the communication device comprising a first port and two second ports, the ring network manager comprising at least one third port and two fourth ports, each of the third ports being connected to one of the first ports, the two second ports being connected to one of the ring network nodes, the two fourth ports being connected to one of the ring network nodes, the apparatus comprising: The receiving and transmitting module is used for receiving the device-level ring network frame sent by the communication device through the third port; wherein the device-level ring network frame includes at least one of a beacon status frame, a link status frame, or a neighbor status frame, the beacon status frame being used to indicate whether the two second ports of the communication device receive beacon frames.
  17. 17. A computing device, the apparatus comprising: One or more processors; a memory for storing one or more computer programs or instructions; when executed by the one or more processors, causes the one or more processors to implement the method of any one of claims 1 to 14.
  18. 18. A computer program product containing instructions that, when executed by a computing device, cause the computing device to perform the method of any of claims 1 to 14.
  19. 19. The equipment-level looped network is characterized by comprising a looped network manager, looped network nodes and at least one communication device; The communication equipment comprises a first port and two second ports, the ring network manager comprises at least one third port and two fourth ports, each third port is connected with one first port, the two second ports are respectively connected with one ring network node, and the two fourth ports are respectively connected with one ring network node; The communication device being configured to perform the method of any of claims 1 to 8, the ring network manager being configured to perform the method of any of claims 9 to 14.

Description

Communication method and device and equipment-level ring network Technical Field The present application relates to the field of communications technologies, and in particular, to a communications method and apparatus, and a device-level ring network. Background The device-level ring network (DEVICE LEVEL RING, DLR) includes two types of devices, ring network manager and ring network nodes. The ring network manager is used for verifying the integrity of the device-level ring network, reconfiguring the ring network, recovering the ring network from faults and collecting diagnostic information of the ring network. A ring network node is any non-supervisory device running in the ring network and participating in the DLR protocol, which participates in the failure recovery process of the ring network. However, for the current equipment-level ring network, as the number of ring network nodes increases, the time required for the equipment-level ring network frame to traverse the ring network also increases, which results in increased time for fault detection and fault recovery, and is difficult to identify when faults occur at a plurality of positions, thereby affecting the communication performance of the ring network. Disclosure of Invention The application provides a communication method, a communication device and a device-level looped network, which solve the problems that the time for fault detection and fault recovery is increased and the faults are difficult to identify when a plurality of positions occur in the related art, can reduce the looped network recovery time and the fault detection time, and support a plurality of looped network participation nodes, thereby improving the performance of the device-level looped network. In a first aspect, the application provides a communication method applied to communication equipment in equipment-level looped network, the equipment-level looped network further comprises a looped network manager and looped network nodes, the communication equipment comprises a first port and two second ports, the first port is connected with the looped network manager, the two second ports are respectively connected with one looped network node, the method comprises the step of sending equipment-level looped network frames through the first port, wherein the equipment-level looped network frames comprise at least one of beacon state frames, link state frames or neighbor state frames, and the beacon state frames are used for indicating whether the two second ports receive the beacon frames. The method has the advantages that the communication equipment is directly connected with the ring network manager to form a quick small ring path, the time required for the equipment-level ring network frame to pass through the ring network is reduced compared with the prior art under the condition that the same number of ring network participation nodes is adopted, the equipment-level ring network frame is supported to quickly respond, when fault detection is carried out, the fault can be directly reported through a link between the communication equipment and the ring network manager, the time of fault detection is reduced compared with the prior art, and multi-point fault identification can be realized, so that the management, detection and ring network recovery efficiency of the equipment-level ring network are improved, and the communication performance of the ring network is improved. And because the recovery time and the fault detection time of the looped network can be reduced, compared with the related art, more looped network participation nodes can be supported, and the number of looped network nodes can be multiplied according to the number of communication equipment, so that the performance of the equipment-level looped network is improved. In one possible implementation, the method further includes receiving a beacon frame through the first port, the beacon frame indicating that the ring network status is a failure status, forwarding the beacon frame through the two second ports, respectively, and transmitting the device-level ring network frame through the first port includes transmitting a beacon status frame through the first port, the beacon status frame indicating whether the beacon frame is received through the two second ports within a first time period. The beacon frame is used for determining the health state of the ring network by the ring network manager. In one possible implementation, transmitting the device-level ring network frame through the first port includes transmitting a link-state frame through the first port, the link-state frame indicating that a link failure exists, in the event that a link failure is detected. The link failure may include a link or other physical layer failure identified by a ring network participating node adjacent to the failure, powering off or repeatedly powering on the ring network participating node, the ring network participating