WO2018082464A1 - Lacp aggregation system, and transparent transmission method and apparatus for protocol packet - Google Patents
Lacp aggregation system, and transparent transmission method and apparatus for protocol packet Download PDFInfo
- Publication number
- WO2018082464A1 WO2018082464A1 PCT/CN2017/107298 CN2017107298W WO2018082464A1 WO 2018082464 A1 WO2018082464 A1 WO 2018082464A1 CN 2017107298 W CN2017107298 W CN 2017107298W WO 2018082464 A1 WO2018082464 A1 WO 2018082464A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- lacp
- protocol packet
- microwave
- transparent transmission
- transmission port
- Prior art date
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 298
- 230000002776 aggregation Effects 0.000 title claims abstract description 170
- 238000004220 aggregation Methods 0.000 title claims abstract description 170
- 238000000034 method Methods 0.000 title claims abstract description 69
- 230000008859 change Effects 0.000 claims description 21
- 238000006243 chemical reaction Methods 0.000 claims description 12
- 230000001960 triggered effect Effects 0.000 claims description 6
- 238000011084 recovery Methods 0.000 claims description 3
- 238000004590 computer program Methods 0.000 claims 1
- 230000035515 penetration Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 16
- 230000006870 function Effects 0.000 description 10
- 238000006116 polymerization reaction Methods 0.000 description 7
- 238000002716 delivery method Methods 0.000 description 4
- 238000005538 encapsulation Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/24—Multipath
- H04L45/245—Link aggregation, e.g. trunking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
- H04L47/125—Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Definitions
- the present invention relates to the field of microwave communication technologies, and in particular, to a LACP aggregation system, a transparent transmission method and device for protocol messages.
- link aggregation of a microwave device generally adopts link aggregation based on the IEEE802.3AD protocol.
- the air interface of the microwave device is configured as a Link Aggregation Control Protocol (LACP) aggregation group.
- LACP Link Aggregation Control Protocol
- it is described as a microwave link aggregation group, and the data is in the member air interface of the aggregation group by a suitable sharing algorithm. Perform load sharing.
- a disadvantage of such a system is that the number of links participating in the aggregation is limited by the number of air ports of the microwave device. When the microwave transmission capacity requirement exceeds the sum of all the air interface capacities of the equipment, the system cannot meet the requirements.
- the embodiments of the present invention provide a LACP aggregation system and a transparent transmission method and device for protocol packets, so as to at least solve the problem that the microwave transmission capacity cannot meet the system requirements in the related art.
- a link aggregation control protocol LACP aggregation system including: a first transmission device, a second transmission device, and a microwave link aggregation group set; wherein the microwave link aggregation group set includes two One or more of the microwave link aggregation groups; the first transmission device and the second transmission device perform link aggregation through the microwave link aggregation group set.
- each microwave link aggregation group is composed of two microwave devices that are aggregated through a microwave link.
- the microwave device is configured with a transparent transmission port, where the transparent transmission port faces the first transmission device and/or the second transmission device, and is configured to be an LACP protocol message or a non-LACP protocol.
- the message is encapsulated or modified.
- the transparent transmission port is further configured to convert the LACP protocol packet into a non-LACP protocol packet or restore the non-LACP protocol packet to the LACP protocol packet.
- the microwave device is further configured with a plurality of air interfaces, wherein the air interface is configured to be associated with the air interface, wherein the transparent transmission port is associated with the plurality of air interfaces; wherein the association relationship includes at least one of the following: When at least one air interface is broken, the transparent transmission port is closed; when all the air interfaces are broken, the transparent transmission port is closed; when at least one of the plurality of air interfaces is restored, the transparent transmission port is restored; When all the air interfaces are restored, the transparent transmission port is restored.
- a method for transparently transmitting a protocol packet is provided, which is applied to the LACP aggregation system, and includes: the link aggregation control protocol LACP through the microwave device in the aggregation group of the microwave link aggregation group
- the port is configured to translate the link aggregation control protocol LACP packets into non-LACP packets.
- the non-LACP packets are transparently transmitted to the peer LACP transparent transmission port through the radio link.
- the peer LACP transparent transmission port is not LACP.
- the protocol packet is restored to the LACP protocol packet.
- the peer LACP transparent transmission port is located on the peer microwave device that is aggregated with the microwave device through the microwave link.
- the LACP transparent transmission port on the microwave device in the aggregation group of the microwave link aggregation group converts the link aggregation control protocol LACP protocol packet into a non-LACP protocol packet, including one of the following: LACP through the LACP transparent transmission port
- the protocol packet is encapsulated as a non-LACP packet.
- the LACP packet is translated to a non-LACP packet.
- the LACP protocol packet is encapsulated into a non-LACP protocol packet by using the LACP transparent transmission port, and the LACP protocol packet is encapsulated by the source media access control MAC address and the normal packet MAC address of the LACP packet. Get a non-LACP protocol message.
- the LACP protocol packet is modified to a non-LACP protocol packet by using the LACP transparent transmission port, and the LACP MAC address in the LACP protocol packet is replaced with the normal packet MAC address.
- the non-LACP protocol packet is restored to LACP through the peer LACP transparent transmission port.
- the protocol packet includes one of the following: the non-LACP protocol packet is decapsulated into the LACP protocol packet through the peer LACP transparent transmission port; the non-LACP protocol packet is modified to the LACP protocol packet through the peer LACP transparent transmission port.
- the un-LACP protocol packet is decapsulated into the LACP protocol packet by the peer LACP transparent transmission port, and the LACP protocol packet is sequentially sent to the LACP transparent transmission port by using the common packet MAC address and the LACP protocol source MAC address.
- the file is decapsulated; the LACP protocol packet is obtained.
- the non-LACP protocol packet is modified to the LACP protocol packet by the peer LACP transparent transmission port, and the MAC address of the common packet in the non-LACP protocol packet is modified to be the LACP MAC address.
- a transparent transmission method of a protocol packet includes: receiving a link aggregation control protocol LACP protocol packet sent by a first transmission device; and converting the received LACP protocol packet into a non-transmission
- the LACP protocol packet is transmitted to the peer transparent transmission port through the microwave link between the microwave devices.
- the peer transparent transmission port is located in the opposite microwave device and faces the second transmission.
- the device is aggregated by the microwave device between the first transmission device and the second transmission device, and the microwave devices are aggregated through the microwave link.
- the LACP protocol packet is converted into a non-LACP protocol packet, and the LACP protocol packet is encapsulated into a non-LACP protocol packet, and the LACP protocol packet is modified into a non-LACP protocol packet.
- the LACP protocol packet is encapsulated into a non-LACP protocol packet, and the LACP protocol packet is encapsulated by the source media access control MAC address and the normal packet MAC address, and the non-LACP protocol packet is obtained.
- the LACP protocol packet is modified to a non-LACP protocol packet, including: replacing the LACP MAC address in the LACP protocol packet with the normal packet MAC address.
- a link state delivery method is provided, which is applied to the foregoing LACP aggregation system, including: detecting an air interface state of an air interface on a microwave device in a microwave link aggregation group; Triggering on the microwave device in the event of a change The state of the port is changed.
- the air interface is for the peer microwave device in the microwave link aggregation group, and the transparent port is for the transmission device that interacts with the microwave device.
- the change of the state of the transparent transmission port on the triggering microwave device includes at least one of the following: triggering the air interface state change of the at least one air interface of the microwave device is triggered.
- the state of the transparent transmission port changes.
- the state of the transparent transmission port changes.
- the air interface status includes: breaking the link or restoring the broken link; and the transparent port status includes: turning off or on.
- a device for transmitting a protocol packet which is located in a microwave device, and includes: a receiving module, configured to receive a link aggregation control protocol LACP protocol packet sent by the first transmission device; The module is configured to convert the received LACP protocol packet into a non-LACP protocol packet, and the sending module is configured to transparently transmit the translated non-LACP protocol packet to the peer transparent transmission port through the microwave link between the microwave devices.
- the peer transparent transmission port is located in the opposite microwave device and faces the second transmission device; the first transmission device and the second transmission device are aggregated by the microwave device, and the microwave devices are performed through the microwave link. polymerization.
- the conversion module is further configured to: encapsulate the LACP protocol packet into a non-LACP protocol packet, and modify the LACP protocol packet to be a non-LACP protocol packet.
- the conversion module is further configured to encapsulate the LACP protocol packet by using the LACP protocol source media access control MAC address and the common packet MAC address, and obtain the non-LACP protocol packet.
- the conversion module is further configured to replace the LACP MAC address in the LACP protocol message with the normal message MAC address.
- a link state transmission apparatus including: a detection module configured to detect an air interface state of an air interface on a microwave device in a microwave link aggregation group; and a trigger module configured to detect When the state of the air interface changes, the state of the transparent transmission port on the triggering microwave device changes.
- the air interface faces the peer microwave device in the microwave link aggregation group, and the transparent transmission port faces the transmission device that interacts with the microwave device. .
- the triggering module is further configured to: at least one of the following: when detecting an air interface state change of the at least one air interface of the microwave device, triggering a change of the state of the transparent transmission port; detecting an air interface state of all the air interfaces of the microwave device The state of the transparent transmission port changes only when the change occurs.
- the air interface status includes: breaking the link or restoring the broken link; and the transparent port status includes: turning off or on.
- a microwave device includes: a transparent transmission port and an air interface; and a transparent transmission port, configured to receive a link aggregation control protocol LACP protocol packet sent by the first transmission device; The LACP packet is translated into the non-LACP packet.
- the air interface transmits the translated non-LACP packet to the peer transparent transmission port through the microwave link between the microwave devices.
- the peer transparent transmission port is located at the peer microwave.
- the device is in the middle of the second transmission device; the first transmission device and the second transmission device are aggregated by the microwave device, and the microwave devices are aggregated through the microwave link.
- the transparent transmission port is further configured to: encapsulate the LACP protocol packet into a non-LACP protocol packet, and modify the LACP protocol packet to be a non-LACP protocol packet.
- the transparent transmission port is further configured to encapsulate the LACP protocol packet by using the LACP protocol source media access control MAC address and the common packet MAC address, and obtain the non-LACP protocol packet.
- the transparent transmission port is further configured to replace the LACP MAC address in the LACP protocol packet with the normal packet MAC address.
- the transparent transmission port has an association relationship with the multiple air interfaces.
- the association relationship includes at least one of the following: when at least one of the plurality of air interfaces is broken, the transparent transmission port is closed; and the multiple air interfaces are all broken.
- the transparent transmission port is closed; when at least one of the multiple air interfaces resumes the connection, the transparent transmission port is restored; when the multiple air interfaces are all restored, the transparent transmission port is restored.
- a storage medium is also provided.
- the storage medium is configured to store a program code for performing the following steps: receiving a link aggregation control protocol LACP protocol packet sent by the first transmission device, and converting the received LACP protocol packet into a non-LACP
- the protocol packet is transmitted to the peer transparent transmission port through the microwave link between the microwave devices.
- the peer transparent transmission port is located in the opposite microwave device and faces the second transmission device.
- the first transmission device and the second transmission device are aggregated by the microwave device, and the microwave devices are aggregated through the microwave link.
- a storage medium is also provided.
- the storage medium is configured to store program code for performing the following steps: detecting an air interface state of an air interface on a microwave device in a microwave link aggregation group; triggering a transparent transmission on the microwave device when a change in the state of the air interface is detected The state of the port changes.
- the air interface faces the peer microwave device in the microwave link aggregation group, and the transparent transmission port faces the transmission device that interacts with the microwave device.
- the first transmission device and the second transmission device in the LACP aggregation system are aggregated by the microwave link aggregation group set, and the microwave link aggregation group includes the microwave link aggregation group; that is, the LACP aggregation system.
- Two-stage aggregation has been carried out, which increases the transmission capacity of the LACP aggregation system, and can solve the problem that the microwave transmission capacity cannot meet the system requirements in the related art.
- FIG. 1 is a schematic structural diagram of an LACP aggregation system according to an embodiment of the present invention
- FIG. 2 is a schematic flowchart 1 of a method for transparently transmitting protocol packets according to an embodiment of the present invention
- FIG. 3 is a second schematic flowchart of a method for transparently transmitting protocol packets according to an embodiment of the present invention
- FIG. 5 is a structural block diagram of a transparent transmission apparatus for protocol packets according to an embodiment of the present invention.
- FIG. 6 is a structural block diagram of a link state transfer apparatus according to an embodiment of the present invention.
- FIG. 7 is a structural block diagram of a microwave device according to an embodiment of the present invention.
- Figure 8 is a physical connection diagram of a two-stage cascade polymerization system provided in accordance with a preferred embodiment of the present invention.
- FIG. 9 is a schematic diagram of a link state delivery method according to a preferred embodiment of the present invention.
- FIG. 10 is a schematic diagram of a method for transparently transmitting protocol packets according to an embodiment of the present invention.
- FIG. 11 is a physical connection diagram of a two-stage cascade polymerization system provided in accordance with a preferred embodiment of the present invention.
- FIG. 1 is a schematic structural diagram of an LACP aggregation system according to an embodiment of the present invention. As shown in FIG. 1 , the first transmission device 10 and the second The transmission device 12 and the microwave link aggregation group set 14; wherein the microwave link aggregation group set 14 includes two or more microwave link aggregation groups; the first transmission device 10 and the second transmission device 10 pass microwaves The link aggregation group set 14 performs link aggregation.
- the first transmission device and the second transmission device are aggregated by the aggregation group of the microwave link aggregation group, and the microwave link aggregation group includes the microwave link aggregation group; that is, the LACP aggregation system performs two levels.
- the aggregation increases the transmission capacity of the LACP aggregation system, and can solve the problem that the microwave transmission capacity cannot meet the system requirements in the related art.
- microwave link aggregation group can be aggregated by two microwave devices through a microwave link. Composition.
- the microwave device is provided with a transparent transmission port, wherein the transparent transmission port is configured to be a first transmission device and/or a second transmission device, and is configured to be an LACP protocol message or a non-LACP protocol message. Package or modify.
- the transparent transmission port facing the first transmission device when used to encapsulate or modify the LACP protocol packet, the transparent transmission port facing the second transmission device is used to perform the non-LACP protocol packet. Decapsulation or modification; if the transparent transmission port facing the second transmission device is set to encapsulate or modify the LACP protocol packet, the transparent transmission port facing the first transmission device is set to the non-LACP protocol packet. The text is decapsulated or modified.
- the transparent transmission port is further configured to convert the LACP protocol packet into a non-LACP protocol packet or restore the non-LACP protocol packet to an LACP protocol packet.
- the LACP protocol packet is translated into a non-LACP protocol packet, and the LACP protocol packet is encapsulated by the source media access control MAC address and the normal packet MAC address of the LACP packet.
- the LACP MAC address of the LACP protocol packet is replaced with the normal packet MAC address.
- the LACP protocol packet is restored to the LACP protocol packet.
- the LACP protocol packet is decapsulated by the common MAC address and the source MAC address of the LACP packet. Or, the MAC address of the ordinary packet in the non-LACP protocol packet is changed to the LACP MAC through the peer LACP transparent transmission port.
- the transparent transmission port can be used to encapsulate or modify the LACP protocol packet, so that the processed packet can be transparently transmitted through the aggregated link conforming to the standard protocol IEEE802.3AD without affecting the IEEE802.3AD link. polymerization.
- the microwave device is further provided with a plurality of air interfaces, and the air interface is configured to face the peer microwave device, wherein the transparent transmission port is associated with the plurality of air interfaces; wherein the association relationship may include at least the following One: when at least one of the plurality of air interfaces is broken, the transparent transmission port is closed; when all the air interfaces are broken, the transparent transmission port is closed; when at least one of the plurality of air interfaces is restored , the transparent transmission port is restored; in multiple air interfaces The transparent port is restored when all connections are restored.
- the link state can be transmitted through the association between the transparent transmission port and multiple air interfaces, and the link backup function is implemented.
- the foregoing first transmission device and/or the second transmission device may be a transmission device supporting IEEE802.3AD aggregation
- the foregoing microwave device may be a microwave device supporting IEEE802.3AD aggregation, but is not limited thereto.
- FIG. 2 is a schematic flowchart of a method for transparently transmitting protocol packets according to an embodiment of the present invention.
- the transparent transmission method includes:
- step S202 the link aggregation control protocol LACP transparent packet is converted into a non-LACP protocol packet by the link aggregation control protocol LACP transparent transmission port on the microwave device in the microwave link aggregation group set.
- Step S204 The non-LACP protocol packet is transparently transmitted to the peer LACP transparent transmission port through the microwave link.
- Step S206 The non-LACP protocol packet is restored to the LACP protocol packet by the peer LACP transparent transmission port.
- the peer LACP transparent transmission port is located on the peer microwave device that is aggregated with the microwave device through the microwave link.
- the method applied to the LACP aggregation system in Embodiment 1 can convert the LACP protocol packet during the transmission of the LACP packet, so that the processed packet can pass the standard protocol IEEE802.
- the aggregated link of 3AD is transparently transmitted without affecting IEEE802.3AD link aggregation.
- the LACP transparent transmission port on the microwave device in the microwave link aggregation group set converts the link aggregation control protocol LACP protocol packet into a non-LACP protocol packet, which may include one of the following:
- the LACP transparent transmission port encapsulates LACP packets as non-LACP packets.
- the LACP transparent transmission port modifies LACP packets to non-LACP packets.
- the LACP protocol packet is encapsulated as a non-transparent port through the LACP transparent transmission port.
- the LACP protocol packet may include: the LACP transparent transmission port encapsulates the LACP protocol packet with the source media access control MAC address and the common packet MAC address of the LACP protocol packet; and obtains the non-LACP protocol packet.
- the LACP protocol packet is modified to be a non-LACP packet through the LACP transparent transmission port.
- the LACP MAC address of the LACP packet is replaced with the normal packet MAC address.
- the non-LACP protocol packet is re-encapsulated by the peer LACP transparent transmission port to the LACP protocol packet by the peer LACP transparent transmission port.
- the LACP protocol packet is modified.
- the non-LACP protocol packet is modified to be the LACP protocol packet.
- the non-LACP protocol packet is decapsulated into the LACP protocol packet by the peer LACP transparent transmission port, which may include: the normal message MAC address and the source MAC address of the LACP protocol packet are sequentially transmitted through the peer LACP transparent transmission port.
- the LACP protocol packet is decapsulated; the LACP protocol packet is obtained.
- non-LACP protocol packet is modified into the LACP packet by the peer LACP transparent transmission port, and the MAC address of the common packet in the non-LACP protocol packet is modified to be the LACP MAC address.
- execution body of the foregoing steps may be the LACP aggregation system in Embodiment 1, or may be performed by a dedicated execution tool, but is not limited thereto.
- 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.
- the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as 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 invention.
- FIG. 3 is a schematic flowchart 2 of a transparent transmission method of a protocol packet according to an embodiment of the present invention. As shown in FIG. 3, the transparent transmission is shown in FIG. Methods include:
- Step S302 Receive a link aggregation control protocol LACP protocol packet sent by the first transmission device.
- Step S304 Convert the received LACP protocol packet into a non-LACP protocol packet.
- Step S306 the translated non-LACP protocol packet is transparently transmitted to the peer transparent transmission port through the microwave link between the microwave devices; wherein the peer transparent transmission port is located in the opposite microwave device and faces the second transmission device; The first transmission device and the second transmission device are aggregated by the microwave device, and the microwave devices are aggregated through the microwave link.
- the first transmission device and the second transmission device are aggregated by the microwave device, and the microwave devices are aggregated through the microwave link, thereby implementing the cascade of LACP aggregation and increasing the transmission of the LACP aggregation system.
- the capacity can solve the problem that the microwave transmission capacity in the related art cannot meet the system requirements.
- the foregoing steps enable the LACP protocol packet to be translated during the transmission of the LACP packet, so that the processed packet can be transparently transmitted through the aggregated link conforming to the standard protocol IEEE802.3AD. Affects IEEE802.3AD link aggregation.
- the foregoing step S304 may be performed as follows: the LACP protocol packet is encapsulated into a non-LACP protocol packet; and the LACP protocol packet is modified into a non-LACP protocol packet.
- the LACP protocol packet is encapsulated into a non-LACP protocol packet, which can be encapsulated by the source media access control MAC address and the normal packet MAC address of the LACP protocol packet to obtain the LACP protocol packet. .
- the LACP protocol packet is changed to the non-LACP protocol packet, including: replacing the LACP MAC address in the LACP protocol packet with the normal packet MAC address.
- the execution body of the foregoing steps may be a microwave device, and specifically, may be a transparent transmission port of the microwave device, but is not limited thereto.
- the method may further include the following: the peer transparent transmission port decapsulates the non-LACP protocol packet into the LACP protocol packet; The transparent transmission port modifies the non-LACP packets to LACP packets.
- the peer-to-peer port can decapsulate the non-LACP protocol packets into LACP packets.
- the peer-to-peer port transmits the LACP packets in the normal MAC address and the source MAC address of the LACP packets. Decapsulation; obtains LACP protocol packets.
- the peer transparent transmission port modifies the non-LACP protocol packet to the LACP protocol packet.
- the peer transparent transmission port modifies the MAC address of the common packet in the non-LACP protocol packet to the LACP MAC address.
- the embodiment of the present invention further provides a link state delivery method for protocol packets, which is applied to the LACP aggregation system in the first embodiment, and
- FIG. 4 is a link state transmission method for protocol packets according to an embodiment of the present invention.
- the flow chart is shown in Figure 4. The process includes:
- Step S402 detecting an air interface state of the air interface on the microwave device in the microwave link aggregation group
- Step S404 in the case that the state of the air interface is changed, the state of the transparent transmission port on the microwave device is changed.
- the air interface faces the opposite microwave device in the microwave link aggregation group, and the transparent transmission port faces the microwave.
- the link backup function can be implemented.
- the link backup interruption delay can be ensured, or the link capacity can be quickly restored when the link is restored.
- the foregoing step S404 may be performed as at least one of: triggering a change in the state of the transparent transmission port when detecting an air interface state change of the at least one air interface of the microwave device; detecting the microwave device The state of the transparent port is changed only when the air interface status of all the air ports changes.
- the state of the air interface includes: breaking the chain or restoring the broken link; and the state of the transparent transmission port includes: closing or opening.
- the execution body of the step of the link state transfer method may be a microwave device, but is not limited thereto.
- 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.
- the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as 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 invention.
- a transparent device for transmitting protocol packets is also provided.
- the device is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
- 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. 5 is a structural block diagram of a transparent transmission device for protocol packets according to an embodiment of the present invention. As shown in FIG. 5, the device includes:
- the receiving module 52 is configured to receive a link aggregation control protocol LACP protocol packet sent by the first transmission device;
- the conversion module 54 is connected to the receiving module 52, and is configured to convert the received LACP protocol packet into a non-LACP protocol packet.
- the sending module 56 is connected to the conversion module 54 and configured to transparently transmit the translated non-LACP protocol packets to the peer transparent transmission port through the microwave link between the microwave devices.
- the peer transparent transmission port is located at the opposite end microwave device.
- the medium transmission device is aggregated by the microwave device between the first transmission device and the second transmission device, and the microwave devices are aggregated through the microwave link.
- the LACP protocol packet can be converted during the transmission of the LACP packet, so that the processed packet can be transparently transmitted through the aggregated link conforming to the standard protocol IEEE802.3AD without affecting the IEEE802. .3AD link aggregation.
- the first transmission device and the second transmission device are aggregated by the microwave device, and the microwave devices are aggregated through the microwave link, thereby implementing the cascading of the LACP aggregation, and increasing the transmission capacity of the LACP aggregation system.
- the problem that the microwave transmission capacity cannot meet the system requirements in the related art is solved.
- the foregoing conversion module 54 may be configured to: encapsulate the LACP protocol packet into a non-LACP protocol packet; and modify the LACP protocol packet to a non-LACP protocol packet.
- the foregoing conversion module 54 may be configured to encapsulate the LACP protocol packet by using the LACP protocol source media access control MAC address and the common packet MAC address, and obtain a non-LACP protocol packet.
- the foregoing conversion module 54 may be further configured to replace the LACP MAC in the LACP protocol message with the normal message MAC address.
- the above device may be located in the microwave device, but is not limited thereto.
- 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.
- a link state transfer device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been 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. 6 is a structural block diagram of a link state transfer apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus includes:
- the detecting module 62 is configured to detect an air interface state of the air interface on the microwave device in the microwave link aggregation group;
- the triggering module 64 is connected to the detecting module 62, and is configured to trigger a change in the state of the transparent transmitting port on the microwave device when the state of the air interface is changed.
- the air interface faces the opposite end of the microwave link aggregation group.
- the transparent transmission port faces a transmission device that interacts with the microwave device.
- the link backup function can be implemented.
- the link backup interruption delay can be ensured, or the link capacity can be quickly restored when the link is restored.
- the triggering module 64 may be configured to: at least one of the following: when detecting an air interface state change of at least one air interface of the microwave device, triggering a change of the state of the transparent transmission port; detecting all the microwave devices The state of the transparent port is changed when the air interface status of the air interface changes.
- the state of the air interface includes: breaking the chain or restoring the broken link; and the state of the transparent transmission port includes: closing or opening.
- the above device may be located in the microwave device, but is not limited thereto.
- 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.
- FIG. 7 is a structural block diagram of a microwave device according to an embodiment of the present invention. As shown in FIG. 7, the microwave device includes: a transparent transmission port 72 and an air interface 74; ,
- the transparent transmission port 72 is configured to receive the link aggregation control protocol LACP protocol packet sent by the first transmission device, and convert the received LACP protocol packet into a non-LACP protocol packet.
- the air interface 74 transmits the converted non-LACP protocol packet to the peer transparent transmission port through the microwave link between the microwave devices.
- the peer transparent transmission port is located in the opposite microwave device and faces the opposite end.
- the second transmission device is configured to be aggregated by the microwave device between the first transmission device and the second transmission device, and the microwave devices are aggregated through the microwave link.
- the LACP protocol packet can be converted during the transmission of the LACP packet, so that the processed packet can be transparently transmitted through the aggregated link conforming to the standard protocol IEEE802.3AD without affecting. IEEE 802.3AD link aggregation.
- the first transmission device and the second transmission device are aggregated by the microwave device, and the microwave devices are aggregated through the microwave link, thereby implementing the cascading of the LACP aggregation, and increasing the transmission capacity of the LACP aggregation system.
- the problem that the microwave transmission capacity cannot meet the system requirements in the related art is solved.
- the transparent transmission port 72 may be configured as one of the following: the LACP protocol packet is encapsulated into a non-LACP protocol packet; and the LACP protocol packet is modified into a non-LACP protocol packet.
- the transparent transmission port 72 may be configured to encapsulate the LACP protocol packet by using the source media access control MAC address and the normal packet MAC address of the LACP protocol packet, and obtain the non-LACP protocol packet.
- the transparent transmission port 72 may be configured to replace the LACP MAC address in the LACP protocol packet with the normal packet MAC address.
- the transparent transmission port 72 has a relationship with the plurality of air interfaces 74.
- the association relationship includes at least one of the following: when at least one of the plurality of air interfaces 74 is broken, the transparent transmission port is closed. When all of the plurality of air ports 74 are broken, the transparent transmission port 72 is closed; when at least one of the plurality of air ports 74 is restored, the transparent transmission port 72 is restored; when all the plurality of air ports 74 are restored. The transparent transmission port 72 is restored.
- Embodiments of the present invention also provide a storage medium.
- the above storage medium may be set to store program code for executing the steps of the method in Embodiment 2 or 3.
- the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
- ROM Read-Only Memory
- RAM Random Access Memory
- a mobile hard disk e.g., a hard disk
- magnetic memory e.g., a hard disk
- the processor executes according to the stored program code in the storage medium.
- the processor performs the steps of the method in Embodiment 2 or 3 according to the stored program code in the storage medium.
- the microwave device can be configured as an LACP cascading aggregation system (equivalent to the LACP aggregation system described above) based on the IEEE 802.3AD aggregation, thereby effectively increasing the transmission of the microwave device. capacity.
- the preferred embodiment of the present invention further provides a method for transparently transmitting protocol packets, and performs LACP protocol packets to be transparently transmitted through the microwave link aggregation group.
- the transparent transmission method encapsulates or modifies the LACP protocol packet, so that the processed packet can be transparently transmitted through the aggregated link conforming to the standard protocol IEEE802.3AD without affecting the IEEE802.3AD link aggregation.
- the preferred embodiment of the present invention further provides a link state transmission method, which transmits the state of the microwave air interface to the designated port, and ensures the link backup function and the link switching delay of the LACP cascading aggregation system.
- the method transmits the state of the air interface of the microwave device to the designated line port, and when the state of the air port changes, the state of the designated line port changes accordingly.
- the preferred embodiment of the present invention further provides a two-stage cascading aggregation method, in which the transmission device can establish LACP aggregation through the microwave link, and the microwave device itself performs LACP aggregation again. Through two aggregations, the transmission capacity of the microwave device is effectively realized.
- the secondary LACP cascade aggregation effectively expands the transmission capacity of the microwave device. Effective by link state transfer method Ensure the link backup function and link switching delay of the LACP cascading aggregation system.
- the switching device may be a switching device that supports IEEE802.3AD aggregation
- the microwave device may be a microwave device that supports IEEE802.3AD aggregation.
- FIG. 8 is a physical connection diagram of a LACP cascading aggregation system according to a preferred embodiment of the present invention.
- FIG. 9 is a schematic diagram of a link state transfer method according to a preferred embodiment of the present invention.
- the line state of the microwave device Line-1 is associated with the AirInterface-1, ..., AirInterface-N air interface state.
- the AirInterface-1,...,AirInterface-N link is broken, the Line-1 association is interrupted.
- the AirInterface-1,...,AirInterface-N link is restored, the Line-1 association is restored.
- FIG. 10 is a schematic diagram of a method for transparently transmitting protocol packets according to an embodiment of the present invention.
- an LACP protocol packet is processed by the LACP transparent transmission port PORT-1, and is converted into a microwave link.
- the non-LACP packet can be transparently transmitted to the peer LACP transparent port PORT-2 through the microwave link. After the PORT-2 is restored, the LACP packet is restored.
- a method for transparently transmitting two protocol packets is shown in FIG.
- method 1 MAC-in-MAC method, MAC-in-MAC encapsulation of LACP protocol packets in PORT-1, outer layer SOURCE-encapsulated
- the MAC address is the same as the original LACP packet source MAC address, and the encapsulated outer COMMON-MAC is the ordinary packet MAC (that is, the non-LACP protocol MAC).
- Method 2 The MAC replacement method is to replace the destination MAC address of the LACP protocol packet, that is, the LACP-MAC, in the PORT-1, and replace the outer COMMON-MAC as the normal packet MAC (that is, the non-LACP protocol MAC).
- FIG. 11 is a physical connection diagram of a two-level cascading aggregation system according to a preferred embodiment of the present invention.
- the switching device 1 and the switching device 1 ′ are aggregated through a microwave link group, and are transparently transmitted through the LACP port. With the transparent transmission path, a secondary cascade aggregation is performed.
- the microwave link aggregation group set may be a set of microwave link aggregation groups composed of multiple microwave devices.
- a two-level cascade polymerization method includes:
- Step 1 The LINK-1, LINK-2, ..., LINK-N of the switching device 1 form an aggregation group;
- Step 2 LINK-1, LINK-2, ..., LINK-N of the switching device 1' constitute an aggregation group;
- Step 3 The switching devices 1 and 1' form a link aggregation through the links LINK-1, LINK-2, ..., LINK-N (corresponding to the above-mentioned first transmission device and the second transmission device being aggregated through the microwave link) Group aggregation for link aggregation);
- Step 4 the microwave device 1 and the microwave device 1' form a microwave link aggregation group through AirInterface-1, AirInterface-2, ..., AirInterface-N;
- Step 5 The microwave device 2 and the microwave device 2' form a microwave link aggregation group through AirInterface-1, AirInterface-2, ..., AirInterface-N;
- Step 6 the microwave device N and the microwave device N' form a microwave link aggregation group through AirInterface-1, AirInterface-2, ..., AirInterface-N;
- Step 7 The LACP transparent transmission port of the microwave device (1, 1'), (2, 2'), ..., (N, N') implements the transparent transmission function of the LACP packet, specifically, using the present invention.
- a method for transparent transmission of protocol messages in this way, in the case that the microwave link aggregation group microwave AirInterface adopts IEEE 802.3AD aggregation, the switching devices 1 and 1' can implement IEEE 802.3AD link aggregation through the microwave aggregation link to implement aggregation of the aggregation;
- step 8 the cascading aggregation of the N ⁇ N links of the switching device and the microwave device is implemented, which effectively expands the transmission capacity of the microwave device.
- Step 1 A link interruption occurs in the microwave devices AirInterface-1, ..., AirInterface-N;
- the Line-1 port of the microwave device is interrupted.
- the trigger mode includes (1) when any link of AirInterface-1, ..., AirInterface-N is interrupted, the Line-1 interrupt is triggered; (2) when the AirInterface-1, ..., AirInterface-N link is completely interrupted, Line-1 is triggered. Interrupted.
- Step 3 The link recovery occurs in the microwave devices AirInterface-1, ..., AirInterface-N.
- the Line-1 port of the microwave device is restored.
- the trigger mode includes (1) when any link of AirInterface-1, ..., AirInterface-N is restored, triggering Line-1 recovery; (2) when AirInterface-1, ..., AirInterface-N link is all restored, Line-1 is triggered. restore.
- Step 5 the link state transfer method is applied to the "second cascaded aggregation method" in the preferred embodiment 1:
- the microwave device automatically closes the LACP transparent transmission port of the device, thus triggering the LINK-N chain breaking, so that the switching device
- the port connected to the LINK-N exits the LACP group to implement the link backup function.
- the LINK-N connection port quickly exits the LACP group as the link is interrupted, ensuring the interruption of the link backup.
- the microwave device automatically restores the LACP transparent transmission port connection of the device, restores the LINK-N connection, and makes the switching device and the LINK
- the port connected to the -N is added to the LACP group to implement the link backup function.
- the LINK-N connection port rejoins the LACP group as the link is interrupted, ensuring that the link capacity can be quickly restored.
- the LACP packet enters the LACP transparent transmission port PORT-1 of the microwave device through LINE-1.
- the PORT-1 port of the microwave device 1 processes the LACP packet and converts it into a non-LACP packet format that can be restored.
- the processed LACP packet is transmitted to the LACP transparent transmission port PORT-2 of the microwave device 2 through the AiInterface, and the processed LACP packet is restored in the PORT-2 to restore the original LACP packet.
- Microwave AirInterface uses IEEE 802.3AD for aggregation
- exchange Devices 1 and 1' can implement IEEE 802.3AD link aggregation through a microwave link aggregation group to implement aggregation of aggregates.
- Method Example 1 MAC-in-MAC method, MAC-in-MAC encapsulation of LACP protocol packets in PORT-1, the outer SOURCE-MAC of the encapsulation is the same as the source MAC address of the original LACP protocol packet, and the outer COMMON of the encapsulation -
- the MAC is a normal message MAC (ie, not a LACP protocol MAC).
- the encapsulated packet is restored in PORT-2 to restore the LACP packet.
- the method of the method 2 is to replace the MAC address of the LACP protocol packet, that is, the LACP-MAC, and the outer COMMON-MAC is a normal packet MAC (that is, a non-LACP protocol MAC).
- the PORT-2 restores the replaced packet and restores the LACP packet.
- FIG. 11 a general description of a two-stage cascade polymerization method in FIG. 8 is made.
- the switching device 1 and the switching device 1' form a link aggregation through a "radio link aggregation group set";
- the "radio link aggregation group set” is a set of microwave link LACP aggregation groups composed of multiple microwave devices;
- the "Radio Link Aggregation Group Collection" LACP transparent transmission port and the LACP transparent transmission path are used to implement point-to-point transmission of LACP packets between LACP transparent transmission ports.
- the switching device in the preferred embodiment is equivalent to the first transmitting device and/or the second transmitting device in the foregoing embodiments 1 to 7.
- modules or steps of the present invention 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.
- the invention is not limited to any particular The combination of hardware and software.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Massaging Devices (AREA)
Abstract
Provided are an LACP aggregation system, and a transparent transmission method and apparatus for a protocol packet. The LACP aggregation system comprises: a first transmission device, a second transmission device and a microwave link aggregation group set, wherein the microwave link aggregation group set comprises two or more microwave link aggregation groups, and link aggregation is performed between the first transmission device and the second transmission device by means of the microwave link aggregation group set. The present invention solves the problem in the relevant art that a microwave transmission capacity cannot satisfy system requirements, thereby increasing the transmission capacity of an LACP aggregation system.
Description
本发明涉及微波通信技术领域,具体而言,涉及一种LACP聚合系统、协议报文的透传方法及装置。The present invention relates to the field of microwave communication technologies, and in particular, to a LACP aggregation system, a transparent transmission method and device for protocol messages.
相关技术中,微波设备的链路聚合一般采用基于IEEE802.3AD协议的链路聚合。即将微波设备的空口配置为链路汇聚控制协议(Link Aggregation Control Protocol,简称LACP)聚合组,在本申请中描述为微波链路聚合组,通过合适的分担算法,将数据在聚合组的成员空口进行负载分担。In the related art, link aggregation of a microwave device generally adopts link aggregation based on the IEEE802.3AD protocol. The air interface of the microwave device is configured as a Link Aggregation Control Protocol (LACP) aggregation group. In this application, it is described as a microwave link aggregation group, and the data is in the member air interface of the aggregation group by a suitable sharing algorithm. Perform load sharing.
这种系统存在的缺陷是,参与聚合的链路数量受限于微波设备的空口数量。当微波传输容量要求超过设备所有空口容量之和时,该系统无法满足要求。A disadvantage of such a system is that the number of links participating in the aggregation is limited by the number of air ports of the microwave device. When the microwave transmission capacity requirement exceeds the sum of all the air interface capacities of the equipment, the system cannot meet the requirements.
针对相关技术中的上述技术问题,目前尚未提出有效的解决方案。In view of the above technical problems in the related art, an effective solution has not yet been proposed.
发明内容Summary of the invention
本发明实施例提供了一种LACP聚合系统、协议报文的透传方法及装置,以至少解决相关技术中微波传输容量无法满足系统要求的问题。The embodiments of the present invention provide a LACP aggregation system and a transparent transmission method and device for protocol packets, so as to at least solve the problem that the microwave transmission capacity cannot meet the system requirements in the related art.
根据本发明的一个实施例,提供了一种链路汇聚控制协议LACP聚合系统,包括:第一传输设备、第二传输设备和微波链路聚合组集合;其中,微波链路聚合组集合包括两个或者两个以上的微波链路聚合组;第一传输设备和第二传输设备之间通过微波链路聚合组集合进行链路聚合。According to an embodiment of the present invention, a link aggregation control protocol LACP aggregation system is provided, including: a first transmission device, a second transmission device, and a microwave link aggregation group set; wherein the microwave link aggregation group set includes two One or more of the microwave link aggregation groups; the first transmission device and the second transmission device perform link aggregation through the microwave link aggregation group set.
可选地,每个微波链路聚合组由两台微波设备通过微波链路聚合组成。Optionally, each microwave link aggregation group is composed of two microwave devices that are aggregated through a microwave link.
可选地,微波设备上设置有透传端口,其中,透传端口面向于第一传输设备和/或第二传输设备,设置为对LACP协议报文或者非LACP协议
报文进行封装或者修改。Optionally, the microwave device is configured with a transparent transmission port, where the transparent transmission port faces the first transmission device and/or the second transmission device, and is configured to be an LACP protocol message or a non-LACP protocol.
The message is encapsulated or modified.
可选地,透传端口还设置为将LACP协议报文变换为非LACP协议报文或者将非LACP协议报文还原为LACP协议报文。Optionally, the transparent transmission port is further configured to convert the LACP protocol packet into a non-LACP protocol packet or restore the non-LACP protocol packet to the LACP protocol packet.
可选地,微波设备上还设置有多个空口,空口面向于对端微波设备,其中,透传端口与多个空口存在关联关系;其中,关联关系包括以下至少之一:在多个空口中的至少一个空口断链时,透传端口被关闭;在多个空口全部断链时,透传端口才被关闭;在多个空口中的至少一个空口恢复连接时,透传端口被恢复连接;在多个空口全部恢复连接时,透传端口才被恢复连接。Optionally, the microwave device is further configured with a plurality of air interfaces, wherein the air interface is configured to be associated with the air interface, wherein the transparent transmission port is associated with the plurality of air interfaces; wherein the association relationship includes at least one of the following: When at least one air interface is broken, the transparent transmission port is closed; when all the air interfaces are broken, the transparent transmission port is closed; when at least one of the plurality of air interfaces is restored, the transparent transmission port is restored; When all the air interfaces are restored, the transparent transmission port is restored.
根据本发明的一个实施例,提供了一种协议报文的透传方法,应用于上述的LACP聚合系统,包括:通过微波链路聚合组集合中的微波设备上的链路汇聚控制协议LACP透传端口将链路汇聚控制协议LACP协议报文转化为非LACP协议报文;通过微波链路将非LACP协议报文透传至对端LACP透传端口;通过对端LACP透传端口将非LACP协议报文还原为LACP协议报文;其中,对端LACP透传端口位于与微波设备通过微波链路聚合的对端微波设备上。According to an embodiment of the present invention, a method for transparently transmitting a protocol packet is provided, which is applied to the LACP aggregation system, and includes: the link aggregation control protocol LACP through the microwave device in the aggregation group of the microwave link aggregation group The port is configured to translate the link aggregation control protocol LACP packets into non-LACP packets. The non-LACP packets are transparently transmitted to the peer LACP transparent transmission port through the radio link. The peer LACP transparent transmission port is not LACP. The protocol packet is restored to the LACP protocol packet. The peer LACP transparent transmission port is located on the peer microwave device that is aggregated with the microwave device through the microwave link.
可选地,通过微波链路聚合组集合中的微波设备上的LACP透传端口将链路汇聚控制协议LACP协议报文转化为非LACP协议报文包括以下之一:通过LACP透传端口将LACP协议报文封装为非LACP协议报文;通过LACP透传端口将LACP协议报文修改为非LACP协议报文。Optionally, the LACP transparent transmission port on the microwave device in the aggregation group of the microwave link aggregation group converts the link aggregation control protocol LACP protocol packet into a non-LACP protocol packet, including one of the following: LACP through the LACP transparent transmission port The protocol packet is encapsulated as a non-LACP packet. The LACP packet is translated to a non-LACP packet.
可选地,通过LACP透传端口将LACP协议报文封装为非LACP协议报文包括:通过LACP透传端口以LACP协议报文源媒体访问控制MAC和普通报文MAC对LACP协议报文进行封装;得到非LACP协议报文。Optionally, the LACP protocol packet is encapsulated into a non-LACP protocol packet by using the LACP transparent transmission port, and the LACP protocol packet is encapsulated by the source media access control MAC address and the normal packet MAC address of the LACP packet. Get a non-LACP protocol message.
可选地,通过LACP透传端口将LACP协议报文修改为非LACP协议报文包括:通过LACP透传端口将LACP协议报文中的LACP MAC替换为普通报文MAC。Optionally, the LACP protocol packet is modified to a non-LACP protocol packet by using the LACP transparent transmission port, and the LACP MAC address in the LACP protocol packet is replaced with the normal packet MAC address.
可选地,通过对端LACP透传端口将非LACP协议报文还原为LACP
协议报文包括以下之一:通过对端LACP透传端口将非LACP协议报文解封装为LACP协议报文;通过对端LACP透传端口将非LACP协议报文修改为LACP协议报文。Optionally, the non-LACP protocol packet is restored to LACP through the peer LACP transparent transmission port.
The protocol packet includes one of the following: the non-LACP protocol packet is decapsulated into the LACP protocol packet through the peer LACP transparent transmission port; the non-LACP protocol packet is modified to the LACP protocol packet through the peer LACP transparent transmission port.
可选地,通过对端LACP透传端口将非LACP协议报文解封装为LACP协议报文包括:通过对端LACP透传端口以普通报文MAC和LACP协议报文源MAC依次对LACP协议报文进行解封装;得到LACP协议报文。Optionally, the un-LACP protocol packet is decapsulated into the LACP protocol packet by the peer LACP transparent transmission port, and the LACP protocol packet is sequentially sent to the LACP transparent transmission port by using the common packet MAC address and the LACP protocol source MAC address. The file is decapsulated; the LACP protocol packet is obtained.
可选地,通过对端LACP透传端口将非LACP协议报文修改为LACP协议报文包括:通过对端LACP透传端口将非LACP协议报文中的普通报文MAC修改为LACP MAC。Optionally, the non-LACP protocol packet is modified to the LACP protocol packet by the peer LACP transparent transmission port, and the MAC address of the common packet in the non-LACP protocol packet is modified to be the LACP MAC address.
根据本发明的一个实施例,提供了一种协议报文的透传方法,包括:接收第一传输设备发送的链路汇聚控制协议LACP协议报文;将接收到的LACP协议报文转化为非LACP协议报文;将转化后的非LACP协议报文通过微波设备之间的微波链路透传到对端透传端口;其中,对端透传端口位于对端微波设备中且面对于第二传输设备;第一传输设备与第二传输设备之间通过微波设备进行了聚合,微波设备之间通过微波链路进行了聚合。According to an embodiment of the present invention, a transparent transmission method of a protocol packet is provided, which includes: receiving a link aggregation control protocol LACP protocol packet sent by a first transmission device; and converting the received LACP protocol packet into a non-transmission The LACP protocol packet is transmitted to the peer transparent transmission port through the microwave link between the microwave devices. The peer transparent transmission port is located in the opposite microwave device and faces the second transmission. The device is aggregated by the microwave device between the first transmission device and the second transmission device, and the microwave devices are aggregated through the microwave link.
可选地,将接收到的LACP协议报文转化为非LACP协议报文包括以下之一:将LACP协议报文封装为非LACP协议报文;将LACP协议报文修改为非LACP协议报文。Optionally, the LACP protocol packet is converted into a non-LACP protocol packet, and the LACP protocol packet is encapsulated into a non-LACP protocol packet, and the LACP protocol packet is modified into a non-LACP protocol packet.
可选地,将LACP协议报文封装为非LACP协议报文包括:以LACP协议报文源媒体访问控制MAC和普通报文MAC对LACP协议报文进行封装;得到非LACP协议报文。Optionally, the LACP protocol packet is encapsulated into a non-LACP protocol packet, and the LACP protocol packet is encapsulated by the source media access control MAC address and the normal packet MAC address, and the non-LACP protocol packet is obtained.
可选地,将LACP协议报文修改为非LACP协议报文包括:将LACP协议报文中的LACP MAC替换为普通报文MAC。Optionally, the LACP protocol packet is modified to a non-LACP protocol packet, including: replacing the LACP MAC address in the LACP protocol packet with the normal packet MAC address.
根据本发明的一个实施例,提供了一种链路状态传递方法,应用于上述的LACP聚合系统,包括:检测微波链路聚合组中的微波设备上的空口的空口状态;在检测到空口状态发生变化的情况下,触发微波设备上的透
传端口状态发生变化;其中,空口面向于微波链路聚合组中的对端微波设备,透传端口面向于与微波设备进行交互的传输设备。According to an embodiment of the present invention, a link state delivery method is provided, which is applied to the foregoing LACP aggregation system, including: detecting an air interface state of an air interface on a microwave device in a microwave link aggregation group; Triggering on the microwave device in the event of a change
The state of the port is changed. The air interface is for the peer microwave device in the microwave link aggregation group, and the transparent port is for the transmission device that interacts with the microwave device.
可选地,在检测到空口状态发生变化的情况下,触发微波设备上的透传端口状态发生变化包括以下至少之一:在检测到微波设备的至少一个空口的空口状态变化的情况下,触发透传端口状态发生变化;在检测到微波设备的全部空口的空口状态都发生变化的情况下,才触发透传端口状态发生变化。Optionally, in the case that the state of the air interface is detected to be changed, the change of the state of the transparent transmission port on the triggering microwave device includes at least one of the following: triggering the air interface state change of the at least one air interface of the microwave device is triggered. The state of the transparent transmission port changes. When the state of the air interface of all the air interfaces of the microwave device is detected to change, the state of the transparent transmission port changes.
可选地,空口状态包括:断链或者恢复断链;透传端口状态包括:关闭或者开启。Optionally, the air interface status includes: breaking the link or restoring the broken link; and the transparent port status includes: turning off or on.
根据本发明的一个实施例,提供了一种协议报文的透传装置,位于微波设备中,包括:接收模块,设置为接收第一传输设备发送的链路汇聚控制协议LACP协议报文;转化模块,设置为将接收到的LACP协议报文转化为非LACP协议报文;发送模块,设置为将转化后的非LACP协议报文通过微波设备之间的微波链路透传到对端透传端口;其中,对端透传端口位于对端微波设备中且面对于第二传输设备;第一传输设备与第二传输设备之间通过微波设备进行了聚合,微波设备之间通过微波链路进行了聚合。According to an embodiment of the present invention, a device for transmitting a protocol packet is provided, which is located in a microwave device, and includes: a receiving module, configured to receive a link aggregation control protocol LACP protocol packet sent by the first transmission device; The module is configured to convert the received LACP protocol packet into a non-LACP protocol packet, and the sending module is configured to transparently transmit the translated non-LACP protocol packet to the peer transparent transmission port through the microwave link between the microwave devices. The peer transparent transmission port is located in the opposite microwave device and faces the second transmission device; the first transmission device and the second transmission device are aggregated by the microwave device, and the microwave devices are performed through the microwave link. polymerization.
可选地,转化模块还设置为以下之一:将LACP协议报文封装为非LACP协议报文;将LACP协议报文修改为非LACP协议报文。Optionally, the conversion module is further configured to: encapsulate the LACP protocol packet into a non-LACP protocol packet, and modify the LACP protocol packet to be a non-LACP protocol packet.
可选地,转化模块,还设置为以LACP协议报文源媒体访问控制MAC和普通报文MAC对LACP协议报文进行封装;得到非LACP协议报文。Optionally, the conversion module is further configured to encapsulate the LACP protocol packet by using the LACP protocol source media access control MAC address and the common packet MAC address, and obtain the non-LACP protocol packet.
可选地,转化模块,还设置为将LACP协议报文中的LACP MAC替换为普通报文MAC。Optionally, the conversion module is further configured to replace the LACP MAC address in the LACP protocol message with the normal message MAC address.
根据本发明的一个实施例,提供了一种链路状态传递装置,包括:检测模块,设置为检测微波链路聚合组中的微波设备上的空口的空口状态;触发模块,设置为在检测到空口状态发生变化的情况下,触发微波设备上的透传端口状态发生变化;其中,空口面向于微波链路聚合组中的对端微波设备,透传端口面向于与微波设备进行交互的传输设备。
According to an embodiment of the present invention, a link state transmission apparatus is provided, including: a detection module configured to detect an air interface state of an air interface on a microwave device in a microwave link aggregation group; and a trigger module configured to detect When the state of the air interface changes, the state of the transparent transmission port on the triggering microwave device changes. The air interface faces the peer microwave device in the microwave link aggregation group, and the transparent transmission port faces the transmission device that interacts with the microwave device. .
可选地,触发模块还设置为以下至少之一:在检测到微波设备的至少一个空口的空口状态变化的情况下,触发透传端口状态发生变化;在检测到微波设备的全部空口的空口状态都发生变化的情况下,才触发透传端口状态发生变化。Optionally, the triggering module is further configured to: at least one of the following: when detecting an air interface state change of the at least one air interface of the microwave device, triggering a change of the state of the transparent transmission port; detecting an air interface state of all the air interfaces of the microwave device The state of the transparent transmission port changes only when the change occurs.
可选地,空口状态包括:断链或者恢复断链;透传端口状态包括:关闭或者开启。Optionally, the air interface status includes: breaking the link or restoring the broken link; and the transparent port status includes: turning off or on.
根据本发明的一个实施例,提供了一种微波设备,包括:透传端口和空口;透传端口,设置为接收第一传输设备发送的链路汇聚控制协议LACP协议报文;将接收到的LACP协议报文转化为非LACP协议报文;空口将转化后的非LACP协议报文通过微波设备之间的微波链路透传到对端透传端口;其中,对端透传端口位于对端微波设备中且面对于第二传输设备;第一传输设备与第二传输设备之间通过微波设备进行了聚合,微波设备之间通过微波链路进行了聚合。According to an embodiment of the present invention, a microwave device includes: a transparent transmission port and an air interface; and a transparent transmission port, configured to receive a link aggregation control protocol LACP protocol packet sent by the first transmission device; The LACP packet is translated into the non-LACP packet. The air interface transmits the translated non-LACP packet to the peer transparent transmission port through the microwave link between the microwave devices. The peer transparent transmission port is located at the peer microwave. The device is in the middle of the second transmission device; the first transmission device and the second transmission device are aggregated by the microwave device, and the microwave devices are aggregated through the microwave link.
可选地,透传端口还设置为以下之一:将LACP协议报文封装为非LACP协议报文;将LACP协议报文修改为非LACP协议报文。Optionally, the transparent transmission port is further configured to: encapsulate the LACP protocol packet into a non-LACP protocol packet, and modify the LACP protocol packet to be a non-LACP protocol packet.
可选地,透传端口,还设置为以LACP协议报文源媒体访问控制MAC和普通报文MAC对LACP协议报文进行封装;得到非LACP协议报文。Optionally, the transparent transmission port is further configured to encapsulate the LACP protocol packet by using the LACP protocol source media access control MAC address and the common packet MAC address, and obtain the non-LACP protocol packet.
可选地,透传端口,还设置为将LACP协议报文中的LACP MAC替换为普通报文MAC。Optionally, the transparent transmission port is further configured to replace the LACP MAC address in the LACP protocol packet with the normal packet MAC address.
可选地,透传端口与多个空口存在关联关系;其中,关联关系包括以下至少之一:在多个空口中的至少一个空口断链时,透传端口被关闭;在多个空口全部断链时,透传端口才被关闭;在多个空口中的至少一个空口恢复连接时,透传端口被恢复连接;在多个空口全部恢复连接时,透传端口才被恢复连接。Optionally, the transparent transmission port has an association relationship with the multiple air interfaces. The association relationship includes at least one of the following: when at least one of the plurality of air interfaces is broken, the transparent transmission port is closed; and the multiple air interfaces are all broken. When the chain is connected, the transparent transmission port is closed; when at least one of the multiple air interfaces resumes the connection, the transparent transmission port is restored; when the multiple air interfaces are all restored, the transparent transmission port is restored.
根据本发明的又一个实施例,还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:接收第一传输设备发送的链路汇聚控制协议LACP协议报文;将接收到的LACP协议报文转化为非LACP
协议报文;将转化后的非LACP协议报文通过微波设备之间的微波链路透传到对端透传端口;其中,对端透传端口位于对端微波设备中且面对于第二传输设备;第一传输设备与第二传输设备之间通过微波设备进行了聚合,微波设备之间通过微波链路进行了聚合。According to still another embodiment of the present invention, a storage medium is also provided. The storage medium is configured to store a program code for performing the following steps: receiving a link aggregation control protocol LACP protocol packet sent by the first transmission device, and converting the received LACP protocol packet into a non-LACP
The protocol packet is transmitted to the peer transparent transmission port through the microwave link between the microwave devices. The peer transparent transmission port is located in the opposite microwave device and faces the second transmission device. The first transmission device and the second transmission device are aggregated by the microwave device, and the microwave devices are aggregated through the microwave link.
根据本发明的又一个实施例,还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:检测微波链路聚合组中的微波设备上的空口的空口状态;在检测到空口状态发生变化的情况下,触发微波设备上的透传端口状态发生变化;其中,空口面向于微波链路聚合组中的对端微波设备,透传端口面向于与微波设备进行交互的传输设备。According to still another embodiment of the present invention, a storage medium is also provided. The storage medium is configured to store program code for performing the following steps: detecting an air interface state of an air interface on a microwave device in a microwave link aggregation group; triggering a transparent transmission on the microwave device when a change in the state of the air interface is detected The state of the port changes. The air interface faces the peer microwave device in the microwave link aggregation group, and the transparent transmission port faces the transmission device that interacts with the microwave device.
通过本发明,由于LACP聚合系统中的第一传输设备与第二传输设备之间通过微波链路聚合组集合进行了聚合,微波链路聚合组集合中包括微波链路聚合组;即LACP聚合系统进行了两级聚合,增加了LACP聚合系统的传输容量,可以解决相关技术中微波传输容量无法满足系统要求的问题。According to the present invention, the first transmission device and the second transmission device in the LACP aggregation system are aggregated by the microwave link aggregation group set, and the microwave link aggregation group includes the microwave link aggregation group; that is, the LACP aggregation system. Two-stage aggregation has been carried out, which increases the transmission capacity of the LACP aggregation system, and can solve the problem that the microwave transmission capacity cannot meet the system requirements in the related art.
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例提供的LACP聚合系统的结构示意图;1 is a schematic structural diagram of an LACP aggregation system according to an embodiment of the present invention;
图2是根据本发明实施例提供的一种协议报文的透传方法的流程示意图一;2 is a schematic flowchart 1 of a method for transparently transmitting protocol packets according to an embodiment of the present invention;
图3是根据本发明实施例提供的一种协议报文的透传方法的流程示意图二;3 is a second schematic flowchart of a method for transparently transmitting protocol packets according to an embodiment of the present invention;
图4是根据本发明实施例所提供的协议报文的链路状态传递方法的流程示意图;4 is a schematic flowchart of a link state delivery method of protocol packets according to an embodiment of the present invention;
图5是根据本发明实施例的协议报文的透传装置的结构框图;
FIG. 5 is a structural block diagram of a transparent transmission apparatus for protocol packets according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的链路状态传递装置的结构框图;6 is a structural block diagram of a link state transfer apparatus according to an embodiment of the present invention;
图7是根据本发明实施例提供的微波设备的结构框图;7 is a structural block diagram of a microwave device according to an embodiment of the present invention;
图8是根据本发明优选实施例提供的二级级联的聚合系统的物理连接图;Figure 8 is a physical connection diagram of a two-stage cascade polymerization system provided in accordance with a preferred embodiment of the present invention;
图9是根据本发明优选实施例提供的一种链路状态传递方法的示意图;FIG. 9 is a schematic diagram of a link state delivery method according to a preferred embodiment of the present invention; FIG.
图10是根据本发明实施例提供的一种协议报文透传的方法的示意图;FIG. 10 is a schematic diagram of a method for transparently transmitting protocol packets according to an embodiment of the present invention;
图11是根据本发明优选实施例提供的二级级联的聚合系统的物理连接图。11 is a physical connection diagram of a two-stage cascade polymerization system provided in accordance with a preferred embodiment of the present invention.
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention 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 invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
实施例1Example 1
本申请实施例提供了一种链路汇聚控制协议LACP聚合系统,图1是根据本发明实施例提供的LACP聚合系统的结构示意图,如图1所示,包括:第一传输设备10、第二传输设备12和微波链路聚合组集合14;其中,微波链路聚合组集合14包括两个或者两个以上的微波链路聚合组;第一传输设备10和第二传输设备10之间通过微波链路聚合组集合14进行链路聚合。The embodiment of the present application provides a link aggregation control protocol LACP aggregation system. FIG. 1 is a schematic structural diagram of an LACP aggregation system according to an embodiment of the present invention. As shown in FIG. 1 , the first transmission device 10 and the second The transmission device 12 and the microwave link aggregation group set 14; wherein the microwave link aggregation group set 14 includes two or more microwave link aggregation groups; the first transmission device 10 and the second transmission device 10 pass microwaves The link aggregation group set 14 performs link aggregation.
通过上述LACP聚合系统,第一传输设备与第二传输设备之间通过微波链路聚合组集合进行了聚合,微波链路聚合组集合中包括微波链路聚合组;即LACP聚合系统进行了两级聚合,增加了LACP聚合系统的传输容量,可以解决相关技术中微波传输容量无法满足系统要求的问题。The first transmission device and the second transmission device are aggregated by the aggregation group of the microwave link aggregation group, and the microwave link aggregation group includes the microwave link aggregation group; that is, the LACP aggregation system performs two levels. The aggregation increases the transmission capacity of the LACP aggregation system, and can solve the problem that the microwave transmission capacity cannot meet the system requirements in the related art.
需要说明的是,微波链路聚合组可以由两台微波设备通过微波链路聚
合组成。It should be noted that the microwave link aggregation group can be aggregated by two microwave devices through a microwave link.
Composition.
在本发明的一个实施例中,微波设备上设置有透传端口,其中,透传端口面向于第一传输设备和/或第二传输设备,设置为对LACP协议报文或者非LACP协议报文进行封装或者修改。In an embodiment of the present invention, the microwave device is provided with a transparent transmission port, wherein the transparent transmission port is configured to be a first transmission device and/or a second transmission device, and is configured to be an LACP protocol message or a non-LACP protocol message. Package or modify.
需要说明的是,在面向与第一传输设备的透传端口用于对LACP协议报文进行封装或者修改的情况下,面向与第二传输设备的透传端口用于对非LACP协议报文进行解封装或者修改;反之,在面向与第二传输设备的透传端口设置为对LACP协议报文进行封装或者修改的情况下,面向与第一传输设备的透传端口设置为对非LACP协议报文进行解封装或者修改。It should be noted that, when the transparent transmission port facing the first transmission device is used to encapsulate or modify the LACP protocol packet, the transparent transmission port facing the second transmission device is used to perform the non-LACP protocol packet. Decapsulation or modification; if the transparent transmission port facing the second transmission device is set to encapsulate or modify the LACP protocol packet, the transparent transmission port facing the first transmission device is set to the non-LACP protocol packet. The text is decapsulated or modified.
在本发明的一个实施例中,透传端口还设置为将LACP协议报文变换为非LACP协议报文或者将非LACP协议报文还原为LACP协议报文。In an embodiment of the present invention, the transparent transmission port is further configured to convert the LACP protocol packet into a non-LACP protocol packet or restore the non-LACP protocol packet to an LACP protocol packet.
需要说明的是,将LACP协议报文变换为非LACP协议报文可以表现为:通过LACP透传端口以LACP协议报文源媒体访问控制MAC和普通报文MAC对LACP协议报文进行封装;得到非LACP协议报文;或者,将LACP协议报文中的LACP MAC替换为普通报文MAC。It should be noted that the LACP protocol packet is translated into a non-LACP protocol packet, and the LACP protocol packet is encapsulated by the source media access control MAC address and the normal packet MAC address of the LACP packet. The LACP MAC address of the LACP protocol packet is replaced with the normal packet MAC address.
将非LACP协议报文还原为LACP协议报文可以表现为:通过对端LACP透传端口以普通报文MAC和与LACP协议报文源MAC依次对LACP协议报文进行解封装,得到LACP协议报文;或者,通过对端LACP透传端口将非LACP协议报文中的普通报文MAC修改为LACP MAC。The LACP protocol packet is restored to the LACP protocol packet. The LACP protocol packet is decapsulated by the common MAC address and the source MAC address of the LACP packet. Or, the MAC address of the ordinary packet in the non-LACP protocol packet is changed to the LACP MAC through the peer LACP transparent transmission port.
通过上述透传端口,使得可以对LACP协议报文进行封装或者修改,进而使处理后的报文可以通过符合标准协议IEEE802.3AD的聚合链路进行透传,而不会影响IEEE802.3AD链路聚合。The transparent transmission port can be used to encapsulate or modify the LACP protocol packet, so that the processed packet can be transparently transmitted through the aggregated link conforming to the standard protocol IEEE802.3AD without affecting the IEEE802.3AD link. polymerization.
在本发明的一个实施例中,上述微波设备上还设置有多个空口,空口面向于对端微波设备,其中,上述透传端口与多个空口存在关联关系;其中,关联关系可以包括以下至少之一:在多个空口中的至少一个空口断链时,透传端口被关闭;在多个空口全部断链时,透传端口才被关闭;在多个空口中的至少一个空口恢复连接时,透传端口被恢复连接;在多个空口
全部恢复连接时,透传端口才被恢复连接。通过透传端口与多个空口之间的关联关系可以实现链路状态的传递,实现链路的备份功能。In an embodiment of the present invention, the microwave device is further provided with a plurality of air interfaces, and the air interface is configured to face the peer microwave device, wherein the transparent transmission port is associated with the plurality of air interfaces; wherein the association relationship may include at least the following One: when at least one of the plurality of air interfaces is broken, the transparent transmission port is closed; when all the air interfaces are broken, the transparent transmission port is closed; when at least one of the plurality of air interfaces is restored , the transparent transmission port is restored; in multiple air interfaces
The transparent port is restored when all connections are restored. The link state can be transmitted through the association between the transparent transmission port and multiple air interfaces, and the link backup function is implemented.
需要说明的是,上述第一传输设备和/或第二传输设备可以为支持IEEE802.3AD聚合的传输设备,上述微波设备可以是支持IEEE802.3AD聚合的微波设备,但并不限于此。It should be noted that the foregoing first transmission device and/or the second transmission device may be a transmission device supporting IEEE802.3AD aggregation, and the foregoing microwave device may be a microwave device supporting IEEE802.3AD aggregation, but is not limited thereto.
实施例2Example 2
本申请实施例还提供了一种协议报文的透传方法,应用于实施例1的LACP聚合系统,图2是根据本发明实施例提供的一种协议报文的透传方法的流程示意图一,如图2所示,该透传方法包括:The embodiment of the present application further provides a transparent transmission method of a protocol packet, which is applied to the LACP aggregation system of the first embodiment, and FIG. 2 is a schematic flowchart of a method for transparently transmitting protocol packets according to an embodiment of the present invention. As shown in FIG. 2, the transparent transmission method includes:
步骤S202,通过微波链路聚合组集合中的微波设备上的链路汇聚控制协议LACP透传端口将链路汇聚控制协议LACP协议报文转化为非LACP协议报文;In step S202, the link aggregation control protocol LACP transparent packet is converted into a non-LACP protocol packet by the link aggregation control protocol LACP transparent transmission port on the microwave device in the microwave link aggregation group set.
步骤S204,通过微波链路将非LACP协议报文透传至对端LACP透传端口;Step S204: The non-LACP protocol packet is transparently transmitted to the peer LACP transparent transmission port through the microwave link.
步骤S206,通过对端LACP透传端口将非LACP协议报文还原为LACP协议报文;其中,对端LACP透传端口位于与微波设备通过微波链路聚合的对端微波设备上。Step S206: The non-LACP protocol packet is restored to the LACP protocol packet by the peer LACP transparent transmission port. The peer LACP transparent transmission port is located on the peer microwave device that is aggregated with the microwave device through the microwave link.
通过上述步骤,可以使得应用于实施例1中的LACP聚合系统中的方法在LACP报文的传输过程中,可以对LACP协议报文进行转化,使处理后的报文可以通过符合标准协议IEEE802.3AD的聚合链路进行透传,而不会影响IEEE802.3AD链路聚合。Through the above steps, the method applied to the LACP aggregation system in Embodiment 1 can convert the LACP protocol packet during the transmission of the LACP packet, so that the processed packet can pass the standard protocol IEEE802. The aggregated link of 3AD is transparently transmitted without affecting IEEE802.3AD link aggregation.
在本发明的一个实施例中,通过微波链路聚合组集合中的微波设备上的LACP透传端口将链路汇聚控制协议LACP协议报文转化为非LACP协议报文可以包括以下之一:通过LACP透传端口将LACP协议报文封装为非LACP协议报文;通过LACP透传端口将LACP协议报文修改为非LACP协议报文。In one embodiment of the present invention, the LACP transparent transmission port on the microwave device in the microwave link aggregation group set converts the link aggregation control protocol LACP protocol packet into a non-LACP protocol packet, which may include one of the following: The LACP transparent transmission port encapsulates LACP packets as non-LACP packets. The LACP transparent transmission port modifies LACP packets to non-LACP packets.
需要说明的是,通过LACP透传端口将LACP协议报文封装为非
LACP协议报文可以包括:通过LACP透传端口以LACP协议报文源媒体访问控制MAC和普通报文MAC对LACP协议报文进行封装;得到非LACP协议报文。The LACP protocol packet is encapsulated as a non-transparent port through the LACP transparent transmission port.
The LACP protocol packet may include: the LACP transparent transmission port encapsulates the LACP protocol packet with the source media access control MAC address and the common packet MAC address of the LACP protocol packet; and obtains the non-LACP protocol packet.
需要说明的是,通过LACP透传端口将LACP协议报文修改为非LACP协议报文可以包括:通过LACP透传端口将LACP协议报文中的LACP MAC替换为普通报文MAC。The LACP protocol packet is modified to be a non-LACP packet through the LACP transparent transmission port. The LACP MAC address of the LACP packet is replaced with the normal packet MAC address.
在本发明的一个实施例中,通过对端LACP透传端口将非LACP协议报文还原为LACP协议报文可以包括以下之一:通过对端LACP透传端口将非LACP协议报文解封装为LACP协议报文;通过对端LACP透传端口将非LACP协议报文修改为LACP协议报文。In an embodiment of the present invention, the non-LACP protocol packet is re-encapsulated by the peer LACP transparent transmission port to the LACP protocol packet by the peer LACP transparent transmission port. The LACP protocol packet is modified. The non-LACP protocol packet is modified to be the LACP protocol packet.
需要说明的是,通过对端LACP透传端口将非LACP协议报文解封装为LACP协议报文可以包括:通过对端LACP透传端口以普通报文MAC和与LACP协议报文源MAC依次对LACP协议报文进行解封装;得到LACP协议报文。It should be noted that the non-LACP protocol packet is decapsulated into the LACP protocol packet by the peer LACP transparent transmission port, which may include: the normal message MAC address and the source MAC address of the LACP protocol packet are sequentially transmitted through the peer LACP transparent transmission port. The LACP protocol packet is decapsulated; the LACP protocol packet is obtained.
需要说明的是,通过对端LACP透传端口将非LACP协议报文修改为LACP协议报文包括:通过对端LACP透传端口将非LACP协议报文中的普通报文MAC修改为LACP MAC。It is to be noted that the non-LACP protocol packet is modified into the LACP packet by the peer LACP transparent transmission port, and the MAC address of the common packet in the non-LACP protocol packet is modified to be the LACP MAC address.
需要说明的是,上述步骤的执行主体可以是实施例1中的LACP聚合系统,也可以是专门的一个执行工具来执行,但并不限于此。It should be noted that the execution body of the foregoing steps may be the LACP aggregation system in Embodiment 1, or may be performed by a dedicated execution tool, but is not limited thereto.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如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, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as 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 invention.
实施例3Example 3
本申请实施例还提供了一种协议报文的透传方法,图3是根据本发明实施例提供的一种协议报文的透传方法的流程示意图二,如图3所示,该透传方法包括:The embodiment of the present application further provides a transparent transmission method of a protocol packet, and FIG. 3 is a schematic flowchart 2 of a transparent transmission method of a protocol packet according to an embodiment of the present invention. As shown in FIG. 3, the transparent transmission is shown in FIG. Methods include:
步骤S302,接收第一传输设备发送的链路汇聚控制协议LACP协议报文;Step S302: Receive a link aggregation control protocol LACP protocol packet sent by the first transmission device.
步骤S304,将接收到的LACP协议报文转化为非LACP协议报文;Step S304: Convert the received LACP protocol packet into a non-LACP protocol packet.
步骤S306,将转化后的非LACP协议报文通过微波设备之间的微波链路透传到对端透传端口;其中,对端透传端口位于对端微波设备中且面对于第二传输设备;第一传输设备与第二传输设备之间通过微波设备进行了聚合,微波设备之间通过微波链路进行了聚合。Step S306, the translated non-LACP protocol packet is transparently transmitted to the peer transparent transmission port through the microwave link between the microwave devices; wherein the peer transparent transmission port is located in the opposite microwave device and faces the second transmission device; The first transmission device and the second transmission device are aggregated by the microwave device, and the microwave devices are aggregated through the microwave link.
通过上述步骤,第一传输设备与第二传输设备之间通过微波设备进行了聚合,微波设备之间通过微波链路进行了聚合,进而实现了LACP聚合的级联,增加了LACP聚合系统的传输容量,可以解决相关技术中微波传输容量无法满足系统要求的问题。Through the above steps, the first transmission device and the second transmission device are aggregated by the microwave device, and the microwave devices are aggregated through the microwave link, thereby implementing the cascade of LACP aggregation and increasing the transmission of the LACP aggregation system. The capacity can solve the problem that the microwave transmission capacity in the related art cannot meet the system requirements.
另外,通过上述步骤,使得在LACP报文的传输过程中,可以对LACP协议报文进行转化,使处理后的报文可以通过符合标准协议IEEE802.3AD的聚合链路进行透传,而不会影响IEEE802.3AD链路聚合。In addition, the foregoing steps enable the LACP protocol packet to be translated during the transmission of the LACP packet, so that the processed packet can be transparently transmitted through the aggregated link conforming to the standard protocol IEEE802.3AD. Affects IEEE802.3AD link aggregation.
在本发明的一个实施例中,上述步骤S304可以表现为以下之一:将LACP协议报文封装为非LACP协议报文;将LACP协议报文修改为非LACP协议报文。In an embodiment of the present invention, the foregoing step S304 may be performed as follows: the LACP protocol packet is encapsulated into a non-LACP protocol packet; and the LACP protocol packet is modified into a non-LACP protocol packet.
需要说明的是,将LACP协议报文封装为非LACP协议报文可以表现为:以LACP协议报文源媒体访问控制MAC和普通报文MAC对LACP协议报文进行封装;得到非LACP协议报文。It should be noted that the LACP protocol packet is encapsulated into a non-LACP protocol packet, which can be encapsulated by the source media access control MAC address and the normal packet MAC address of the LACP protocol packet to obtain the LACP protocol packet. .
需要说明的是,将LACP协议报文修改为非LACP协议报文包括:将LACP协议报文中的LACP MAC替换为普通报文MAC。
It should be noted that the LACP protocol packet is changed to the non-LACP protocol packet, including: replacing the LACP MAC address in the LACP protocol packet with the normal packet MAC address.
需要说明的是,上述步骤的执行主体可以是微波设备,具体的,可以是微波设备的透传端口,但并不限于此。It should be noted that the execution body of the foregoing steps may be a microwave device, and specifically, may be a transparent transmission port of the microwave device, but is not limited thereto.
需要说明的是,在对端透传端口接收到非LACP协议报文之后,上述方法还可以包括以下之一:对端透传端口将非LACP协议报文解封装为LACP协议报文;对端透传端口将非LACP协议报文修改为LACP协议报文。It should be noted that, after the peer transparent transmission port receives the non-LACP protocol packet, the method may further include the following: the peer transparent transmission port decapsulates the non-LACP protocol packet into the LACP protocol packet; The transparent transmission port modifies the non-LACP packets to LACP packets.
需要说明的是,对端透传端口将非LACP协议报文解封装为LACP协议报文包括:对端透传端口以普通报文MAC和与LACP协议报文源MAC依次对LACP协议报文进行解封装;得到LACP协议报文。It should be noted that the peer-to-peer port can decapsulate the non-LACP protocol packets into LACP packets. The peer-to-peer port transmits the LACP packets in the normal MAC address and the source MAC address of the LACP packets. Decapsulation; obtains LACP protocol packets.
需要说明的是,对端透传端口将非LACP协议报文修改为LACP协议报文包括:对端透传端口将非LACP协议报文中的普通报文MAC修改为LACP MAC。It should be noted that the peer transparent transmission port modifies the non-LACP protocol packet to the LACP protocol packet. The peer transparent transmission port modifies the MAC address of the common packet in the non-LACP protocol packet to the LACP MAC address.
本发明实施例还提供了一种协议报文的链路状态传递方法,应用于实施例1中的LACP聚合系统,图4是根据本发明实施例所提供的协议报文的链路状态传递方法的流程示意图,如图4所示,该流程包括:The embodiment of the present invention further provides a link state delivery method for protocol packets, which is applied to the LACP aggregation system in the first embodiment, and FIG. 4 is a link state transmission method for protocol packets according to an embodiment of the present invention. The flow chart is shown in Figure 4. The process includes:
步骤S402,检测微波链路聚合组中的微波设备上的空口的空口状态;Step S402, detecting an air interface state of the air interface on the microwave device in the microwave link aggregation group;
步骤S404,在检测到空口状态发生变化的情况下,触发微波设备上的透传端口状态发生变化;其中,空口面向于微波链路聚合组中的对端微波设备,透传端口面向于与微波设备进行交互的传输设备。Step S404, in the case that the state of the air interface is changed, the state of the transparent transmission port on the microwave device is changed. The air interface faces the opposite microwave device in the microwave link aggregation group, and the transparent transmission port faces the microwave. The device that the device interacts with.
通过上述步骤,可以实现链路的备份功能,在链路中断时可以保证链路备份的中断时延,或者在链路恢复时可以保证链路容量快速恢复。Through the above steps, the link backup function can be implemented. When the link is interrupted, the link backup interruption delay can be ensured, or the link capacity can be quickly restored when the link is restored.
在本发明的一个实施例中,上述步骤S404可以表现为以下至少之一:在检测到微波设备的至少一个空口的空口状态变化的情况下,触发透传端口状态发生变化;在检测到微波设备的全部空口的空口状态都发生变化的情况下,才触发透传端口状态发生变化。In an embodiment of the present invention, the foregoing step S404 may be performed as at least one of: triggering a change in the state of the transparent transmission port when detecting an air interface state change of the at least one air interface of the microwave device; detecting the microwave device The state of the transparent port is changed only when the air interface status of all the air ports changes.
需要说明的是,空口状态包括:断链或者恢复断链;透传端口状态包括:关闭或者开启。
It should be noted that the state of the air interface includes: breaking the chain or restoring the broken link; and the state of the transparent transmission port includes: closing or opening.
需要说明的是,链路状态传递方法的步骤的执行主体可以是微波设备,但并不限于此。It should be noted that the execution body of the step of the link state transfer method may be a microwave device, but is not limited thereto.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如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, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as 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 invention.
实施例4Example 4
在本实施例中还提供了一种协议报文的透传装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a transparent device for transmitting protocol packets is also provided. The device is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein. 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.
图5是根据本发明实施例的协议报文的透传装置的结构框图,如图5所示,该装置包括:FIG. 5 is a structural block diagram of a transparent transmission device for protocol packets according to an embodiment of the present invention. As shown in FIG. 5, the device includes:
接收模块52,设置为接收第一传输设备发送的链路汇聚控制协议LACP协议报文;The receiving module 52 is configured to receive a link aggregation control protocol LACP protocol packet sent by the first transmission device;
转化模块54,与接收模块52连接,设置为将接收到的LACP协议报文转化为非LACP协议报文;The conversion module 54 is connected to the receiving module 52, and is configured to convert the received LACP protocol packet into a non-LACP protocol packet.
发送模块56,与转化模块54连接,设置为将转化后的非LACP协议报文通过微波设备之间的微波链路透传到对端透传端口;其中,对端透传端口位于对端微波设备中且面对于第二传输设备;第一传输设备与第二传输设备之间通过微波设备进行了聚合,微波设备之间通过微波链路进行了聚合。
The sending module 56 is connected to the conversion module 54 and configured to transparently transmit the translated non-LACP protocol packets to the peer transparent transmission port through the microwave link between the microwave devices. The peer transparent transmission port is located at the opposite end microwave device. The medium transmission device is aggregated by the microwave device between the first transmission device and the second transmission device, and the microwave devices are aggregated through the microwave link.
通过上述装置,使得在LACP报文的传输过程中,可以对LACP协议报文进行转化,使处理后的报文可以通过符合标准协议IEEE802.3AD的聚合链路进行透传,而不会影响IEEE802.3AD链路聚合。并且第一传输设备与第二传输设备之间通过微波设备进行了聚合,微波设备之间通过微波链路进行了聚合,进而实现了LACP聚合的级联,增加了LACP聚合系统的传输容量,可以解决相关技术中微波传输容量无法满足系统要求的问题。Through the foregoing device, the LACP protocol packet can be converted during the transmission of the LACP packet, so that the processed packet can be transparently transmitted through the aggregated link conforming to the standard protocol IEEE802.3AD without affecting the IEEE802. .3AD link aggregation. And the first transmission device and the second transmission device are aggregated by the microwave device, and the microwave devices are aggregated through the microwave link, thereby implementing the cascading of the LACP aggregation, and increasing the transmission capacity of the LACP aggregation system. The problem that the microwave transmission capacity cannot meet the system requirements in the related art is solved.
在本发明的一个实施例中,上述转化模块54还可以设置为以下之一:将LACP协议报文封装为非LACP协议报文;将LACP协议报文修改为非LACP协议报文。In an embodiment of the present invention, the foregoing conversion module 54 may be configured to: encapsulate the LACP protocol packet into a non-LACP protocol packet; and modify the LACP protocol packet to a non-LACP protocol packet.
需要说明的是,上述转化模块54,还可以设置为以LACP协议报文源媒体访问控制MAC和普通报文MAC对LACP协议报文进行封装;得到非LACP协议报文。It should be noted that the foregoing conversion module 54 may be configured to encapsulate the LACP protocol packet by using the LACP protocol source media access control MAC address and the common packet MAC address, and obtain a non-LACP protocol packet.
需要说明的是,上述转化模块54,还可以设置为将LACP协议报文中的LACP MAC替换为普通报文MAC。It should be noted that the foregoing conversion module 54 may be further configured to replace the LACP MAC in the LACP protocol message with the normal message MAC address.
需要说明的是,上述装置可以位于微波设备中,但并不限于此。It should be noted that the above device may be located in the microwave device, but is not limited thereto.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。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.
实施例5Example 5
在本实施例中还提供了一种链路状态传递装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, a link state transfer device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been 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.
图6是根据本发明实施例的链路状态传递装置的结构框图,如图6所示,该装置包括:
FIG. 6 is a structural block diagram of a link state transfer apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus includes:
检测模块62,设置为检测微波链路聚合组中的微波设备上的空口的空口状态;The detecting module 62 is configured to detect an air interface state of the air interface on the microwave device in the microwave link aggregation group;
触发模块64,与上述检测模块62连接,设置为在检测到空口状态发生变化的情况下,触发微波设备上的透传端口状态发生变化;其中,空口面向于微波链路聚合组中的对端微波设备,透传端口面向于与微波设备进行交互的传输设备。The triggering module 64 is connected to the detecting module 62, and is configured to trigger a change in the state of the transparent transmitting port on the microwave device when the state of the air interface is changed. The air interface faces the opposite end of the microwave link aggregation group. In a microwave device, the transparent transmission port faces a transmission device that interacts with the microwave device.
通过上述装置,可以实现链路的备份功能,在链路中断时可以保证链路备份的中断时延,或者在链路恢复时可以保证链路容量快速恢复。Through the above device, the link backup function can be implemented. When the link is interrupted, the link backup interruption delay can be ensured, or the link capacity can be quickly restored when the link is restored.
需要说明的是,上述触发模块64还可以设置为以下至少之一:在检测到微波设备的至少一个空口的空口状态变化的情况下,触发透传端口状态发生变化;在检测到微波设备的全部空口的空口状态都发生变化的情况下,才触发透传端口状态发生变化。It should be noted that the triggering module 64 may be configured to: at least one of the following: when detecting an air interface state change of at least one air interface of the microwave device, triggering a change of the state of the transparent transmission port; detecting all the microwave devices The state of the transparent port is changed when the air interface status of the air interface changes.
需要说明的是,空口状态包括:断链或者恢复断链;透传端口状态包括:关闭或者开启。It should be noted that the state of the air interface includes: breaking the chain or restoring the broken link; and the state of the transparent transmission port includes: closing or opening.
需要说明的是,上述装置可以位于微波设备中,但并不限于此。It should be noted that the above device may be located in the microwave device, but is not limited thereto.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。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.
实施例6Example 6
在本申请实施例中还提供了一种微波设备,图7是根据本发明实施例提供的微波设备的结构框图,如图7所示,该微波设备包括:透传端口72和空口74;其中,A microwave device is provided in the embodiment of the present application. FIG. 7 is a structural block diagram of a microwave device according to an embodiment of the present invention. As shown in FIG. 7, the microwave device includes: a transparent transmission port 72 and an air interface 74; ,
透传端口72,设置为接收第一传输设备发送的链路汇聚控制协议LACP协议报文;将接收到的LACP协议报文转化为非LACP协议报文;The transparent transmission port 72 is configured to receive the link aggregation control protocol LACP protocol packet sent by the first transmission device, and convert the received LACP protocol packet into a non-LACP protocol packet.
空口74将转化后的非LACP协议报文通过微波设备之间的微波链路透传到对端透传端口;其中,对端透传端口位于对端微波设备中且面对于
第二传输设备;第一传输设备与第二传输设备之间通过微波设备进行了聚合,微波设备之间通过微波链路进行了聚合。The air interface 74 transmits the converted non-LACP protocol packet to the peer transparent transmission port through the microwave link between the microwave devices. The peer transparent transmission port is located in the opposite microwave device and faces the opposite end.
The second transmission device is configured to be aggregated by the microwave device between the first transmission device and the second transmission device, and the microwave devices are aggregated through the microwave link.
通过上述微波设备,使得在LACP报文的传输过程中,可以对LACP协议报文进行转化,使处理后的报文可以通过符合标准协议IEEE802.3AD的聚合链路进行透传,而不会影响IEEE802.3AD链路聚合。并且第一传输设备与第二传输设备之间通过微波设备进行了聚合,微波设备之间通过微波链路进行了聚合,进而实现了LACP聚合的级联,增加了LACP聚合系统的传输容量,可以解决相关技术中微波传输容量无法满足系统要求的问题。Through the above-mentioned microwave device, the LACP protocol packet can be converted during the transmission of the LACP packet, so that the processed packet can be transparently transmitted through the aggregated link conforming to the standard protocol IEEE802.3AD without affecting. IEEE 802.3AD link aggregation. And the first transmission device and the second transmission device are aggregated by the microwave device, and the microwave devices are aggregated through the microwave link, thereby implementing the cascading of the LACP aggregation, and increasing the transmission capacity of the LACP aggregation system. The problem that the microwave transmission capacity cannot meet the system requirements in the related art is solved.
需要说明的是,上述透传端口72还可以设置为以下之一:将LACP协议报文封装为非LACP协议报文;将LACP协议报文修改为非LACP协议报文。It should be noted that the transparent transmission port 72 may be configured as one of the following: the LACP protocol packet is encapsulated into a non-LACP protocol packet; and the LACP protocol packet is modified into a non-LACP protocol packet.
需要说明的是,上述透传端口72,还可以设置为以LACP协议报文源媒体访问控制MAC和普通报文MAC对LACP协议报文进行封装;得到非LACP协议报文。It should be noted that the transparent transmission port 72 may be configured to encapsulate the LACP protocol packet by using the source media access control MAC address and the normal packet MAC address of the LACP protocol packet, and obtain the non-LACP protocol packet.
需要说明的是,上述透传端口72,还可以设置为将LACP协议报文中的LACP MAC替换为普通报文MAC。It should be noted that the transparent transmission port 72 may be configured to replace the LACP MAC address in the LACP protocol packet with the normal packet MAC address.
需要说明的是,上述透传端口72与多个空口74存在关联关系;其中,关联关系包括以下至少之一:在多个空口74中的至少一个空口74断链时,透传端口被关闭;在多个空口74全部断链时,透传端口72才被关闭;在多个空口74中的至少一个空口74恢复连接时,透传端口72被恢复连接;在多个空口74全部恢复连接时,透传端口72才被恢复连接。It should be noted that the transparent transmission port 72 has a relationship with the plurality of air interfaces 74. The association relationship includes at least one of the following: when at least one of the plurality of air interfaces 74 is broken, the transparent transmission port is closed. When all of the plurality of air ports 74 are broken, the transparent transmission port 72 is closed; when at least one of the plurality of air ports 74 is restored, the transparent transmission port 72 is restored; when all the plurality of air ports 74 are restored. The transparent transmission port 72 is restored.
实施例7Example 7
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行实施例2或3中的方法的步骤的程序代码。
Embodiments of the present invention also provide a storage medium. Alternatively, in the present embodiment, the above storage medium may be set to store program code for executing the steps of the method in Embodiment 2 or 3.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行…Optionally, in this embodiment, the processor executes according to the stored program code in the storage medium.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行实施例2或3中的方法的步骤。Optionally, in the embodiment, the processor performs the steps of the method in Embodiment 2 or 3 according to the stored program code in the storage medium.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。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.
为了理解本发明实施例,以下结合优选实施例对本发明实施例做进一步解释。In order to understand the embodiments of the present invention, the embodiments of the present invention are further explained below in conjunction with the preferred embodiments.
本发明优选实施例提供了一种优选的技术方案:可以将微波设备在基于IEEE802.3AD聚合的基础上,组成LACP级联聚合系统(相当于上述的LACP聚合系统),有效增加微波设备的传输容量。A preferred embodiment of the present invention provides a preferred technical solution: the microwave device can be configured as an LACP cascading aggregation system (equivalent to the LACP aggregation system described above) based on the IEEE 802.3AD aggregation, thereby effectively increasing the transmission of the microwave device. capacity.
本发明优选实施例还提供了一种协议报文透传方法,将LACP协议报文进行某种处理,通过微波链路聚合组进行透传。该透传方法对LACP协议报文进行封装或特征修改,使处理之后的报文可以通过符合标准协议IEEE802.3AD的聚合链路进行透传,而不会影响IEEE802.3AD链路聚合。The preferred embodiment of the present invention further provides a method for transparently transmitting protocol packets, and performs LACP protocol packets to be transparently transmitted through the microwave link aggregation group. The transparent transmission method encapsulates or modifies the LACP protocol packet, so that the processed packet can be transparently transmitted through the aggregated link conforming to the standard protocol IEEE802.3AD without affecting the IEEE802.3AD link aggregation.
本发明优选实施例还提供了一种链路状态传递方法,将微波空口状态传递至指定端口,保证LACP级联聚合系统的链路备份功能及链路倒换时延。该方法通过将微波设备空口状态传递至指定线路口,当空口状态变化时,指定线路口状态随之变化。The preferred embodiment of the present invention further provides a link state transmission method, which transmits the state of the microwave air interface to the designated port, and ensures the link backup function and the link switching delay of the LACP cascading aggregation system. The method transmits the state of the air interface of the microwave device to the designated line port, and when the state of the air port changes, the state of the designated line port changes accordingly.
本发明优选实施例还提供了一种二级级联的聚合方法,传输设备可以通过微波链路建立LACP聚合,同时微波设备本身空口再次进行LACP聚合。通过两次聚合,有效实现了微波设备的传输容量。通过二级LACP级联聚合,有效扩充了微波设备的传输容量。通过链路状态传递方法,有效
保证LACP级联聚合系统的链路备份功能及链路倒换时延。The preferred embodiment of the present invention further provides a two-stage cascading aggregation method, in which the transmission device can establish LACP aggregation through the microwave link, and the microwave device itself performs LACP aggregation again. Through two aggregations, the transmission capacity of the microwave device is effectively realized. The secondary LACP cascade aggregation effectively expands the transmission capacity of the microwave device. Effective by link state transfer method
Ensure the link backup function and link switching delay of the LACP cascading aggregation system.
需要说明的是,上述交换设备可以为支持IEEE802.3AD聚合的交换设备,上述微波设备可以为支持IEEE802.3AD聚合的微波设备。It should be noted that the switching device may be a switching device that supports IEEE802.3AD aggregation, and the microwave device may be a microwave device that supports IEEE802.3AD aggregation.
图8是根据本发明优选实施例提供的LACP级联聚合系统的物理连接图,如图8所示,交换设备1和交换设备1’通过微波设备组成LACP聚合链路,同时,微波设备X和微波设备X’(1<=X<=N)通过微波链路再次聚合,实现了LACP聚合的级联。FIG. 8 is a physical connection diagram of a LACP cascading aggregation system according to a preferred embodiment of the present invention. As shown in FIG. 8, the switching device 1 and the switching device 1' form an LACP aggregation link through a microwave device, and at the same time, the microwave device X and The microwave device X' (1<=X<=N) is re-aggregated through the microwave link, and the cascade of LACP aggregation is realized.
图9是根据本发明优选实施例提供的一种链路状态传递方法的示意图,如图9所示,微波设备Line-1端口状态与AirInterface-1,…,AirInterface-N空口状态进行联动处理,当AirInterface-1,…,AirInterface-N链路中断时,Line-1关联中断。当AirInterface-1,…,AirInterface-N链路恢复时,Line-1关联恢复。FIG. 9 is a schematic diagram of a link state transfer method according to a preferred embodiment of the present invention. As shown in FIG. 9, the line state of the microwave device Line-1 is associated with the AirInterface-1, ..., AirInterface-N air interface state. When the AirInterface-1,...,AirInterface-N link is broken, the Line-1 association is interrupted. When the AirInterface-1,...,AirInterface-N link is restored, the Line-1 association is restored.
图10是根据本发明实施例提供的一种协议报文透传的方法的示意图,如图10所示,LACP协议报文经过LACP透传端口PORT-1的处理,在微波链路中转换为“非LACP报文”,可以通过微波链路透传至对端LACP透传端口PORT-2,经过PORT-2的还原处理,还原出LACP协议报文。图10中示出了两种协议报文透传方法;其中,方法1:MAC-in-MAC方法,在PORT-1对LACP协议报文进行MAC-in-MAC封装,封装的外层SOURCE-MAC与原LACP协议报文源MAC相同,封装的外层COMMON-MAC为普通报文MAC(即非LACP协议MAC)。方法2:MAC替换方法,在PORT-1对LACP协议报文目的MAC,即LACP-MAC进行替换,替换的外层COMMON-MAC为普通报文MAC(即非LACP协议MAC)。FIG. 10 is a schematic diagram of a method for transparently transmitting protocol packets according to an embodiment of the present invention. As shown in FIG. 10, an LACP protocol packet is processed by the LACP transparent transmission port PORT-1, and is converted into a microwave link. The non-LACP packet can be transparently transmitted to the peer LACP transparent port PORT-2 through the microwave link. After the PORT-2 is restored, the LACP packet is restored. A method for transparently transmitting two protocol packets is shown in FIG. 10; method 1: MAC-in-MAC method, MAC-in-MAC encapsulation of LACP protocol packets in PORT-1, outer layer SOURCE-encapsulated The MAC address is the same as the original LACP packet source MAC address, and the encapsulated outer COMMON-MAC is the ordinary packet MAC (that is, the non-LACP protocol MAC). Method 2: The MAC replacement method is to replace the destination MAC address of the LACP protocol packet, that is, the LACP-MAC, in the PORT-1, and replace the outer COMMON-MAC as the normal packet MAC (that is, the non-LACP protocol MAC).
图11是根据本发明优选实施例提供的二级级联的聚合系统的物理连接图,如图11所示,交换设备1和交换设备1’通过微波链路聚合组集合,通过LACP透传端口与透传路径,进行二级级联聚合。微波链路聚合组集合可以是多台微波设备组成的微波链路聚合组的集合。
FIG. 11 is a physical connection diagram of a two-level cascading aggregation system according to a preferred embodiment of the present invention. As shown in FIG. 11, the switching device 1 and the switching device 1 ′ are aggregated through a microwave link group, and are transparently transmitted through the LACP port. With the transparent transmission path, a secondary cascade aggregation is performed. The microwave link aggregation group set may be a set of microwave link aggregation groups composed of multiple microwave devices.
优选实施例1 Preferred embodiment 1
如图8所示,一种二级级联的聚合方法包括:As shown in FIG. 8, a two-level cascade polymerization method includes:
步骤1,交换设备1的LINK-1,LINK-2,……,LINK-N组成聚合组;Step 1: The LINK-1, LINK-2, ..., LINK-N of the switching device 1 form an aggregation group;
步骤2,交换设备1’的LINK-1,LINK-2,……,LINK-N组成聚合组;Step 2: LINK-1, LINK-2, ..., LINK-N of the switching device 1' constitute an aggregation group;
步骤3,交换设备1和1’通过链路LINK-1,LINK-2,……,LINK-N组成链路聚合(相当于上述第一传输设备和第二传输设备之间通过微波链路聚合组集合进行链路聚合);Step 3: The switching devices 1 and 1' form a link aggregation through the links LINK-1, LINK-2, ..., LINK-N (corresponding to the above-mentioned first transmission device and the second transmission device being aggregated through the microwave link) Group aggregation for link aggregation);
步骤4,微波设备1和微波设备1’通过AirInterface-1,AirInterface-2,……,AirInterface-N组成微波链路聚合组;Step 4, the microwave device 1 and the microwave device 1' form a microwave link aggregation group through AirInterface-1, AirInterface-2, ..., AirInterface-N;
步骤5,微波设备2和微波设备2’通过AirInterface-1,AirInterface-2,……,AirInterface-N组成微波链路聚合组;Step 5: The microwave device 2 and the microwave device 2' form a microwave link aggregation group through AirInterface-1, AirInterface-2, ..., AirInterface-N;
步骤6,微波设备N和微波设备N’通过AirInterface-1,AirInterface-2,……,AirInterface-N组成微波链路聚合组;Step 6, the microwave device N and the microwave device N' form a microwave link aggregation group through AirInterface-1, AirInterface-2, ..., AirInterface-N;
步骤7,微波设备(1,1’),(2,2’),……,(N,N’)的LACP透传端口实现LACP报文的透传功能,具体来讲,使用本发明“一种协议报文的透传方法”。这样,在微波链路聚合组微波AirInterface采用IEEE 802.3AD聚合的情况下,交换设备1和1’可以通过微波聚合链路实现IEEE 802.3AD链路聚合,实现聚合的级联;Step 7: The LACP transparent transmission port of the microwave device (1, 1'), (2, 2'), ..., (N, N') implements the transparent transmission function of the LACP packet, specifically, using the present invention. A method for transparent transmission of protocol messages. In this way, in the case that the microwave link aggregation group microwave AirInterface adopts IEEE 802.3AD aggregation, the switching devices 1 and 1' can implement IEEE 802.3AD link aggregation through the microwave aggregation link to implement aggregation of the aggregation;
步骤8,实现了交换设备与微波设备的N×N条链路的级联聚合,有效扩展了微波设备的传输容量。In step 8, the cascading aggregation of the N×N links of the switching device and the microwave device is implemented, which effectively expands the transmission capacity of the microwave device.
优选实施例2Preferred embodiment 2
如图9所示,一种链路状态传递方法As shown in FIG. 9, a link state transfer method
步骤1,微波设备AirInterface-1,…,AirInterface-N发生链路中断; Step 1. A link interruption occurs in the microwave devices AirInterface-1, ..., AirInterface-N;
步骤2,微波设备Line-1端口随之中断。触发方式包括(1)当AirInterface-1,…,AirInterface-N任一链路中断,就触发Line-1中断;(2)当AirInterface-1,…,AirInterface-N链路全部中断,才触发Line-1中断。
In step 2, the Line-1 port of the microwave device is interrupted. The trigger mode includes (1) when any link of AirInterface-1, ..., AirInterface-N is interrupted, the Line-1 interrupt is triggered; (2) when the AirInterface-1, ..., AirInterface-N link is completely interrupted, Line-1 is triggered. Interrupted.
步骤3,微波设备AirInterface-1,…,AirInterface-N发生链路恢复;Step 3. The link recovery occurs in the microwave devices AirInterface-1, ..., AirInterface-N.
步骤4,微波设备Line-1端口随之恢复。触发方式包括(1)当AirInterface-1,…,AirInterface-N任一链路恢复,就触发Line-1恢复;(2)当AirInterface-1,…,AirInterface-N链路全部恢复,才触发Line-1恢复。In step 4, the Line-1 port of the microwave device is restored. The trigger mode includes (1) when any link of AirInterface-1, ..., AirInterface-N is restored, triggering Line-1 recovery; (2) when AirInterface-1, ..., AirInterface-N link is all restored, Line-1 is triggered. restore.
步骤5,将该链路状态传递方法应用于优选实施例1中的”二级级联的聚合方法”:Step 5, the link state transfer method is applied to the "second cascaded aggregation method" in the preferred embodiment 1:
(1),如果微波设备N的AirInterface-1,AirInterface-2,……,AirInterface-N发生断链,微波设备自动关闭该设备的LACP透传端口,这样触发LINK-N断链,使交换设备的与LINK-N连接的端口退出LACP组,实现链路的备份功能。通过LINK-N连接端口随着链路中断快速退出LACP组,保证了链路备份的中断时延。(1) If the AirInterface-1, AirInterface-2, ..., AirInterface-N of the microwave device N breaks, the microwave device automatically closes the LACP transparent transmission port of the device, thus triggering the LINK-N chain breaking, so that the switching device The port connected to the LINK-N exits the LACP group to implement the link backup function. The LINK-N connection port quickly exits the LACP group as the link is interrupted, ensuring the interruption of the link backup.
(2),如果微波设备N的AirInterface-1,AirInterface-2,……,AirInterface-N恢复连接,微波设备自动恢复该设备的LACP透传端口连接,恢复LINK-N连接,使交换设备与LINK-N连接的端口重新加入LACP组,实现链路的备份功能。通过LINK-N连接端口随着链路中断重新加入LACP组,保证链路容量可以快速恢复。(2) If the AirInterface-1, AirInterface-2, ..., AirInterface-N of the microwave device N resumes connection, the microwave device automatically restores the LACP transparent transmission port connection of the device, restores the LINK-N connection, and makes the switching device and the LINK The port connected to the -N is added to the LACP group to implement the link backup function. The LINK-N connection port rejoins the LACP group as the link is interrupted, ensuring that the link capacity can be quickly restored.
优选实施例3Preferred embodiment 3
如图10所示,一种协议报文透传方法:As shown in Figure 10, a protocol packet transparent transmission method:
1,LACP报文通过LINE-1进入微波设备的LACP透传端口PORT-1;1. The LACP packet enters the LACP transparent transmission port PORT-1 of the microwave device through LINE-1.
2,微波设备1的PORT-1端口对LACP报文处理,使其变换为可还原的非LACP报文格式;2. The PORT-1 port of the microwave device 1 processes the LACP packet and converts it into a non-LACP packet format that can be restored.
3,处理之后的LACP报文经过AiInterface传输至微波设备2的LACP透传端口PORT-2,在PORT-2对处理后的LACP报文进行还原操作,恢复出原始的LACP报文;3. The processed LACP packet is transmitted to the LACP transparent transmission port PORT-2 of the microwave device 2 through the AiInterface, and the processed LACP packet is restored in the PORT-2 to restore the original LACP packet.
4,该方法应用在本发明的“二级级联的聚合方法”,如优选实施例1中步骤7描述。微波AirInterface采用IEEE 802.3AD聚合的情况下,交换
设备1和1’可以通过微波链路聚合组实现IEEE 802.3AD链路聚合,实现聚合的级联。4. The method is applied to the "secondary cascade polymerization method" of the present invention, as described in step 7 of the preferred embodiment 1. Microwave AirInterface uses IEEE 802.3AD for aggregation, exchange
Devices 1 and 1' can implement IEEE 802.3AD link aggregation through a microwave link aggregation group to implement aggregation of aggregates.
5,方法例1MAC-in-MAC方法,在PORT-1对LACP协议报文进行MAC-in-MAC封装,封装的外层SOURCE-MAC与原LACP协议报文源MAC相同,封装的外层COMMON-MAC为普通报文MAC(即非LACP协议MAC)。在PORT-2对封装的报文进行还原处理,还原出LACP报文。5, Method Example 1 MAC-in-MAC method, MAC-in-MAC encapsulation of LACP protocol packets in PORT-1, the outer SOURCE-MAC of the encapsulation is the same as the source MAC address of the original LACP protocol packet, and the outer COMMON of the encapsulation - The MAC is a normal message MAC (ie, not a LACP protocol MAC). The encapsulated packet is restored in PORT-2 to restore the LACP packet.
6,方法例2MAC替换方法,在PORT-1对LACP协议报文目的MAC,即LACP-MAC进行替换,替换的外层COMMON-MAC为普通报文MAC(即非LACP协议MAC)。在PORT-2对替换的报文进行还原处理,还原出LACP报文。The method of the method 2 is to replace the MAC address of the LACP protocol packet, that is, the LACP-MAC, and the outer COMMON-MAC is a normal packet MAC (that is, a non-LACP protocol MAC). The PORT-2 restores the replaced packet and restores the LACP packet.
优选实施例4Preferred embodiment 4
如图11所示,对图8中的一种二级级联的聚合方法,进行普适性的描述。As shown in FIG. 11, a general description of a two-stage cascade polymerization method in FIG. 8 is made.
交换设备1与交换设备1’经过“微波链路聚合组集合”组成链路聚合;The switching device 1 and the switching device 1' form a link aggregation through a "radio link aggregation group set";
“微波链路聚合组集合”是由多个微波设备组成的微波链路LACP聚合组集合;The "radio link aggregation group set" is a set of microwave link LACP aggregation groups composed of multiple microwave devices;
“微波链路聚合组集合”LACP透传端口和LACP透传路径,实现LACP报文在LACP透传端口间点到点的传输;The "Radio Link Aggregation Group Collection" LACP transparent transmission port and the LACP transparent transmission path are used to implement point-to-point transmission of LACP packets between LACP transparent transmission ports.
需要说明的是,优选实施例中的交换设备相当于上述实施例1至7中的第一传输设备和/或第二传输设备。It should be noted that the switching device in the preferred embodiment is equivalent to the first transmitting device and/or the second transmitting device in the foregoing embodiments 1 to 7.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特
定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention 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. Thus, the invention is not limited to any particular
The combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
Claims (32)
- 一种链路汇聚控制协议LACP聚合系统,包括:第一传输设备、第二传输设备和微波链路聚合组集合;其中,所述微波链路聚合组集合包括两个或者两个以上的微波链路聚合组;所述第一传输设备和所述第二传输设备之间通过所述微波链路聚合组集合进行链路聚合。A link aggregation control protocol LACP aggregation system includes: a first transmission device, a second transmission device, and a microwave link aggregation group set; wherein the microwave link aggregation group set includes two or more microwave chains a link aggregation group; the first transmission device and the second transmission device perform link aggregation by using the microwave link aggregation group set.
- 根据权利要求1所述的LACP聚合系统,其中,每个所述微波链路聚合组由两台微波设备通过微波链路聚合组成。The LACP aggregation system according to claim 1, wherein each of the microwave link aggregation groups is composed of two microwave devices by microwave link aggregation.
- 根据权利要求2所述的LACP聚合系统,其中,所述微波设备上设置有链路汇聚控制协议LACP透传端口,其中,所述LACP透传端口面向于所述第一传输设备和/或所述第二传输设备,设置为对LACP协议报文或者非LACP协议报文进行封装或者修改。The LACP aggregation system according to claim 2, wherein the microwave device is provided with a link aggregation control protocol LACP transparent transmission port, wherein the LACP transparent transmission port faces the first transmission device and/or the The second transmission device is configured to encapsulate or modify the LACP protocol packet or the non-LACP protocol packet.
- 根据权利要求3所述的LACP聚合系统,其中,所述LACP透传端口还设置为将所述LACP协议报文变换为非LACP协议报文或者将非LACP协议报文还原为LACP协议报文。The LACP aggregation system of claim 3, wherein the LACP transparent transmission port is further configured to convert the LACP protocol packet into a non-LACP protocol packet or restore the non-LACP protocol packet to an LACP protocol packet.
- 根据权利要求3所述的LACP聚合系统,其中,所述微波设备上还设置有多个空口,所述空口面向于对端微波设备,其中,所述LACP透传端口与所述多个空口存在关联关系;其中,所述关联关系包括以下至少之一:The LACP aggregation system according to claim 3, wherein the microwave device is further provided with a plurality of air interfaces, wherein the air interface faces the opposite microwave device, wherein the LACP transparent transmission port and the plurality of air interfaces exist An association relationship; wherein the association relationship includes at least one of the following:在所述多个空口中的至少一个空口断链时,所述LACP透传端口被关闭;When the at least one of the plurality of air interfaces is broken, the LACP transparent transmission port is closed;在所述多个空口全部断链时,所述LACP透传端口才被关闭;When the plurality of air interfaces are all broken, the LACP transparent transmission port is closed;在所述多个空口中的至少一个空口恢复连接时,所述LACP透传端口被恢复连接; When the at least one of the plurality of air interfaces resumes the connection, the LACP transparent transmission port is restored;在所述多个空口全部恢复连接时,所述LACP透传端口才被恢复连接。When the multiple air interfaces are all restored, the LACP transparent transmission port is restored.
- 一种协议报文的透传方法,应用于权利要求1至5中任一项所述的LACP聚合系统,包括:A method for transparently transmitting protocol packets, which is applied to the LACP aggregation system according to any one of claims 1 to 5, comprising:通过微波链路聚合组集合中的微波设备上的链路汇聚控制协议LACP透传端口将链路汇聚控制协议LACP协议报文转化为非LACP协议报文;The link aggregation control protocol LACP transparent transmission port on the microwave device in the microwave link aggregation group is converted into a non-LACP protocol packet by the LACP transparent transmission port;通过微波链路将所述非LACP协议报文透传至对端LACP透传端口;The non-LACP protocol packet is transparently transmitted to the peer LACP transparent transmission port through the microwave link.通过所述对端LACP透传端口将所述非LACP协议报文还原为所述LACP协议报文;其中,所述对端LACP透传端口位于与所述微波设备通过所述微波链路聚合的对端微波设备上。The non-LACP protocol packet is restored to the LACP protocol packet by the peer LACP transparent transmission port, where the peer LACP transparent transmission port is located and the microwave device is aggregated by using the microwave link. On the opposite end of the microwave device.
- 根据权利要求6所述的方法,其中,通过微波链路聚合组集合中的微波设备上的LACP透传端口将链路汇聚控制协议LACP协议报文转化为非LACP协议报文包括以下之一:The method according to claim 6, wherein the LACP transparent transmission port on the microwave device in the microwave link aggregation group set converts the link aggregation control protocol LACP protocol message into a non-LACP protocol message, including one of the following:通过所述LACP透传端口将所述LACP协议报文封装为所述非LACP协议报文;The LACP protocol packet is encapsulated into the non-LACP protocol packet by using the LACP transparent transmission port;通过所述LACP透传端口将所述LACP协议报文修改为所述非LACP协议报文。The LACP protocol packet is modified to the non-LACP protocol packet by using the LACP transparent transmission port.
- 根据权利要求7所述的方法,其中,通过所述LACP透传端口将所述LACP协议报文封装为所述非LACP协议报文包括:The method of claim 7, wherein the encapsulating the LACP protocol packet into the non-LACP protocol packet by using the LACP transparent transmission port comprises:通过所述LACP透传端口以所述LACP协议报文源媒体访问控制MAC和普通报文MAC对所述LACP协议报文进行封装,得到所述 非LACP协议报文。Encapsulating the LACP protocol packet by using the source media access control MAC address and the normal packet MAC address of the LACP protocol packet by the LACP transparent transmission port, Non-LACP protocol packets.
- 根据权利要求7所述的方法,其中,通过所述LACP透传端口将所述LACP协议报文修改为所述非LACP协议报文包括:The method of claim 7, wherein the modifying the LACP protocol packet to the non-LACP protocol packet by using the LACP transparent transmission port comprises:通过所述LACP透传端口将所述LACP协议报文中的LACP MAC替换为普通报文MAC。The LACP MAC address in the LACP protocol packet is replaced with the normal packet MAC address by using the LACP transparent transmission port.
- 根据权利要求6所述的方法,其中,通过所述对端LACP透传端口将所述非LACP协议报文还原为所述LACP协议报文包括以下之一:The method of claim 6, wherein the restoring the non-LACP protocol packet to the LACP protocol packet by using the peer LACP transparent transmission port comprises one of the following:通过所述对端LACP透传端口将所述非LACP协议报文解封装为所述LACP协议报文;Decapsulating the non-LACP protocol packet into the LACP protocol packet by using the peer LACP transparent transmission port;通过所述对端LACP透传端口将所述非LACP协议报文修改为所述LACP协议报文。The non-LACP protocol packet is modified to the LACP protocol packet by using the peer LACP transparent transmission port.
- 根据权利要求10所述的方法,其中,通过所述对端LACP透传端口将所述非LACP协议报文解封装为所述LACP协议报文包括:The method of claim 10, wherein the decapsulating the non-LACP protocol packet into the LACP protocol packet by using the peer LACP transparent transmission port includes:通过所述对端LACP透传端口以普通报文MAC和与所述LACP协议报文源MAC依次对所述LACP协议报文进行解封装,得到所述LACP协议报文。The LACP protocol packet is decapsulated by the peer LACP transparent transmission port by using the normal message MAC and the source MAC address of the LACP protocol packet to obtain the LACP protocol packet.
- 根据权利要求10所述的方法,其中,通过所述对端LACP透传端口将所述非LACP协议报文修改为所述LACP协议报文包括:The method of claim 10, wherein modifying the non-LACP protocol packet to the LACP protocol packet by using the peer LACP transparent transmission port comprises:通过所述对端LACP透传端口将所述非LACP协议报文中的普通报文MAC修改为LACP MAC。The MAC address of the common packet in the non-LACP protocol packet is changed to the LACP MAC by using the peer LACP transparent transmission port.
- 一种协议报文的透传方法,包括: A transparent method for transmitting protocol packets, including:接收第一传输设备发送的链路汇聚控制协议LACP协议报文;Receiving a link aggregation control protocol LACP protocol packet sent by the first transmission device;将接收到的所述LACP协议报文转化为非LACP协议报文;Converting the received LACP protocol packet into a non-LACP protocol packet;将转化后的非LACP协议报文通过微波设备之间的微波链路透传到对端透传端口;其中,所述对端透传端口位于对端微波设备中且面对于第二传输设备;所述第一传输设备与所述第二传输设备之间通过所述微波设备进行了聚合,所述微波设备之间通过所述微波链路进行了聚合。Transmitting the non-LACP protocol packet to the peer transparent transmission port through the microwave link between the microwave devices; wherein the peer transparent transmission port is located in the opposite microwave device and faces the second transmission device; The first transmission device and the second transmission device are aggregated by the microwave device, and the microwave devices are aggregated through the microwave link.
- 根据权利要求13所述的方法,其中,将接收到的所述LACP协议报文转化为非LACP协议报文包括以下之一:The method of claim 13, wherein converting the received LACP protocol message into a non-LACP protocol message comprises one of the following:将所述LACP协议报文封装为所述非LACP协议报文;Encapsulating the LACP protocol packet into the non-LACP protocol packet;将所述LACP协议报文修改为所述非LACP协议报文。Modifying the LACP protocol packet to the non-LACP protocol packet.
- 根据权利要求14所述的方法,其中,将所述LACP协议报文封装为所述非LACP协议报文包括:The method of claim 14, wherein the encapsulating the LACP protocol message into the non-LACP protocol message comprises:以所述LACP协议报文源媒体访问控制MAC和普通报文MAC对所述LACP协议报文进行封装,得到所述非LACP协议报文。The LACP protocol packet is encapsulated by the source media access control MAC address and the normal packet MAC address of the LACP protocol packet to obtain the non-LACP protocol packet.
- 根据权利要求14所述的方法,其中,将所述LACP协议报文修改为所述非LACP协议报文包括:The method of claim 14, wherein the modifying the LACP protocol message to the non-LACP protocol message comprises:将所述LACP协议报文中的LACP MAC替换为普通报文MAC。Replace the LACP MAC address in the LACP protocol packet with the normal packet MAC address.
- 一种链路状态传递方法,其中,应用于权利要求1至5中任一项所述的LACP聚合系统,包括:A link state transfer method, wherein the LACP aggregation system according to any one of claims 1 to 5, comprising:检测微波链路聚合组中的微波设备上的空口的空口状态;Detecting an air interface state of the air interface on the microwave device in the microwave link aggregation group;在检测到空口状态发生变化的情况下,触发所述微波设备上的透 传端口状态发生变化;其中,所述空口面向于所述微波链路聚合组中的对端微波设备,所述透传端口面向于与所述微波设备进行交互的传输设备。Triggering the penetration on the microwave device when a change in the state of the air interface is detected The state of the port is changed; wherein the air port faces the peer microwave device in the microwave link aggregation group, and the transparent port faces the transmission device that interacts with the microwave device.
- 根据权利要求17所述的方法,其中,在检测到空口状态发生变化的情况下,触发所述微波设备上的透传端口状态发生变化包括以下至少之一:The method according to claim 17, wherein, in the case that a change in the state of the air interface is detected, triggering a change in the state of the transparent transmission port on the microwave device comprises at least one of the following:在检测到所述微波设备的至少一个空口的空口状态变化的情况下,触发所述透传端口状态发生变化;When the state of the air interface of the at least one air interface of the microwave device is detected to be changed, triggering a change in the state of the transparent transmission port;在检测到所述微波设备的全部空口的空口状态都发生变化的情况下,才触发所述透传端口状态发生变化。When the state of the air interface of all the air interfaces of the microwave device is detected to be changed, the state of the transparent transmission port is triggered to change.
- 根据权利要求17或18所述的方法,其中,所述空口状态包括:断链或者恢复断链;所述透传端口状态包括:关闭或者开启。The method according to claim 17 or 18, wherein the air interface state comprises: a broken link or a recovery broken link; and the transparent transmission port state comprises: closing or opening.
- 一种协议报文的透传装置,位于微波设备中,包括:A transparent device for transmitting protocol packets, which is located in a microwave device, and includes:接收模块,设置为接收第一传输设备发送的链路汇聚控制协议LACP协议报文;a receiving module, configured to receive a link aggregation control protocol LACP protocol packet sent by the first transmission device;转化模块,设置为将接收到的所述LACP协议报文转化为非LACP协议报文;The conversion module is configured to convert the received LACP protocol packet into a non-LACP protocol packet;发送模块,设置为将转化后的非LACP协议报文通过微波设备之间的微波链路透传到对端透传端口;其中,所述对端透传端口位于对端微波设备中且面对于第二传输设备;所述第一传输设备与所述第二传输设备之间通过所述微波设备进行了聚合,所述微波设备之间通过所述微波链路进行了聚合。The sending module is configured to transparently transmit the translated non-LACP protocol packet to the peer transparent transmission port through the microwave link between the microwave devices; wherein the peer transparent transmission port is located in the opposite microwave device and faces the The second transmission device is configured to be aggregated by the microwave device between the first transmission device and the second transmission device, and the microwave devices are aggregated by using the microwave link.
- 根据权利要求20所述的装置,其中,所述转化模块还设置 为以下之一:The apparatus of claim 20, wherein the conversion module is further configured For one of the following:将所述LACP协议报文封装为所述非LACP协议报文;Encapsulating the LACP protocol packet into the non-LACP protocol packet;将所述LACP协议报文修改为所述非LACP协议报文。Modifying the LACP protocol packet to the non-LACP protocol packet.
- 根据权利要求21所述的装置,其中,所述转化模块,还设置为以所述LACP协议报文源媒体访问控制MAC和普通报文MAC对所述LACP协议报文进行封装;得到所述非LACP协议报文。The device according to claim 21, wherein the conversion module is further configured to encapsulate the LACP protocol packet by using the LACP protocol source media access control MAC and the common packet MAC; LACP protocol packet.
- 根据权利要求21所述的装置,其中,所述转化模块,还设置为将所述LACP协议报文中的LACP MAC替换为普通报文MAC。The device according to claim 21, wherein the conversion module is further configured to replace the LACP MAC in the LACP protocol message with a normal message MAC.
- 一种链路状态传递装置,包括:A link state transfer device includes:检测模块,设置为检测微波链路聚合组中的微波设备上的空口的空口状态;The detecting module is configured to detect an air interface state of the air interface on the microwave device in the microwave link aggregation group;触发模块,设置为在检测到空口状态发生变化的情况下,触发所述微波设备上的透传端口状态发生变化;其中,所述空口面向于所述微波链路聚合组中的对端微波设备,所述透传端口面向于与所述微波设备进行交互的传输设备。The triggering module is configured to trigger a change in the state of the transparent transmission port on the microwave device when the state of the air interface is detected to be changed; wherein the air interface faces the opposite microwave device in the microwave link aggregation group The transparent transmission port faces a transmission device that interacts with the microwave device.
- 根据权利要求24所述的装置,其中,所述触发模块还设置为以下至少之一:The apparatus of claim 24, wherein the triggering module is further configured to be at least one of the following:在检测到所述微波设备的至少一个空口的空口状态变化的情况下,触发所述透传端口状态发生变化;When the state of the air interface of the at least one air interface of the microwave device is detected to be changed, triggering a change in the state of the transparent transmission port;在检测到所述微波设备的全部空口的空口状态都发生变化的情况下,才触发所述透传端口状态发生变化。When the state of the air interface of all the air interfaces of the microwave device is detected to be changed, the state of the transparent transmission port is triggered to change.
- 根据权利要求24或25所述的装置,其中,所述空口状态包 括:断链或者恢复断链;所述透传端口状态包括:关闭或者开启。The apparatus according to claim 24 or 25, wherein said air interface status package Including: breaking or resuming the broken link; the transparent port status includes: turning off or on.
- 一种微波设备,包括:透传端口和空口;A microwave device includes: a transparent transmission port and an air interface;所述透传端口,设置为接收第一传输设备发送的链路汇聚控制协议LACP协议报文;将接收到的所述LACP协议报文转化为非LACP协议报文;The transparent transmission port is configured to receive a link aggregation control protocol LACP protocol packet sent by the first transmission device, and convert the received LACP protocol packet into a non-LACP protocol packet;所述空口,设置为将转化后的非LACP协议报文通过微波设备之间的微波链路透传到对端透传端口;其中,所述对端透传端口位于对端微波设备中且面对于第二传输设备;所述第一传输设备与所述第二传输设备之间通过所述微波设备进行了聚合,所述微波设备之间通过所述微波链路进行了聚合。The air interface is configured to transparently transmit the translated non-LACP protocol packet to the peer transparent transmission port through the microwave link between the microwave devices; wherein the peer transparent transmission port is located in the opposite microwave device and faces a second transmission device; the first transmission device and the second transmission device are aggregated by the microwave device, and the microwave devices are aggregated by the microwave link.
- 根据权利要求27所述的微波设备,其中,所述透传端口还设置为以下之一:The microwave device according to claim 27, wherein said transparent transmission port is further set to one of the following:将所述LACP协议报文封装为所述非LACP协议报文;Encapsulating the LACP protocol packet into the non-LACP protocol packet;将所述LACP协议报文修改为所述非LACP协议报文。Modifying the LACP protocol packet to the non-LACP protocol packet.
- 根据权利要求28所述的微波设备,其中,所述透传端口,还设置为以所述LACP协议报文源媒体访问控制MAC和普通报文MAC对所述LACP协议报文进行封装;得到所述非LACP协议报文。The microwave device according to claim 28, wherein the transparent transmission port is further configured to encapsulate the LACP protocol packet by using the LACP protocol source media access control MAC and the common packet MAC; The non-LACP protocol packet is described.
- 根据权利要求28所述的微波设备,其中,所述透传端口,还设置为将所述LACP协议报文中的LACP MAC替换为普通报文MAC。The microwave device according to claim 28, wherein the transparent transmission port is further configured to replace the LACP MAC in the LACP protocol message with a normal message MAC.
- 根据权利要求27所述的微波设备,其中,所述透传端口与多个所述空口存在关联关系;其中,所述关联关系包括以下至少之一:The microwave device according to claim 27, wherein the transparent transmission port has an association relationship with a plurality of the air interfaces; wherein the association relationship comprises at least one of the following:在多个所述空口中的至少一个空口断链时,所述透传端口被关闭; When at least one of the plurality of air ports is broken, the transparent transmission port is closed;在多个所述空口全部断链时,所述透传端口才被关闭;When the plurality of air ports are all broken, the transparent transmission port is closed;在多个所述空口中的至少一个空口恢复连接时,所述透传端口被恢复连接;When at least one of the plurality of air interfaces resumes the connection, the transparent transmission port is restored to be connected;在多个所述空口全部恢复连接时,所述透传端口才被恢复连接。When all of the air interfaces are restored, the transparent transmission port is restored.
- 一种计算机可读存储介质,存储有计算机程序,当所述计算机程序被运行时,执行权利要求6至19中任一项所述的方法。 A computer readable storage medium storing a computer program that, when executed, performs the method of any one of claims 6 to 19.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610978150.9A CN108023811B (en) | 2016-11-04 | 2016-11-04 | LACP aggregation system, and method and device for transparent transmission of protocol message |
CN201610978150.9 | 2016-11-04 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018082464A1 true WO2018082464A1 (en) | 2018-05-11 |
Family
ID=62075693
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/107298 WO2018082464A1 (en) | 2016-11-04 | 2017-10-23 | Lacp aggregation system, and transparent transmission method and apparatus for protocol packet |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108023811B (en) |
WO (1) | WO2018082464A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP4184985A4 (en) * | 2020-07-30 | 2023-09-06 | Huawei Technologies Co., Ltd. | COMMUNICATION METHOD AND COMMUNICATION DEVICE |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109150710A (en) * | 2018-07-24 | 2019-01-04 | 烽火通信科技股份有限公司 | A kind of method and apparatus of PTN device striding equipment LAG protection |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050265330A1 (en) * | 2004-06-01 | 2005-12-01 | Masashi Suzuki | Network relay system and control method thereof |
US20070053294A1 (en) * | 2005-09-02 | 2007-03-08 | Michael Ho | Network load balancing apparatus, systems, and methods |
WO2012149105A1 (en) * | 2011-04-26 | 2012-11-01 | Dell Force10 | Multi-chassis link aggregation on network devices |
CN103001847A (en) * | 2012-12-07 | 2013-03-27 | 杭州华三通信技术有限公司 | Method and device for transmitting protocol message through message protocol data unit tunnel |
CN105530205A (en) * | 2014-09-28 | 2016-04-27 | 中兴通讯股份有限公司 | Device and method for microwave equipment aggregation |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6795404B2 (en) * | 2002-06-18 | 2004-09-21 | Bellsouth Intellectual Property Corporation | Device for aggregating, translating, and disseminating communications within a multiple device environment |
CN102056235B (en) * | 2009-11-09 | 2017-04-26 | 华为技术有限公司 | Data transmission method, equipment and system |
CN102316437B (en) * | 2010-06-29 | 2014-07-02 | 中兴通讯股份有限公司 | Method and system for accessing terminal to worldwide interoperability for microwave access (WiMAX) network |
KR101501190B1 (en) * | 2011-08-02 | 2015-03-12 | 후아웨이 테크놀러지 컴퍼니 리미티드 | Mobile cellular network based on layered cloud computing |
CN103178930A (en) * | 2011-12-26 | 2013-06-26 | 中兴通讯股份有限公司 | Physical layer link convergence transmission method and device |
US9553798B2 (en) * | 2013-04-23 | 2017-01-24 | Telefonaktiebolaget L M Ericsson (Publ) | Method and system of updating conversation allocation in link aggregation |
CN103888338B (en) * | 2014-03-19 | 2017-07-11 | 京信通信系统(中国)有限公司 | The traffic sharing method and device of Ethernet MTL microwave transmission link polymerization |
-
2016
- 2016-11-04 CN CN201610978150.9A patent/CN108023811B/en active Active
-
2017
- 2017-10-23 WO PCT/CN2017/107298 patent/WO2018082464A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050265330A1 (en) * | 2004-06-01 | 2005-12-01 | Masashi Suzuki | Network relay system and control method thereof |
US20070053294A1 (en) * | 2005-09-02 | 2007-03-08 | Michael Ho | Network load balancing apparatus, systems, and methods |
WO2012149105A1 (en) * | 2011-04-26 | 2012-11-01 | Dell Force10 | Multi-chassis link aggregation on network devices |
CN103001847A (en) * | 2012-12-07 | 2013-03-27 | 杭州华三通信技术有限公司 | Method and device for transmitting protocol message through message protocol data unit tunnel |
CN105530205A (en) * | 2014-09-28 | 2016-04-27 | 中兴通讯股份有限公司 | Device and method for microwave equipment aggregation |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP4184985A4 (en) * | 2020-07-30 | 2023-09-06 | Huawei Technologies Co., Ltd. | COMMUNICATION METHOD AND COMMUNICATION DEVICE |
Also Published As
Publication number | Publication date |
---|---|
CN108023811A (en) | 2018-05-11 |
CN108023811B (en) | 2021-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018202187A1 (en) | Switching method, terminal device and network device | |
CN102882780B (en) | Looped network tunnel configuration method based on overlapping trees, ring network protection method and system | |
CN104104570A (en) | Aggregation processing method in IRF (Intelligent Resilient Framework) system and device | |
CN107465613B (en) | Link aggregation interface communication state switching method and device | |
CN106576279A (en) | Multi-communication-mode transmission method and apparatus | |
CN101692652A (en) | Method for preventing interrupt of traffics in aggregation link | |
TW200913567A (en) | Intelligent failback in a load-balanced networking environment | |
CN105162732B (en) | Create the method, apparatus of ECP Extended Capabilities Port | |
US20140086100A1 (en) | Multi-Chassis Cluster Synchronization Using Shortest Path Bridging (SPB) Service Instance Identifier (I-SID) Trees | |
WO2019213922A1 (en) | Method for forwarding data among nodes in relay network, and network nodes | |
WO2018082464A1 (en) | Lacp aggregation system, and transparent transmission method and apparatus for protocol packet | |
CN104468389B (en) | Processing method, server and the server system of message | |
WO2017041577A1 (en) | Method and device for managing link aggregation member port packet loss | |
CN102970172A (en) | Communication link switching method, device and communication system | |
CN107204888A (en) | A kind of method, device and the communication equipment of switching overtime time | |
CN107819680A (en) | A kind of method of service switchover, the network equipment | |
CN105357131B (en) | FDB method for refreshing, device, node and system in loop network | |
CA3068640C (en) | Control method, node, and computer storage medium | |
CN104579809B (en) | The detection method and equipment of a kind of stacking splitting | |
WO2017219868A1 (en) | Arp entry processing method and apparatus | |
WO2018120228A1 (en) | Method and device for recovering from ring circuit fault, and node apparatus | |
EP3706467B1 (en) | Method and device for controlling data replication function and computer storage medium | |
CN103036984B (en) | One-way flow detection method and network equipment | |
WO2020029080A1 (en) | Network switching method, network node, chip and communication system | |
EP3324587B1 (en) | Multicast method, multicast relay device and 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: 17867315 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17867315 Country of ref document: EP Kind code of ref document: A1 |