CN103067298B - A kind of method and system of network traffic sharing - Google Patents

A kind of method and system of network traffic sharing Download PDF

Info

Publication number
CN103067298B
CN103067298B CN201310036202.7A CN201310036202A CN103067298B CN 103067298 B CN103067298 B CN 103067298B CN 201310036202 A CN201310036202 A CN 201310036202A CN 103067298 B CN103067298 B CN 103067298B
Authority
CN
China
Prior art keywords
bridge
vlan
spanning tree
node
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201310036202.7A
Other languages
Chinese (zh)
Other versions
CN103067298A (en
Inventor
李文辉
子康
倪辉
吴圣伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuxi Aishuo Technology Co.,Ltd.
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310036202.7A priority Critical patent/CN103067298B/en
Publication of CN103067298A publication Critical patent/CN103067298A/en
Application granted granted Critical
Publication of CN103067298B publication Critical patent/CN103067298B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of network traffic sharing method and system, relate to network communication field.Described method comprises: collection network topology information, is the VLAN selection root bridge in network, and specifies backup root bridge based on described network topological information; The situation of VLAN is added according to node, calculate and comprise described bridge and the spanning tree of corresponding described VLAN, set up the connection between the port of nonroot bridge node in described spanning tree and described bridge, and, calculate and comprise described backup root bridge and the backup spanning tree of corresponding described VLAN; When monitoring the overload of local link, the nonroot bridge node of corresponding for described local link VLAN being switched to and backs up spanning tree accordingly.Described method and system, can make spanning tree reselect root bridge, realize load balancing by dynamic conditioning service traffics.

Description

A kind of method and system of network traffic sharing
Technical field
The present invention relates to network communication technology field, particularly a kind of method and system of network traffic sharing.
Background technology
In Layer2 switching network, switch can not be known as router that message can forward through how many times and arrive destination node, message will be caused constantly to circulate and hyperplasia in loop, produce broadcast storm once network exists loop.When broadcast storm, all effective bandwidth is all broadcasted storm and takies, and network will become unavailable.
Spanning-Tree Protocol (SpanningTreeProtocol in this case, STP) arise at the historic moment, it is a kind of two layer-management agreements, and it reaches the object eliminating network double-layer loop by clogging networks redundant link selectively, possess the backup functionality of link simultaneously.
Multiple Spanning Tree Protocol (MultipleSpanningTreeProtocol, MSTP) introduces the concept of " example " (Instance).So-called example is exactly multiple VLAN(VirtualLocalAreaNetwork, VLAN) set, communication overhead and resources occupation rate can be saved by multiple VLAN being bundled into the method for going in an example.The calculating of each example topology of MSTP is independently, and these examples just can realize load balancing.The VLAN of multiple identical topological structure can be mapped in an example when in use.
MSTP arranges VLAN mapping table (i.e. the mapping table of VLAN and spanning tree) and VLAN and spanning tree is connected.In traditional data center network, carry out brokenly ring by whole network equipment being run MSTP agreement.Traditional VLAN there is following defect in MSTP network:
VLAN and spanning-tree instance be static configuration in whole network equipment, time unbalanced if there is flow load, cannot the load balancing of dynamic conditioning service traffics;
MSTP calculates loop time to be affected comparatively large by network topology, computing time is sometimes longer, causes the time of flow interrupt longer.
Summary of the invention
The technical problem to be solved in the present invention is: the method and system how providing a kind of network traffic sharing, to realize load balancing by dynamic conditioning service traffics.
In order to solve the problems of the technologies described above, the embodiment of the invention discloses following technical scheme:
First aspect, provide a kind of network traffic sharing method, described method comprises:
Collection network topology information, is the VLAN selection root bridge in network based on described network topological information, and specifies backup root bridge;
The situation of VLAN is added according to node, calculate and comprise described bridge and the spanning tree of corresponding described VLAN, set up the connection between the port of nonroot bridge node in described spanning tree and described bridge, and, calculate and comprise described backup root bridge and the backup spanning tree of corresponding described VLAN;
When monitoring the overload of local link, the nonroot bridge node of corresponding for described local link VLAN being switched to and backs up spanning tree accordingly.
In the first possible implementation of first aspect, described is that VLAN in network selects in the step of root bridge based on described network topological information, is that VLAN in network selects root bridge by configuration stp system priority.
In the implementation that the second of first aspect is possible, described is that VLAN in network selects in the step of root bridge based on described network topological information, selecting the convergence switch in network to form root bridge pond, is that VLAN in network selects root bridge by configuring described bridge pond.
In the first possible implementation of first aspect, described is that VLAN in network selects, in the step of root bridge, the root bridge of different VLAN to be carried out hash setting based on described network topological information.
In the first possible implementation of first aspect, set up the connection between the port of nonroot bridge node in described spanning tree and described bridge, specifically comprise:
Generate the mapping table of VLAN belonging to the port of nonroot bridge node in described spanning tree and this nonroot bridge node;
Described mapping table is handed down to described nonroot bridge node, and described nonroot bridge node performs data retransmission according to described mapping table.
In the first possible implementation of first aspect, described in calculate and comprise described backup root bridge and the backup spanning tree of corresponding described VLAN, also comprise afterwards:
When the root bridge of spanning tree breaks down, the nonroot bridge node of corresponding for failure spanning tree VLAN is switched to and backs up spanning tree accordingly.
Second aspect, provide another kind of network traffic sharing system, described system comprises:
Root bridge unit, is suitable for collection network topology information, is the VLAN selection root bridge in network, and specifies backup root bridge based on described network topological information;
Spanning tree unit, be suitable for the situation adding VLAN according to node, calculate and comprise described bridge and the spanning tree of corresponding described VLAN, set up the connection between the port of nonroot bridge node in described spanning tree and described bridge, and, calculate and comprise described backup root bridge and the backup spanning tree of corresponding described VLAN;
Overload processing unit, is suitable for when monitoring the overload of local link, is switched to by the node of corresponding for described local link VLAN and backs up spanning tree accordingly.
In the first possible implementation of second aspect, described bridge unit comprises:
Information collection module, is suitable for collection network topology information;
Root bridge module, is suitable for based on described network topological information, and is the VLAN selection root bridge in network by configuration stp system priority;
Backup root bridge module, being suitable for based on described network topological information is that VLAN in network specifies backup root bridge.
In the first possible implementation of second aspect, described bridge module, is also suitable for selecting the convergence switch in network to form root bridge pond, is that VLAN in network selects root bridge by configuring described bridge pond.
In the first possible implementation of second aspect, the root bridge of different VLAN is carried out hash setting by described bridge module.
In the first possible implementation of second aspect, described spanning tree unit comprises:
Spanning tree module, is suitable for the situation adding VLAN according to node, calculates and comprises described bridge and the spanning tree of corresponding described VLAN;
Link block, is suitable for setting up the connection between the port of nonroot bridge node in described spanning tree and described bridge;
Backup spanning tree module, is suitable for calculating and comprises described backup root bridge and the backup spanning tree of corresponding described VLAN.
In the first possible implementation of second aspect, described link block comprises:
Build table submodule, be suitable for generating the mapping table of VLAN belonging to the port of nonroot bridge node in described spanning tree and this nonroot bridge node;
List issues submodule, is suitable for described mapping table to be handed down to described nonroot bridge node, and described nonroot bridge node performs data retransmission according to described mapping table.
In the first possible implementation of second aspect, described system also comprises:
Fault processing unit, is suitable for when the root bridge of spanning tree breaks down, and is switched to by the node of corresponding for failure spanning tree VLAN and backs up spanning tree accordingly.Network traffic sharing method and system of the present invention, network topological information based on the whole network is that each VLAN selects root bridge, calculate spanning tree, and specify backup root bridge and backup spanning tree, thus when there is link Overload or root bridge fault, spanning tree can be made to reselect root bridge, load balancing is realized by dynamic conditioning service traffics, this kind adjusts the granularity adjustment spanning tree of mode based on VLAN, the converting flow of other VLAN can not be interrupted, and former MSTP agreement computing time can be reduced, realize spanning tree path fast and switch.
Accompanying drawing explanation
Fig. 1 is the network traffic sharing method flow diagram described in the embodiment of the present invention 1;
Fig. 2 is that in the embodiment of the present invention 1, schematic diagram selected by root bridge;
Fig. 3 is that in the embodiment of the present invention 1, spanning tree generates schematic diagram;
Processing procedure schematic diagram when Fig. 4 a ~ 4b is overload in the embodiment of the present invention 1;
Fig. 5 is the network traffic sharing method flow diagram described in the embodiment of the present invention 2;
Fig. 6 is the modular structure schematic diagram of the network traffic sharing system described in the embodiment of the present invention 3;
Fig. 7 is the modular structure schematic diagram of the root bridge unit described in the embodiment of the present invention 3;
Fig. 8 is the modular structure schematic diagram of the spanning tree unit described in the embodiment of the present invention 3;
Fig. 9 is the modular structure schematic diagram of the link block described in the embodiment of the present invention 3;
Figure 10 is the modular structure schematic diagram of the network traffic sharing system described in the embodiment of the present invention 4;
Figure 11 is the hardware configuration schematic diagram of the network traffic sharing system described in the embodiment of the present invention 5;
Figure 12 is the hardware configuration schematic diagram of the control appliance described in the embodiment of the present invention 5;
Figure 13 is the hardware configuration schematic diagram of the root Biodge device described in the embodiment of the present invention 5;
Figure 14 is the hardware configuration schematic diagram of the spanning tree device described in the embodiment of the present invention 5.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.Following examples for illustration of the present invention, but are not used for limiting the scope of the invention.
Network traffic sharing method and system described in the application, by collecting full mesh topology on controller (Controller), selecting convergence switch to form root bridge pond, is that each VLAN selects root bridge in root bridge pond when VLAN creates.Described method and system can also detect the flow of each VLAN on link, when service traffics in VLAN are transshipped, reselect root bridge thus can the load balancing of dynamic adjustments VLAN traffic flow, and be VLAN appointment backup root bridge, precalculate backup spanning tree path, like this when main spanning-tree root bridge fault, backup spanning tree can be switched to fast.
Embodiment 1
Fig. 1 is the network traffic sharing method flow diagram described in the embodiment of the present invention 1, and as shown in Figure 1, described method comprises:
S100, collection network topology information, be the VLAN selection root bridge in network based on described network topological information, and specify backup root bridge.
In S100, can be that VLAN in network selects root bridge by configuration stp system priority; Also can be that VLAN in network selects root bridge by configuration root bridge pond, wherein said bridge pond contains all convergence switches in current network.
Wherein, when by configuration stp system priority being the VLAN selection root bridge in network, first corresponding to node place VLAN is each Joint Enterprise STP system priority, the numerical value of this STP system priority is the integral multiple of 4096, according to priority from height to the numerical value of this STP system priority of low arrangement can be 0,4096,8192 ..., and the node that any instant has the highest STP system priority is the root bridge of its place VLAN.
When being that VLAN in network selects root bridge by configuration root bridge pond, first also needing to correspond to node place VLAN is each Joint Enterprise STP system priority, then the node being 0 and 4096 by the numerical value of STP system priority in each VLAN puts into root bridge pond, wherein, the numerical value of STP system priority be 0 node will be selected as the root bridge of its place VLAN, the numerical value of STP system priority be 4096 node will be selected as the backup root bridge of its place VLAN.
See Fig. 2, network topological information display node R B3, RB4, RB5 and RB6 are positioned at lower floor, node R B1 and RB2 is positioned at upper strata, and comprise two virtual LAN VLAN 1 and VLAN2 in this network, the STP system priority of RB1 in VLAN1 is set to 0 according to above-mentioned network topological information by controller, the STP system priority of RB2 in VLAN1 is set to 4096, simultaneously, the STP system priority of RB2 in VLAN2 is set to 0, the STP system priority of RB1 in VLAN2 is set to 4096.According to above-mentioned setting, RB1 is using the root bridge as VLAN1, and RB2 is using the backup root bridge as VLAN1; RB2 is using the root bridge as VLAN2, and RB1 is using the backup root bridge as VLAN1.
Generally, preferably the root bridge of different VLAN is carried out hash setting, as shown in Figure 2, using the root bridge of RB1 as VLAN1, using the root bridge of RB2 as VLAN2, load balancing can be realized better like this, reduce local link in network and occur the situation of overload.
S200, add the situation of VLAN according to node, calculate and comprise described bridge and the spanning tree of corresponding described VLAN, set up the connection between the port of nonroot bridge node in described spanning tree and described bridge, and, calculate and comprise described backup root bridge and the backup spanning tree of corresponding described VLAN.
See Fig. 3, node R B3 belongs to VLAN1 and VLAN2, and node R B4 belongs to VLAN1, and node R B5 belongs to VLAN1 and VLAN2, and node R B6 belongs to VLAN2.According to the corresponding situation of above-mentioned each node with corresponding VLAN, (RB1 is root bridge can to obtain the spanning tree of VLAN1, RB3, RB4 and RB5 are the nonroot bridge node pointing to RB1), and the spanning tree of VLAN2 (RB2 is root bridge, and RB3, RB5 and RB6 are the nonroot bridge node pointing to RB2).
Wherein, set up the connection between the port of nonroot bridge node in described spanning tree and described bridge, specifically comprise:
The mapping table of VLAN belonging to P1, the port generating nonroot bridge node in described spanning tree and this nonroot bridge node.
P2, described mapping table is handed down to described nonroot bridge node, described nonroot bridge node performs data retransmission according to described mapping table.
Table 1 is the mapping table of node R B3, and wherein, node R B3 belongs to VLAN1 and VLAN2.Port a on this node R B3 correspond to VLAN1, connect RB1, for by the data retransmission from VLAN1 to RB1; Port b on this node R B3 correspond to VLAN2, connect RB2, for by the data retransmission from VLAN2 to RB2.This mapping table is generally generated by the situation of controller VLAN belonging to nonroot bridge node, and is issued to this nonroot bridge node, inquires about for during this nonroot bridge node for data forwarding.
Table 1 corresponding relation representation case
Port Corresponding VLAN Connect root bridge
Port a VLAN1 RB1
Port b VLAN2 RB2
S300, when monitoring the overload of local link, the nonroot bridge node of corresponding for described local link VLAN being switched to and backs up spanning tree accordingly.
See Fig. 4 a, suppose overload between VLAN1 interior joint RB3 and node R B1, node R B1 is the root bridge of VLAN1, and node R B2 is the backup root bridge of VLAN1.See Fig. 4 b, after the process of above-mentioned S300, the STP system priority of node R B2 in VLAN1 is revised as 0, the STP system priority of node R B1 in VLAN1 is revised as 4096, such node R B2 replaces node R B1 to become the root bridge of VLAN1, correspondingly, in VLAN1, the port of nonroot bridge node (RB3, RB4, RB5) and the corresponding relation of VLAN change, namely in VLAN1 nonroot bridge node by with the port repeat be connected of the root bridge RB2 data from VLAN1.As shown in table 2 below, former of the port b of node R B3 corresponds to VLAN2, and after switching to backup spanning tree, the port b of node R B3 corresponds to VLAN1 and VLAN2, such node R B3 simultaneously and the data from VLAN1 are forwarded to RB2 by port b.
Table 2 changes rear corresponding relation representation case
Port Corresponding VLAN Connect root bridge
Port a RB1
Port b VLAN1/VLAN2 RB2
It should be noted that, if RB2 is originally the root bridge of VLAN2, then after switching, RB2, simultaneously as the root bridge of VLAN1 and VLAN2, is originated by the VLAN label area divided data in message after RB2 receives data.In addition, after switching, RB1 becomes the backup root bridge of VLAN1, and the quantity flow when between RB3 and RB1 is replied normally, again can switch, make RB1 again become the root bridge of VLAN1.
Embodiment 2
Fig. 5 is the network traffic sharing method flow diagram described in the embodiment of the present invention 2, as shown in Figure 2, method described in this embodiment is substantially identical with method described in embodiment 1, its difference is, after described S200 is S300 ': when the root bridge of spanning tree breaks down, and is switched to by the nonroot bridge node of corresponding for failure spanning tree VLAN and backs up spanning tree accordingly.
Processing procedure and the described S300 of S300 ' are similar, do not repeat them here.
Embodiment 3
Fig. 6 is the modular structure schematic diagram of the network traffic sharing system described in the embodiment of the present invention 3, and as shown in Figure 6, described system comprises: root bridge unit 100, spanning tree unit 200 and overload processing unit 300.
Described bridge unit 100, is suitable for collection network topology information, is the VLAN selection root bridge in network, and specifies backup root bridge based on described network topological information.
See Fig. 7, described bridge unit 100 comprises: information collection module 110, root bridge module 120 and backup root bridge module 130.
Described information collection module 110, is suitable for collection network topology information;
Described bridge module 120, is suitable for based on described network topological information, and is the VLAN selection root bridge in network by configuration stp system priority.In addition, described bridge module 120, is also suitable for selecting the convergence switch in network to form root bridge pond, is that VLAN in network selects root bridge by configuring described bridge pond.Further, the root bridge of different VLAN is carried out hash setting by described bridge module, to reach the object that offered load is shared.
Described backup root bridge module 130, being suitable for based on described network topological information is that VLAN in network specifies backup root bridge.
Described spanning tree unit 200, be suitable for the situation adding VLAN according to node, calculate and comprise described bridge and the spanning tree of corresponding described VLAN, set up the connection between the port of nonroot bridge node in described spanning tree and described bridge, and, calculate and comprise described backup root bridge and the backup spanning tree of corresponding described VLAN.
See Fig. 8, described spanning tree unit 200 comprises: spanning tree module 210 and link block 220.
Described spanning tree module 210, is suitable for the situation adding VLAN according to node, calculates and comprises described bridge and the spanning tree of corresponding described VLAN.
Described link block 220, is suitable for setting up the connection between the port of nonroot bridge node in described spanning tree and described bridge.
See Fig. 9, described link block 220 comprises: build table submodule 221 and list issue submodule 222.
Describedly build table submodule 221, be suitable for generating the mapping table of VLAN belonging to the port of nonroot bridge node in described spanning tree and this nonroot bridge node.
Described list issues submodule 222, is suitable for described mapping table to be handed down to described nonroot bridge node, and described nonroot bridge node performs data retransmission according to described mapping table.
Described backup spanning tree module 230, is suitable for calculating and comprises described backup root bridge and the backup spanning tree of corresponding described VLAN.
Described overload processing unit 300, is suitable for when monitoring the overload of local link, is switched to by the node of corresponding for described local link VLAN and backs up spanning tree accordingly.
Embodiment 4
Figure 10 is the modular structure schematic diagram of the network traffic sharing system described in the embodiment of the present invention 4, and as shown in Figure 10, system described in this embodiment is substantially identical with system described in embodiment 3, and its difference is, described in this embodiment, system also comprises:
Fault processing unit 400, is suitable for when the root bridge of spanning tree breaks down, and is switched to by the node of corresponding for failure spanning tree VLAN and backs up spanning tree accordingly.
Embodiment 5
Figure 11 is the hardware configuration schematic diagram of the network traffic sharing system described in the embodiment of the present invention 5, and as shown in figure 11, described system comprises: control appliance 500 and multiple switch 600.
See Figure 12, described control appliance 500 comprises: root Biodge device 510, spanning tree device 520, overload processing unit 530 and fault treating apparatus 540.
Described Biodge device 510, is suitable for collection network topology information, is the VLAN selection root bridge in network, and specifies backup root bridge based on described network topological information.Described bridge and backup root bridge are respectively different described switches 600.
See Figure 13, described Biodge device 510 comprises: information collector 511, root bridge selector 512 and backup root bridge selector 513.
Described information collector 511, is suitable for collection network topology information;
Described bridge selector 512, is suitable for based on described network topological information, and is the VLAN selection root bridge in network by configuration stp system priority.In addition, described bridge selector 512, is also suitable for selecting the convergence switch in network to form root bridge pond, is that VLAN in network selects root bridge by configuring described bridge pond.Further, the root bridge of different VLAN is carried out hash setting by described bridge selector 512, to reach the object that offered load is shared.
Described backup root bridge selector 513, being suitable for based on described network topological information is that VLAN in network specifies backup root bridge.
Described spanning tree device 520, be suitable for the situation adding VLAN according to node, calculate and comprise described bridge and the spanning tree of corresponding described VLAN, set up the connection between the port of nonroot bridge node in described spanning tree and described bridge, and, calculate and comprise described backup root bridge and the backup spanning tree of corresponding described VLAN.
See Figure 14, described spanning tree device 520 comprises: spanning tree calculator 521, connector 522 and backup spanning tree calculator 523.
Described spanning tree calculator 521, is suitable for the situation adding VLAN according to node, calculates and comprises described bridge and the spanning tree of corresponding described VLAN.
Described connector 522, is suitable for setting up the connection between the port of nonroot bridge node in described spanning tree and described bridge.
Described connector 522 comprises: build list cell part and list issues element.
Describedly build list cell part, be suitable for generating the mapping table of VLAN belonging to the port of nonroot bridge node in described spanning tree and this nonroot bridge node.
Described list issues element, is suitable for described mapping table to be handed down to described nonroot bridge node, and described nonroot bridge node performs data retransmission according to described mapping table.
Described backup spanning tree calculator 523, is suitable for calculating and comprises described backup root bridge and the backup spanning tree of corresponding described VLAN.
Described overload processing unit 530, is suitable for when monitoring the overload of local link, is switched to by the node of corresponding for described local link VLAN and backs up spanning tree accordingly.
Described fault treating apparatus 540, is suitable for when the root bridge of spanning tree breaks down, and is switched to by the node of corresponding for failure spanning tree VLAN and backs up spanning tree accordingly.
Network traffic sharing method and system described in the embodiment of the present invention, network topological information based on the whole network is that each VLAN selects root bridge, calculate spanning tree, and specify backup root bridge and backup spanning tree, thus when there is link Overload or root bridge fault, spanning tree can be made to reselect root bridge, load balancing is realized by dynamic conditioning service traffics, this kind adjusts the granularity adjustment spanning tree of mode based on VLAN, the converting flow of other VLAN can not be interrupted, and former MSTP agreement computing time can be reduced, realize spanning tree path fast and switch.
One of ordinary skill in the art will appreciate that the possible implementation of various aspects of the present invention or various aspects can be embodied as system, method or computer program.Therefore, the possible implementation of each aspect of the present invention or various aspects can adopt complete hardware embodiment, completely software implementation (comprising firmware, resident software etc.), or the form of the embodiment of integration software and hardware aspect, is all referred to as " circuit ", " module " or " system " here.In addition, the possible implementation of each aspect of the present invention or various aspects can adopt the form of computer program, and computer program refers to the computer readable program code be stored in computer-readable medium.
Computer-readable medium can be computer-readable signal media or computer-readable recording medium.Computer-readable recording medium is including but not limited to electronics, magnetic, optics, electromagnetism, infrared or semiconductor system, equipment or device, or aforesaid appropriately combined arbitrarily, as random access memory (RAM), read-only memory (ROM), Erasable Programmable Read Only Memory EPROM (EPROM or flash memory), optical fiber, portable read-only memory (CD-ROM).
Processor in computer reads the computer readable program code be stored in computer-readable medium, makes processor can perform the function action specified in the combination of each step or each step in flow charts; Generate the device implementing the function action specified in the combination of each block of block diagram or each piece.
Computer readable program code can perform completely on the computer of user, part performs on the computer of user, as independent software kit, part on the computer of user and part on the remote computer, or to perform on remote computer or server completely.Also it should be noted that in some alternate embodiment, in flow charts in each step or block diagram each piece the function that indicates may not according to occurring in sequence of indicating in figure.Such as, depend on involved function, in fact two steps illustrated in succession or two blocks may be executed substantially concurrently, or these blocks sometimes may be performed by with reverse order.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (13)

1. a network traffic sharing method, is characterized in that, comprising:
By collection network topology information on the controller, be that VLAN in network selects root bridge based on described network topological information, and specify backup root bridge;
The situation of VLAN is added according to node, calculate and comprise described bridge and the spanning tree of corresponding described VLAN, set up the connection between the port of nonroot bridge node in described spanning tree and described bridge, and, calculate and comprise described backup root bridge and the backup spanning tree of corresponding described VLAN;
When monitoring the overload of local link, the nonroot bridge node of corresponding for described local link VLAN being switched to and backs up spanning tree accordingly.
2. the method for claim 1, is characterized in that, described is that VLAN in network selects in the step of root bridge based on described network topological information, is that VLAN in network selects root bridge by configuration stp system priority.
3. the method for claim 1, it is characterized in that, described is that VLAN in network selects in the step of root bridge based on described network topological information, selects the convergence switch in network to form root bridge pond, is that VLAN in network selects root bridge by configuring described bridge pond.
4. the method for claim 1, is characterized in that, described is that VLAN in network selects, in the step of root bridge, the root bridge of different VLAN to be carried out hash setting based on described network topological information.
5. the method for claim 1, is characterized in that, sets up the connection between the port of nonroot bridge node in described spanning tree and described bridge, specifically comprises:
Generate the mapping table of VLAN belonging to the port of nonroot bridge node in described spanning tree and this nonroot bridge node;
Described mapping table is handed down to described nonroot bridge node, and described nonroot bridge node performs data retransmission according to described mapping table.
6. the method for claim 1, is characterized in that, described in calculate and comprise described backup root bridge and the backup spanning tree of corresponding described VLAN, also comprise afterwards:
When the root bridge of spanning tree breaks down, the nonroot bridge node of corresponding for failure spanning tree VLAN is switched to and backs up spanning tree accordingly.
7. a network traffic sharing system, is characterized in that, described system comprises:
Root bridge unit, is suitable for by collection network topology information on the controller, is that VLAN in network selects root bridge, and specifies backup root bridge based on described network topological information;
Spanning tree unit, be suitable for the situation adding VLAN according to node, calculate and comprise described bridge and the spanning tree of corresponding described VLAN, set up the connection between the port of nonroot bridge node in described spanning tree and described bridge, and, calculate and comprise described backup root bridge and the backup spanning tree of corresponding described VLAN;
Overload processing unit, is suitable for when monitoring the overload of local link, is switched to by the node of corresponding for described local link VLAN and backs up spanning tree accordingly.
8. system as claimed in claim 7, it is characterized in that, described bridge unit comprises:
Information collection module, is suitable for by collection network topology information on the controller;
Root bridge module, is suitable for based on described network topological information, and is the VLAN selection root bridge in network by configuration stp system priority;
Backup root bridge module, being suitable for based on described network topological information is that VLAN in network specifies backup root bridge.
9. system as claimed in claim 8, is characterized in that, described bridge module, is also suitable for selecting the convergence switch in network to form root bridge pond, is that VLAN in network selects root bridge by configuring described bridge pond.
10. system as claimed in claim 8, it is characterized in that, the root bridge of different VLAN is carried out hash setting by described bridge module.
11. systems as claimed in claim 7, it is characterized in that, described spanning tree unit comprises:
Spanning tree module, is suitable for the situation adding VLAN according to node, calculates and comprises described bridge and the spanning tree of corresponding described VLAN;
Link block, is suitable for setting up the connection between the port of nonroot bridge node in described spanning tree and described bridge;
Backup spanning tree module, is suitable for calculating and comprises described backup root bridge and the backup spanning tree of corresponding described VLAN.
12. systems as claimed in claim 11, it is characterized in that, described link block comprises:
Build table submodule, be suitable for generating the mapping table of VLAN belonging to the port of nonroot bridge node in described spanning tree and this nonroot bridge node;
List issues submodule, is suitable for described mapping table to be handed down to described nonroot bridge node, and described nonroot bridge node performs data retransmission according to described mapping table.
13. systems as claimed in claim 7, it is characterized in that, described system also comprises:
Fault processing unit, is suitable for when the root bridge of spanning tree breaks down, and is switched to by the node of corresponding for failure spanning tree VLAN and backs up spanning tree accordingly.
CN201310036202.7A 2013-01-30 2013-01-30 A kind of method and system of network traffic sharing Expired - Fee Related CN103067298B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310036202.7A CN103067298B (en) 2013-01-30 2013-01-30 A kind of method and system of network traffic sharing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310036202.7A CN103067298B (en) 2013-01-30 2013-01-30 A kind of method and system of network traffic sharing

Publications (2)

Publication Number Publication Date
CN103067298A CN103067298A (en) 2013-04-24
CN103067298B true CN103067298B (en) 2016-03-30

Family

ID=48109766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310036202.7A Expired - Fee Related CN103067298B (en) 2013-01-30 2013-01-30 A kind of method and system of network traffic sharing

Country Status (1)

Country Link
CN (1) CN103067298B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103441866A (en) * 2013-08-13 2013-12-11 北京华为数字技术有限公司 Communication method, system and control equipment of virtual local area networks
CN103501274B (en) * 2013-09-24 2017-09-12 神州数码网络(北京)有限公司 Flow load sharing method and device in a kind of multilink transparent internet
CN106464609B (en) * 2014-10-13 2019-09-13 华为技术有限公司 Service optimization method, transmission net controller, customer controller and system
CN112217669A (en) * 2020-09-29 2021-01-12 北京东土军悦科技有限公司 Service data transmission method and device, terminal equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905561A (en) * 2006-08-09 2007-01-31 杭州华为三康技术有限公司 Method for improving flow reliability between two layer network and external network
US7586856B1 (en) * 2003-03-20 2009-09-08 Foundry Networks, Inc. Technical enhancements to STP (IEEE 802.1D) implementation
CN101827025A (en) * 2010-04-02 2010-09-08 华为技术有限公司 Communication network multicast protection method, system and device
CN102055676A (en) * 2011-01-25 2011-05-11 杭州华三通信技术有限公司 Method and device for realizing load sharing in multiple spanning tree protocol (MSTP) networking environment
CN102244599A (en) * 2010-05-11 2011-11-16 华为技术有限公司 Method for preventing or eliminating data ring, network node and network system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7586856B1 (en) * 2003-03-20 2009-09-08 Foundry Networks, Inc. Technical enhancements to STP (IEEE 802.1D) implementation
CN1905561A (en) * 2006-08-09 2007-01-31 杭州华为三康技术有限公司 Method for improving flow reliability between two layer network and external network
CN101827025A (en) * 2010-04-02 2010-09-08 华为技术有限公司 Communication network multicast protection method, system and device
CN102244599A (en) * 2010-05-11 2011-11-16 华为技术有限公司 Method for preventing or eliminating data ring, network node and network system
CN102055676A (en) * 2011-01-25 2011-05-11 杭州华三通信技术有限公司 Method and device for realizing load sharing in multiple spanning tree protocol (MSTP) networking environment

Also Published As

Publication number Publication date
CN103067298A (en) 2013-04-24

Similar Documents

Publication Publication Date Title
KR102123035B1 (en) Three stage folded clos optimization for 802.1aq
US9736065B2 (en) Level of hierarchy in MST for traffic localization and load balancing
CN103067298B (en) A kind of method and system of network traffic sharing
US20200059412A1 (en) SDN Network System, Controller, and Controlling Method
CN104270298A (en) Method and device for forwarding message in VXLAN
CN105915400A (en) Data stream switching method and system
EP2608459B1 (en) Router, virtual cluster router system and establishing method thereof
CN105162704B (en) The method and device of multicast replication in Overlay network
CN105577540A (en) Service link establishment method, device and system
CN105490937B (en) Ether virtual network gateway switching method and service provider's edge node devices
CN104639437A (en) Forwarding method and apparatus of broadcast messages in stack system
US20140112203A1 (en) Enhanced Fine-Grained Overlay Transport Virtualization Multi-Homing Using per-network Authoritative Edge Device Synchronization
CN104796339A (en) Rapid flooding treatment method and rapid flooding treatment device
CN102857415B (en) Routing bridge and device and method for controlling media access control address study
CN207377780U (en) A kind of control system of water pump
EP2685678A1 (en) Method, system, and switch for adding bridge in mstp to domain
CN104717140A (en) Method and device for fault treatment for edge route bridge equipment in TRILL network
CN106506396A (en) Flow load sharing method and convergence device
CN110391987B (en) Method, apparatus and computer readable medium for selecting a designated forwarder from a carrier edge device set
CN106100881A (en) A kind of transparent multilink interconnection TRILL network fault handling method and device
CN105515809A (en) Software definition network realization method and main controller
JP2010087551A (en) Network route setup system, network route setup method and network setting server
CN105490909A (en) Method and device for processing AVF in TRILL network
CN103685031A (en) Packet forwarding device and packet forwarding method
CN103248568B (en) Router and realization thereof support that redundancy is without the data forwarding method of numbering link

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200615

Address after: 214000 Jinke Dongfang Shuixie 45-4504, Wuxi City, Jiangsu Province

Patentee after: Wuxi cazhihui Network Technology Co., Ltd

Address before: 625, room 269, Connaught platinum Plaza, No. 518101, Qianjin Road, Xin'an street, Shenzhen, Guangdong, Baoan District

Patentee before: SHENZHEN SHANGGE INTELLECTUAL PROPERTY SERVICE Co.,Ltd.

Effective date of registration: 20200615

Address after: 625, room 269, Connaught platinum Plaza, No. 518101, Qianjin Road, Xin'an street, Shenzhen, Guangdong, Baoan District

Patentee after: SHENZHEN SHANGGE INTELLECTUAL PROPERTY SERVICE Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210218

Address after: 214000 291-1616 Guangyi Road, Liangxi District, Wuxi City, Jiangsu Province

Patentee after: Wuxi Aishuo Technology Co.,Ltd.

Address before: 214000 Jinke Dongfang Shuixie 45-4504, Wuxi City, Jiangsu Province

Patentee before: Wuxi cazhihui Network Technology Co., Ltd

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160330

Termination date: 20210130

CF01 Termination of patent right due to non-payment of annual fee