CN103067298A - Network flow allocation method and system - Google Patents

Network flow allocation method and system Download PDF

Info

Publication number
CN103067298A
CN103067298A CN2013100362027A CN201310036202A CN103067298A CN 103067298 A CN103067298 A CN 103067298A CN 2013100362027 A CN2013100362027 A CN 2013100362027A CN 201310036202 A CN201310036202 A CN 201310036202A CN 103067298 A CN103067298 A CN 103067298A
Authority
CN
China
Prior art keywords
root bridge
vlan
spanning tree
bridge
node
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.)
Granted
Application number
CN2013100362027A
Other languages
Chinese (zh)
Other versions
CN103067298B (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

Images

Abstract

The invention discloses a network flow allocation method and system, relating to the field of network communication. The method comprises the following steps of: collecting network topology information, selecting a root bridge for a VLAN (virtual local area network) in the network according to the network topology information, and designating a standby root bridge; calculating a spanning tree comprising the root bridge and corresponding to the VLAN according to the addition condition of nodes into the VLAN; establishing connection between the port of a non-root bridge node and the root bridge in the spanning tree; calculating a standby spanning tree comprising the standby root bridge and corresponding to the VLAN; and if the flow of a local link is overloaded according to monitoring, switching the non-root bridge node corresponding to the VLAN of the local link to the corresponding standby spanning tree. The method and system disclosed by the invention enable the spanning tree to re-select the root bridge and realize load balance by dynamically adjusting the business flow.

Description

A kind of method and system of network traffic sharing
Technical field
The present invention relates to network communications technology field, particularly a kind of method and system of network traffic sharing.
Background technology
In two layers of switching network, switch can not know as router that message can arrive destination node through the how many times forwarding, in case network exists loop will cause message constantly to circulate and hyperplasia in loop, produces broadcast storm.In the situation that broadcast storm, all effective bandwidth all is broadcasted storm and takies, and it is unavailable that network will become.
Spanning-Tree Protocol (Spanning Tree Protocol in this case, STP) arise at the historic moment, it is a kind of two layer-management agreements, and it reaches the purpose of eliminating the network double-layer loop by blocking selectively Network the Redundancy Link the redundancy, possesses simultaneously the backup functionality of link.
Multiple Spanning Tree Protocol (Multiple Spanning Tree Protocol, MSTP) has been introduced " example " concept (Instance).So-called example is exactly a plurality of VLAN(Virtual Local Area Network, VLAN) set, can save communication overhead and resources occupation rate by a plurality of VLAN being bundled into the method for going in the example.The calculating of each example topology of MSTP is independently, just can realize load balancing on these examples.Can be mapped to the VLAN of a plurality of identical topological structures in the example when in use.
MSTP arranges VLAN mapping table (being the mapping table of VLAN and spanning tree) VLAN and spanning tree is connected.In traditional data center network, come brokenly ring by operation MSTP agreement on the whole network equipment.Traditional VLAN have following defective in the MSTP network:
VLAN and spanning-tree instance be static configuration on whole network equipment, when unbalanced if there is flow load, can't dynamically adjust the load balancing of service traffics;
It is larger that MSTP calculating loop time is affected by network topology, and 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: how to provide a kind of method and system of network traffic sharing, to realize load balancing by dynamically adjusting service traffics.
In order to solve the problems of the technologies described above, the embodiment of the invention discloses following technical scheme:
First aspect provides a kind of network traffic sharing method, and described method comprises:
The collection network topology information is that VLAN in the network selects root bridge based on described network topological information, and specifies backup root bridge;
The situation that adds VLAN according to node, calculate the spanning tree that comprises described root bridge and corresponding described VLAN, being connected between the port of setting up nonroot bridge node in the described spanning tree and the described root bridge, and, calculate the backup spanning tree that comprises described backup root bridge and corresponding described VLAN;
When monitoring the overload of local link, the nonroot bridge node of the corresponding VLAN of described local link is switched to corresponding backup spanning tree.
In the possible implementation of the first of first aspect, described is that VLAN in the network selects in the step of root bridge based on described network topological information, is that VLAN in the network selects root bridge by the configuration stp system priority.
In the possible implementation of the second of first aspect, described is in the step of the VLAN selection root bridge in the network based on described network topological information, selecting the convergence switch in the network to consist of the root bridge pond, is that VLAN in the network selects root bridge by configuring described root bridge pond.
In the possible implementation of the first of first aspect, described is in the step of the VLAN selection root bridge in the network, the root bridge of different VLAN to be carried out the hash setting based on described network topological information.
In the possible implementation of the first of first aspect, being connected between the port of setting up nonroot bridge node in the described spanning tree and the described root bridge specifically comprises:
Generate the port of nonroot bridge node in the described spanning tree and the mapping table of the affiliated VLAN of this nonroot bridge node;
Described mapping table is handed down to described nonroot bridge node, and described nonroot bridge node is transmitted according to described mapping table executing data.
In the possible implementation of the first of first aspect, the described backup spanning tree that comprises described backup root bridge and corresponding described VLAN that calculates also comprises afterwards:
When the root bridge of spanning tree breaks down, the nonroot bridge node of the corresponding VLAN of fault spanning tree is switched to corresponding backup spanning tree.
Second aspect provides another kind of network traffic sharing system, and described system comprises:
The root bridge unit is suitable for the collection network topology information, is that VLAN in the network selects root bridge based on described network topological information, and specifies backup root bridge;
The spanning tree unit, be suitable for adding according to node the situation of VLAN, calculate the spanning tree that comprises described root bridge and corresponding described VLAN, being connected between the port of setting up nonroot bridge node in the described spanning tree and the described root bridge, and, calculate the backup spanning tree that comprises described backup root bridge and corresponding described VLAN;
The overload processing unit is suitable for when monitor the overload of local link, and the node of described local link correspondence VLAN is switched to corresponding backup spanning tree.
In the possible implementation of the first of second aspect, described root bridge unit comprises:
The information module is suitable for the collection network topology information;
The root bridge module is suitable for based on described network topological information, and is that VLAN in the network selects root bridge by the configuration stp system priority;
The backup root bridge module, being suitable for based on described network topological information is that VLAN in the network specifies backup root bridge.
In the possible implementation of the first of second aspect, described root bridge module also is suitable for selecting the convergence switch in the network to consist of the root bridge pond, is that VLAN in the network selects root bridge by configuring described root bridge pond.
In the possible implementation of the first of second aspect, described root bridge module is carried out the hash setting with the root bridge of different VLAN.
In the possible implementation of the first of second aspect, described spanning tree unit comprises:
The spanning tree module is suitable for the situation according to node adding VLAN, calculates the spanning tree that comprises described root bridge and corresponding described VLAN;
Being connected between the link block, the port that is suitable for setting up nonroot bridge node in the described spanning tree and described root bridge;
Backup spanning tree module is suitable for calculating the backup spanning tree that comprises described backup root bridge and corresponding described VLAN.
In the possible implementation of the first of second aspect, described link block comprises:
Build the table submodule, be suitable for generating the port of nonroot bridge node in the described spanning tree and the mapping table of the affiliated VLAN of this nonroot bridge node;
List issues submodule, is suitable for described mapping table is handed down to described nonroot bridge node, and described nonroot bridge node is transmitted according to described mapping table executing data.
In the possible implementation of the first of second aspect, described system also comprises:
Fault processing unit is suitable for when the root bridge of spanning tree breaks down, and the node of the corresponding VLAN of fault spanning tree is switched to corresponding backup spanning tree.Network traffic sharing method and system of the present invention, network topological information based on the whole network is selected root bridge for each VLAN, calculate spanning tree, and specify backup root bridge and back up spanning tree, thereby when link overload or root bridge fault occurring, can make spanning tree reselect root bridge, realize load balancing by dynamic adjustment service traffics, this kind adjustment mode is regulated spanning tree based on the granularity of VLAN, can not interrupt the converting flow of other VLAN, and can reduce former MSTP agreement computing time, realize that switch in the spanning tree path fast.
Description of drawings
Fig. 1 is the embodiment of the invention 1 described network traffic sharing method flow diagram;
Fig. 2 is that root bridge is selected schematic diagram in the embodiment of the invention 1;
Fig. 3 is that spanning tree generates schematic diagram in the embodiment of the invention 1;
Fig. 4 a ~ 4b is the processing procedure schematic diagram during overload in the embodiment of the invention 1;
Fig. 5 is the embodiment of the invention 2 described network traffic sharing method flow diagrams;
Fig. 6 is the modular structure schematic diagram of the described network traffic sharing of the embodiment of the invention 3 system;
Fig. 7 is the modular structure schematic diagram of the embodiment of the invention 3 described root bridge unit;
Fig. 8 is the modular structure schematic diagram of the embodiment of the invention 3 described spanning tree unit;
Fig. 9 is the modular structure schematic diagram of the embodiment of the invention 3 described link blocks;
Figure 10 is the modular structure schematic diagram of the described network traffic sharing of the embodiment of the invention 4 system;
Figure 11 is the hardware configuration schematic diagram of the described network traffic sharing of the embodiment of the invention 5 system;
Figure 12 is the hardware configuration schematic diagram of the embodiment of the invention 5 described control appliances;
Figure 13 is the hardware configuration schematic diagram of the embodiment of the invention 5 described root bridge devices;
Figure 14 is the hardware configuration schematic diagram of the embodiment of the invention 5 described spanning tree devices.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.Following examples are used for explanation the present invention, but are not used for limiting the scope of the invention.
The described network traffic sharing method and system of the application by collecting full mesh topology at controller (Controller), select convergence switch to consist of the root bridge pond, select root bridge for each VLAN in the root bridge pond when VLAN creates.Described method and system can also detect the flow of each VLAN on the link, when service traffics among the VLAN are transshipped, thereby reselect the load balancing that root bridge can dynamic adjustments VLAN service traffics, and be that VLAN specifies backup root bridge, calculate in advance backup spanning tree path, when main spanning tree root bridge fault, can switch to fast the backup spanning tree like this.
Embodiment 1
Fig. 1 is the embodiment of the invention 1 described network traffic sharing method flow diagram, and as shown in Figure 1, described method comprises:
S100, collection network topology information are that VLAN in the network selects root bridge based on described network topological information, and specify backup root bridge.
Among the S100, can be that VLAN in the network selects root bridge by the configuration stp system priority; Can be that VLAN in the network selects root bridge by configuration root bridge pond also, wherein said root bridge pond have comprised all convergence switches in the current network.
Wherein, when being that VLAN in the network is when selecting root bridge by the configuration stp system priority, be each node configuration stp system priority corresponding to node place VLAN at first, the numerical value of this STP system priority is 4096 integral multiple, can be 0,4096,8192 according to priority from height to the low numerical value of arranging this STP system priority ..., and the node that arbitrary moment has the highest STP system priority is the root bridge of its place VLAN.
When being that VLAN in the network selects root bridge by configuration root bridge pond, need to be each node configuration stp system priority corresponding to node place VLAN at first also, then be that 0 and 4096 node is put into the root bridge pond with the numerical value of STP system priority among each VLAN, wherein, the numerical value of STP system priority is the root bridge that 0 node will be selected as its place VLAN, and the numerical value of STP system priority is the backup root bridge that 4096 node will be selected as its place VLAN.
Referring to Fig. 2, network topological information shows that node R B3, RB4, RB5 and RB6 are positioned at lower floor, node R B1 and RB2 are positioned at the upper strata, and comprise two virtual LAN VLAN 1 and VLAN2 in this network, controller is set to 0 according to the STP system priority of above-mentioned network topological information RB1 in VLAN1, the STP system priority of RB2 in VLAN1 is set to 4096, simultaneously, the STP system priority of RB2 in VLAN2 is set to the STP system priority of 0, RB1 in VLAN2 and is set to 4096.According to above-mentioned setting, RB1 will be as the root bridge of VLAN1, and RB2 will be as the backup root bridge of VLAN1; RB2 will be as the root bridge of VLAN2, and RB1 will be as the backup root bridge of VLAN1.
Generally speaking, preferably the root bridge of different VLAN is carried out the hash setting, as shown in Figure 2, with the root bridge of RB1 as VLAN1, with the root bridge of RB2 as VLAN2, can realize better load balancing like this, reduce the situation of local link appearance overload in the network.
S200, add the situation of VLAN according to node, calculate the spanning tree that comprises described root bridge and corresponding described VLAN, being connected between the port of setting up nonroot bridge node in the described spanning tree and the described root bridge, and, calculate the backup spanning tree that comprises described backup root bridge and corresponding described VLAN.
Referring to 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 for pointing to the nonroot bridge node of RB1), and the spanning tree of VLAN2 (RB2 is root bridge, and RB3, RB5 and RB6 are for pointing to the nonroot bridge node of RB2).
Wherein, being connected between the port of setting up nonroot bridge node in the described spanning tree and the described root bridge specifically comprises:
The mapping table of VLAN under P1, the port that generates nonroot bridge node in the described spanning tree and this nonroot bridge node.
P2, described mapping table is handed down to described nonroot bridge node, described nonroot bridge node is transmitted according to described mapping table executing data.
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 is corresponding to VLAN1, connects RB1, and being used for will be from the data retransmission of VLAN1 to RB1; Port b on this node R B3 is corresponding to VLAN2, connects RB2, and being used for will be from the data retransmission of VLAN2 to RB2.This mapping table is generally generated by the situation of controller according to VLAN under the nonroot bridge node, and is issued to this nonroot bridge node, inquires about during for this nonroot bridge node for data forwarding.
Table 1 mapping table example
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 the corresponding VLAN of described local link is switched to corresponding backup spanning tree.
Referring to Fig. 4 a, suppose among the VLAN1 overload between the node R B3 and node R B1, node R B1 is the root bridge of VLAN1, node R B2 is the backup root bridge of VLAN1.Referring to Fig. 4 b, through after the processing 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, node R B2 replaces node R B1 to become the root bridge of VLAN1 like this, correspondingly, the port of nonroot bridge node among the VLAN1 (RB3, RB4, RB5) and the corresponding relation of VLAN change, namely among the VLAN1 nonroot bridge node by with the port repeat that is connected of the root bridge RB2 data from VLAN1.As shown in table 2 below, former of the port b of node R B3 is corresponding to VLAN2, switch to the backup spanning tree after, the port b of node R B3 is simultaneously corresponding to VLAN1 and VLAN2, node R B3 will cross port b from the data communication device of VLAN1 and be forwarded to RB2 like this.
Mapping table example after table 2 changes
Port Corresponding VLAN Connect root bridge
Port a ? RB1
Port b VLAN1/VLAN2 RB2
Need to prove, if RB2 is originally the root bridge of VLAN2, after then switching, as the root bridge of VLAN1 and VLAN2, RB2's RB2 originates by the VLAN label area divided data in the message after receiving data simultaneously.In addition, after the switching, RB1 becomes the backup root bridge of VLAN1, after the quantity flow between RB3 and RB1 is replied normally, can again switch, and makes RB1 again become the root bridge of VLAN1.
Embodiment 2
Fig. 5 is the embodiment of the invention 2 described network traffic sharing method flow diagrams, as shown in Figure 2, the described method of this embodiment and embodiment 1 described method are basic identical, its difference is, be S300 ' after the described S200: when the root bridge of spanning tree breaks down, the nonroot bridge node of the corresponding VLAN of fault spanning tree is switched to corresponding backup spanning tree.
The processing procedure of S300 ' and described S300 are similar, do not repeat them here.
Embodiment 3
Fig. 6 is the modular structure schematic diagram of the described network traffic sharing of the embodiment of the invention 3 system, and as shown in Figure 6, described system comprises: root bridge unit 100, spanning tree unit 200 and overload processing unit 300.
Described root bridge unit 100 is suitable for the collection network topology information, is that VLAN in the network selects root bridge based on described network topological information, and specifies backup root bridge.
Referring to Fig. 7, described root bridge unit 100 comprises: information module 110, root bridge module 120 and backup root bridge module 130.
Described information module 110 is suitable for the collection network topology information;
Described root bridge module 120 is suitable for based on described network topological information, and is that VLAN in the network selects root bridge by the configuration stp system priority.In addition, described root bridge module 120 also is suitable for selecting the convergence switch in the network to consist of the root bridge pond, is that VLAN in the network selects root bridge by configuring described root bridge pond.And described root bridge module is carried out the hash setting with the root bridge of different VLAN, the purpose of sharing to reach offered load.
Described backup root bridge module 130, being suitable for based on described network topological information is that VLAN in the network specifies backup root bridge.
Described spanning tree unit 200, be suitable for adding according to node the situation of VLAN, calculate the spanning tree that comprises described root bridge and corresponding described VLAN, being connected between the port of setting up nonroot bridge node in the described spanning tree and the described root bridge, and, calculate the backup spanning tree that comprises described backup root bridge and corresponding described VLAN.
Referring to 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 according to node adding VLAN, calculates the spanning tree that comprises described root bridge and corresponding described VLAN.
Being connected between the described link block 220, the port that is suitable for setting up nonroot bridge node in the described spanning tree and described root bridge.
Referring to Fig. 9, described link block 220 comprises: build table submodule 221 and list and issue submodule 222.
The described table submodule 221 of building is suitable for generating the port of nonroot bridge node in the described spanning tree and the mapping table of the affiliated VLAN of this nonroot bridge node.
Described list issues submodule 222, is suitable for described mapping table is handed down to described nonroot bridge node, and described nonroot bridge node is transmitted according to described mapping table executing data.
Described backup spanning tree module 230 is suitable for calculating the backup spanning tree that comprises described backup root bridge and corresponding described VLAN.
Described overload processing unit 300 is suitable for when monitoring the overload of local link, and the node of the corresponding VLAN of described local link is switched to corresponding backup spanning tree.
Embodiment 4
Figure 10 is the modular structure schematic diagram of the described network traffic sharing of the embodiment of the invention 4 system, and as shown in figure 10, the described system of this embodiment and embodiment 3 described systems are basic identical, and its difference is, the described system of this embodiment also comprises:
Fault processing unit 400 is suitable for when the root bridge of spanning tree breaks down, and the node of the corresponding VLAN of fault spanning tree is switched to corresponding backup spanning tree.
Embodiment 5
Figure 11 is the hardware configuration schematic diagram of the described network traffic sharing of the embodiment of the invention 5 system, and as shown in figure 11, described system comprises: control appliance 500 and a plurality of switch 600.
Referring to Figure 12, described control appliance 500 comprises: root bridge device 510, spanning tree device 520, overload processing unit 530 and fault treating apparatus 540.
Described root bridge device 510 is suitable for the collection network topology information, is that VLAN in the network selects root bridge based on described network topological information, and specifies backup root bridge.Described root bridge is respectively different described switches 600 with backup root bridge.
Referring to Figure 13, described root bridge device 510 comprises: information collector 511, root bridge selector 512 and backup root bridge selector 513.
Described information collector 511 is suitable for the collection network topology information;
Described root bridge selector 512 is suitable for based on described network topological information, and is that VLAN in the network selects root bridge by the configuration stp system priority.In addition, described root bridge selector 512 also is suitable for selecting the convergence switch in the network to consist of the root bridge pond, is that VLAN in the network selects root bridge by configuring described root bridge pond.And described root bridge selector 512 carries out the hash setting with the root bridge of different VLAN, the purpose of sharing to reach offered load.
Described backup root bridge selector 513, being suitable for based on described network topological information is that VLAN in the network specifies backup root bridge.
Described spanning tree device 520, be suitable for adding according to node the situation of VLAN, calculate the spanning tree that comprises described root bridge and corresponding described VLAN, being connected between the port of setting up nonroot bridge node in the described spanning tree and the described root bridge, and, calculate the backup spanning tree that comprises described backup root bridge and corresponding described VLAN.
Referring to 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 according to node adding VLAN, calculates the spanning tree that comprises described root bridge and corresponding described VLAN.
Being connected between the described connector 522, the port that is suitable for setting up nonroot bridge node in the described spanning tree and described root bridge.
Described connector 522 comprises: build list cell spare and list issues element.
The described list cell spare of building is suitable for generating the port of nonroot bridge node in the described spanning tree and the mapping table of the affiliated VLAN of this nonroot bridge node.
Described list issues element, is suitable for described mapping table is handed down to described nonroot bridge node, and described nonroot bridge node is transmitted according to described mapping table executing data.
Described backup spanning tree calculator 523 is suitable for calculating the backup spanning tree that comprises described backup root bridge and corresponding described VLAN.
Described overload processing unit 530 is suitable for when monitoring the overload of local link, and the node of the corresponding VLAN of described local link is switched to corresponding backup spanning tree.
Described fault treating apparatus 540 is suitable for when the root bridge of spanning tree breaks down, and the node of the corresponding VLAN of fault spanning tree is switched to corresponding backup spanning tree.
The described network traffic sharing method and system of the embodiment of the invention, network topological information based on the whole network is selected root bridge for each VLAN, calculate spanning tree, and specify backup root bridge and back up spanning tree, thereby when link overload or root bridge fault occurring, can make spanning tree reselect root bridge, realize load balancing by dynamic adjustment service traffics, this kind adjustment mode is regulated spanning tree based on the granularity of VLAN, can not interrupt the converting flow of other VLAN, and can reduce former MSTP agreement computing time, realize that switch in the spanning tree path fast.
The possible implementation that one of ordinary skill in the art will appreciate that 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 implementation example, complete implement software example (comprising firmware, resident software etc.), perhaps the form of the embodiment of integration software and hardware aspect all is 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 be stored in the computer readable program code in the 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, perhaps aforesaid any appropriate combination is such 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 the computer reads the computer readable program code that is stored in the computer-readable medium, so that processor can be carried out setting function action in the combination of in flow chart each step or each step; Generation is implemented in the device of setting function action in the combination of each piece of block diagram or each piece.
Computer readable program code can be fully carried out at user's computer, part is carried out at user's computer, as on independent software kit, the computer of part the user and part on remote computer, perhaps carry out at remote computer or server fully.Also should be noted that in some alternate embodiment, the function that each piece indicated in each step or the block diagram in flow chart may be not according to occurring in sequence of indicating among the figure.For example, depend on related function, in fact two steps or two pieces of illustrating in succession may roughly be carried out simultaneously, and perhaps these pieces sometimes may be carried out with reverse order.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (13)

1. a network traffic sharing method is characterized in that, comprising:
The collection network topology information is that VLAN in the network selects root bridge based on described network topological information, and specifies backup root bridge;
The situation that adds VLAN according to node, calculate the spanning tree that comprises described root bridge and corresponding described VLAN, being connected between the port of setting up nonroot bridge node in the described spanning tree and the described root bridge, and, calculate the backup spanning tree that comprises described backup root bridge and corresponding described VLAN;
When monitoring the overload of local link, the nonroot bridge node of the corresponding VLAN of described local link is switched to corresponding backup spanning tree.
2. the method for claim 1 is characterized in that, described is that VLAN in the network selects in the step of root bridge based on described network topological information, is that VLAN in the network selects root bridge by the configuration stp system priority.
3. the method for claim 1, it is characterized in that, described is that VLAN in the network selects in the step of root bridge based on described network topological information, selects the convergence switch in the network to consist of the root bridge pond, is that VLAN in the network selects root bridge by configuring described root bridge pond.
4. the method for claim 1 is characterized in that, described is in the step of the VLAN selection root bridge in the network, the root bridge of different VLAN to be carried out the hash setting based on described network topological information.
5. the method for claim 1 is characterized in that, being connected between the port of setting up nonroot bridge node in the described spanning tree and the described root bridge specifically comprises:
Generate the port of nonroot bridge node in the described spanning tree and the mapping table of the affiliated VLAN of this nonroot bridge node;
Described mapping table is handed down to described nonroot bridge node, and described nonroot bridge node is transmitted according to described mapping table executing data.
6. the method for claim 1 is characterized in that, the described backup spanning tree that comprises described backup root bridge and corresponding described VLAN that calculates also comprises afterwards:
When the root bridge of spanning tree breaks down, the nonroot bridge node of the corresponding VLAN of fault spanning tree is switched to corresponding backup spanning tree.
7. a network traffic sharing system is characterized in that, described system comprises:
The root bridge unit is suitable for the collection network topology information, is that VLAN in the network selects root bridge based on described network topological information, and specifies backup root bridge;
The spanning tree unit, be suitable for adding according to node the situation of VLAN, calculate the spanning tree that comprises described root bridge and corresponding described VLAN, being connected between the port of setting up nonroot bridge node in the described spanning tree and the described root bridge, and, calculate the backup spanning tree that comprises described backup root bridge and corresponding described VLAN;
The overload processing unit is suitable for when monitor the overload of local link, and the node of described local link correspondence VLAN is switched to corresponding backup spanning tree.
8. system as claimed in claim 7 is characterized in that, described root bridge unit comprises:
The information module is suitable for the collection network topology information;
The root bridge module is suitable for based on described network topological information, and is that VLAN in the network selects root bridge by the configuration stp system priority;
The backup root bridge module, being suitable for based on described network topological information is that VLAN in the network specifies backup root bridge.
9. system as claimed in claim 8 is characterized in that, described root bridge module also is suitable for selecting the convergence switch in the network to consist of the root bridge pond, is that VLAN in the network selects root bridge by configuring described root bridge pond.
10. system as claimed in claim 8 is characterized in that, described root bridge module is carried out the hash setting with the root bridge of different VLAN.
11. system as claimed in claim 7 is characterized in that, described spanning tree unit comprises:
The spanning tree module is suitable for the situation according to node adding VLAN, calculates the spanning tree that comprises described root bridge and corresponding described VLAN;
Being connected between the link block, the port that is suitable for setting up nonroot bridge node in the described spanning tree and described root bridge;
Backup spanning tree module is suitable for calculating the backup spanning tree that comprises described backup root bridge and corresponding described VLAN.
12. system as claimed in claim 11 is characterized in that, described link block comprises:
Build the table submodule, be suitable for generating the port of nonroot bridge node in the described spanning tree and the mapping table of the affiliated VLAN of this nonroot bridge node;
List issues submodule, is suitable for described mapping table is handed down to described nonroot bridge node, and described nonroot bridge node is transmitted according to described mapping table executing data.
13. system as claimed in claim 7 is characterized in that, described system also comprises:
Fault processing unit is suitable for when the root bridge of spanning tree breaks down, and the node of the corresponding VLAN of fault spanning tree is switched to corresponding backup spanning tree.
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 true CN103067298A (en) 2013-04-24
CN103067298B 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)

Cited By (5)

* 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
CN103501274A (en) * 2013-09-24 2014-01-08 神州数码网络(北京)有限公司 Method and device for load sharing of flow in TRILL network
CN106464609A (en) * 2014-10-13 2017-02-22 华为技术有限公司 Service optimization method, transmission network controller, customer controller and system
CN112217669A (en) * 2020-09-29 2021-01-12 北京东土军悦科技有限公司 Service data transmission method and device, terminal equipment and storage medium
CN115001949A (en) * 2021-03-01 2022-09-02 中国移动通信集团四川有限公司 Network backup protection method and system based on spanning tree

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

Cited By (10)

* 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
CN103501274A (en) * 2013-09-24 2014-01-08 神州数码网络(北京)有限公司 Method and device for load sharing of flow in TRILL network
CN103501274B (en) * 2013-09-24 2017-09-12 神州数码网络(北京)有限公司 Flow load sharing method and device in a kind of multilink transparent internet
CN106464609A (en) * 2014-10-13 2017-02-22 华为技术有限公司 Service optimization method, transmission network controller, customer controller and system
CN106464609B (en) * 2014-10-13 2019-09-13 华为技术有限公司 Service optimization method, transmission net controller, customer controller and system
US10715390B2 (en) 2014-10-13 2020-07-14 Huawei Technologies Co., Ltd. Service optimization method, transport controller, client controller, and system
CN112217669A (en) * 2020-09-29 2021-01-12 北京东土军悦科技有限公司 Service data transmission method and device, terminal equipment and storage medium
CN112217669B (en) * 2020-09-29 2022-09-27 北京东土军悦科技有限公司 Service data transmission method, device, terminal equipment and storage medium
CN115001949A (en) * 2021-03-01 2022-09-02 中国移动通信集团四川有限公司 Network backup protection method and system based on spanning tree
CN115001949B (en) * 2021-03-01 2023-10-27 中国移动通信集团四川有限公司 Network backup protection method and system based on spanning tree

Also Published As

Publication number Publication date
CN103067298B (en) 2016-03-30

Similar Documents

Publication Publication Date Title
KR102123035B1 (en) Three stage folded clos optimization for 802.1aq
US11637755B2 (en) SDN network system, controller, and controlling method
CN105162704B (en) The method and device of multicast replication in Overlay network
CN108011817A (en) A kind of method and system disposed again to power communication private network business route
CN104753828A (en) SDN controller, data central system and route connection method
CN103067298A (en) Network flow allocation method and system
CN102571612B (en) A kind of VRRP state switching method and three-layer switching equipment
CN105340230A (en) Virtual chassis topology management
CN104796339A (en) Rapid flooding treatment method and rapid flooding treatment device
CN108337179A (en) Link flow control method and device
CN104639437A (en) Forwarding method and apparatus of broadcast messages in stack system
CN105306365A (en) Power communication network and capacity expansion and destroy-resistant routing path determination method thereof
CN104283807A (en) TE tunnel building method and device
CN103441940A (en) Method and device for switching network device from stand-by state to main state and network device
CN110391987B (en) Method, apparatus and computer readable medium for selecting a designated forwarder from a carrier edge device set
KR20180122513A (en) Method and framework for traffic engineering in network hypervisor of sdn-based network virtualization platform
CN105515809A (en) Software definition network realization method and main controller
CN207377780U (en) A kind of control system of water pump
CN103248568B (en) Router and realization thereof support that redundancy is without the data forwarding method of numbering link
CN206559379U (en) Electric power terminal communication access net EPA looped network binode access infrastructure
CN104717140A (en) Method and device for fault treatment for edge route bridge equipment in TRILL network
CN107231661A (en) The method and micro-base station of a kind of flow equalization
KR101595609B1 (en) Method and apparatus for route separation of automatic switched optical network services
CN103701622A (en) IRF (intelligent resilient framework)-system-based multicast processing method and device
JP2010087551A (en) Network route setup system, network route setup method and network setting server

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
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.

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

Granted publication date: 20160330

Termination date: 20210130