CN107360075B - Network equipment ring protection method and device and network system - Google Patents

Network equipment ring protection method and device and network system Download PDF

Info

Publication number
CN107360075B
CN107360075B CN201610307016.6A CN201610307016A CN107360075B CN 107360075 B CN107360075 B CN 107360075B CN 201610307016 A CN201610307016 A CN 201610307016A CN 107360075 B CN107360075 B CN 107360075B
Authority
CN
China
Prior art keywords
protocol
ring protection
network equipment
information message
network device
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
CN201610307016.6A
Other languages
Chinese (zh)
Other versions
CN107360075A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610307016.6A priority Critical patent/CN107360075B/en
Priority to PCT/CN2017/080243 priority patent/WO2017193756A1/en
Publication of CN107360075A publication Critical patent/CN107360075A/en
Application granted granted Critical
Publication of CN107360075B publication Critical patent/CN107360075B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/18Loop-free operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a network equipment ring protection method and device, and a network system, wherein a first network equipment can obtain a self-running ring protection protocol, and can put an information encapsulation device of the ring protection protocol into a protocol information message, and can also send the protocol information message to a second network equipment adjacent to the first network equipment through a corresponding port; the second network equipment analyzes the protocol information message received from the first network equipment, identifies the ring protection protocol operated by the first network equipment, and starts the ring protection protocol. By adopting the scheme of the invention, the problem that in the prior art, the network equipment can only operate the ring protection protocol according to the pre-configured ring protection protocol, so that the ring protection protocol of the network equipment is not flexible and convenient to use is solved; the effects of automatically adjusting the ring protection protocol of the network, flexibly adjusting and facilitating use are achieved.

Description

Network equipment ring protection method and device and network system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a network device ring protection method, an apparatus thereof, and a network system.
Background
In the prior art, when some networks are deployed, link security and link redundancy are generally considered, so that the difficulties are generally encountered when designing a network topology: the network devices are directly connected by a chain, but the method has the problems that if a link between two nodes on the link fails, nodes on two sides of the two nodes cannot communicate with each other, and if a plurality of network devices are connected behind the failed link, the communication between the networks is seriously affected, so that the method has low safety. In order to solve the problem of low security in a mode of connecting network devices by using a chain, one solution in the prior art is to add another link or multiple links to some more important links, which can improve the security of the network, but in this way, a ring is formed between the devices, and broadcast data may exist among the network devices forming the ring to flood the network and occupy a large amount of network bandwidth, which may result in that normal services cannot be operated, or even completely paralysis, i.e., so-called "broadcast storm", so that there is a defect in adopting this mode.
In the prior art, a solution is also provided for a situation that a "broadcast storm" is easily generated in a ring network, that is, a ring protection Protocol is run on a network device, and a commonly used ring protection Protocol such as STP (Spanning Tree Protocol) may ensure that a ring path does not exist when a network finally reaches convergence through a Spanning Tree algorithm, and when one of links in some of the links is broken, a transmission route may be recalculated, and another link is enabled to communicate, so that a "broadcast storm" may be prevented from being formed.
When the ring Protection Protocol needs to be used, it is often necessary to perform configuration on a network device that needs to run the ring Protection Protocol and enable configuration of the Protocol on a corresponding port, but the ring Protection Protocol is not limited to one, for example, MSTP (Multiple Spanning Tree Protocol), EAPS (Ethernet Automatic Protection Switching) Protocol, and so on. Before using, however, the same ring protection protocol must be configured for each network device, and a device a configured with the MSTP protocol is added to a network deployed with EAPS, for which it is not possible to select a link using the algorithm provided by EAPS, because the network is not deployed with MSTP protocol, it is also not used with MSTP, at this time, the device a is equivalent to not being configured with the ring protection protocol. Therefore, in the prior art, the network device can only operate the ring protection protocol according to the pre-configured ring protection protocol, which causes the problem that the use of the ring protection protocol of the network device is not flexible and convenient.
Disclosure of Invention
The invention provides a network equipment ring protection method, a device and a network system thereof, and solves the problems that in the prior art, network equipment can only operate a ring protection protocol according to a pre-configured ring protection protocol, and the use of the ring protection protocol of the network equipment is not flexible and convenient.
In order to solve the above technical problem, the present invention provides a network device ring protection method, including:
acquiring a self-running ring protection protocol;
packaging the information of the self-running ring protection protocol into a protocol information message;
and sending the protocol information message to adjacent network equipment through a corresponding port, so that the adjacent network equipment starts the self-running ring protection protocol on the adjacent network equipment according to the protocol information message.
In an embodiment of the present invention, acquiring a ring protection protocol running by itself includes: the self-running ring protection protocol is acquired periodically or periodically.
The invention also provides another network equipment ring protection method, which comprises the following steps:
analyzing the received protocol information message from the adjacent network equipment, and identifying the ring protection protocol operated by the adjacent network equipment;
and enabling the ring protection protocol operated by the adjacent network equipment at the self.
In one embodiment of the present invention, the ring protection protocol enabling the neighboring network device to operate by itself includes: and identifying the port receiving the protocol information message, and using the ring protection protocol used by the adjacent network equipment aiming at the port.
In an embodiment of the present invention, before parsing the protocol information packet sent from the neighboring network device, the method further includes: and regularly or periodically detecting whether the protocol information message sent by the adjacent network equipment is received, and analyzing the protocol information message when the detection result shows that the protocol information message sent by the adjacent network equipment is received.
The invention also provides another network equipment ring protection method, which comprises the following steps:
the method comprises the steps that a first network device obtains a self-running ring protection protocol and packages information of the self-running ring protection protocol into a protocol information message; and sending the protocol information message to a second network device through a corresponding port;
the second network equipment analyzes the received protocol information message from the first network equipment; identifying a ring protection protocol operated by the first network equipment; and enabling a ring protection protocol operated by the first network equipment in the self-starting mode.
The invention also provides a network equipment ring protection device, comprising:
an acquisition module: the method comprises the steps of obtaining a self-running ring protection protocol;
packaging the module: the system comprises a protocol information message, a first ring protection protocol and a second ring protection protocol, wherein the protocol information message is used for encapsulating the information of the self-running ring protection protocol to a protocol information message;
a sending module: and the network device is used for sending the protocol information message to adjacent network devices through corresponding ports, so that the adjacent network devices start the self-running ring protection protocol on the adjacent network devices according to the protocol information message.
In an embodiment of the present invention, the obtaining module obtains the self-running ring protection protocol periodically or periodically
The invention also provides another network equipment ring protection device, which comprises:
an analysis module: the device is used for analyzing the received protocol information message from the adjacent network equipment and identifying the ring protection protocol operated by the adjacent network equipment;
a processing module: and the ring protection protocol is used for enabling the adjacent network equipment to run at the ring protection protocol.
In an embodiment of the present invention, the processing module includes an identification control sub-module, configured to identify a port that receives the protocol information packet, and use a ring protection protocol used by the adjacent network device for the port.
In an embodiment of the present invention, the apparatus further includes a detection module: the device is used for regularly or periodically detecting whether the protocol information message sent by the adjacent network equipment is received or not, and analyzing the protocol information message when the detection result shows that the protocol information message sent by the adjacent network equipment is received.
The invention also provides a network system, which comprises a first network device and a second network device;
the first network equipment is used for acquiring a self-operated ring protection protocol and packaging the information of the self-operated ring protection protocol into a protocol information message; and sending the protocol information message to a second network device through a corresponding port;
the second network equipment is used for analyzing the received protocol information message from the first network equipment; identifying a ring protection protocol operated by the first network equipment; and enabling a ring protection protocol operated by the first network equipment in the self-starting mode.
The invention has the beneficial effects that: the invention provides a network equipment ring protection method and device, and a network system, wherein a first network equipment can obtain a self-running ring protection protocol, and can put an information encapsulation device of the ring protection protocol into a protocol information message, and can also send the protocol information message to a second network equipment adjacent to the protocol information message; the second network equipment analyzes the protocol information message received from the first network equipment, identifies the ring protection protocol operated by the first network equipment, and starts the ring protection protocol. By adopting the scheme of the invention, when the MSTP protocol operated by the equipment A is added into the network using the EAPS, the equipment A can send a protocol information message to the adjacent network equipment to inform the adjacent equipment of the type of the ring protection protocol used by the equipment, after the adjacent equipment receives the protocol information message, the protocol information message is identified, the ring protection protocol is started by the adjacent equipment, other adjacent equipment is processed similarly, the ring protection protocol operated by the network can be automatically adjusted, and the problems that the ring protection protocol of the network equipment is not flexible and inconvenient to use because the network equipment can only operate the ring protection protocol according to the pre-configured ring protection protocol in the prior art are solved; the effects of automatically adjusting the ring protection protocol of the network, flexibly adjusting and facilitating use are achieved.
Drawings
Fig. 1 is a flowchart of a sender of a protocol information packet in a network device ring protection method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a receiver of a protocol information packet in a network device ring protection method according to a first embodiment of the present invention;
fig. 3 is a flowchart of a network device ring protection method according to a first embodiment of the present invention;
fig. 4 is a schematic structural diagram of a network device ring protection apparatus in the second embodiment of the present invention;
fig. 5 is a schematic structural diagram of another network device ring protection apparatus according to a second embodiment of the present invention;
fig. 6 is a schematic structural diagram of a network system according to a second embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the following detailed description and accompanying drawings.
The first embodiment is as follows:
the present embodiment provides a network device ring protection method, where the scheme of the present embodiment may relate to a sender of a protocol information packet and a receiver of the protocol information packet, please refer to fig. 1, a main process executed by the sender of the protocol information packet in the main network device ring protection method includes:
s101: acquiring a self-running ring protection protocol;
s102: packaging the information of the ring protection protocol into a protocol information message;
s103: and sending the protocol information message to the adjacent network equipment.
Common ring protection protocols, such as MSTP protocol and EAPS protocol, generally choose to use EAPS protocol for networks with fewer rings, which has the advantage of fast convergence speed. For networks with more nodes, more layers and larger networks, the MSTP protocol is often selected, but convergence is relatively slow. It can be seen that different networks have more suitable ring protection protocols for different services. In the solution in this embodiment, step S101 needs to be executed first to obtain the ring protection protocol running by itself. In a specific embodiment, the device itself may run one ring protection protocol or multiple ring protection protocols, and if the multiple ring protection protocols are run, the multiple ring protection protocols are simultaneously obtained.
In view of the fact that the final state is that each network device needs to reach the protocol convergence state, and the final purpose of acquiring the ring protection protocol running by itself is to send it to the adjacent network device, in a specific implementation manner of this embodiment, the acquisition is performed periodically or periodically. The specific time or period is flexibly set according to specific requirements. After acquiring the self-running ring protection protocol, steps S102 and S103 are sequentially executed.
After the self-running ring protection protocol is acquired, step S102 needs to be executed to encapsulate the information of these ring protection protocols, and in a specific embodiment, since the BPDU type message can be supported by most hardware devices, the BPDU type message may be sent, and the information of the self-running protocol is encapsulated according to the format specified by the type message, for example, specifically, the destination MAC address of the message is set to 01: 80: c 2: 00: 00: 00, adding a protocol type distinguishing field in a special field in the message, wherein the protocol type distinguishing field is used for characterizing the type of the protocol. So that the BPDU message can be encapsulated with the information of the ring protection protocol running by itself. Of course, it is not limited to use of BPDU-type messages for transmission, and other types of messages may be used.
Then, step S103 is executed to send the encapsulated protocol information packet to the adjacent network device, so that the adjacent network device performs corresponding protocol automatic switching, enabling, and the like according to the ring protection protocol operated by the network device.
This embodiment also provides another network device ring protection method, which mainly includes a main flow executed by a receiver of a protocol information packet in the network device ring protection method, please refer to fig. 2, where the method includes:
s201: analyzing the received protocol information message from the adjacent network equipment, and identifying the ring protection protocol operated by the adjacent network equipment;
s202: the ring protection protocol run by the adjacent network device is enabled on the self.
And analyzing the received protocol information message, wherein the protocol information message contains the status of the ring protection protocol operated by the adjacent network equipment, and identifying the status so as to know the ring protection protocol operated by the adjacent network equipment. If the adjacent network equipment uses the related protocol information sent by the BPDU-type message, the received protocol information message is the BPDU-type protocol information message, and when the protocol type is specified to be distinguished by adopting the special field in the message, the received protocol information message is analyzed, the data contained in the special field is identified, and the type of the ring protection protocol can be known according to the data. When the ring protection protocol operated by the adjacent network equipment is known, the ring protection protocol only needs to be started in the adjacent network equipment.
When the ring protection protocol performs path operation, it is the node that is concerned, and one node is connected with another node through a link, more specifically, the interaction is performed by establishing a link between ports on each node, so the ring protection protocol focuses more on the interface of the network device. In a specific implementation, a protocol type message received by a dynamic sensing port marks a corresponding port to participate in the started protocol calculation; different ring protection protocols are dynamically switched and enabled on different ports by sensing the change of protocol type messages received by the ports. Identifying the port receiving the protocol information message, and marking the port correspondingly receiving the ring protection protocol information operated by the first network equipment to participate in protocol calculation, namely using the ring protection protocol used by the adjacent network equipment to finish the operation of the link aiming at the port.
Because too frequently operating the ring protection protocol to perform calculation also occupies a large amount of bandwidth resources, and the intention of using the ring protection protocol is to select a path for communication and data transmission. If the operation is performed too frequently, the expected effect cannot be achieved, so generally, in the specific implementation, before analyzing the protocol information message sent from the adjacent network device, whether the protocol information message sent from the adjacent network device is received is further detected periodically or periodically, and when the detection result is that the protocol information message sent from the adjacent network device is received, the received protocol information message is analyzed. An executed timing period is set, and the condition of receiving the protocol information message is detected only when the period is up. Before the cycle arrives, no matter how the protocol information message of the adjacent network equipment is received, the protocol information message is analyzed only when the cycle arrives and when the received protocol information message is detected, and the following process is executed.
The present embodiment further provides another network device ring protection method, please refer to fig. 3, which includes:
s301: the first network equipment acquires a self-operated ring protection protocol and encapsulates the information of the self-operated ring protection protocol into a protocol information message; and sending the protocol information message to the second network equipment
S302: the second network equipment analyzes the received protocol information message from the first network equipment; identifying a ring protection protocol operated by the first network equipment; and the ring protection protocol run by the first network equipment is started in the self.
The flow performed by the first network device is the same as the flow illustrated in fig. 1 in the present embodiment, and the flow performed by the second network device is the same as the flow illustrated in fig. 2 in the present embodiment. The following description will be given with reference to a specific example. Suppose there are two network devices, device a and device B, which are in the same network and connected to port 2 of device B through port 1. The method comprises the steps that a device A is preset to periodically send protocol information messages to adjacent network devices, when the device A detects that a period arrives, a self-running ring protection protocol is obtained, and the device A uses an MSTP protocol; then, the device a encapsulates the operating ring protection protocol of itself as MSTP protocol into BPDU message, and sets the destination MAC address of the message to 01: 80: c 2: 00: 00: 00, the protocol type discrimination field is set to represent the corresponding data of the MSTP protocol. Then packaging the BPDU message and sending the BPDU message to the device B through the port 2; the device B receives the protocol information message and then judges whether the execution timing period arrives, and when the period arrives, the device B detects whether the protocol information message from the adjacent device is received or not; at this time, the period arrives, and then the device B detects that it has received the BPDU message from the adjacent network device a through the port 1, and then analyzes the BPDU message, mainly needs to identify the data of the protocol distinguishing field, and knows that the protocol used by the device a is the MSTP protocol, and at this time, the device B starts the MSTP protocol regardless of the protocol used by itself, and uses the MSTP protocol for the port 2. Of course, device B may also send a protocol information packet to device a, and protocol a may also enable the same protocol as device B itself, and the procedure is similar to the above procedure. The above process only aims at two network devices, and there are often many network devices in the implementation process, but the interaction process is similar to the above process. And after the protocol is completely started, setting the corresponding port and state, and restraining the broadcast storm after the protocol is converged.
By adopting the network equipment ring protection method, two ring protection protocols can be operated on the network equipment, when the port 1 of the equipment A receives the protocol message information of the equipment B, the equipment B knows that the MSTP protocol is used, the equipment A can start the MSTP protocol, and the MSTP protocol is used for calculating when the link between the equipment A and the equipment B is needed to calculate the link. The port 2 of the device a receives the protocol packet information of the device C, knows that the device C uses the EAPS protocol, and starts the EAPS protocol itself, and calculates using the EAPS protocol when the link between the device a and the device C needs to be used for calculating the link, that is, the device a uses the MSTP protocol for the port 1, and uses the EAPS protocol for the port 2. Certainly, if a specific protocol that needs to be used for configuring some preset ports is configured in advance, for example, the port 10 of the device a is configured in advance to use the EAPS protocol, even if the port 10 does not receive any protocol information message, the port 10 is also added during the operation of the EAPS. Thus, two or more ring protection protocols can be run simultaneously on device a.
The invention supports the physical topology in the network to be connected into a ring, the physical link is connected into a ring to form ring protection, in order to inhibit the broadcast storm in the ring network, firstly the invention supports two ring protection protocols, and the logical topology is calculated into a link after the protocol calculation convergence, thereby inhibiting the broadcast storm in the ring network; secondly, the port can participate in protocol calculation dynamically by sensing the opposite end protocol type dynamically on the device port, and a large amount of complicated configuration work is saved without port protocol configuration. The method can support the simultaneous operation of the dual-ring protection protocol MSTP and the EAPS protocol without conflict, simultaneously support the networking environment that other subframe single plates only support the MSTP protocol and the same type single plates support the EAPS protocol, automatically identify and switch the protocols, inhibit the broadcast storm in the ring network, and have the advantages of rapid convergence, high performance, high reliability and the like. In the above example, MSTP and EAPS protocols are mostly used for illustration, which are only used for explaining the scheme of the present invention, and do not limit the scheme of the present invention, and the scheme may be other ring protection protocols, and the same network device may support more than two ring protection protocols, and may also be more types of ring protection protocols.
Example two:
referring to fig. 4, the present embodiment provides a network device ring protection apparatus, including: an acquisition module 41, a packaging module 42, and a sending module 43; the obtaining module 41 is configured to obtain a ring protection protocol operated by itself; the encapsulating module 42 is configured to encapsulate information of a ring protection protocol running by itself into a protocol information packet; the sending module 43 is configured to send the protocol information packet to the adjacent network device through the corresponding port, so that the adjacent network device operates the corresponding ring protection protocol according to the protocol information packet.
The obtaining module 41 obtains the ring protection protocol running by itself. In a specific embodiment, the device itself may run one ring protection protocol or multiple ring protection protocols, and if the multiple ring protection protocols are run, the multiple ring protection protocols are simultaneously obtained.
In a specific embodiment of the present embodiment, the obtaining module 41 obtains the ring protection protocol periodically or periodically, considering that the final state is a state that requires each network device to reach the protocol convergence state, and the final purpose of obtaining the ring protection protocol running by itself is to send the ring protection protocol to the adjacent network device. The specific time or period is flexibly set according to specific requirements.
In a specific embodiment, since the BPDU type message can be supported by most hardware devices, the BPDU type message may be sent, and information of a protocol running by the BPDU type message is encapsulated according to a format specified by the BPDU type message, for example, specifically, a destination MAC address of the message is set to 01: 80: c 2: 00: 00: 00, adding a protocol type distinguishing field in a special field in the message, wherein the protocol type distinguishing field is used for characterizing the type of the protocol. The encapsulating module 42 can encapsulate the BPDU message with the information of the ring protection protocol running by itself. Of course, it is not limited to use of BPDU-type messages for transmission, and other types of messages may be used. Then, the sending module 43 sends the encapsulated protocol information packet to the adjacent network device, so that the adjacent network device performs corresponding protocol automatic switching, enabling, and the like according to the ring protection protocol operated by the network device. The network device ring protection apparatus 4 in this embodiment may be used to execute the network device ring protection method in fig. 1 in the first embodiment, that is, each action of the network device ring protection method in fig. 1 in the first embodiment is executed by a corresponding module in the network device ring protection apparatus. Although they may not be shown specifically.
The present embodiment further provides another network device ring protection apparatus, please refer to fig. 5, which includes: analysis module 51 and processing module 52
The parsing module 51 is configured to parse the received protocol information packet from the adjacent network device, and identify a ring protection protocol operated by the adjacent network device; the processing module 52 is configured to enable the ring protection protocol running in the neighboring network device.
And analyzing the received protocol information message, wherein the protocol information message contains the status of the ring protection protocol operated by the adjacent network equipment, and identifying the status so as to know the ring protection protocol operated by the adjacent network equipment. If the adjacent network device uses the related protocol information sent by the BPDU type message, the received BPDU type protocol information message is the BPDU type protocol information message, and when the protocol type is specified to be distinguished by using the special field in the message, the parsing module 51 parses the received protocol information message, identifies the data contained in the special field, and can know the type of the ring protection protocol according to the data. When the processing module 52 knows the ring protection protocol that the neighboring network device runs, it only needs to enable the ring protection protocol itself.
The processing module 52 includes an identification control sub-module 521, configured to identify a port that receives the protocol information packet, and use a ring protection protocol used by the adjacent network device for the port. When the ring protection protocol performs the open route calculation, the ring protection protocol is concerned about the nodes, and one node is connected with another node through a link, more specifically, the interaction is performed by establishing a link between ports on each node, so the ring protection protocol focuses more on the interface of the network device. In a specific embodiment, the identification control sub-module 521 identifies a port receiving the protocol information packet, and completes the operation of the link by using a ring protection protocol used by the adjacent network device for the port.
In a specific implementation manner of this embodiment, the network device ring protection apparatus 5 further includes a detection module 53. Before analyzing the protocol information packet sent by the adjacent network device, the detecting module 53 periodically or periodically detects whether the protocol information packet sent by the adjacent network device is received, and analyzes the received protocol information packet when the detecting result indicates that the protocol information packet sent by the adjacent network device is received. An execution timing period is set, and the detection module 53 detects the condition of receiving the protocol information message only when the period arrives. Before the cycle arrives, regardless of whether the protocol information message of the adjacent network device is received, the parsing module 51 performs the protocol information message parsing only if the detection module 53 detects that the protocol information message is received when the execution timing cycle arrives, and the following process. The network device ring protection apparatus 5 in this embodiment may be used to execute the network device ring protection method in fig. 2 in the first embodiment, that is, each action of the network device ring protection method in fig. 2 in the first embodiment is executed by a corresponding module in the network device ring protection apparatus. Although they may not be shown specifically.
Referring to fig. 6, the present embodiment further provides a network system, which includes a first network device 61 and a second network device 62, where the first network device 61 is configured to obtain a ring protection protocol operated by itself, and encapsulate information of the ring protection protocol operated by itself into a protocol information packet; and sending the protocol information message to the second network equipment through the corresponding port. The second network device 62 is configured to parse the received protocol information packet from the first network device; identifying a ring protection protocol operated by the first network equipment; and the ring protection protocol run by the first network equipment is started in the self. The first network device 61 may use the network device ring protection apparatus shown in fig. 4 in this embodiment, and the second network device 62 may use the network device ring protection apparatus shown in fig. 5 in this embodiment. The network system 6 in this embodiment can be used to execute the network device ring protection method in fig. 3 in the first embodiment, that is, each action of the network device ring protection method in fig. 3 in the first embodiment is executed by a corresponding module in the present network system. Although they may not be shown specifically.
The network devices and devices in this embodiment may be common switches, routers, wavelength division devices applied in telecommunication networks, and the like, and for the wavelength division devices, a multi-subrack cascading manner may be adopted. In addition, the network device ring protection device 4 in fig. 4 and the network device ring protection device 5 in fig. 5 in this embodiment may be respectively installed on different network devices, or may be installed on the same network device at the same time. By adopting the network equipment ring protection device and the network system in the embodiment, the ring protection protocol of network operation can be automatically adjusted, and the effects of automatically adjusting the ring protection protocol of the network, flexibly adjusting and facilitating use are achieved.
The foregoing is a more detailed description of the present invention that is presented in conjunction with specific embodiments, and the practice of the invention is not to be considered limited to those descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (12)

1. A network device ring protection method is characterized by comprising the following steps:
acquiring a self-running ring protection protocol;
packaging the information of the self-running ring protection protocol into a protocol information message;
and sending the protocol information message to adjacent network equipment through a corresponding port, so that the adjacent network equipment starts the self-running ring protection protocol on the adjacent network equipment according to the protocol information message.
2. The network device ring protection method of claim 1, wherein obtaining a ring protection protocol running by itself comprises: the self-running ring protection protocol is acquired periodically or periodically.
3. A network device ring protection method is characterized by comprising the following steps:
analyzing the received protocol information message from the adjacent network equipment, and identifying the ring protection protocol operated by the adjacent network equipment;
and enabling the ring protection protocol operated by the adjacent network equipment at the self.
4. The network device ring protection method of claim 3, wherein enabling the ring protection protocol run by the neighboring network device on its own comprises: and identifying the port receiving the protocol information message, and using the ring protection protocol used by the adjacent network equipment aiming at the port.
5. The method for protecting a network device ring according to claim 3 or 4, wherein before parsing the protocol information packet sent from the neighboring network device, the method further comprises: and regularly or periodically detecting whether the protocol information message sent by the adjacent network equipment is received, and analyzing the protocol information message when the detection result shows that the protocol information message sent by the adjacent network equipment is received.
6. A network device ring protection method is characterized by comprising the following steps:
the method comprises the steps that a first network device obtains a self-running ring protection protocol and packages information of the self-running ring protection protocol into a protocol information message; and sending the protocol information message to a second network device through a corresponding port;
the second network equipment analyzes the received protocol information message from the first network equipment; identifying a ring protection protocol operated by the first network equipment; and enabling a ring protection protocol operated by the first network equipment in the self-starting mode.
7. A network device ring protection apparatus, comprising:
an acquisition module: the method comprises the steps of obtaining a self-running ring protection protocol;
packaging the module: the system comprises a protocol information message, a first ring protection protocol and a second ring protection protocol, wherein the protocol information message is used for encapsulating the information of the self-running ring protection protocol to a protocol information message;
a sending module: and the network device is used for sending the protocol information message to adjacent network devices through corresponding ports, so that the adjacent network devices start the self-running ring protection protocol on the adjacent network devices according to the protocol information message.
8. The network device ring protection apparatus of claim 7, wherein the obtaining module obtains a ring protection protocol running by itself periodically or periodically.
9. A network device ring protection apparatus, comprising:
an analysis module: the device is used for analyzing the received protocol information message from the adjacent network equipment and identifying the ring protection protocol operated by the adjacent network equipment;
a processing module: and the ring protection protocol is used for enabling the adjacent network equipment to run at the ring protection protocol.
10. The network device ring protection apparatus of claim 9, wherein the processing module includes an identification control sub-module, configured to identify a port that receives the protocol information packet, and use a ring protection protocol used by the neighboring network device for the port.
11. The network device ring protection apparatus of claim 9 or 10, further comprising a detection module: the device is used for regularly or periodically detecting whether the protocol information message sent by the adjacent network equipment is received or not, and analyzing the protocol information message when the detection result shows that the protocol information message sent by the adjacent network equipment is received.
12. A network system comprising a first network device and a second network device;
the first network equipment is used for acquiring a self-operated ring protection protocol and packaging the information of the self-operated ring protection protocol into a protocol information message; and sending the protocol information message to a second network device through a corresponding port;
the second network equipment is used for analyzing the received protocol information message from the first network equipment; identifying a ring protection protocol operated by the first network equipment; enabling a ring protection protocol operated by the first network equipment on the self, wherein the first network equipment is adjacent to the second network equipment.
CN201610307016.6A 2016-05-10 2016-05-10 Network equipment ring protection method and device and network system Active CN107360075B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610307016.6A CN107360075B (en) 2016-05-10 2016-05-10 Network equipment ring protection method and device and network system
PCT/CN2017/080243 WO2017193756A1 (en) 2016-05-10 2017-04-12 Ring protection method and device for network devices, and network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610307016.6A CN107360075B (en) 2016-05-10 2016-05-10 Network equipment ring protection method and device and network system

Publications (2)

Publication Number Publication Date
CN107360075A CN107360075A (en) 2017-11-17
CN107360075B true CN107360075B (en) 2021-10-08

Family

ID=60266210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610307016.6A Active CN107360075B (en) 2016-05-10 2016-05-10 Network equipment ring protection method and device and network system

Country Status (2)

Country Link
CN (1) CN107360075B (en)
WO (1) WO2017193756A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1753404A (en) * 2004-09-23 2006-03-29 华为技术有限公司 Method of using communication apparatus to select communication protocol
CN101014007A (en) * 2007-01-31 2007-08-08 华为技术有限公司 Data transmission method and transmitting apparatus and receiving apparatus
CN102045228A (en) * 2009-10-22 2011-05-04 中兴通讯股份有限公司 Discovery method and system of loop network protection information
EP2518948A1 (en) * 2009-12-25 2012-10-31 ZTE Corporation Methods, system and apparatus for protecting control virtual local network in ethernet ring network
CN105227534A (en) * 2014-06-30 2016-01-06 中兴通讯股份有限公司 Message format processing method and device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0501131D0 (en) * 2005-01-20 2005-02-23 Siemens Ag A method of operating a node in a network
US8111634B2 (en) * 2006-08-15 2012-02-07 Cisco Technology, Inc. System and method for integrating ring-protocol-compatible devices into network configurations that also include non-ring-protocol compatible devices
CN101771593B (en) * 2008-12-29 2011-11-09 迈普通信技术股份有限公司 Ethernet ring network interconnecting method
CN101483571B (en) * 2009-02-26 2011-06-29 杭州华三通信技术有限公司 RRPP configuring method, system and device
CN101610193B (en) * 2009-07-27 2011-08-03 武汉烽火网络有限责任公司 Method for automatically discovering Ethernet ring and generating ring
CN102045334A (en) * 2010-09-27 2011-05-04 北京泰豪智能工程有限公司 Protocol conversion method and device
WO2013075734A1 (en) * 2011-11-21 2013-05-30 Telefonaktiebolaget L M Ericsson (Publ) Ring protection state aware bandwidth adaptation
US9148346B2 (en) * 2012-09-05 2015-09-29 Brocade Communications Systems, Inc. Multiple ring identification and configuration protocol

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1753404A (en) * 2004-09-23 2006-03-29 华为技术有限公司 Method of using communication apparatus to select communication protocol
CN101014007A (en) * 2007-01-31 2007-08-08 华为技术有限公司 Data transmission method and transmitting apparatus and receiving apparatus
CN102045228A (en) * 2009-10-22 2011-05-04 中兴通讯股份有限公司 Discovery method and system of loop network protection information
EP2518948A1 (en) * 2009-12-25 2012-10-31 ZTE Corporation Methods, system and apparatus for protecting control virtual local network in ethernet ring network
CN105227534A (en) * 2014-06-30 2016-01-06 中兴通讯股份有限公司 Message format processing method and device

Also Published As

Publication number Publication date
CN107360075A (en) 2017-11-17
WO2017193756A1 (en) 2017-11-16

Similar Documents

Publication Publication Date Title
US9871708B2 (en) Method and system for ring protection switching
US9467363B2 (en) Network system and method of managing topology
US7394758B2 (en) Method for supporting SDH/SONET APS on Ethernet
KR102342286B1 (en) DCN message processing method, network device, and network system
US9755957B2 (en) Pseudowire control channel for signaling events
US20090052317A1 (en) Ring Network System, Failure Recovery Method, Failure Detection Method, Node and Program for Node
CN110391951B (en) Ethernet segment identifier adjacency detection processing method and device and storage medium
KR20190002699A (en) Data transfer method, apparatus and system
EP2357762A1 (en) Method and device for protecting multi-ring ethernet
US11606288B2 (en) Network communication method and apparatus
CN111490933B (en) Bidirectional forwarding detection switching method and edge device
JP7168286B2 (en) Communication method and communication device
CN104079462B (en) Looped network configures detection method and device
US9059791B2 (en) Method and apparatus for protecting tunnel
CN103490921B (en) Network protection method, device, lower link point and system
JP5678678B2 (en) Provider network and provider edge device
CN111447095B (en) Bidirectional forwarding detection switching method, bidirectional forwarding detection module and edge device
EP2553882A1 (en) Method for protecting an ethernet ring from a superloop going through the ethernet ring
WO2011131069A1 (en) Binding links detection method and distributed device
US8665708B2 (en) Method and apparatus for a ring network node to acquire protocol messages
US8767736B2 (en) Communication device, communication method, and recording medium for recording communication program
CN107360075B (en) Network equipment ring protection method and device and network system
CN102104529B (en) Method and equipment for realizing message transmission in provider bridge transfer (PBT) network
CN111294226A (en) Communication method and device
CN114363114A (en) Method and device for forwarding flow

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