WO2019174454A1 - Link recovery method and device, system, storage medium, and electronic device - Google Patents

Link recovery method and device, system, storage medium, and electronic device Download PDF

Info

Publication number
WO2019174454A1
WO2019174454A1 PCT/CN2019/076064 CN2019076064W WO2019174454A1 WO 2019174454 A1 WO2019174454 A1 WO 2019174454A1 CN 2019076064 W CN2019076064 W CN 2019076064W WO 2019174454 A1 WO2019174454 A1 WO 2019174454A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication link
link
indication information
predetermined time
packet
Prior art date
Application number
PCT/CN2019/076064
Other languages
French (fr)
Chinese (zh)
Inventor
郭晓彬
陈世猛
龙波
陈志伟
夏迎春
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2019174454A1 publication Critical patent/WO2019174454A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/123Evaluation of link metrics
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/302Route determination based on requested QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • H04L45/245Link aggregation, e.g. trunking

Definitions

  • the present disclosure relates to the field of communications, and in particular to a link recovery method and apparatus, system, storage medium, and electronic device.
  • the connections between the switches are generally aggregated to implement the load balancing of the inbound and outbound traffic of each member interface.
  • the status of the aggregation member is up and down.
  • the port is in the state of down to up, which is called the Link Aggregation Control Protocol (LACP) recovery state.
  • LACP Link Aggregation Control Protocol
  • the member entry is not updated at the same time, the member of the aggregation group is added to the aggregation group.
  • the time is the same. The more the traffic is delivered to the port, the traffic will be delivered to the other port, and the traffic will reach the other end. The other end is deactivated because the port is in the block state.
  • the packet loss time is the same as the time when the two groups join the aggregation group.
  • Embodiments of the present disclosure provide a link recovery method and device, system, storage medium, and electronic device.
  • a link recovery method including: a first device negotiates with a second device to obtain a predetermined time, wherein the predetermined time is used to characterize the first device and the second a transmission time of a communication link between the devices; the first device transmitting, to the second device, indication information for restoring the communication link, the predetermined time after transmitting the indication information, the The first device resumes the communication link.
  • another link recovery method including: a second device negotiates with a first device to obtain a predetermined time, wherein the predetermined time is used to characterize the first device and the first The transmission time of the communication link between the two devices; the second device receives the indication information sent by the first device for recovering the communication link; after receiving the indication information, the second device is configured according to the The indication information recovers the communication link.
  • a link recovery apparatus applied to a first device, comprising: a negotiation module, configured to negotiate with a second device to obtain a predetermined time, wherein the predetermined time is used to represent the location a transmission time of a communication link between the first device and the second device; a sending module configured to send indication information for restoring the communication link to the second device; and a recovery module configured to be The communication link is resumed at the predetermined time after the indication information is transmitted.
  • another link recovery apparatus is provided, which is applied to a second device, including: a negotiation module, configured to negotiate with a first device to obtain a predetermined time, wherein the predetermined time is used for characterization a transmission time of the communication link between the first device and the second device; a receiving module configured to receive indication information sent by the first device for recovering the communication link; and a recovery module configured to be After receiving the indication information, the communication link is restored according to the indication information.
  • a link recovery system includes a first device and a second device, where the first device includes: a first negotiation module, configured to negotiate with a second device to obtain a predetermined time, The predetermined time is used to represent a transmission time of a communication link between the first device and the second device, and the sending module is configured to send to the second device to recover the communication link.
  • the first recovery module is configured to restore the communication link at the predetermined time after transmitting the indication information;
  • the second device includes: a second negotiation module, configured to negotiate with the first device Obtaining the predetermined time; the receiving module is configured to receive the indication information sent by the first device for recovering the communication link; and the second recovery module is configured to: after receiving the indication information, according to the indication information Restore the communication link.
  • a storage medium having stored therein a computer program, wherein the computer program is configured to perform the steps of any one of the method embodiments described above at runtime.
  • an electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor being configured to execute the computer program to perform any of the above The steps in the method embodiments.
  • the first device resumes the communication link at a predetermined time after transmitting the indication information for restoring the communication link to the second device, considering that the first device detects the packet delay time between the second device and the second device,
  • the first device and the second device can recover the communication link at the same time, and solve the technical problem that the packet loss is excessive when the communication link is restored between the devices in the related art, and the traffic loss during the fault recovery is reduced.
  • FIG. 1 is a network architecture diagram of an embodiment of the present disclosure
  • FIG. 2 is a flowchart of a link recovery method according to an embodiment of the present disclosure
  • FIG. 3 is a structural block diagram of a link recovery apparatus according to an embodiment of the present disclosure.
  • FIG. 4 is a structural block diagram of another link recovery apparatus according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic diagram of a method for implementing fast convergence of an aggregation port in a link recovery process based on a custom negotiation mechanism according to an embodiment
  • FIG. 6 is a system diagram of implementing fast convergence of an aggregation port in a link recovery process based on a custom negotiation mechanism according to the embodiment
  • FIG. 8 is a schematic diagram of network load sharing when a 3 link fails in the embodiment.
  • FIG. 9 is a schematic diagram of network load sharing when a vsc link fails in this embodiment.
  • FIG. 10 is a schematic diagram of a message format of this embodiment.
  • FIG. 1 is a network architecture diagram of an embodiment of the present disclosure. As shown in FIG. 1 , the network architecture includes: a first device, a second device, where A device interacts with the second device through an aggregated link.
  • FIG. 2 is a flowchart of a link recovery method according to an embodiment of the present disclosure. As shown in FIG. 2, the process includes the following steps. :
  • Step S202 the first device negotiates with the second device to obtain a predetermined time, where the predetermined time is used to represent a transmission time of the communication link between the first device and the second device;
  • Step S204 The first device sends, to the second device, indication information for recovering the communication link.
  • Step S206 the first device resumes the communication link at a predetermined time after transmitting the indication information.
  • a link recovery method running on the network architecture is also provided. As shown in FIG. 2, the process includes the following steps:
  • Step S302 the second device negotiates with the first device to obtain a predetermined time, where the predetermined time is used to represent a transmission time of the communication link between the first device and the second device;
  • Step S304 the second device receives the indication information that is sent by the first device and is used to restore the communication link.
  • Step S306 after receiving the indication information, the second device resumes the communication link according to the indication information.
  • the first device resumes the communication link at a predetermined time after transmitting the indication information for restoring the communication link to the second device, and considers that the first device detects the packet delay time between the second device and the second device,
  • the first device and the second device can recover the communication link at the same time, and solve the technical problem that the packet loss is excessive when the communication link is restored between the devices in the related art, and the traffic loss during the fault recovery is reduced.
  • the first device of the foregoing step may be an entity, a software, a server, a routing device, etc., but is not limited thereto.
  • the method further includes: determining, by the first device, the communication link with the second device. Before the first device determines to restore the communication link with the second device, the method further includes: the first device receiving the link aggregation control protocol LACP packet, where the LACP packet is used to represent the communication by the LACP packet The link is smooth.
  • the determining, by the first device, the communication link between the second device and the second device includes: determining, by the first device, whether the LACP packet is from a port of the communication link; and the communication link includes two ports, respectively, on the first device side
  • the first device may receive the LACP packet from the port on the first device side; if the LACP packet is determined to be from the port of the communication link, the communication link through which the LACP packet passes is unobstructed.
  • the communication link between the first device and the second device is unobstructed, and the first device determines to restore the communication link with the second device.
  • the method further includes: the first device detecting a packet delay time between the second device and the second device, wherein the predetermined time is greater than or equal to the packet delay time.
  • the predetermined time is half of the packet delay time for fully considering the transmission time of the indication information to the second device.
  • it may be other time, for example, the time when the second device response indication information has been received from the receipt of the indication information to the completion of the recovery link.
  • the delay time of sending and receiving packets is that the time from the first device to the second device is received, and the time from the second device to the first device may of course be characterized by other transmission time.
  • the first device recovering the communication link includes: the first device adds the communication link to the LACP aggregation group, where the member in the LACP aggregation group is used to transmit data between the first device and the second device.
  • the method further includes: the first device interacting with the second device via the communication link.
  • the detecting, by the first device, the delay time of sending and receiving packets with the second device includes:
  • the first device sends a request message for detecting a link delay to the second device.
  • the first device receives a response message that is sent by the second device according to the request packet.
  • the first device calculates a delay time of sending and receiving packets according to a difference between a receiving time of the response message and a sending time of the request message. That is, the receiving and receiving time is subtracted from the sending time to obtain the packet delay time.
  • the delay time of the packet transmission and reception time may be calculated by using the timestamp and the transmission time of the request packet, and the calculated delay time of the transceiver packet is calculated.
  • the request packet carries the first packet sequence number
  • the response packet carries the second packet sequence number, wherein the first packet sequence number corresponds to the second packet sequence number.
  • the first device may periodically send the request packet, and after receiving the multiple request packets, the first device may also feed back multiple response packets, and the request packet and the response packet corresponding to the sequence number can ensure the delay of sending and receiving packets. The accuracy.
  • the second device recovers the communication link according to the indication information, where the second device adds the communication link to the link aggregation control protocol LACP aggregation group, where the members in the LACP aggregation group are used to transmit the first device and the first device. Data between two devices.
  • the method further includes: the second device interacting with the first device to exchange traffic data through the communication link.
  • a link recovery device and a system are provided, which are used to implement the foregoing embodiments and preferred embodiments, and are not described again.
  • the term “module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 3 is a structural block diagram of a link recovery apparatus according to an embodiment of the present disclosure. As shown in FIG. 3, the apparatus is applied to a first device, where the apparatus includes:
  • the negotiation module 30 is configured to negotiate with the second device to obtain a predetermined time, where the predetermined time is used to represent a transmission time of the communication link between the first device and the second device;
  • the sending module 32 is configured to send, to the second device, indication information for recovering the communication link;
  • the recovery module 34 is arranged to resume the communication link a predetermined time after transmitting the indication information.
  • FIG. 4 is a structural block diagram of another link recovery apparatus according to an embodiment of the present disclosure. As shown in FIG. 4, the apparatus is applied to a second device, where the apparatus includes:
  • the negotiation module 40 is configured to negotiate with the first device to obtain a predetermined time, where the predetermined time is used to represent a transmission time of the communication link between the first device and the second device;
  • the receiving module 42 is configured to receive indication information that is sent by the first device and used to restore the communication link.
  • the recovery module 44 is configured to resume the communication link according to the indication information after receiving the indication information.
  • This embodiment further provides a link recovery system, including the first device shown in FIG. 3 and the second device shown in FIG. 4.
  • the operational steps in the optional example in the above embodiment 1 can also be implemented in the first device or the second device by means of a module or a unit.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • the present embodiment provides a method and system for implementing fast convergence of an aggregation port in a link recovery process based on a custom negotiation mechanism, which can ensure that data packets between the network and the network are restored when the aggregation group member links are restored. You can quickly and evenly share the ports of all aggregation group members to reduce the packet loss rate.
  • the aggregation group member list stores all member information of the aggregation group.
  • the method of the embodiment includes: when the aggregation link is restored, it is determined whether the LACP packet is received, and if the LACP packet is received, the LACP module is advertised, and the LACP module collects the required information, and simultaneously sends the link delay detection packet, the packet.
  • the format is as shown in FIG. 10.
  • FIG. 10 is a schematic diagram of the format of the packet in the embodiment, testing the delay time of sending and receiving packets between the two devices, and then sending the fast-cut packet (the format of the packet is as shown in FIG. 10) to the peer end. After receiving the fast-cut packet, the peer immediately joins the member to the lacp aggregation group.
  • the local end After the local end delays for a certain period of time (such as half of the delay time), the local end performs fast cut and adds the restored link to the lacp aggregation group.
  • the mechanism of the link recovery on both ends is basically synchronized.
  • the service is basically not interrupted, which greatly reduces the convergence time of the aggregation link recovery.
  • the message shown in Figure 10 uses a special DMAC: 0x 01 d0 d0 11 22 33, special Ether type: 0x2234
  • Type: 1 indicates the link delay detection packet, and 2 indicates the fast-cut notification packet.
  • the link delay detection packet requires a sequence number. For example, one end sends a link delay detection packet (request packet) to the other end. After 200 ms, no response packet has been received, and another link delay can be sent. Detecting the message (requesting message). If the response message is received, the sequence number is judged whether it is the response to the first detection message or the second detection message, so that the N can be correctly calculated. .
  • a system for implementing fast convergence of an aggregation port in a link recovery process including a storage module, a traffic module, a link fast recovery detection module, and a fault recovery processing module.
  • the storage module is configured to store an aggregation group member list.
  • the aggregation group member list is used to store information of all members of the aggregation group.
  • the traffic forwarding module is configured to forward traffic according to the aggregation group member list stored by the storage module.
  • the link fast recovery detection module is configured to detect a lacp protocol for interaction between network device aggregation links, and determine the link by adding a link detection protocol, a fast-cut notification protocol, and a negotiation rule defined by the protocol. Recovery detection function.
  • the fault recovery processing module is configured to discover the custom fast-cut packet sent by the aggregation link, and add the information of the aggregation group member of the fault recovery to the aggregation group list, and the traffic is quickly restored.
  • the technical defect of the convergence time cannot be met.
  • the switch detects that one of the faulty links is restored, the switch performs fast switching according to the port up state, and the ports at both ends of the device cannot be detected at the same time.
  • the fast-cutting that is, the addition of the member, causes the port at one end to join the lacp aggregation group, and the other end has not yet joined the aggregation group.
  • the traffic from the end of the aggregation group to the end of the aggregation group is lost. Therefore, the convergence time cannot meet the requirements of the current network device failure recovery convergence time.
  • the present embodiment proposes the solution, that is, when one of the faulty aggregation group member ports is restored, the self-defined protocol is customized according to the intercepted lacp protocol, and the fast link switching is completed by sending a custom protocol, and the method is implemented. , greatly reducing the problem of serious traffic loss caused by the port recovery.
  • the network packet In the data analysis of the aggregation link recovery in this embodiment, it is very common for the network packet to use the aggregated link to implement traffic forwarding in the network environment, but the link fault is also often present, and the link is faulty.
  • the packet loss time can meet the requirements, but the fault recovery cannot be satisfied.
  • the reason is that the two devices run dynamic lacp. After the port is up, each link performs the lacp protocol interaction without affecting each other.
  • the module delivers the aggregation group member information to the driver module.
  • the platform module cannot guarantee that the two devices will send the aggregation group member information at the same time.
  • the process of sending the member information of the aggregation module from the platform module to the driver module may delay the error, resulting in the underlying entries of the two devices. It is not updated at the same time, resulting in a serious packet loss, and the time is about 3s.
  • this embodiment can solve the problem, and the time when the two ends are switched is basically the same, and the convergence time is within 5
  • FIG. 5 is a schematic diagram of a method for implementing fast convergence of an aggregation port in a link recovery process based on a custom negotiation mechanism according to the embodiment. As shown in FIG. 5, the method includes:
  • Step 1 Determine whether a lCP packet is received.
  • Step 2 According to step 1, immediately send a notification to the peer to send a fast-cut message, which is a custom packet, and notify the peer to cut the packet immediately, and add the port to the lacp aggregation group.
  • Step 3 According to step 2, the local end delays for a certain time (half of the delay time calculated in step 1);
  • Step 4 On the basis of step 3, add the port to the aggregation group list to complete the link recovery.
  • FIG. 6 is a system diagram of implementing fast convergence of an aggregation port in a link recovery process according to a custom negotiation mechanism. As shown in FIG. 6, the system includes: a storage module, a traffic module, and a link recovery detection module. , fault recovery processing module.
  • the storage module is configured to store an aggregation group member list.
  • the aggregation group member list is used to store information about all the members of the aggregation group. You can create an aggregation group. Add a number of members to the group and save a member of the aggregation group as a storage module.
  • Figure 7 Figure 7 is a schematic diagram of network load sharing in this embodiment. There are three links in the aggregation link, and the storage module stores the three aggregation group members.
  • the traffic forwarding module is configured to perform traffic forwarding according to the aggregation group member list stored in the storage module.
  • FIG. 8 is a schematic diagram of network load sharing when the 3 link fails in this embodiment, when the fault is aggregated.
  • the restored member is added to the storage module based on the customized packet negotiation mechanism.
  • the traffic is hashed to all members of the LCP group based on the hash policy.
  • the status of the port is immediately restored to the traffic load balancing state. .
  • the link fast recovery detection module is configured to detect whether the faulty aggregation member port of the network device is restored, specifically, detecting whether the LACP packet is received, and if the LACP is received, immediately sending a link delay detection packet to the peer end.
  • the local end receives the response packet, immediately calculates the delay time, and immediately sends a customized fast-cut notification message to the peer end.
  • the peer end receives the fast-cut notification message and immediately cuts the packet. The local end according to the delay time. After the half-delay is performed, the fast-switching process is performed, and the restored port is added to the lacp aggregation group to complete the recovery of the aggregation link to ensure that the number of lost packets is within 5 ms.
  • the fault recovery processing module adds the restored link to the aggregation group after the custom negotiation succeeds, and the traffic is quickly restored to the port.
  • a B two devices, A B, have transmissions in between, and four ports run the lacp protocol.
  • the project module reports to the platform module.
  • the platform module After receiving the port up message, the platform module starts the lacp protocol interaction. Protocol interaction is based on links, and each of the four links interacts.
  • a first packet or B first packet is random, such as A first packet (A--B direction), A sends a lacp interaction packet from port 1 to port 1 of B, and B receives a lcp packet from port 1.
  • the driver module intercepts the message (does not affect the normal uplink platform module, and each port changes from down to up, only intercepts once), sends a notification message to the driver lacp module (the message only contains the source port), the driver After receiving the message, the lacp module can obtain two pieces of information: the packet is received from port 1, and the link connected to port 1 is up (because the message has already arrived). At this point, you can do a quick cut. Before the fast cut, you need to test the delay time of sending and receiving packets between the two devices, so that you can get the value of the delay Nms (1ms or more) mentioned in the following scheme. At this time, B to A can send a link delay detection message. After A receives, one situation is to immediately reply to B.
  • B calculates the time difference (from issue to recovery), and then divides by 2 to do For the N delay time, the other case is 200ms. If the response message has not been received, we will send another link delay detection message (request message). If the response message is received, it will be judged. The sequence number carried in the message is known as the response to the first detection message or the response of the second detection message. The time difference is calculated after receiving the response, and then divided by 2 as the N delay time. If the link detection packet is discarded, the normal LACP exchange packet will be discarded. The platform module will not send the aggregation group member information entry. The project can wait for 100-200ms and continue to send the link delay detection message until it is recycled, and then proceed to the next step.
  • B After the link delay between the two devices is calculated, it can be quickly cut.
  • B must first send a fast-cut notification message and then locally fast-cut. After the packet is sent, there can be a delay of N ms (the N obtained by the link detection packet interaction), and then local fast-cut.
  • This fast cut notification message is sent from port 1 of B.
  • A intercepts and terminates the message from port 1, and then triggers the fast cut of port A of the A device.
  • the B--A direction will also have this process, that is, the first LCP message received by A is also processed similarly (calculation delay N, Then A sends a quick cut to notify the message and then cuts it.) If the message is not lost, A has done a fast cut, then there is no need to process the first lcp message of B (that is, there is no need to send a fast cut notification message and then cut).
  • each link performs this interaction, and needs to update the number of entries (number of links) n times, and finally complete the link recovery.
  • a B two devices, A B, have transmissions in the middle. If both A B devices are multi-cpu, the processing mechanism and the instance are basically the same, but the CPU can be cut to idle cpu when the CPU is busy. This is the protection mechanism of the cpu.
  • the four ports run the lacp protocol. After the port is up, the platform module is reported. When the platform module receives this message, it will start the lacp protocol interaction. The protocol interaction is based on the link, and the four links will interact with each other.
  • a first packet or B first packet is random, such as A first packet (A--B direction), A sends a lacp interaction packet from port 1 to port 1 of B, and B receives a lcp packet from port 1.
  • the driver module intercepts the message (does not affect the normal uplink platform module, and each port changes from down to up, only intercepts once), sends a notification message to the driver lacp module (the message only contains the source port), the driver After receiving the message, the lacp module can obtain two pieces of information: the packet is received from port 1, and the link of port 1 is up (because the message has already arrived). At this point, you can do a fast cut. You need to test the packet delay between the two devices before the fast cut, so you can get the value of the delay Nms (1ms or more) mentioned in the following scheme. At this time, B to A can send a link delay detection message. After A receives, one situation is to immediately reply to B.
  • B calculates the time difference (from issue to recovery), and then divides by 2 to do For the N delay time, the other case is 200ms. If the response message has not been received, we will send another link delay detection message (request message). If the response message is received, it will be judged. The serial number carried in the message is known as the response to the first detection message or the response of the second detection message. The time difference is calculated (from issue to recovery), and then divided by 2, as the N delay time. If the time of sending and receiving is not equal, it is still divided by 2, which is the N delay time. If the link detection packet is discarded, the normal lacp exchange message should also be discarded, and the platform will not publish the item. The project can wait for 100-200ms and continue to send the link delay detection message until it is recycled, and then proceed to the next step.
  • the switch can be fast-cut, but the cpu is busy. Because there are multiple CPUs, B can send the fast-cut notification packet on the idle cpu. There is a delay of N ms (N obtained by the link detection packet exchange), and then local fast cut, that is, the restored member port is quickly added to the aggregation group. This fast cut notification message is sent from port 1 of B. A intercepts and terminates the message from port 1, and then triggers the fast cut of port A of the A device.
  • the B--A direction will also have this process, that is, the first LCP message received by A is also processed similarly (calculation delay N, Then A sends a quick cut to notify the message and then cuts it.) If the message is not lost, A has done a fast cut, then there is no need to process the first lcp message of B (that is, there is no need to send a fast cut notification message after fast cut).
  • each link performs this interaction, and needs to update the number of entries (number of links) for the last time. Finally, the link is restored. For devices with multiple CPUs, it can be guaranteed when the CPU is busy. You can still quickly add the restored members to the aggregation group on the free cpu.
  • FIG. 9 is a schematic diagram of network load sharing when the vsc link fails in the embodiment.
  • FIG. 9 shows that a link of the SG1 in the aggregated link environment is required to be restored after the fault is recovered.
  • the convergence time is within 5ms
  • the node failure that is, the network convergence time after the network device 1 is powered off and restarted is within 100ms
  • the present disclosure can solve the problem. Description of the requirements: When a link in the aggregation group recovers, the convergence time is within 5ms, and the convergence time of the node is restored within 100ms.
  • the aggregation port restores the normal load sharing requirement of the traffic with a minimum packet loss cost in the case of failure recovery.
  • Embodiments of the present disclosure also provide a storage medium having stored therein a computer program, wherein the computer program is configured to execute the steps of any one of the method embodiments described above.
  • the above storage medium may be configured to store a computer program for performing the following steps:
  • the first device negotiates with the second device to obtain a predetermined time, where the predetermined time is used to identify a transmission time of the communication link between the first device and the second device.
  • the first device sends, to the second device, indication information for recovering the communication link.
  • the first device resumes the communication link at a predetermined time after the indication information is sent.
  • the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM).
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • Embodiments of the present disclosure also provide an electronic device including a memory and a processor having a computer program stored therein, the processor being configured to execute a computer program to perform the steps of any one of the method embodiments described above.
  • the electronic device may further include a transmission device and an input and output device, wherein the transmission device is connected to the processor, and the input and output device is connected to the processor.
  • the foregoing processor may be configured to perform the following steps by using a computer program:
  • the first device negotiates with the second device to obtain a predetermined time, where the predetermined time is used to represent a transmission time of the communication link between the first device and the second device.
  • the first device sends, to the second device, indication information for recovering the communication link.
  • the first device resumes the communication link at a predetermined time after the indication information is sent.
  • modules or steps of the present disclosure described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. As such, the disclosure is not limited to any specific combination of hardware and software.
  • the link recovery method, device, system, storage medium, and electronic device provided by the embodiments of the present invention have the following beneficial effects: the technology for over-packaging when recovering communication links between devices in the related art is solved. The problem is reduced traffic loss during failure recovery.

Landscapes

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

Abstract

The present disclosure provides a link recovery method and device, a system, a storage medium, and an electronic device. The method comprises: a first apparatus negotiating with a second apparatus to obtain a predetermined time, the predetermined time being used to characterize the transmission time of a communication link between the first apparatus and the second apparatus; the first apparatus sending to the second apparatus instruction information for recovering the communication link, and in a predetermined time after sending the instruction information, the first apparatus recovering the communication link. The present disclosure solves the technical problem in the related art of excessive packet loss during the recovery of a communication link between apparatuses.

Description

链路恢复方法及装置、系统、存储介质、电子装置Link recovery method and device, system, storage medium, electronic device 技术领域Technical field
本公开涉及通信领域,具体而言,涉及一种链路恢复方法及装置、系统、存储介质、电子装置。The present disclosure relates to the field of communications, and in particular to a link recovery method and apparatus, system, storage medium, and electronic device.
背景技术Background technique
随着计算机及网络技术的高速发展和各种网络应用的不断涌现,基础数据通信网络的稳定性越来越重要。为了增加带宽,实现链路传输弹性和冗余等功能,交换机之间的连线一般是聚合链路,以实现出、入流量在各个成员口中的负载分担,聚合成员的状态有up和down状态,端口由down到up的状态,称为链路汇聚控制协议(Link Aggregation Control Protocol,LACP)恢复状态,此时就需要快速将本端口加入聚合组中,使该聚合链路可以很快参与后续的流量负载分担。With the rapid development of computer and network technologies and the emergence of various network applications, the stability of basic data communication networks is becoming more and more important. To increase the bandwidth and implement the link transmission flexibility and redundancy, the connections between the switches are generally aggregated to implement the load balancing of the inbound and outbound traffic of each member interface. The status of the aggregation member is up and down. The port is in the state of down to up, which is called the Link Aggregation Control Protocol (LACP) recovery state. In this case, you need to quickly add the local port to the aggregation group, so that the aggregation link can be quickly involved. Traffic load sharing.
相关技术中的聚合功能作为一种数据中心技术,可以将来自客户机的请求分布到两个或更多的服务器上。相关技术中存在的问题是无法保证链路故障恢复过程中不出现大量的丢包,原因是:两台设备运行动态lacp,待端口up后,每条链路进行lacp协议交互,互不影响,待两端协商成功后,平台模块将激活的聚合组成员信息下发到驱动模块。首先平台模块无法保证两台设备间同时下发聚合组成员信息,其次,两台设备从平台模块到驱动模块下发聚合成员信息的流程也会有时延误差,就导致了两台设备底层聚合组成员表项不是同时更新,会导致一端成员加入聚合组另外一端成员后加入据聚合组,即两端加入聚合组的时间不能保持一致,两端加入聚合组时间差值越大,丢包的时间就越多,因为一端成员加入聚合组后流量就会立即负载分担到该端口,流量到达另一端,另一端由于未加入聚合组还处于去激活状态,即端口处于block状态,所以流量无法通过以至于出现大量的丢包,丢包时间和两端加入聚合组不一致的时间相同。Aggregation functionality in the related art As a data center technology, requests from clients can be distributed to two or more servers. The problem in the related art is that a large number of packet loss does not occur during the link fault recovery process. The reason is that the two devices run dynamic lacp. After the port is up, each link performs the lacp protocol interaction without affecting each other. After the negotiation between the two ends is successful, the platform module sends the information of the activated aggregation group member to the driver module. The platform module cannot guarantee that the aggregation group member information is sent between the two devices at the same time. Secondly, the process of sending the aggregation member information from the platform module to the driver module can delay the error, which leads to the underlying aggregation group of the two devices. If the member entry is not updated at the same time, the member of the aggregation group is added to the aggregation group. The time is the same. The more the traffic is delivered to the port, the traffic will be delivered to the other port, and the traffic will reach the other end. The other end is deactivated because the port is in the block state. As for a large number of packet loss, the packet loss time is the same as the time when the two groups join the aggregation group.
针对相关技术中存在的上述问题,目前尚未发现有效的解决方案。In view of the above problems in the related art, no effective solution has been found yet.
发明内容Summary of the invention
本公开实施例提供了一种链路恢复方法及装置、系统、存储介质、电子装置。Embodiments of the present disclosure provide a link recovery method and device, system, storage medium, and electronic device.
根据本公开的一个实施例,提供了一种链路恢复方法,包括:第一设备与第二设备协商得到预定时间,其中,所述预定时间用于表征所述第一设备与所述第二设备之间的通信链路的传输时间;所述第一设备向所述第二设备发送用于恢复所述通信链路的指示信息,在发送所述指示信息之后的所述预定时间,所述第一设备恢复所述通信链路。According to an embodiment of the present disclosure, a link recovery method is provided, including: a first device negotiates with a second device to obtain a predetermined time, wherein the predetermined time is used to characterize the first device and the second a transmission time of a communication link between the devices; the first device transmitting, to the second device, indication information for restoring the communication link, the predetermined time after transmitting the indication information, the The first device resumes the communication link.
根据本公开的一个实施例,提供了另一种链路恢复方法,包括:第二设备与第一设备协商得到预定时间,其中,所述预定时间用于表征所述第一设备与所述第二设备之间的通信链路的传输时间;所述第二设备接收第一设备发送的用于恢复所述通信链路的指示信息;所述第二设备在接收到所述指示信息后,根据所述指示信息恢复所述通信链路。According to an embodiment of the present disclosure, another link recovery method is provided, including: a second device negotiates with a first device to obtain a predetermined time, wherein the predetermined time is used to characterize the first device and the first The transmission time of the communication link between the two devices; the second device receives the indication information sent by the first device for recovering the communication link; after receiving the indication information, the second device is configured according to the The indication information recovers the communication link.
根据本公开的另一个实施例,提供了一种链路恢复装置,应用在第一设备,包括:协商模块,设置为与第二设备协商得到预定时间,其中,所述预定时间用于表征所述第一设备与所述第二设备之间的通信链路的传输时间;发送模块,设置为向所述第二设备发送用于恢复所述通信链路的指示信息;恢复模块,设置为在发送所述指示信息之后的所述预定时间,恢复所述通信链路。According to another embodiment of the present disclosure, there is provided a link recovery apparatus, applied to a first device, comprising: a negotiation module, configured to negotiate with a second device to obtain a predetermined time, wherein the predetermined time is used to represent the location a transmission time of a communication link between the first device and the second device; a sending module configured to send indication information for restoring the communication link to the second device; and a recovery module configured to be The communication link is resumed at the predetermined time after the indication information is transmitted.
根据本公开的另一个实施例,提供了另一种链路恢复装置,应用在第二设备,包括:协商模块,设置为与第一设备协商得到预定时间,其中,所述预定时间用于表征所述第一设备与所述第二设备之间的通信链路的传输时间;接收模块,设置为接收第一设备发送的用于恢复所述通信链路的指示信息;恢复模块,设置为在接收到所述指示信息后,根据所述指示信息恢复所述通信链路。According to another embodiment of the present disclosure, another link recovery apparatus is provided, which is applied to a second device, including: a negotiation module, configured to negotiate with a first device to obtain a predetermined time, wherein the predetermined time is used for characterization a transmission time of the communication link between the first device and the second device; a receiving module configured to receive indication information sent by the first device for recovering the communication link; and a recovery module configured to be After receiving the indication information, the communication link is restored according to the indication information.
根据本公开的又一个实施例,提供了一种链路恢复系统,包括第一设备、第二设备,所述第一设备包括:第一协商模块,设置为与第二设备协 商得到预定时间,其中,所述预定时间用于表征所述第一设备与所述第二设备之间的通信链路的传输时间;发送模块,设置为向所述第二设备发送用于恢复所述通信链路的指示信息;第一恢复模块,设置为在发送所述指示信息之后的所述预定时间,恢复所述通信链路;所述第二设备包括:第二协商模块,设置为与第一设备协商得到所述预定时间;接收模块,设置为接收第一设备发送的用于恢复所述通信链路的指示信息;第二恢复模块,设置为在接收到所述指示信息后,根据所述指示信息恢复所述通信链路。According to still another embodiment of the present disclosure, a link recovery system includes a first device and a second device, where the first device includes: a first negotiation module, configured to negotiate with a second device to obtain a predetermined time, The predetermined time is used to represent a transmission time of a communication link between the first device and the second device, and the sending module is configured to send to the second device to recover the communication link. The first recovery module is configured to restore the communication link at the predetermined time after transmitting the indication information; the second device includes: a second negotiation module, configured to negotiate with the first device Obtaining the predetermined time; the receiving module is configured to receive the indication information sent by the first device for recovering the communication link; and the second recovery module is configured to: after receiving the indication information, according to the indication information Restore the communication link.
根据本公开的又一个实施例,还提供了一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to still another embodiment of the present disclosure, there is also provided a storage medium having stored therein a computer program, wherein the computer program is configured to perform the steps of any one of the method embodiments described above at runtime.
根据本公开的又一个实施例,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。According to still another embodiment of the present disclosure, there is also provided an electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor being configured to execute the computer program to perform any of the above The steps in the method embodiments.
通过本公开,在发送用于恢复通信链路的指示信息给第二设备后的预定时间,第一设备再恢复通信链路,考虑第一设备检测与第二设备之间的收发包延迟时间,第一设备和第二设备可以同时恢复通信链路,解决了相关技术中在设备间恢复通信链路时丢包过多的技术问题,减少了在故障恢复时的流量丢失。Through the present disclosure, the first device resumes the communication link at a predetermined time after transmitting the indication information for restoring the communication link to the second device, considering that the first device detects the packet delay time between the second device and the second device, The first device and the second device can recover the communication link at the same time, and solve the technical problem that the packet loss is excessive when the communication link is restored between the devices in the related art, and the traffic loss during the fault recovery is reduced.
附图说明DRAWINGS
此处所说明的附图用来提供对本公开的进一步理解,构成本申请的一部分,本公开的示意性实施例及其说明用于解释本公开,并不构成对本公开的不当限定。在附图中:The drawings described herein are provided to provide a further understanding of the present disclosure, which is a part of the present disclosure, and the description of the present disclosure and the description thereof are not intended to limit the disclosure. In the drawing:
图1是本公开实施例的网络构架图;1 is a network architecture diagram of an embodiment of the present disclosure;
图2是根据本公开实施例的一种链路恢复方法的流程图;2 is a flowchart of a link recovery method according to an embodiment of the present disclosure;
图3是根据本公开实施例的一种链路恢复装置的结构框图;FIG. 3 is a structural block diagram of a link recovery apparatus according to an embodiment of the present disclosure; FIG.
图4是根据本公开实施例的另一种链路恢复装置的结构框图;4 is a structural block diagram of another link recovery apparatus according to an embodiment of the present disclosure;
图5为本实施例一种基于自定义协商机制实现聚合端口在链路恢复过程中实现快速收敛的方法示意图;FIG. 5 is a schematic diagram of a method for implementing fast convergence of an aggregation port in a link recovery process based on a custom negotiation mechanism according to an embodiment;
图6是本实施例一种基于自定义协商机制实现聚合端口在链路恢复过程中实现快速收敛的系统图;FIG. 6 is a system diagram of implementing fast convergence of an aggregation port in a link recovery process based on a custom negotiation mechanism according to the embodiment;
图7是本实施例网络负载分担示意图;7 is a schematic diagram of network load sharing in this embodiment;
图8是本实施例中3链路出故障时的网络负载分担示意图;FIG. 8 is a schematic diagram of network load sharing when a 3 link fails in the embodiment;
图9是本实施例中vsc链路出故障时的网络负载分担示意图;FIG. 9 is a schematic diagram of network load sharing when a vsc link fails in this embodiment;
图10是本实施例的报文格式示意图。FIG. 10 is a schematic diagram of a message format of this embodiment.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本公开。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The present disclosure will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second", and the like in the specification and claims of the present disclosure are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
实施例1Example 1
本申请实施例可以运行于图1所示的网络架构上,图1是本公开实施例的网络构架图,如图1所示,该网络架构包括:第一设备、第二设备,其中,第一设备与第二设备之间通过聚合链路进行交互。The embodiment of the present application can be run on the network architecture shown in FIG. 1. FIG. 1 is a network architecture diagram of an embodiment of the present disclosure. As shown in FIG. 1 , the network architecture includes: a first device, a second device, where A device interacts with the second device through an aggregated link.
在本实施例中提供了一种运行于上述网络架构的链路恢复方法,图2是根据本公开实施例的一种链路恢复方法的流程图,如图2所示,该流程包括如下步骤:In this embodiment, a link recovery method running on the network architecture is provided. FIG. 2 is a flowchart of a link recovery method according to an embodiment of the present disclosure. As shown in FIG. 2, the process includes the following steps. :
步骤S202,第一设备与第二设备协商得到预定时间,其中,预定时间用于表征第一设备与第二设备之间的通信链路的传输时间;Step S202, the first device negotiates with the second device to obtain a predetermined time, where the predetermined time is used to represent a transmission time of the communication link between the first device and the second device;
步骤S204,第一设备向第二设备发送用于恢复所述通信链路的指示信息;Step S204: The first device sends, to the second device, indication information for recovering the communication link.
步骤S206,在发送指示信息之后的预定时间,第一设备恢复通信链路。Step S206, the first device resumes the communication link at a predetermined time after transmitting the indication information.
在本实施例中还提供了一种运行于上述网络架构的链路恢复方法,如图2所示,该流程包括如下步骤:In this embodiment, a link recovery method running on the network architecture is also provided. As shown in FIG. 2, the process includes the following steps:
步骤S302,第二设备与第一设备协商得到预定时间,其中,预定时间用于表征第一设备与第二设备之间的通信链路的传输时间;Step S302, the second device negotiates with the first device to obtain a predetermined time, where the predetermined time is used to represent a transmission time of the communication link between the first device and the second device;
步骤S304,第二设备接收第一设备发送的用于恢复通信链路的指示信息;Step S304, the second device receives the indication information that is sent by the first device and is used to restore the communication link.
步骤S306,第二设备在接收到指示信息后,根据指示信息恢复通信链路。Step S306, after receiving the indication information, the second device resumes the communication link according to the indication information.
通过上述步骤,在发送用于恢复通信链路的指示信息给第二设备后的预定时间,第一设备再恢复通信链路,考虑第一设备检测与第二设备之间的收发包延迟时间,第一设备和第二设备可以同时恢复通信链路,解决了相关技术中在设备间恢复通信链路时丢包过多的技术问题,减少了在故障恢复时的流量丢失。Through the above steps, the first device resumes the communication link at a predetermined time after transmitting the indication information for restoring the communication link to the second device, and considers that the first device detects the packet delay time between the second device and the second device, The first device and the second device can recover the communication link at the same time, and solve the technical problem that the packet loss is excessive when the communication link is restored between the devices in the related art, and the traffic loss during the fault recovery is reduced.
可选地,上述步骤的执行主体第一设备,第二设备可以为实体,软件,服务器,路由设备等,但不限于此。Optionally, the first device of the foregoing step may be an entity, a software, a server, a routing device, etc., but is not limited thereto.
可选地,在第一设备向第二设备发送用于恢复指示信息之前,还包括:第一设备确定恢复与第二设备之间的通信链路。在第一设备确定恢复与第二设备之间的通信链路之前,还包括:第一设备接收链路汇聚控制协议LACP报文,其中,LACP报文用于表征恢复LACP报文所经由的通信链路通畅。Optionally, before the first device sends the indication information to the second device, the method further includes: determining, by the first device, the communication link with the second device. Before the first device determines to restore the communication link with the second device, the method further includes: the first device receiving the link aggregation control protocol LACP packet, where the LACP packet is used to represent the communication by the LACP packet The link is smooth.
可选的,第一设备确定恢复与第二设备之间的通信链路包括:第一设备确定LACP报文是否来自通信链路的端口;通信链路包括两个端口,分别在第一设备侧和第二设备侧,第一设备可以从第一设备侧的端口接收LACP报文;在确定出LACP报文来自通信链路的端口的情况下,即表明LACP报文经由的通信链路通畅,具体是第一设备与第二设备间的通信链 路通畅,第一设备确定恢复与第二设备之间的通信链路。Optionally, the determining, by the first device, the communication link between the second device and the second device includes: determining, by the first device, whether the LACP packet is from a port of the communication link; and the communication link includes two ports, respectively, on the first device side On the second device side, the first device may receive the LACP packet from the port on the first device side; if the LACP packet is determined to be from the port of the communication link, the communication link through which the LACP packet passes is unobstructed. Specifically, the communication link between the first device and the second device is unobstructed, and the first device determines to restore the communication link with the second device.
可选的,在第一设备与第二设备协商得到预定时间之前,方法还包括:第一设备检测与第二设备之间的收发包延迟时间,其中,预定时间大于或等于收发包延迟时间。Optionally, before the first device negotiates with the second device to obtain the predetermined time, the method further includes: the first device detecting a packet delay time between the second device and the second device, wherein the predetermined time is greater than or equal to the packet delay time.
在一个可选的示例中,预定时间为收发包延迟时间的一半,用于充分考虑指示信息到达第二设备的传输时间。当然也可以是其他的时间,如可以考虑第二设备响应指示信息已经从接收到指示信息到恢复链路完成的时间。本实施例中,收发包延迟时间是报文从第一设备到第二设备,在从第二设备回到第一设备的时间,当然也可以用其他的传输时间表征。In an optional example, the predetermined time is half of the packet delay time for fully considering the transmission time of the indication information to the second device. Of course, it may be other time, for example, the time when the second device response indication information has been received from the receipt of the indication information to the completion of the recovery link. In this embodiment, the delay time of sending and receiving packets is that the time from the first device to the second device is received, and the time from the second device to the first device may of course be characterized by other transmission time.
可选的,第一设备恢复通信链路包括:第一设备将通信链路加入到LACP聚合组,其中,LACP聚合组中的成员用于传输第一设备与第二设备之间的数据。在第一设备恢复通信链路之后,方法还包括:第一设备通过通信链路与第二设备交互流量数据。Optionally, the first device recovering the communication link includes: the first device adds the communication link to the LACP aggregation group, where the member in the LACP aggregation group is used to transmit data between the first device and the second device. After the first device resumes the communication link, the method further includes: the first device interacting with the second device via the communication link.
在本实施例中,第一设备检测与第二设备之间的收发包延迟时间包括:In this embodiment, the detecting, by the first device, the delay time of sending and receiving packets with the second device includes:
S11,第一设备向第二设备发送用于检测链路延迟的请求报文;S11. The first device sends a request message for detecting a link delay to the second device.
S12,第一设备接收第二设备根据请求报文反馈的应答报文;S12. The first device receives a response message that is sent by the second device according to the request packet.
S13,第一设备根据应答报文的接收时间与请求报文的发送时间之差计算收发包延迟时间。即使用接收时间减去发送时间得到收发包延迟时间。在应答报文携带第一设备接收到请求报文的时间戳时,也可以是使用该时间戳与请求报文的发送时间只差来计算收发包延迟时间,这样计算出的收发包延迟时间理论上上述示例的一半。S13. The first device calculates a delay time of sending and receiving packets according to a difference between a receiving time of the response message and a sending time of the request message. That is, the receiving and receiving time is subtracted from the sending time to obtain the packet delay time. When the response packet carries the timestamp of the request packet received by the first device, the delay time of the packet transmission and reception time may be calculated by using the timestamp and the transmission time of the request packet, and the calculated delay time of the transceiver packet is calculated. Half of the above example.
可选的,请求报文携带第一报文序号,应答报文携带第二报文序号,其中,第一报文序号与第二报文序号对应。第一设备可以周期性地发送请求报文,第一设备接收到多个请求报文后,也会反馈多个应答报文,使用对应序号的请求报文和应答报文可以保证收发包延迟时间的精确性。Optionally, the request packet carries the first packet sequence number, and the response packet carries the second packet sequence number, wherein the first packet sequence number corresponds to the second packet sequence number. The first device may periodically send the request packet, and after receiving the multiple request packets, the first device may also feed back multiple response packets, and the request packet and the response packet corresponding to the sequence number can ensure the delay of sending and receiving packets. The accuracy.
可选的,第二设备根据指示信息恢复通信链路包括:第二设备将通信链路加入到链路汇聚控制协议LACP聚合组,其中,LACP聚合组中的成 员用于传输第一设备与第二设备之间的数据。在第二设备根据指示信息恢复通信链路之后,方法还包括:第二设备通过通信链路与第一设备交互流量数据。Optionally, the second device recovers the communication link according to the indication information, where the second device adds the communication link to the link aggregation control protocol LACP aggregation group, where the members in the LACP aggregation group are used to transmit the first device and the first device. Data between two devices. After the second device resumes the communication link according to the indication information, the method further includes: the second device interacting with the first device to exchange traffic data through the communication link.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本公开各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, portions of the technical solutions of the present disclosure that contribute substantially or to the prior art may be embodied in the form of a software product stored in a storage medium (eg, ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present disclosure.
实施例2Example 2
在本实施例中还提供了一种链路恢复装置,系统,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, a link recovery device and a system are provided, which are used to implement the foregoing embodiments and preferred embodiments, and are not described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图3是根据本公开实施例的一种链路恢复装置的结构框图,如图3所示,应用在第一设备,该装置包括:FIG. 3 is a structural block diagram of a link recovery apparatus according to an embodiment of the present disclosure. As shown in FIG. 3, the apparatus is applied to a first device, where the apparatus includes:
协商模块30,设置为与第二设备协商得到预定时间,其中,预定时间用于表征第一设备与第二设备之间的通信链路的传输时间;The negotiation module 30 is configured to negotiate with the second device to obtain a predetermined time, where the predetermined time is used to represent a transmission time of the communication link between the first device and the second device;
发送模块32,设置为向第二设备发送用于恢复通信链路的指示信息;The sending module 32 is configured to send, to the second device, indication information for recovering the communication link;
恢复模块34,设置为在发送指示信息之后的预定时间,恢复通信链路。The recovery module 34 is arranged to resume the communication link a predetermined time after transmitting the indication information.
图4是根据本公开实施例的另一种链路恢复装置的结构框图,如图4所示,应用在第二设备,该装置包括:FIG. 4 is a structural block diagram of another link recovery apparatus according to an embodiment of the present disclosure. As shown in FIG. 4, the apparatus is applied to a second device, where the apparatus includes:
协商模块40,设置为与第一设备协商得到预定时间,其中,预定时间用于表征第一设备与第二设备之间的通信链路的传输时间;The negotiation module 40 is configured to negotiate with the first device to obtain a predetermined time, where the predetermined time is used to represent a transmission time of the communication link between the first device and the second device;
接收模块42,设置为接收第一设备发送的用于恢复通信链路的指示信息;The receiving module 42 is configured to receive indication information that is sent by the first device and used to restore the communication link.
恢复模块44,设置为在接收到指示信息后,根据指示信息恢复通信链路。The recovery module 44 is configured to resume the communication link according to the indication information after receiving the indication information.
本实施例还提供一种链路恢复系统,包括图3所示的第一设备,图4所示的第二设备。上述实施例1中可选示例中的操作步骤也可以通过模块或单元的形式实现在第一设备或第二设备中。This embodiment further provides a link recovery system, including the first device shown in FIG. 3 and the second device shown in FIG. 4. The operational steps in the optional example in the above embodiment 1 can also be implemented in the first device or the second device by means of a module or a unit.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination. The forms are located in different processors.
实施例3Example 3
本实施例用于对本申请的方案进行补偿和详细说明:This embodiment is used to compensate and detail the solution of the present application:
本实施例提供了一种基于自定义协商机制实现聚合端口在链路恢复过程中实现快速收敛的方法和系统,能够保证网络与网络之间的数据报文在聚合组成员链路恢复时,流量能重新迅速的分担到所有的聚合组成员端口上,降低丢包率。The present embodiment provides a method and system for implementing fast convergence of an aggregation port in a link recovery process based on a custom negotiation mechanism, which can ensure that data packets between the network and the network are restored when the aggregation group member links are restored. You can quickly and evenly share the ports of all aggregation group members to reduce the packet loss rate.
本实施例的一种基于自定义协议实现聚合端口在链路恢复过程中实现快速收敛的方法和系统,对于网络中的物理设备(如上述实施例中的第一设备和第二设备)设置其聚合组成员列表,所谓聚合组成员列表存储聚合组所有成员信息。A method and system for implementing fast convergence of an aggregation port in a link recovery process based on a custom protocol, and setting a physical device (such as the first device and the second device in the foregoing embodiment) in the network. Aggregation group member list. The aggregation group member list stores all member information of the aggregation group.
本实施例的方法包括:聚合链路恢复时判断是否收到lacp报文,如果收到lacp报文,就通告lacp模块,lacp模块收集需要的信息,同时发送链路延迟检测报文,报文格式如图10所示,图10是本实施例的报文格式示意图,测试两台设备之间的收发包延迟时间,之后发送快切报文(报文格式如图10所示)到对端,对端收到快切报文立即将成员加入lacp聚合组,本端延时一定时间(如延迟时间的一半)后立即做快切,将恢复的链路加入lacp聚合组,通过这种协商机制完成两端链路恢复动作基本保持同步的 功能,业务基本不会中断,大大降低了聚合链路恢复的收敛时间。The method of the embodiment includes: when the aggregation link is restored, it is determined whether the LACP packet is received, and if the LACP packet is received, the LACP module is advertised, and the LACP module collects the required information, and simultaneously sends the link delay detection packet, the packet. The format is as shown in FIG. 10. FIG. 10 is a schematic diagram of the format of the packet in the embodiment, testing the delay time of sending and receiving packets between the two devices, and then sending the fast-cut packet (the format of the packet is as shown in FIG. 10) to the peer end. After receiving the fast-cut packet, the peer immediately joins the member to the lacp aggregation group. After the local end delays for a certain period of time (such as half of the delay time), the local end performs fast cut and adds the restored link to the lacp aggregation group. The mechanism of the link recovery on both ends is basically synchronized. The service is basically not interrupted, which greatly reduces the convergence time of the aggregation link recovery.
可选的,图10所示的报文使用特殊的DMAC:0x 01 d0 d0 11 22 33,特殊的以太类型:0x2234Optionally, the message shown in Figure 10 uses a special DMAC: 0x 01 d0 d0 11 22 33, special Ether type: 0x2234
报文协议交互字段说明:Message Protocol Interaction Field Description:
Version:当前版本 1.0Version: current version 1.0
Type:1表示链路延迟检测报文,2表示快切通知报文Type: 1 indicates the link delay detection packet, and 2 indicates the fast-cut notification packet.
Flag:对于链路延迟检测报文有效,1表示请求,2表示应答。对于快切通知报文无效Flag: Valid for the link delay detection message, 1 for the request and 2 for the response. Invalid for fast cut notification message
seq Num:对于链路延迟检测报文有效,对于快切通知报文无效Seq Num: Valid for link delay detection packets, invalid for fast-cut notification packets
在链路延迟检测报文需要序列号,比如一端向另一端发了一个链路延迟检测报文(请求报文),过了200ms,还没有收到应答报文,可以再发送一个链路延迟检测报文(请求报文),后续若收到应答报文,通过判断序列号就知道是针对第一个检测报文的应答还是第二个检测报文的应答了,这样才能正确的计算N。The link delay detection packet requires a sequence number. For example, one end sends a link delay detection packet (request packet) to the other end. After 200 ms, no response packet has been received, and another link delay can be sent. Detecting the message (requesting message). If the response message is received, the sequence number is judged whether it is the response to the first detection message or the second detection message, so that the N can be correctly calculated. .
本实施例的一种基于自定义协议实现聚合端口在链路恢复过程中实现快速收敛的系统,包括:存储模块、流量模块、链路快速恢复检测模块、故障恢复处理模块。A system for implementing fast convergence of an aggregation port in a link recovery process, including a storage module, a traffic module, a link fast recovery detection module, and a fault recovery processing module.
所述存储模块,设置为存储聚合组成员列表。所述聚合组成员列表用于存储聚合组所有成员的信息。The storage module is configured to store an aggregation group member list. The aggregation group member list is used to store information of all members of the aggregation group.
所述流量转发模块,设置为根据存储模块存储的聚合组成员列表进行流量的转发。The traffic forwarding module is configured to forward traffic according to the aggregation group member list stored by the storage module.
所述链路快速恢复检测模块,设置为检测网络设备聚合链路之间交互的lacp协议,通过判断该协议在加上自己定义的链路检测协议、快切通告协议以及协商规则来完成链路恢复的检测功能。The link fast recovery detection module is configured to detect a lacp protocol for interaction between network device aggregation links, and determine the link by adding a link detection protocol, a fast-cut notification protocol, and a negotiation rule defined by the protocol. Recovery detection function.
所述故障恢复处理模块,设置为发现聚合链路间发送的自定义快切报文,将所述故障恢复的聚合组成员信息加入聚合组列表,流量实现快速恢 复。The fault recovery processing module is configured to discover the custom fast-cut packet sent by the aggregation link, and add the information of the aggregation group member of the fault recovery to the aggregation group list, and the traffic is quickly restored.
对于相关技术中的聚合链路恢复策略,不能满足收敛时间的技术缺陷,当交换机检测到其中一条故障链路恢复时,根据端口up状态进行快切,无法做到设备两端的端口同时检测到up,同时进行快切,即成员的添加,会导致一端的端口加入lacp聚合组,另一端还没有加入聚合组,结果从加入聚合组的一端发到没有加入聚合组一端的流量就会丢失很多,以至于收敛时间无法满足当前网络设备故障恢复收敛时间的要求。为了解决该问题,本实施例提出本方案,即当其中一条故障聚合组成员口恢复时,根据截获的lacp协议,定制自己的协议,通过发送自定义协议完成快速链路切换,本方法的实施,极大的减少了由于端口在故障恢复时导致流量严重丢失的问题。For the aggregation link recovery policy in the related art, the technical defect of the convergence time cannot be met. When the switch detects that one of the faulty links is restored, the switch performs fast switching according to the port up state, and the ports at both ends of the device cannot be detected at the same time. At the same time, the fast-cutting, that is, the addition of the member, causes the port at one end to join the lacp aggregation group, and the other end has not yet joined the aggregation group. As a result, the traffic from the end of the aggregation group to the end of the aggregation group is lost. Therefore, the convergence time cannot meet the requirements of the current network device failure recovery convergence time. In order to solve the problem, the present embodiment proposes the solution, that is, when one of the faulty aggregation group member ports is restored, the self-defined protocol is customized according to the intercepted lacp protocol, and the fast link switching is completed by sending a custom protocol, and the method is implemented. , greatly reducing the problem of serious traffic loss caused by the port recovery.
在本实施例的聚合链路恢复时的数据分析时,对于网络报文来说,网络环境中使用聚合链路实现流量的转发是非常普遍的,但是链路故障也是经常存在的,链路故障丢包时间目前能满足要求,但是故障恢复无法满足,原因是:两台设备运行动态lacp,待端口up后,每条链路进行lacp协议交互,互不影响,待两端协商成功后,平台模块将聚合组成员信息下发到驱动模块。首先平台模块无法保证两台设备同时下发聚合组成员信息,其次,两台设备从平台模块到驱动模块的聚合组成员信息下发流程也会有时延误差,就导致了两台设备底层表项不是同时更新,从而导致严重丢包,时间在3s左右,而本实施例正好能解决该问题,使两端切换时的时间基本保持一致,收敛时间在5ms以内。In the data analysis of the aggregation link recovery in this embodiment, it is very common for the network packet to use the aggregated link to implement traffic forwarding in the network environment, but the link fault is also often present, and the link is faulty. The packet loss time can meet the requirements, but the fault recovery cannot be satisfied. The reason is that the two devices run dynamic lacp. After the port is up, each link performs the lacp protocol interaction without affecting each other. The module delivers the aggregation group member information to the driver module. The platform module cannot guarantee that the two devices will send the aggregation group member information at the same time. Secondly, the process of sending the member information of the aggregation module from the platform module to the driver module may delay the error, resulting in the underlying entries of the two devices. It is not updated at the same time, resulting in a serious packet loss, and the time is about 3s. However, this embodiment can solve the problem, and the time when the two ends are switched is basically the same, and the convergence time is within 5ms.
图5为本实施例一种基于自定义协商机制实现聚合端口在链路恢复过程中实现快速收敛的方法示意图,如图5所示,该方法包括:FIG. 5 is a schematic diagram of a method for implementing fast convergence of an aggregation port in a link recovery process based on a custom negotiation mechanism according to the embodiment. As shown in FIG. 5, the method includes:
步骤1:判断是否收到lacp报文。Step 1: Determine whether a lCP packet is received.
本实施例中,首先判断是否收到lacp报文,如果收到lacp报文,就向对端发送一个链路延时检测报文,检测延时时间,本端收到应答,计算延时间;In this embodiment, it is first determined whether a LACP packet is received, and if a LACP packet is received, a link delay detection packet is sent to the peer end, and the delay time is detected, and the local end receives the response and calculates the delay time.
步骤2:依据步骤1,立即向对端发送通知快切报文,该报文是自定义报文,通知对端立即快切,将端口加入lacp聚合组。Step 2: According to step 1, immediately send a notification to the peer to send a fast-cut message, which is a custom packet, and notify the peer to cut the packet immediately, and add the port to the lacp aggregation group.
步骤3:依据步骤2,本端延时一定时间(步骤1计算的延时间的一半);Step 3: According to step 2, the local end delays for a certain time (half of the delay time calculated in step 1);
步骤4:在步骤3的基础上,将该端口加入聚合组列表,完成链路的恢复。Step 4: On the basis of step 3, add the port to the aggregation group list to complete the link recovery.
图6是本实施例一种基于自定义协商机制实现聚合端口在链路恢复过程中实现快速收敛的系统图,如图6所示,该系统包括:存储模块、流量模块、链路恢复检测模块、故障恢复处理模块。FIG. 6 is a system diagram of implementing fast convergence of an aggregation port in a link recovery process according to a custom negotiation mechanism. As shown in FIG. 6, the system includes: a storage module, a traffic module, and a link recovery detection module. , fault recovery processing module.
所述存储模块,设置为存储聚合组成员列表。所述聚合组成员列表用于存储聚合组所有成员的信息,可以创建一个聚合组,该组里加上若干成员,通过链表保存一份该聚合组对应的所有成员,作为存储模块,例如附图7,图7是本实施例网络负载分担示意图,聚合链路里有三条链路,存储模块存储着这三条聚合组成员。The storage module is configured to store an aggregation group member list. The aggregation group member list is used to store information about all the members of the aggregation group. You can create an aggregation group. Add a number of members to the group and save a member of the aggregation group as a storage module. For example, Figure 7 Figure 7 is a schematic diagram of network load sharing in this embodiment. There are three links in the aggregation link, and the storage module stores the three aggregation group members.
所述流量转发模块,设置为根据存储模块存储的聚合组成员列表进行流量的转发,例如附图8,图8是本实施例中3链路出故障时的网络负载分担示意图,当故障的聚合组成员状态恢复时,根据自定义报文协商机制,将恢复的成员加入存储模块,流量依据hash原则,立即将流量hash到lacp组所有的成员上,使该端口状态立即恢复到流量负载分担状态。The traffic forwarding module is configured to perform traffic forwarding according to the aggregation group member list stored in the storage module. For example, FIG. 8 is a schematic diagram of network load sharing when the 3 link fails in this embodiment, when the fault is aggregated. When the member status is restored, the restored member is added to the storage module based on the customized packet negotiation mechanism. The traffic is hashed to all members of the LCP group based on the hash policy. The status of the port is immediately restored to the traffic load balancing state. .
所述链路快速恢复检测模块,设置为检测网络设备之间故障聚合成员端口是否恢复,具体就是检测是否收到lacp报文,如果收到lacp,立即向对端发送链路延时检测报文,本端收到应答报文,立即计算延时时间,并且立即向对端发送自定义的快切通知报文,对端收到快切通知报文立即快切,本端按照延时时间的一半延后立即进行快速切换处理,将恢复的端口加入到lacp聚合组内,完成聚合链路恢复的动作,保证丢包数在5ms以内。The link fast recovery detection module is configured to detect whether the faulty aggregation member port of the network device is restored, specifically, detecting whether the LACP packet is received, and if the LACP is received, immediately sending a link delay detection packet to the peer end. The local end receives the response packet, immediately calculates the delay time, and immediately sends a customized fast-cut notification message to the peer end. The peer end receives the fast-cut notification message and immediately cuts the packet. The local end according to the delay time. After the half-delay is performed, the fast-switching process is performed, and the restored port is added to the lacp aggregation group to complete the recovery of the aggregation link to ensure that the number of lost packets is within 5 ms.
所述故障恢复处理模块,在自定义协商成功之后,将恢复的链路加入 聚合组,流量迅速恢复到该端口。The fault recovery processing module adds the restored link to the aggregation group after the custom negotiation succeeds, and the traffic is quickly restored to the port.
如附图7所示,A B两台设备,中间有传输,4个端口运行lacp协议,端口up后,项目模块上报到平台模块,平台模块收到端口up消息后,会开始lacp协议交互,协议交互是基于链路的,4条链路都会各自交互。A先发包或B先发包是随机的,比如A先发包(A--B方向),A从端口1发了一个lacp交互报文给B的端口1,B收到1口上来的lacp报文,驱动模块截获这个报文(不影响正常上送平台模块,每个端口从down变为up后,只截获一次),给驱动lacp模块发个通告消息(消息只包含源端口就可以),驱动lacp模块收到消息后,可以获取两个信息:报文从端口1收上来,端口1连接的链路是up(因为报文已经过来了)。此时可以做快切了,快切前需要先测试两台设备之间的收发包延迟时间,从而可以获取后面方案提到的延迟Nms(大于等于1ms)的值。此时,B到A可以发送链路延迟检测报文,A收到后,一种情况是立刻回复给B,B收到回复后,计算时间差(从发出到回收),然后除以2,做为N延时时间,另外一种情况是过了200ms,还没有收到应答报文,我们会再发送一个链路延迟检测报文(请求报文),后续若收到应答报文,通过判断报文携带的序列号就知道是针对第一个检测报文的应答还是第二个检测报文的应答了,收到应答后计算时间差,然后除以2,做为N延时时间。若这个链路检测报文丢弃,则正常的lacp交换报文应该也会丢弃,平台模块也不会下发聚合组成员信息表项。项目可以等待100-200ms,继续发送链路延迟检测报文,直到回收后,再进行下一步。As shown in Figure 7, two devices, A B, have transmissions in between, and four ports run the lacp protocol. After the port is up, the project module reports to the platform module. After receiving the port up message, the platform module starts the lacp protocol interaction. Protocol interaction is based on links, and each of the four links interacts. A first packet or B first packet is random, such as A first packet (A--B direction), A sends a lacp interaction packet from port 1 to port 1 of B, and B receives a lcp packet from port 1. The driver module intercepts the message (does not affect the normal uplink platform module, and each port changes from down to up, only intercepts once), sends a notification message to the driver lacp module (the message only contains the source port), the driver After receiving the message, the lacp module can obtain two pieces of information: the packet is received from port 1, and the link connected to port 1 is up (because the message has already arrived). At this point, you can do a quick cut. Before the fast cut, you need to test the delay time of sending and receiving packets between the two devices, so that you can get the value of the delay Nms (1ms or more) mentioned in the following scheme. At this time, B to A can send a link delay detection message. After A receives, one situation is to immediately reply to B. After receiving the reply, B calculates the time difference (from issue to recovery), and then divides by 2 to do For the N delay time, the other case is 200ms. If the response message has not been received, we will send another link delay detection message (request message). If the response message is received, it will be judged. The sequence number carried in the message is known as the response to the first detection message or the response of the second detection message. The time difference is calculated after receiving the response, and then divided by 2 as the N delay time. If the link detection packet is discarded, the normal LACP exchange packet will be discarded. The platform module will not send the aggregation group member information entry. The project can wait for 100-200ms and continue to send the link delay detection message until it is recycled, and then proceed to the next step.
两台设备间的链路延迟计算出来后,可以进行快切了。B要先发快切通知报文然后再本地快切,发包后可以有个N ms的延时(上面通过链路检测报文交互得到的N),然后再进行本地快切。这个快切通知报文从B的1口发送出去。A从1口截获并终结这个报文,然后触发A设备1口的快切。若这个通知报文丢失(概率很小),也没问题,B--A方向也会有这个流程,即A收到B的第一个lacp报文也做类似的处理(计算延时N,然后A发快切通知报文后快切)。若这个报文没有丢失,A已做过快切, 则不需要处理B的第一个lacp报文了(即不需要发快切通知报文后快切)。以此类推,每条链路都做这种交互,需要更新n次(链路的个数)表项,最后完成链路的恢复。After the link delay between the two devices is calculated, it can be quickly cut. B must first send a fast-cut notification message and then locally fast-cut. After the packet is sent, there can be a delay of N ms (the N obtained by the link detection packet interaction), and then local fast-cut. This fast cut notification message is sent from port 1 of B. A intercepts and terminates the message from port 1, and then triggers the fast cut of port A of the A device. If the notification message is lost (the probability is very small), there is no problem, the B--A direction will also have this process, that is, the first LCP message received by A is also processed similarly (calculation delay N, Then A sends a quick cut to notify the message and then cuts it.) If the message is not lost, A has done a fast cut, then there is no need to process the first lcp message of B (that is, there is no need to send a fast cut notification message and then cut). By analogy, each link performs this interaction, and needs to update the number of entries (number of links) n times, and finally complete the link recovery.
如附图7所示,A B两台设备,中间有传输,假如A B两台设备都是多cpu情况,处理机制和实例基本差不多,只是在cpu繁忙的时候可以切到空闲cpu上处理,这是cpu的保护机制。4个端口运行lacp协议,端口up后,上报平台模块,平台模块收到这个消息,会开始lacp协议交互,协议交互是基于链路的,4条链路都会各自交互。A先发包或B先发包是随机的,比如A先发包(A--B方向),A从端口1发了一个lacp交互报文给B的端口1,B收到1口上来的lacp报文,驱动模块截获这个报文(不影响正常上送平台模块,每个端口从down变为up后,只截获一次),给驱动lacp模块发个通告消息(消息只包含源端口就可以),驱动lacp模块收到消息后,可以获取两个信息:报文从端口1收上来,端口1链接的链路是up(因为报文已经过来了)。此时可以做快切了,快切前需要先测试两台设备之间的收发包延迟,从而可以获取后面方案提到的延迟Nms(大于等于1ms)的值。此时,B到A可以发送链路延迟检测报文,A收到后,一种情况是立刻回复给B,B收到回复后,计算时间差(从发出到回收),然后除以2,做为N延时时间,另外一种情况是过了200ms,还没有收到应答报文,我们会再发送一个链路延迟检测报文(请求报文),后续若收到应答报文,通过判断报文携带的序列号就知道是针对第一个检测报文的应答还是第二个检测报文的应答了,计算时间差(从发出到回收),然后除以2,做为N延时时间,若是发送和接收的时间不对等,依然除以2,做为N延时时间。若这个链路检测报文丢弃,则正常的lacp交换报文应该也会丢弃,平台也不会下发表项。项目可以等待100-200ms,继续发送链路延迟检测报文,直到回收后,再进行下一步操作。As shown in Figure 7, two devices, A B, have transmissions in the middle. If both A B devices are multi-cpu, the processing mechanism and the instance are basically the same, but the CPU can be cut to idle cpu when the CPU is busy. This is the protection mechanism of the cpu. The four ports run the lacp protocol. After the port is up, the platform module is reported. When the platform module receives this message, it will start the lacp protocol interaction. The protocol interaction is based on the link, and the four links will interact with each other. A first packet or B first packet is random, such as A first packet (A--B direction), A sends a lacp interaction packet from port 1 to port 1 of B, and B receives a lcp packet from port 1. The driver module intercepts the message (does not affect the normal uplink platform module, and each port changes from down to up, only intercepts once), sends a notification message to the driver lacp module (the message only contains the source port), the driver After receiving the message, the lacp module can obtain two pieces of information: the packet is received from port 1, and the link of port 1 is up (because the message has already arrived). At this point, you can do a fast cut. You need to test the packet delay between the two devices before the fast cut, so you can get the value of the delay Nms (1ms or more) mentioned in the following scheme. At this time, B to A can send a link delay detection message. After A receives, one situation is to immediately reply to B. After receiving the reply, B calculates the time difference (from issue to recovery), and then divides by 2 to do For the N delay time, the other case is 200ms. If the response message has not been received, we will send another link delay detection message (request message). If the response message is received, it will be judged. The serial number carried in the message is known as the response to the first detection message or the response of the second detection message. The time difference is calculated (from issue to recovery), and then divided by 2, as the N delay time. If the time of sending and receiving is not equal, it is still divided by 2, which is the N delay time. If the link detection packet is discarded, the normal lacp exchange message should also be discarded, and the platform will not publish the item. The project can wait for 100-200ms and continue to send the link delay detection message until it is recycled, and then proceed to the next step.
两台设备间的链路延迟计算出来后,可以进行快切了,但是此时发现cpu比较繁忙,由于有多个cpu,B可以在空闲的cpu上先发快切通知报文,发包后可以有个N ms的延时(上面通过链路检测报文交互得到的N), 然后再进行本地快切,即快速将恢复的成员端口加入聚合组。这个快切通知报文从B的1口发送出去。A从1口截获并终结这个报文,然后触发A设备1口的快切。若这个通知报文丢失(概率很小),也没问题,B--A方向也会有这个流程,即A收到B的第一个lacp报文也做类似的处理(计算延时N,然后A发快切通知报文后快切)。若这个报文没有丢失,A已做过快切,则不需要处理B的第一个lacp报文了(即不需要发快切通知报文后快切)。以此类推,每条链路都做这种交互,需要更新n次(链路的个数)表项,最后完成链路的恢复,对于有多个cpu的设备,能保证在cpu繁忙的时候依然可以在空闲cpu上实现快速将恢复的成员加入聚合组的功能。After the link delay between the two devices is calculated, the switch can be fast-cut, but the cpu is busy. Because there are multiple CPUs, B can send the fast-cut notification packet on the idle cpu. There is a delay of N ms (N obtained by the link detection packet exchange), and then local fast cut, that is, the restored member port is quickly added to the aggregation group. This fast cut notification message is sent from port 1 of B. A intercepts and terminates the message from port 1, and then triggers the fast cut of port A of the A device. If the notification message is lost (the probability is very small), there is no problem, the B--A direction will also have this process, that is, the first LCP message received by A is also processed similarly (calculation delay N, Then A sends a quick cut to notify the message and then cuts it.) If the message is not lost, A has done a fast cut, then there is no need to process the first lcp message of B (that is, there is no need to send a fast cut notification message after fast cut). By analogy, each link performs this interaction, and needs to update the number of entries (number of links) for the last time. Finally, the link is restored. For devices with multiple CPUs, it can be guaranteed when the CPU is busy. You can still quickly add the restored members to the aggregation group on the free cpu.
为了解决该问题,需要设法使两端加入聚合组的时间差尽量缩短,于是需要驱动模块来做快速切换处理,所以本文提出一种新的方法,保证故障链路恢复后的流量能以更少的丢包代价恢复业务。In order to solve this problem, it is necessary to try to shorten the time difference between the two groups to join the aggregation group, so the driver module needs to be driven to perform fast switching processing. Therefore, a new method is proposed to ensure that the traffic after the faulty link is restored can be reduced. The cost of packet loss restores the business.
在一个示例中,例如某客户需求,图9是本实施例中vsc链路出故障时的网络负载分担示意图,例如图9所示:要求聚合链路环境中SG1的一条链路在故障恢复后收敛时间在5ms以内,节点故障,即网络设备1断电重启后恢复收敛时间在100ms以内,本公开就可以解决该问题。需求描述:聚合组的一条链路故障恢复时,收敛时间要求在5ms以内,节点故障恢复时收敛时间在100ms以内。通过本实施例,实现了聚合口在故障恢复的情况下,以最少的丢包代价恢复流量正常负载分担的要求。In an example, for example, a certain customer requirement, FIG. 9 is a schematic diagram of network load sharing when the vsc link fails in the embodiment. For example, FIG. 9 shows that a link of the SG1 in the aggregated link environment is required to be restored after the fault is recovered. The convergence time is within 5ms, and the node failure, that is, the network convergence time after the network device 1 is powered off and restarted is within 100ms, the present disclosure can solve the problem. Description of the requirements: When a link in the aggregation group recovers, the convergence time is within 5ms, and the convergence time of the node is restored within 100ms. With the embodiment, the aggregation port restores the normal load sharing requirement of the traffic with a minimum packet loss cost in the case of failure recovery.
实施例4Example 4
本公开的实施例还提供了一种存储介质,该存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。Embodiments of the present disclosure also provide a storage medium having stored therein a computer program, wherein the computer program is configured to execute the steps of any one of the method embodiments described above.
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:Optionally, in the embodiment, the above storage medium may be configured to store a computer program for performing the following steps:
S1,第一设备与第二设备协商得到预定时间,其中,预定时间用于表 征第一设备与第二设备之间的通信链路的传输时间;S1. The first device negotiates with the second device to obtain a predetermined time, where the predetermined time is used to identify a transmission time of the communication link between the first device and the second device.
S2,第一设备向第二设备发送用于恢复通信链路的指示信息;S2. The first device sends, to the second device, indication information for recovering the communication link.
S3,在发送指示信息之后的预定时间,第一设备恢复通信链路。S3. The first device resumes the communication link at a predetermined time after the indication information is sent.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。Optionally, in the embodiment, the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM). A variety of media that can store computer programs, such as hard drives, disks, or optical disks.
本公开的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。Embodiments of the present disclosure also provide an electronic device including a memory and a processor having a computer program stored therein, the processor being configured to execute a computer program to perform the steps of any one of the method embodiments described above.
可选地,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。Optionally, the electronic device may further include a transmission device and an input and output device, wherein the transmission device is connected to the processor, and the input and output device is connected to the processor.
可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the foregoing processor may be configured to perform the following steps by using a computer program:
S1,第一设备与第二设备协商得到预定时间,其中,预定时间用于表征第一设备与第二设备之间的通信链路的传输时间;S1. The first device negotiates with the second device to obtain a predetermined time, where the predetermined time is used to represent a transmission time of the communication link between the first device and the second device.
S2,第一设备向第二设备发送用于恢复通信链路的指示信息;S2. The first device sends, to the second device, indication information for recovering the communication link.
S3,在发送指示信息之后的预定时间,第一设备恢复通信链路。S3. The first device resumes the communication link at a predetermined time after the indication information is sent.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本公开的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模 块或步骤制作成单个集成电路模块来实现。这样,本公开不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present disclosure described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. As such, the disclosure is not limited to any specific combination of hardware and software.
以上所述仅为本公开的优选实施例而已,并不用于限制本公开,对于本领域的技术人员来说,本公开可以有各种更改和变化。凡在本公开的原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。The above description is only a preferred embodiment of the present disclosure, and is not intended to limit the disclosure, and various changes and modifications may be made to the present disclosure. Any modifications, equivalent substitutions, improvements, etc., made within the scope of the present disclosure are intended to be included within the scope of the present disclosure.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种链路恢复方法及装置、系统、存储介质、电子装置具有以下有益效果:解决了相关技术中在设备间恢复通信链路时丢包过多的技术问题,减少了在故障恢复时的流量丢失。As described above, the link recovery method, device, system, storage medium, and electronic device provided by the embodiments of the present invention have the following beneficial effects: the technology for over-packaging when recovering communication links between devices in the related art is solved. The problem is reduced traffic loss during failure recovery.

Claims (18)

  1. 一种链路恢复方法,包括:A link recovery method includes:
    第一设备与第二设备协商得到预定时间,其中,所述预定时间用于表征所述第一设备与所述第二设备之间的通信链路的传输时间;The first device negotiates with the second device to obtain a predetermined time, where the predetermined time is used to represent a transmission time of a communication link between the first device and the second device;
    所述第一设备向所述第二设备发送用于恢复所述通信链路的指示信息,在发送所述指示信息之后的所述预定时间,所述第一设备恢复所述通信链路。The first device sends indication information for restoring the communication link to the second device, and the first device resumes the communication link at the predetermined time after transmitting the indication information.
  2. 根据权利要求1所述的方法,其中,在所述第一设备向所述第二设备发送用于恢复所述指示信息之前,所述方法还包括:The method of claim 1, wherein before the first device sends the indication information to the second device for restoring the indication information, the method further comprises:
    第一设备确定恢复与第二设备之间的通信链路。The first device determines to resume the communication link with the second device.
  3. 根据权利要求2所述的方法,其中,在所述第一设备确定恢复与第二设备之间的通信链路之前,所述方法还包括:The method of claim 2, wherein before the first device determines to resume the communication link with the second device, the method further comprises:
    所述第一设备接收链路汇聚控制协议LACP报文,其中,所述LACP报文用于表征恢复所述LACP报文所经由的通信链路通畅。The first device receives the link aggregation control protocol LACP packet, where the LACP packet is used to indicate that the communication link through which the LACP packet is restored is unobstructed.
  4. 根据权利要求3所述的方法,其中,所述第一设备确定恢复与第二设备之间的通信链路包括:The method of claim 3, wherein the determining, by the first device, that the communication link with the second device is restored comprises:
    所述第一设备确定所述LACP报文是否来自所述通信链路的端口;Determining, by the first device, whether the LACP packet is from a port of the communication link;
    在确定出所述LACP报文来自所述通信链路的端口的情况下,所述第一设备确定恢复与第二设备之间的通信链路。In the case where it is determined that the LACP message is from a port of the communication link, the first device determines to resume the communication link with the second device.
  5. 根据权利要求1所述的方法,其中,在第一设备与第二设备协商得到预定时间之前,所述方法还包括:The method of claim 1, wherein before the first device negotiates with the second device to obtain a predetermined time, the method further comprises:
    所述第一设备检测与所述第二设备之间的收发包延迟时间,其中,所述预定时间大于或等于所述收发包延迟时间。The first device detects a packet delay time with the second device, where the predetermined time is greater than or equal to the packet delay time.
  6. 根据权利要求5所述的方法,其中,所述预定时间为所述收发包延迟时间的一半。The method of claim 5 wherein said predetermined time is one-half of said packet delay time.
  7. 根据权利要求1所述的方法,其中,所述第一设备恢复所述通信链路包括:The method of claim 1 wherein said recovering said communication link by said first device comprises:
    所述第一设备将所述通信链路加入到LACP聚合组,其中,所述LACP聚合组中的成员用于传输所述第一设备与所述第二设备之间的数据。The first device adds the communication link to the LACP aggregation group, where the member in the LACP aggregation group is used to transmit data between the first device and the second device.
  8. 根据权利要求1所述的方法,其中,在所述第一设备恢复所述通信链路之后,所述方法还包括:The method of claim 1, wherein after the first device recovers the communication link, the method further comprises:
    所述第一设备通过所述通信链路与所述第二设备交互流量数据。The first device exchanges traffic data with the second device over the communication link.
  9. 根据权利要求5所述的方法,其中,所述第一设备检测与所述第二设备之间的收发包延迟时间包括:The method according to claim 5, wherein the detecting, by the first device, a packet delay time between the packet and the second device comprises:
    所述第一设备向所述第二设备发送用于检测链路延迟的请求报文;Sending, by the first device, a request message for detecting a link delay to the second device;
    所述第一设备接收所述第二设备根据所述请求报文反馈的应答报文;Receiving, by the first device, a response message that is sent by the second device according to the request packet;
    所述第一设备根据所述应答报文的接收时间与所述请求报文的发送时间之差计算所述收发包延迟时间。The first device calculates the transceiver packet delay time according to the difference between the receiving time of the response message and the sending time of the request message.
  10. 根据权利要求9所述的方法,其中,所述请求报文携带第一报文序号,所述应答报文携带第二报文序号,其中,所述第一报文序号与所述第二报文序号对应。The method according to claim 9, wherein the request message carries a first message sequence number, and the response message carries a second message sequence number, wherein the first message sequence number and the second message The text number corresponds to.
  11. 一种链路恢复方法,包括:A link recovery method includes:
    第二设备与第一设备协商得到预定时间,其中,所述预定时间用于表征所述第一设备与所述第二设备之间的通信链路的传输时间;And the second device negotiates with the first device to obtain a predetermined time, where the predetermined time is used to represent a transmission time of the communication link between the first device and the second device;
    所述第二设备接收第一设备发送的用于恢复所述通信链路的指示信息;Receiving, by the second device, indication information that is sent by the first device to recover the communication link;
    所述第二设备在接收到所述指示信息后,根据所述指示信息恢复所述通信链路。After receiving the indication information, the second device recovers the communication link according to the indication information.
  12. 根据权利要求11所述的方法,其中,所述第二设备根据所述指示信息恢复所述通信链路包括:The method of claim 11, wherein the recovering, by the second device, the communication link according to the indication information comprises:
    所述第二设备将所述通信链路加入到链路汇聚控制协议LACP聚合组,其中,所述LACP聚合组中的成员用于传输所述第一设备与所述第二设备之间的数据。The second device adds the communication link to the link aggregation control protocol LACP aggregation group, where the member in the LACP aggregation group is used to transmit data between the first device and the second device. .
  13. 根据权利要求11所述的方法,其中,在所述第二设备根据所述指示信息恢复所述通信链路之后,所述方法还包括:The method of claim 11, wherein after the second device recovers the communication link according to the indication information, the method further comprises:
    所述第二设备通过所述通信链路与第一设备交互流量数据。The second device exchanges traffic data with the first device over the communication link.
  14. 一种链路恢复装置,应用在第一设备,包括:A link recovery device, applied to a first device, comprising:
    协商模块,设置为与第二设备协商得到预定时间,其中,所述预定时间用于表征所述第一设备与所述第二设备之间的通信链路的传输时间;a negotiation module, configured to negotiate with the second device to obtain a predetermined time, where the predetermined time is used to represent a transmission time of a communication link between the first device and the second device;
    发送模块,设置为向所述第二设备发送用于恢复所述通信链路的指示信息;a sending module, configured to send, to the second device, indication information for recovering the communication link;
    恢复模块,设置为在发送所述指示信息之后的所述预定时间,恢复所述通信链路。And a recovery module configured to resume the communication link at the predetermined time after transmitting the indication information.
  15. 一种链路恢复装置,应用在第二设备,包括:A link recovery device is applied to a second device, including:
    协商模块,设置为与第一设备协商得到预定时间,其中,所述预定时间用于表征所述第一设备与所述第二设备之间的通信链路的传输时间;a negotiation module, configured to negotiate with the first device to obtain a predetermined time, where the predetermined time is used to represent a transmission time of a communication link between the first device and the second device;
    接收模块,设置为接收第一设备发送的用于恢复所述通信链路的指示信息;a receiving module, configured to receive indication information sent by the first device for recovering the communication link;
    恢复模块,设置为在接收到所述指示信息后,根据所述指示信息 恢复所述通信链路。The recovery module is configured to restore the communication link according to the indication information after receiving the indication information.
  16. 一种链路恢复系统,包括第一设备、第二设备,A link recovery system includes a first device and a second device,
    所述第一设备包括:The first device includes:
    第一协商模块,设置为与第二设备协商得到预定时间,其中,所述预定时间用于表征所述第一设备与所述第二设备之间的通信链路的传输时间;a first negotiation module, configured to negotiate with a second device to obtain a predetermined time, where the predetermined time is used to represent a transmission time of a communication link between the first device and the second device;
    发送模块,设置为向所述第二设备发送用于恢复所述通信链路的指示信息;a sending module, configured to send, to the second device, indication information for recovering the communication link;
    第一恢复模块,设置为在发送所述指示信息之后的所述预定时间,恢复所述通信链路;a first recovery module, configured to resume the communication link at the predetermined time after transmitting the indication information;
    所述第二设备包括:The second device includes:
    第二协商模块,设置为与第一设备协商得到所述预定时间;a second negotiation module, configured to negotiate with the first device to obtain the predetermined time;
    接收模块,设置为接收第一设备发送的用于恢复所述通信链路的指示信息;a receiving module, configured to receive indication information sent by the first device for recovering the communication link;
    第二恢复模块,设置为在接收到所述指示信息后,根据所述指示信息恢复所述通信链路。The second recovery module is configured to restore the communication link according to the indication information after receiving the indication information.
  17. 一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求1至13任一项中所述的方法。A storage medium having stored therein a computer program, wherein the computer program is arranged to execute the method of any one of claims 1 to 13 at runtime.
  18. 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利要求1至13任一项中所述的方法。An electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor being arranged to execute the computer program to perform the method of any one of claims 1 to 13.
PCT/CN2019/076064 2018-03-13 2019-02-25 Link recovery method and device, system, storage medium, and electronic device WO2019174454A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810205948.9 2018-03-13
CN201810205948.9A CN110278094B (en) 2018-03-13 2018-03-13 Link recovery method, device, system, storage medium and electronic device

Publications (1)

Publication Number Publication Date
WO2019174454A1 true WO2019174454A1 (en) 2019-09-19

Family

ID=67908545

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/076064 WO2019174454A1 (en) 2018-03-13 2019-02-25 Link recovery method and device, system, storage medium, and electronic device

Country Status (2)

Country Link
CN (1) CN110278094B (en)
WO (1) WO2019174454A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112234714A (en) * 2020-10-20 2021-01-15 福建泰发建设工程有限公司 Automatic chopping and recovery method and system for intelligent substation communication system

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343019B (en) * 2020-02-24 2023-05-16 深圳市信锐网科技术有限公司 Reconnection method, reconnection device and storage medium
CN111918309B (en) * 2020-08-04 2023-06-23 Oppo广东移动通信有限公司 Network access method, device, terminal equipment and storage medium
CN115567463A (en) * 2021-06-30 2023-01-03 中兴通讯股份有限公司 Port state adjusting method and device and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103560898A (en) * 2013-07-30 2014-02-05 北京华为数字技术有限公司 Port state setting method, and port priority selection method and device
CN105704022A (en) * 2014-11-27 2016-06-22 华为技术有限公司 Path switching method and network nodes
CN105703933A (en) * 2014-11-27 2016-06-22 杭州迪普科技有限公司 Aggregation link recovery method and apparatus
WO2017000096A1 (en) * 2015-06-27 2017-01-05 华为技术有限公司 Link recovery method and network device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100584968B1 (en) * 2004-09-10 2006-05-29 한국정보통신대학교 산학협력단 Method for protecting and restoring link using optical label merging and dynamically resources_shared scheme with network load
CN101047601B (en) * 2006-04-10 2010-12-01 华为技术有限公司 Implementing method and system of double-attach network based on VPLS
CN101459549B (en) * 2007-12-14 2011-09-21 华为技术有限公司 Link failure processing method and data forwarding device
CN103905326B (en) * 2012-12-28 2017-11-24 迈普通信技术股份有限公司 The message transmission control method and the network equipment of Ethernet link clustering
US9813286B2 (en) * 2015-11-26 2017-11-07 Industrial Technology Research Institute Method for virtual local area network fail-over management, system therefor and apparatus therewith
CN106411599A (en) * 2016-10-31 2017-02-15 杭州华三通信技术有限公司 Aggregated link recovering method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103560898A (en) * 2013-07-30 2014-02-05 北京华为数字技术有限公司 Port state setting method, and port priority selection method and device
CN105704022A (en) * 2014-11-27 2016-06-22 华为技术有限公司 Path switching method and network nodes
CN105703933A (en) * 2014-11-27 2016-06-22 杭州迪普科技有限公司 Aggregation link recovery method and apparatus
WO2017000096A1 (en) * 2015-06-27 2017-01-05 华为技术有限公司 Link recovery method and network device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112234714A (en) * 2020-10-20 2021-01-15 福建泰发建设工程有限公司 Automatic chopping and recovery method and system for intelligent substation communication system
CN112234714B (en) * 2020-10-20 2024-05-14 福建泰发建设工程有限公司 Automatic chopping and recovering method and system for intelligent substation communication system

Also Published As

Publication number Publication date
CN110278094A (en) 2019-09-24
CN110278094B (en) 2022-09-27

Similar Documents

Publication Publication Date Title
WO2019174454A1 (en) Link recovery method and device, system, storage medium, and electronic device
US9742663B2 (en) System and method for reducing information loss in an aggregated information handling system
AU2004306913B2 (en) Redundant routing capabilities for a network node cluster
US9659075B2 (en) Providing high availability in an active/active appliance cluster
US8379645B2 (en) Link data transmission method, node and system
US7549078B2 (en) Redundancy in routing devices
US9838245B2 (en) Systems and methods for improved fault tolerance in solicited information handling systems
CN107612754B (en) Bidirectional forwarding link fault detection method and device and network node equipment
US20130227022A1 (en) Peer discovery and secure communication in failover schemes
JP2014515851A (en) Provision of witness service
WO2008014696A1 (en) Method and apparatus for realizing communication take-over
JP2004280738A (en) Proxy response device
WO2009117946A1 (en) Main-spare realizing method for dispatch servers and dispatch server
WO2020057445A1 (en) Communication system, method, and device
CN111835685A (en) Method and server for monitoring running state of Nginx network isolation space
US10819628B1 (en) Virtual link trunking control of virtual router redundancy protocol master designation
WO2014048128A1 (en) Point-to-multipoint service protecting method for ring network and upper ring node on ring network
US11012301B2 (en) Notification and transfer of link aggregation group control in anticipation of a primary node reboot
US10887207B2 (en) System and method for determining branch gateway device availability in computer networks
WO2017148097A1 (en) Graceful restart processing method and device
US11757987B2 (en) Load balancing systems and methods
JP3493035B2 (en) Dynamic path switching method
US11792287B2 (en) Broker cell for distributed message system
KR101401006B1 (en) Method and appratus for performing software upgrade in high availability system
US11212217B2 (en) Spanning tree enabled link aggregation system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19767383

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22/01/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19767383

Country of ref document: EP

Kind code of ref document: A1