CN106059884B - A kind of flow method of adjustment and device - Google Patents

A kind of flow method of adjustment and device Download PDF

Info

Publication number
CN106059884B
CN106059884B CN201610403482.4A CN201610403482A CN106059884B CN 106059884 B CN106059884 B CN 106059884B CN 201610403482 A CN201610403482 A CN 201610403482A CN 106059884 B CN106059884 B CN 106059884B
Authority
CN
China
Prior art keywords
target
spb
path
vlan
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610403482.4A
Other languages
Chinese (zh)
Other versions
CN106059884A (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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201610403482.4A priority Critical patent/CN106059884B/en
Publication of CN106059884A publication Critical patent/CN106059884A/en
Application granted granted Critical
Publication of CN106059884B publication Critical patent/CN106059884B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/126Shortest path evaluation minimising geographical or physical path length
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering

Landscapes

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

Abstract

The present invention provides a kind of flow method of adjustment and device, this method comprises: when target B-VLAN needs to be forwarded Path Migration, statistics migrates the flow of former forward-path to candidate forward-path, the average value of the outflow of the SPB public network mouth of each BEB equipment within a preset period of time on candidate forward-path;If average value of the outflow of the SPB public network mouth of each BEB equipment in the preset time period is respectively less than or the preset ratio of the maximum bandwidth equal to the SPB public network mouth on candidate forward-path, it is determined that the candidate forward-path is target forward-path;Flow of the target B-VLAN on former forward-path is migrated to the target forward-path.It can simplify flow adjustment operation using the embodiment of the present invention, improve the efficiency and real-time of flow adjustment.

Description

A kind of flow method of adjustment and device
Technical field
The present invention relates to network communication technology field more particularly to a kind of flow method of adjustment and devices.
Background technique
SPBM (Shortest Path Bridging MAC (Media Access Control, media access control), most Short path bridge MAC mode) it is one of SPB (Shortest Path Bridging, shortest path bridge) agreement.SPBM by SPB IS-IS (Intermediate System-to-Intermediate System, Intermediate System-to-Intermediate System) agreement It is completed jointly with MAC-in-MAC agreement.Wherein, MAC-in-MAC agreement is data protocol, is responsible for the encapsulation and transmission of data; SPB Intermediate System to Intermediate System is control protocol, is responsible for study and distribution network information, calculates the routing forwarding path of data.
Network after deployment SPBM is divided into following two parts:
SPB core network: (Shortest Path Bridging Network, shortest path bridging net are simple below by SPBN Referred to as SPB network), SPB network is by BEB (Backbone Edge Bridge, backbone edges bridge) and BCB (Backbone Core Bridge, backbone network core bridges) equipment (may be collectively referred to as SPB equipment) composition, it is completed by SPB Intermediate System to Intermediate System The calculating of shortest path.
User network (Customer network): by one or more edge of table equipment are connected to the tool of SPB network There is the double layer network of separate traffic function, usually controlled by business administration, is mainly made of host and switching equipment.
SPBM supports more examples, when inhomogeneous service traffics needs transmit between different websites, can use Multiple SPBM examples are realized.Wherein, same instance can only use same B-VLAN (Backbone VLAN (Virtual Local Area Network, virtual LAN), backbone network VLAN) carry out bearer traffic, identical B- can be used in different instances VLAN carrys out bearer traffic.
SPBM holding load is shared, and is gone out not in SPBN by ECT (Equal Cost Tree, equivalent tree) algorithm decision Same SPT (Shortest Path Tree, shortest path tree), each SPT correspond to a forward-path, shape between different SPT At the load balancing of flow.SPB only supports 16 kinds of ECT algorithms at present, i.e., can only at most have 16 forwarding roads in same SPB network Diameter.By establishing mapping relations between different B-VLAN and different ECT algorithms so that the message of B-VLAN by with its The corresponding calculated SPT forwarding of ECT algorithm reaches to realize that the message of different B-VLAN is forwarded by different paths The purpose of load balancing.
In SPB network, SPB equipment specifies the corresponding ECT algorithm of each B-VLAN by administrator, when discharge model occurs When variation, administrator is needed as the case may be, change the corresponding ECT algorithm of each B-VLAN, reach so as to adjust flow The purpose uniformly shared.
However practice discovery, in above-mentioned flow Adjusted Option, when discharge model changes, need to be intervened by administrator It is adjusted manually, process is cumbersome, and efficiency is lower, and the real-time of flow adjustment is poor.
Summary of the invention
The present invention provides a kind of flow method of adjustment and device, adjusts process to solve flow in existing flow Adjusted Option It is cumbersome, the problems such as efficiency is lower, and real-time is poor.
According to a first aspect of the embodiments of the present invention, a kind of flow method of adjustment is provided, comprising:
When target backbone virtual-LAN B-VLAN needs to be forwarded Path Migration, count former forward-path Flow is migrated to candidate forward-path, and the shortest path bridge SPB of each backbone edges bridge BEB equipment is public on candidate forward-path The average value of the outflow of network interface within a preset period of time;
If outflow being averaged in the preset time period of the SPB public network mouth of each BEB equipment on candidate forward-path Value is respectively less than or the preset ratio of the maximum bandwidth equal to the SPB public network mouth, it is determined that candidate's forward-path is target forwarding Path;
Flow of the target B-VLAN on former forward-path is migrated to the target forward-path.
According to a second aspect of the embodiments of the present invention, a kind of flow adjusting device is provided, comprising:
Statistic unit, for counting when target backbone virtual-LAN B-VLAN needs to be forwarded Path Migration The flow of former forward-path is migrated to candidate forward-path, each backbone edges bridge BEB equipment on candidate forward-path The average value of the outflow of shortest path bridge SPB public network mouth within a preset period of time;
Judging unit, for judging that the flow by former forward-path is migrated to candidate forward-path, candidate forward-path Upper each BEB equipment whether there is average value of the outflow of SPB public network mouth in the preset time period and be all larger than the SPB public network The preset ratio of the maximum bandwidth of mouth;
First determination unit, for judging the SPB public network mouth of each BEB equipment on candidate forward-path when the judging unit Average value of the outflow in the preset time period be respectively less than or the preset ratio of the maximum bandwidth equal to the SPB public network mouth When, determine that candidate's forward-path is target forward-path;
Flow adjustment unit turns for migrating flow of the target B-VLAN on former forward-path to the target Send out path.
Using the embodiment of the present invention, by when target B-VLAN needs to be forwarded Path Migration, counting former forwarding road The flow of diameter is migrated to candidate forward-path, and the outflow of the SPB public network mouth of each BEB equipment is default on candidate forward-path Average value in period, and work as the outflow of the SPB public network mouth of each BEB equipment on candidate forward-path within a preset period of time Average value be respectively less than or equal to the maximum bandwidth of the SPB public network mouth preset ratio when, determine the candidate forward-path for mesh Forward-path is marked, and flow of the target B-VLAN on former forward-path is migrated to target forward-path, realizes flow certainly Dynamic adjustment simplifies flow compared with needing to access the implementation manually adjusted by administrator in existing flow Adjusted Option Adjustment operation, improves the efficiency and real-time of flow adjustment.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of flow method of adjustment provided in an embodiment of the present invention;
Fig. 2 is a kind of configuration diagram of concrete application scene provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of flow adjusting device provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of another flow adjusting device provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another flow adjusting device provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another flow adjusting device provided in an embodiment of the present invention.
Specific embodiment
Technical solution in embodiment in order to enable those skilled in the art to better understand the present invention, and make of the invention real The above objects, features, and advantages for applying example can be more obvious and easy to understand, with reference to the accompanying drawing to technical side in the embodiment of the present invention Case is described in further detail.
It referring to Figure 1, is a kind of flow diagram of flow method of adjustment provided in an embodiment of the present invention, as shown in Figure 1, The flow method of adjustment may comprise steps of:
It should be noted that step 101~step 103 executing subject can be SDN (Software Defined Network, software defined network) network controller or SDN network controller processor, such as CPU (Center Process Unit, central processing unit).For ease of description, below using step 101~step 103 executing subject as SDN network controller For be illustrated.
Step 101, when target B-VLAN needs to be forwarded Path Migration, statistics migrates the flow of former forward-path To candidate forward-path, the outflow of the SPB public network mouth of each BEB equipment within a preset period of time flat on candidate forward-path Mean value.
In the embodiment of the present invention, SPB equipment is by after configuring and establishing SPB network, the available SPB of SDN network controller The topology information of network, such as SPB Interface status (including interface bandwidth), SPB neighbor information and LSDB (Link State DataBase, link state database) information etc..For example, SPB equipment can control after establishing SPB network to SDN network The information such as SPB Interface status, SPB neighbor information and LSDB information are sent on device.SDN network controller gets opening up for SPB network After flutterring structure, it can be calculated according to 16 kinds of ECT algorithms of the information and SPB agreement got and be turned present in SPB network Hair path simultaneously saves.
It is worth noting that in embodiments of the present invention, the topology information that SDN network controller obtains SPB network can also To be configured in SDN network controller in a manner of static configuration after SPB network foundation by administrator, it is embodied in This is repeated no more.
In the embodiment of the present invention, target B-VLAN and the B-VLAN for being not specific to a certain fixation, but may refer to SPB network The middle any B-VLAN for needing to be forwarded Path Migration, the embodiment of the present invention is subsequent no longer to be repeated.
In the embodiment of the present invention, when SDN network controller determines that target B-VLAN needs to be forwarded Path Migration, Each candidate forward-path (i.e. former forwarding road of target B-VLAN that SDN network controller needs that target B-VLAN can be migrated The equative route of diameter) traffic statistics are carried out, such as count inbound traffics, the SPB of the private network mouth of each BEB equipment on each candidate forward-path The outflow etc. of public network mouth, determination migrate the flow of the former forward-path of target B-VLAN to candidate forward-path, accordingly Candidate forward-path on each BEB equipment SPB public network mouth outflow, for example, can count forward-path migration after, accordingly The outflow of the SPB public network mouth of BEB equipment (can be set in advance by administrator within a preset period of time on ground candidate's forward-path Fixed, referred to herein as preset time period is denoted as t11) average value.
As an alternative embodiment, in embodiments of the present invention, needing to be forwarded the target B- of Path Migration VLAN can be determined in the following manner:
Count the outflow of the SPB public network mouth of each BEB equipment in SPB network;
When the average value for depositing outflow within a preset period of time is equal to the target SPB public network mouth of maximum bandwidth, and the target SPB public network mouth includes that there are other forward-paths in the outgoing interface and multiple B-VLAN for the flow of multiple B-VLAN The B-VLAN is then determined as needing to be forwarded the target B-VLAN of Path Migration by B-VLAN.
In this embodiment, after SPB network is established, SDN network controller can periodically or periodically obtain each The inbound traffics of BEB equipment private network mouth and the outflow of SPB public network mouth.
If SDN network controller finds some SPB public network according to the outflow of the SPB public network mouth of the BEB equipment got The outflow of mouthful (being assumed to be public network mouth A) is when (t11) average value is equal to the maximum bandwidth of public network mouth A within a preset period of time, SDN Network controller can be checked further in the BEB equipment (the affiliated BEB equipment of public network mouth A, referred to herein as BEB equipment A) No there are multiple B-VLAN to use outgoing interface of the same public network mouth (public network mouth A) as flow, and if it exists, then further judgement It is multiple using public network mouth A as whether including that there are other forward-paths (i.e. former forwarding roads in the B-VLAN of the outgoing interface of flow The equative route of diameter, outgoing interface be another public network mouth) B-VLAN, if (it is i.e. multiple using public network mouth A as flow out Include that there are the B-VLAN of other forward-paths in the B-VLAN of interface), then SDN network controller can consider the B-VLAN (i.e. using public network mouth A as the outgoing interface of flow, and there are the B-VLAN of other forward-paths) is to need to be forwarded path to move The B-VLAN (referred to herein as target B-VLAN) of shifting.
It should be noted that in embodiments of the present invention, if there is no multiple B-VLAN to use public network mouth A on BEB equipment A As there are multiple B-VLAN to use public network mouth A as the outgoing interface of flow on the outgoing interface or BEB equipment A of flow, but this is more Other forward-paths are not present in a B-VLAN, then SDN network controller can consider that there is no target B- on BEB equipment A VLAN or SDN network controller can be further determined that according to other strategies whether there is target B-VLAN on BEB equipment A, It is not limited in the embodiment of the present invention.
In this embodiment, when SDN network controller has determined on BEB equipment A there are after target VLAN, SDN network Changes in flow rate situation after controller needs to migrate forward-path counts, and after counting forward-path migration, candidate turns Send out average value (the SPB public network of the BEB equipment of the outflow of the SPB public network mouth of each BEB equipment on path within a preset period of time The flow of mouth original outflow and target B-VLAN to be migrated).
If the outflow of the SPB public network mouth of each BEB equipment is within a preset period of time on step 102, candidate forward-path Average value is respectively less than or the preset ratio of the maximum bandwidth equal to the SPB public network mouth, it is determined that candidate's forward-path is target Forward-path.
In the embodiment of the present invention, SDN network controller statistics migrates the flow on the former forward-path of target B-VLAN The outflow of the SPB public network mouth of each BEB equipment is within a preset period of time to candidate forward-path, on candidate's forward-path After average value, SDN network controller, which may determine that, whether there is SPB public network mouth in each BEB equipment on candidate's forward-path Outflow in the average value of preset time period be greater than the preset ratio of the maximum bandwidth of the SPB public network mouth (preset ratio be First preset ratio, it is assumed that be Z%, can be preset by administrator).
It preferably, is the migration repeatedly for avoiding flow forward-path, the value of Z is less than 100.
If it does not exist, i.e. SDN network controller determination migrates the flow on the former forward-path of target B-VLAN to time After selecting forward-path, the outflow of the SPB public network mouth of each BEB equipment being averaged within a preset period of time on candidate's forward-path Value is respectively less than or the first preset ratio of the maximum bandwidth equal to the SPB public network mouth, then SDN network controller can consider mesh Flow on the former forward-path of mark B-VLAN, which is migrated to candidate's forward-path, not will cause candidate's forward-path load mistake Greatly, thus, which can be determined as target forward-path by SDN network controller.
Optionally, in embodiments of the present invention, multiple candidate forward-paths meet as target forward-path if it exists Condition, then SDN network controller can use feelings according to the SPB public network port band width of each BEB equipment on each candidate forward-path Condition selects more idle candidate forward-path as target forward-path, alternatively, SDN network controller can also pass through it Its strategy determines target forward-path, such as random selection mode, and it is not limited in the embodiment of the present invention.
If it exists, i.e. SDN network controller determination migrates the flow on the former forward-path of target B-VLAN to candidate After forward-path, there are the outflow of SPB public network mouth within a preset period of time flat in each BEB equipment on candidate's forward-path Mean value Jun little Yu or the maximum bandwidth equal to the SPB public network mouth the first preset ratio, then SDN network controller can consider by Flow on the former forward-path of target B-VLAN, which is migrated to candidate's forward-path, will cause candidate's forward-path load mistake Greatly, thus, which will not be determined as target forward-path by SDN network controller.
Optionally, in embodiments of the present invention, become if SDN network controller determines that each candidate transfer path is not satisfied The condition of target forward-path, then a migration delay (delay can be arranged in SDN network controller for target SPB public network mouth Duration can be preset by administrator, and SDN network controller can judge again that target SPB public network mouth is after the duration It is no to need to be forwarded Path Migration), and alarming processing is carried out, such as send alarm notification to administrator;Alternatively, SDN network Controller can also be handled according to other strategies, and it is not limited in the embodiment of the present invention.
In addition, in this embodiment, if SPB public network mouth exists after all target B-VLAN complete forward-path migration The average value of outflow in preset time period is still greater than the 100% of the maximum bandwidth of target SPB public network mouth, then SDN network Controller can carry out alarming processing, such as send alarm notification to administrator.
Preferably, in this case, it after SDN network controller carries out alarming processing, can also be set for the SPB public network mouth Setting migration delay, (delay duration can be preset by administrator, and SDN network controller can judge again after the duration Whether target SPB public network mouth needs to be forwarded Path Migration), in case the SPB public network mouth triggers forward-path migration repeatedly Process.
Step 103 migrates flow of the target B-VLAN on former forward-path to target forward-path.
In the embodiment of the present invention, SDN network controller determines that target B-VLAN is forwarded the target forwarding of Path Migration After path, flow of the target B-VLAN on former forward-path can be migrated to target forward-path, to reach flow tune Whole purpose.
As an alternative embodiment, in embodiments of the present invention, when there are multiple target B-VLAN, the present invention Embodiment provide flow Adjusted Option can with the following steps are included:
11) average value of the inbound traffics of each target B-VLAN within a preset period of time in target BEB equipment, is counted;Wherein, Target BEB equipment is BEB equipment belonging to target SPB public network mouth;
12), the sequence of the average value of the inbound traffics according to each target B-VLAN within a preset period of time from big to small, respectively Path Migration is forwarded to each target B-VLAN, until forward-path migration after target SPB public network mouth within a preset period of time Outflow average value be equal to target SPB public network mouth maximum bandwidth or all target B-VLAN complete forward-path Migration.
In this embodiment, when SDN network controller needs to be forwarded target B-VLAN Path Migration, and target B- VLAN there are it is multiple when, SDN network controller can count BEB equipment belonging to target SPB public network mouth (such as above-mentioned public network mouth A) The inbound traffics of each target B-VLAN within a preset period of time on (such as above-mentioned BEB equipment A, referred to herein as target BEB equipment) Average value, and the sequence of the average value of the inbound traffics according to each target B-VLAN within a preset period of time from big to small, it is right respectively Each target B-VLAN is forwarded Path Migration, until target SPB public network mouth is within a preset period of time after forward-path migration The average value of the outflow of the average value of outflow within a preset period of time is less than or equal to the maximum belt of target SPB public network mouth Width or all target B-VLAN complete forward-path migration.
It is worth noting that in this embodiment, if after all target B-VLAN complete forward-path migration, SPB The average value of the outflow of public network mouth within a preset period of time is still equal to the maximum bandwidth of target SPB public network mouth, then SDN network Controller can carry out alarming processing, such as send alarm notification to administrator.
Preferably, in this case, it after SDN network controller carries out alarming processing, can also be set for the SPB public network mouth Migration delay (delay duration can be preset by administrator, be denoted as t12 herein) is set, in case the SPB public network mouth is repeatedly It triggers forward-path and migrates process.
As an alternative embodiment, in above-mentioned steps 103, by flow of the target B-VLAN on former forward-path It migrates to target forward-path, may comprise steps of:
11), target forward-path is handed down to the target SPB equipment including target B-VLAN;
12), when receiving the first feedback message that each target SPB equipment is sent, it is logical that first is sent to target SPB equipment Know message, wherein the first notification message is used for the stream for notifying target SPB equipment using target forward-path forwarding target B-VLAN Amount, the first feedback message are that target SPB equipment is sent after the corresponding forwarding-table item of target forward-path to be issued to hardware success 's;
13) it, when receiving the second feedback message that each target SPB equipment is sent, is set after preset time to target SPB Preparation send second notification message, wherein second notification message is for notifying target SPB equipment to delete former corresponding turn of forward-path Forwarding list item, the second feedback message are sent after target SPB equipment completes path switching.
It in this embodiment, can will be under the target forward-path after SDN network controller determines target forward-path Issue the SPB equipment (referred to herein as target SPB equipment) including target B-VLAN;Target SPB equipment receives the target and turns After sending out path, corresponding forwarding-table item can be generated according to the target forward-path, and by the corresponding forwarding of target forward-path List item issues hardware, if issuing success, target SPB equipment can return to forwarding-table item to SDN network controller and issue success Feedback message (referred to herein as the first feedback message, such as " new route available " message);If issuing failure, target SPB is set It is standby can be returned to SDN network controller forwarding-table item issue failure feedback message (referred to herein as third feedback message, such as " new route is unavailable " message).
When SDN network controller receives the first feedback message that each target SPB equipment is sent, i.e., each target SPB equipment Forwarding-table item issue hardware it is successful when, SDN network controller can be to each target SPB equipment dispatch order message, the notice Message (referred to herein as the first notification message) is for notifying target SPB equipment to forward target B-VLAN using target forward-path Flow;When each target SPB equipment receives the first notification message, the flow for belonging to target B-VLAN can be forwarded in target It sends in path, and is no longer sent from former forward-path, i.e. progress path switching;If path switches successfully, target SPB is set Standby feedback message (referred to herein as the second feedback message, such as " new route completed to the switching of SDN network controller return path Use " message);If path handover failure, target SPB equipment is anti-to SDN network controller return path handover failure Present message (referred to herein as the 4th feedback message, such as " new route is not available " message).
When SDN network controller receives the second feedback message that each target SPB equipment is sent, i.e., each target SPB equipment When being successfully completed path switching, SDN network controller can (preset time can be preparatory by administrator in preset time Setting, is denoted as t0 herein) backward each target SPB equipment dispatch order message, notification message (referred to herein as second notice Message, such as " old route deletion " message) for notifying target SPB equipment to delete the corresponding forwarding-table item of former forward-path.Target When SPB equipment receives second notification message, the corresponding forwarding-table item of former forward-path can be deleted.
It in this embodiment, can also be to after each target SPB equipment deletes the corresponding forwarding-table item of former forward-path SDN network controller sends former forward-path and deletes feedback message (referred to herein as the 5th feedback message, such as " old road completed Diameter, which is deleted, to be completed " message);When SDN network controller receives five feedback message that each target SPB equipment is sent, determines and turn Path Migration is sent out to complete.
It should be noted that in embodiments of the present invention, if SDN network controller does not receive part or all of first instead Message or the second feedback message are presented, or receives the third feedback message or the 4th of part or all of target SPB equipment transmission instead Presenting message, (i.e. part or all of target SPB device path handover failure, partial target SPB equipment are known as first part's target SPB equipment) when, then SDN network controller (can remove first part's mesh to remaining target SPB equipment i.e. in target SPB equipment Mark the SPB equipment except SPB equipment, referred to herein as second part target SPB equipment) it sends a notification message, and alerted Processing (such as sends alarm notification to administrator), and the notification message (referred to herein as third notice message) is for notifying second Partial objectives for SPB equipment deletes forwarding-table item of first part's target SPB equipment at target B-VLAN;Alternatively, SDN network controls Device can be to target SPB equipment dispatch order message, and carries out alarming processing (such as sending alarm notification to administrator), the notice Message (referred to herein as the 4th notification message) is for notifying the corresponding forwarding table of target SPB equipment delete target forward-path , and forwarded using the flow that former forward-path carries out target B-VLAN.
It is worth noting that above-mentioned SDN network controller does not receive first part target SPB in the embodiment of the present invention The first feedback message or the second feedback message of equipment refer to that SND controller repeatedly issues target forward-path or the first notice Message, until time-out, does not receive the first feedback message or the second feedback message of first part's target SPB equipment;That is SDN After network controller issues target forward-path or the first notification message to certain target SPB equipment, if not receiving the first feedback Message or the second feedback message, SND controller will continue to send former message, until time-out.
When SPB equipment receives third notice message, first part's target SPB equipment can be deleted in target B-VLAN Under forwarding-table item;It, can be with the corresponding forwarding table of delete target forward-path when SPB equipment receives four notification messages , still using the flow of former forward-path forwarding target B-VLAN.
Further, as an alternative embodiment, in embodiments of the present invention, when SDN network controller determines The target SPB public network mouth for being equal to maximum bandwidth there is no outflow average value in preset time period (including is not forwarded path The case where migration, has carried out the case where above-mentioned forward-path migrates) be, if SDN network controller finds some SPB public network mouth First ratio of the outflow of (assuming that still be public network mouth A) maximum bandwidth of the average value greater than public network mouth A within a preset period of time (it is assumed to be X%, can be preset by administrator, the value of X is less than 100), then SDN network controller can further check this With the presence or absence of multiple B-VLAN using same in BEB equipment (the affiliated BEB equipment of public network mouth A, referred to herein as BEB equipment A) Outgoing interface of the public network mouth (public network mouth A) as flow, and if it exists, then further judge multiple using public network mouth A as flow It whether include that (equative route of i.e. former forward-path, outgoing interface are another there are other forward-paths in the B-VLAN of outgoing interface A public network mouth) B-VLAN, if (it is i.e. multiple using public network mouth A as in the B-VLAN of the outgoing interface of flow include there are it The B-VLAN of its forward-path), then SDN network controller can consider that the B-VLAN (goes out to connect using public network mouth A as flow Mouthful, and there are the B-VLAN of other forward-paths) it is B-VLAN (the referred to herein as target B- for needing to be forwarded Path Migration VLAN)。
In this embodiment, SDN network controller can count on BEB equipment A each target B-VLAN in preset time The average value of inbound traffics in section, and the average value of the inbound traffics according to each target B-VLAN within a preset period of time is from big to small Sequence, Path Migration is forwarded to each target B-VLAN respectively, until forward-path migration after target SPB public network mouth pre- If the average value of the outflow in the period is less than or equal to the first ratio of the maximum bandwidth of target SPB public network mouth.
In this embodiment, when SDN network controller needs to be forwarded Path Migration to target B-VLAN, SDN Network controller is also required to count and is migrating target B-VLAN to candidate forward-path in the flow of former forward-path, candidate The average value of the outflow of the SPB public network mouth of each BEB equipment within a preset period of time on forward-path, and judge candidate forwarding road Reach the SPB public network mouth with the presence or absence of the average value of the outflow of SPB public network mouth within a preset period of time in each BEB equipment on diameter Maximum bandwidth preset ratio (preset ratio be the second preset ratio, it is assumed that be Y%, can be set in advance by administrator It is fixed), if the average value of the outflow of the SPB public network mouth of each BEB equipment within a preset period of time is respectively less than on candidate forward-path Or the second preset ratio of the maximum bandwidth equal to the SPB public network mouth, then candidate's forward-path is determined as target forwarding road Diameter;Otherwise, it is migrated without the forward-path for target B-VLAN.
Wherein, in this embodiment, the specific process flow that SDN network controller is forwarded Path Migration can join See the associated description in above method process, details are not described herein for the embodiment of the present invention.
It preferably, is the migration repeatedly for avoiding flow forward-path, the value of Y is less than the value of X.
In addition, in this embodiment, if SPB public network mouth exists after all target B-VLAN complete forward-path migration The average value of outflow in preset time period is still greater than the X% of the maximum bandwidth of target SPB public network mouth, then SDN network control Device processed can carry out alarming processing, such as send alarm notification to administrator.
Preferably, in this case, it after SDN network controller carries out alarming processing, can also be set for the SPB public network mouth Setting migration delay, (delay duration can be preset by administrator, and SDN network controller can judge again after the duration Whether target SPB public network mouth needs to be forwarded Path Migration), in case the SPB public network mouth triggers forward-path migration repeatedly Process.
It further, in embodiments of the present invention, can be according to the new binding when SPB network newly binds B-VLAN The SPB public network port band width service condition of each BEB equipment determines that the B-VLAN of the new binding is real in forward-path existing for B-VLAN The forward-path that border uses.
Specifically, in embodiments of the present invention, when SPB network newly binds B-VLAN, SDN network controller can be determined There are forward-paths by the B-VLAN of the new binding, and obtain each BEB equipment in forward-path existing for the new binding B-VLAN SPB public network port band width service condition selects the forward-path in more space as actual use for the B-VLAN of the new binding Forward-path.
It, can be to new comprising this after SDN network controller has determined the forward-path for the B-VLAN actual use newly bound The SPB equipment of the B-VLAN of binding issues the forward-path;Each SPB equipment receives the forwarding road that SDN network controller issues After diameter, corresponding forwarding-table item can be generated, and issued hardware, if issuing success, is returned to SDN network controller " path is available " message;Otherwise, " path is unavailable " message is returned to SDN network controller.
When SDN network controller receives " path is available " message that each SPB equipment is sent, SDN network controller to Each SPB equipment sends " using path " message;SPB equipment receives " using path " after message, by the B-VLAN of the new binding Flow forwarded in the forward-path;If path uses successfully, " path has used " is returned to SDN network controller and is disappeared Breath;Otherwise, " path is not available " message is fed back to SDN network controller.
When SDN network controller receives " path has used " message that each SPB equipment is sent, determines and distributed under path At.
Wherein, for the B-VLAN that newly binds issue path it is unsuccessful when relevant treatment process may refer to above-described embodiment Described in associated description of forward-path when migrating unsuccessful, details are not described herein for the embodiment of the present invention.
In order to make those skilled in the art more fully understand technical solution provided in an embodiment of the present invention, below with reference to specific Application scenarios technical solution provided in an embodiment of the present invention is described.
Fig. 2 is referred to, is a kind of configuration diagram of concrete application scene provided in an embodiment of the present invention, as shown in Fig. 2, It may include BEB equipment A~BEB equipment F and BCB equipment 1 and BCB equipment 2 in the application scenarios.
In this embodiment, after the completion of SPB network is established, the topology letter of the available SPB network of SDN network controller Breath, and calculated according to 16 kinds of ECT algorithms of the topology information and SPB agreement that get and forward road present in SPB network Diameter simultaneously saves and (only shows the corresponding forward-path of ETC1 and ETC2 in Fig. 2).
In this embodiment, SDN network controller can be with the outflow of the SPB public network mouth of each BEB equipment of timing acquisition;If Certain moment, SDN network controller find BEB equipment A and BCB according to the outflow of the SPB public network mouth of the BEB equipment got Average value is equal to public network mouth A's to the outflow for the SPB public network mouth (being assumed to be public network mouth A) that equipment 1 connects within a preset period of time Maximum bandwidth, then SDN network controller can be detected further and use the public network with the presence or absence of multiple B-VLAN on BEB equipment A Outgoing interface of the mouth A as flow.
Assuming that B-VLAN100-200 (mapping to ETC1) and B-VLAN300-400 (mapping to ETC2) on BEB equipment A Use public network mouth A as the outgoing interface of flow, and B-VLAN100-400 has flow to pass through public network mouth A at this time, then SDN net Network controller can further determine that whether there is B-VLAN in B-VLAN100-400 includes other forward-paths.
Assuming that there is also forwardings for the flow (by BEB equipment A-BCB equipment 1-BCB equipment 2-BEB equipment C) of B-VLAN100 Path " BEB equipment A-BEB equipment B-BEB equipment C " (mapping to ETC3), then SDN network controller can determine B-VLAN100 Need to be forwarded Path Migration, candidate forward-path is " BEB equipment A-BEB equipment B-BEB equipment C ".
In turn, SDN network controller can be calculated the flow of B-VALN100 from former forward-path (" BEB equipment A-BCB Equipment 1-BCB equipment 2-BEB equipment C ") move to candidate forward-path after, each BEB equipment (BEB equipment on candidate forward-path A, BEB equipment B and BEB equipment C) SPB public network mouth outflow average value within a preset period of time.
Assuming that the SPB public network mouth that BEB equipment A is connect with BEB equipment B is that public network mouth B, BEB equipment B is connect with BEB equipment C SPB public network mouth be public network mouth C.
Then SDN network controller, which can be calculated, moves to candidate forwarding road from former forward-path for the flow of B-VALN100 After diameter, the average value of the outflow of public network mouth B and public network mouth C within a preset period of time;If public network mouth B's and public network mouth C goes out to flow The average value of amount within a preset period of time is respectively less than or equal to the 100% of maximum bandwidth, then SDN network controller can be by B- Flow of the VLAN100 on forward-path " BEB equipment A-BCB equipment 1-BCB equipment 2-BEB equipment C " is migrated to forward-path " BEB equipment A-BCB equipment 1-BCB equipment 2-BEB equipment C ".
If the average value of the outflow of public network mouth B or/and public network mouth C within a preset period of time is greater than maximum bandwidth 100%, then SDN network controller can be arranged a migration for public network mouth A and be delayed, and send alarm notification to administrator.
By above description as can be seen that in embodiments of the present invention, by needing to be forwarded road in target B-VLAN When diameter migrates, the flow for counting former forward-path is migrated to candidate forward-path, each BEB equipment on candidate forward-path The average value of the outflow of SPB public network mouth within a preset period of time, and when the SPB public network of each BEB equipment on candidate forward-path The average value of the outflow of mouth within a preset period of time is respectively less than or the preset ratio of the maximum bandwidth equal to the SPB public network mouth When, determine candidate's forward-path be target forward-path, and by flow of the target B-VLAN on former forward-path migrate to Target forward-path realizes flow adjust automatically, manually adjusts with needing to be accessed by administrator in existing flow Adjusted Option Implementation compare, simplify flow adjustment operation, improve flow adjustment efficiency and real-time.
Fig. 3 is referred to, is a kind of structural schematic diagram of flow adjusting device provided in an embodiment of the present invention, wherein the dress The SDN network controller that can be applied in above method embodiment is set, as shown in figure 3, the apparatus may include:
Statistic unit 310, for uniting when target backbone virtual-LAN B-VLAN needs to be forwarded Path Migration Meter migrates the flow of former forward-path to candidate forward-path, each backbone edges bridge BEB equipment on candidate forward-path Shortest path bridge SPB public network mouth outflow average value within a preset period of time;
Judging unit 320, for judging that the flow by former forward-path is migrated to candidate forward-path, candidate's forwarding road Each BEB equipment is all larger than SPB public affairs with the presence or absence of average value of the outflow in the preset time period of SPB public network mouth on diameter The preset ratio of the maximum bandwidth of network interface;
First determination unit 330, for judging the SPB of each BEB equipment on candidate forward-path when the judging unit 320 Average value of the outflow of public network mouth in the preset time period is respectively less than or pre- equal to the maximum bandwidth of the SPB public network mouth If when ratio, determining that candidate's forward-path is target forward-path;
Flow adjustment unit 340, for migrating flow of the target B-VLAN on former forward-path to the mesh Mark forward-path.
In an alternative embodiment, statistic unit 310 can be also used for the SPB public network of each BEB equipment in statistics SPB network The outflow of mouth;
It correspondingly, referring to Figure 4 together, is the structural representation of another flow adjusting device provided in an embodiment of the present invention Figure, on the basis of aforementioned embodiment illustrated in fig. 3, described device can also include: the embodiment
Second determination unit 350, for when there are the average values of outflow in the preset time period to be equal to maximum bandwidth Target SPB public network mouth, and target SPB public network mouth be multiple B-VLAN flow outgoing interface and multiple B-VLAN In include that there are the B-VLAN of other forward-paths, then the B-VLAN is determined as needing to be forwarded the target B- of Path Migration VLAN;Wherein, the preset ratio is the first preset ratio.
In an alternative embodiment, the statistic unit 310 can be also used for when there are multiple target B-VLAN, statistics The average value of inbound traffics of each target B-VLAN in the preset time period in target BEB equipment;Wherein, the target BEB Equipment is BEB equipment belonging to the target SPB public network mouth;
The flow adjustment unit 340 can be also used for according to each target B-VLAN entering in the preset time period The sequence of the average value of flow from big to small is forwarded Path Migration to each target B-VLAN respectively, until forward-path moves The average value of outflow of the target SPB public network mouth in the preset time period is less than target SPB public network mouth after shifting Maximum bandwidth or all target B-VLAN complete forward-path migration.
Please refer to fig. 5, for the structural schematic diagram of another flow adjusting device provided in an embodiment of the present invention, the reality Example is applied on the basis of aforementioned embodiment illustrated in fig. 4, described device can also include:
Alarm Unit 360, if after completing forward-path migration for all target B-VLAN, the target SPB public network The average value of outflow of the mouth in the preset time period is still equal to the maximum bandwidth of target SPB public network mouth, is alerted Processing.
In an alternative embodiment, second determination unit 350 can be also used for when there is no in the preset time period The average value of outflow is equal to the target SPB public network mouth of maximum bandwidth, and there are outflows in the preset time period to be averaged Value is greater than the target SPB public network mouth of the first ratio of maximum bandwidth, and target SPB public network mouth is the flow of multiple B-VLAN Include that there are the B-VLAN of other forward-paths in outgoing interface and multiple B-VLAN, is then determined as needing by the B-VLAN It is forwarded the target B-VLAN of Path Migration;Wherein, the preset ratio is the second preset ratio, and the second preset ratio is less than First ratio, second preset ratio are less than first preset ratio.
It referring to Figure 6 together, is the structural schematic diagram of another flow adjusting device provided in an embodiment of the present invention, the reality Apply example on the basis of earlier figures 3, Fig. 4 or embodiment illustrated in fig. 5 (Fig. 6 with optimized on the basis of embodiment shown in Fig. 3 for Example), in described device, the flow adjustment unit 340 may include:
Transmission sub-unit 341, for the target forward-path to be handed down to the target SPB including the target B-VLAN Equipment;
Receiving subelement 342, the first feedback message sent for receiving each target SPB equipment;Wherein, described first is anti- Feedback message is that the target SPB equipment is sent after the corresponding forwarding-table item of the target forward-path to be issued to hardware success 's;
The transmission sub-unit 341, when the receiving subelement 342 receive that each target SPB equipment sends it is first anti- When presenting message, Xiang Suoshu target SPB equipment sends the first notification message;Wherein, first notification message is described for notifying Target SPB equipment forwards the flow of the target B-VLAN using the target forward-path;
The receiving subelement 342 is also used to receive the second feedback message that each target SPB equipment is sent;Wherein, described Second feedback message is sent after the target SPB equipment completes path switching;
The transmission sub-unit 341 is also used to receive what each target SPB equipment was sent when the receiving subelement 342 When the second feedback message, second notification message is sent to the target SPB equipment after preset time;Wherein, described second is logical Know message for notifying the target SPB equipment to delete the corresponding forwarding-table item of the former forward-path.
In an alternative embodiment, the transmission sub-unit 341 does not receive if can be also used for the receiving subelement 342 To part or all of first feedback message or the second feedback message, or receive that part or all of target SPB equipment sends the When three feedback messages or four feedback messages, then third notice message is sent to second part target SPB equipment, alternatively, to mesh It marks SPB equipment and sends the 4th notification message;Wherein, the third notice message is for notifying second part target SPB equipment to delete Except forwarding-table item of first part's target SPB equipment at target B-VLAN;4th notification message is for notifying target SPB Equipment deletes the corresponding forwarding-table item of the target forward-path, and the stream of the target B-VLAN is carried out using former forward-path Amount forwarding;First part's target SPB equipment is not sent feedback message, or has sent third feedback message or the 4th feedback The target SPB equipment of message;Second part target SPB equipment is the target SPB equipment except first part SPB equipment.
Correspondingly, in embodiment illustrated in fig. 6, the flow adjustment unit 340 can also include:
Alert subelement 343, if for the receiving subelement 342 do not receive part or all of first feedback message or Second feedback message, or when receiving third feedback message or four feedback messages that part or all of target SPB equipment is sent, Carry out alarming processing.
In an alternative embodiment, first determination unit 330 is also used to when the SPB network newly binds B-VLAN, Determine that this is new according to the SPB public network port band width service condition of BEB equipment each in forward-path existing for the B-VLAN of the new binding The forward-path of the B-VLAN actual use of binding.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize the present invention program.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
As seen from the above-described embodiment, by when target B-VLAN needs to be forwarded Path Migration, counting former forwarding road The flow of diameter is migrated to candidate forward-path, and the outflow of the SPB public network mouth of each BEB equipment is default on candidate forward-path Average value in period, and work as the outflow of the SPB public network mouth of each BEB equipment on candidate forward-path within a preset period of time Average value be respectively less than or equal to the maximum bandwidth of the SPB public network mouth preset ratio when, determine the candidate forward-path for mesh Forward-path is marked, and flow of the target B-VLAN on former forward-path is migrated to target forward-path, realizes flow certainly Dynamic adjustment simplifies flow compared with needing to access the implementation manually adjusted by administrator in existing flow Adjusted Option Adjustment operation, improves the efficiency and real-time of flow adjustment.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (16)

1. a kind of flow method of adjustment characterized by comprising
When target backbone virtual-LAN B-VLAN needs to be forwarded Path Migration, count the flow of former forward-path It migrates to candidate forward-path, the shortest path bridge SPB public network mouth of each backbone edges bridge BEB equipment on candidate forward-path Outflow average value within a preset period of time;
If average value of the outflow of the SPB public network mouth of each BEB equipment in the preset time period is equal on candidate forward-path Less than or equal to the preset ratio of the maximum bandwidth of the SPB public network mouth, it is determined that candidate's forward-path is target forward-path;
Flow of the target B-VLAN on former forward-path is migrated to the target forward-path.
2. the method according to claim 1, wherein the target B-VLAN for needing to be forwarded Path Migration passes through Following manner determines:
Count the outflow of the SPB public network mouth of each BEB equipment in SPB network;
The average value of outflow is equal to the target SPB public network mouth of maximum bandwidth, and the target in there are the preset time period SPB public network mouth includes that there are other forward-paths in the outgoing interface and multiple B-VLAN for the flow of multiple B-VLAN The B-VLAN is then determined as needing to be forwarded the target B-VLAN of Path Migration by B-VLAN;Wherein, the preset ratio is First preset ratio.
3. according to the method described in claim 2, it is characterized in that, the method is also wrapped when there are multiple target B-VLAN It includes:
Count the average value of inbound traffics of each target B-VLAN in the preset time period in target BEB equipment;Wherein, described Target BEB equipment is BEB equipment belonging to the target SPB public network mouth;
According to the average value sequence from big to small of inbound traffics of each target B-VLAN in the preset time period, respectively to each Target B-VLAN is forwarded Path Migration, until the target SPB public network mouth is in the preset time after forward-path migration The average value of outflow in section is less than the maximum bandwidth of target SPB public network mouth or all target B-VLAN complete to forward Path Migration.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
If the target SPB public network mouth is in the preset time period after all target B-VLAN complete forward-path migration The average value of outflow be still equal to the maximum bandwidth of target SPB public network mouth, carry out alarming processing.
5. according to the method described in claim 3, it is characterized in that, when there is no outflows in the preset time period to be averaged When value is equal to the target SPB public network mouth of maximum bandwidth, the method also includes:
The average value of outflow is greater than the target SPB public network of the first ratio of maximum bandwidth in there are the preset time period Mouthful, and it includes that there are other that target SPB public network mouth, which is in the outgoing interface and multiple B-VLAN of the flow of multiple B-VLAN, The B-VLAN is then determined as needing to be forwarded the target B-VLAN of Path Migration by the B-VLAN of forward-path;Wherein, described Preset ratio is the second preset ratio, and the second preset ratio is less than first ratio, and second preset ratio is less than described First preset ratio.
6. method according to claim 1-5, which is characterized in that described to forward the target B-VLAN in original Flow on path is migrated to the target forward-path, comprising:
The target forward-path is handed down to the target SPB equipment including the target B-VLAN;
When receiving the first feedback message that each target SPB equipment is sent, Xiang Suoshu target SPB equipment sends the first notice and disappears Breath, wherein first notification message is for notifying the target SPB equipment to forward the mesh using the target forward-path The flow of B-VLAN is marked, first feedback message is the target SPB equipment by corresponding turn of the target forward-path What forwarding list item was sent after issuing hardware successfully;
When receiving the second feedback message that each target SPB equipment is sent, sent out after preset time to the target SPB equipment Send second notification message, wherein the second notification message is for notifying the target SPB equipment to delete the former forward-path Corresponding forwarding-table item, second feedback message are sent after the target SPB equipment completes path switching.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
If not receiving part or all of first feedback message or the second feedback message, or receive part or all of target SPB The third feedback message or the 4th feedback message that equipment is sent then send third notice message to second part target SPB equipment, And carry out alarming processing;Alternatively, sending the 4th notification message to target SPB equipment, and carry out alarming processing;Wherein, described Three notification messages are for notifying second part target SPB equipment to delete first part's target SPB equipment at target B-VLAN Forwarding-table item;4th notification message is for notifying target SPB equipment to delete the corresponding forwarding table of the target forward-path , and forwarded using the flow that former forward-path carries out the target B-VLAN;First part's target SPB equipment is not send out Feedback message is sent, or has sent the target SPB equipment of third feedback message or the 4th feedback message;Second part target SPB is set The standby target SPB equipment for except first part's target SPB equipment.
8. method according to claim 1-5, which is characterized in that the method also includes:
When the SPB network newly binds B-VLAN, according to BEB equipment each in forward-path existing for the B-VLAN of the new binding SPB public network port band width service condition determine the new binding B-VLAN actual use forward-path.
9. a kind of flow adjusting device characterized by comprising
Statistic unit, for when target backbone virtual-LAN B-VLAN needs to be forwarded Path Migration, statistics will be former The flow of forward-path is migrated to candidate forward-path, and each backbone edges bridge BEB equipment is most short on candidate forward-path The average value of the outflow of path bridge SPB public network mouth within a preset period of time;
Judging unit, it is each on candidate forward-path for judging that the flow by former forward-path is migrated to candidate forward-path BEB equipment whether there is average value of the outflow of SPB public network mouth in the preset time period and be all larger than the SPB public network mouth The preset ratio of maximum bandwidth;
First determination unit, for judging going out for the SPB public network mouth of each BEB equipment on candidate forward-path when the judging unit Average value of the flow in the preset time period be respectively less than or equal to the maximum bandwidth of the SPB public network mouth preset ratio when, Determine that candidate's forward-path is target forward-path;
Flow adjustment unit forwards road for migrating flow of the target B-VLAN on former forward-path to the target Diameter.
10. device according to claim 9, which is characterized in that
The statistic unit is also used to count the outflow of the SPB public network mouth of each BEB equipment in SPB network;
Described device further include:
Second determination unit, for when there are the targets that the average value of outflow in the preset time period is equal to maximum bandwidth SPB public network mouth, and include in outgoing interface and multiple B-VLAN of the target SPB public network mouth for the flow of multiple B-VLAN There are the B-VLAN of other forward-paths, then are determined as the B-VLAN needing to be forwarded the target B-VLAN of Path Migration; Wherein, the preset ratio is the first preset ratio.
11. device according to claim 10, which is characterized in that
The statistic unit is also used to when there are multiple target B-VLAN, is counted each target B-VLAN in target BEB equipment and is existed The average value of inbound traffics in the preset time period;Wherein, the target BEB equipment is belonging to the target SPB public network mouth BEB equipment;
The flow adjustment unit is also used to the average value of the inbound traffics according to each target B-VLAN in the preset time period Sequence from big to small is forwarded Path Migration to each target B-VLAN respectively, until the target after forward-path migration The average value of outflow of the SPB public network mouth in the preset time period is less than maximum bandwidth or the institute of target SPB public network mouth There is target B-VLAN to complete forward-path migration.
12. device according to claim 11, which is characterized in that described device further include:
Alarm Unit, if the target SPB public network mouth is described after completing forward-path migration for all target B-VLAN The average value of outflow in preset time period is still equal to the maximum bandwidth of target SPB public network mouth, carries out alarming processing.
13. device according to claim 11, which is characterized in that
Second determination unit is also used to when there is no the average values of outflow in the preset time period to be equal to maximum bandwidth Target SPB public network mouth, and there are the first ratios that the average value of outflow in the preset time period is greater than maximum bandwidth Target SPB public network mouth, and target SPB public network mouth is in the outgoing interface and multiple B-VLAN of the flow of multiple B-VLAN Including there are the B-VLAN of other forward-paths, then the B-VLAN is determined as needing to be forwarded the target B- of Path Migration VLAN;Wherein, the preset ratio is the second preset ratio, and the second preset ratio is less than first ratio, and described second is pre- If ratio is less than first preset ratio.
14. according to the described in any item devices of claim 9-13, which is characterized in that the flow adjustment unit includes:
Transmission sub-unit, for the target forward-path to be handed down to the target SPB equipment including the target B-VLAN;
Receiving subelement, the first feedback message sent for receiving each target SPB equipment;Wherein, first feedback message The target SPB equipment is sent after the corresponding forwarding-table item of the target forward-path to be issued to hardware success;
The transmission sub-unit, when the receiving subelement receives the first feedback message that each target SPB equipment is sent, to The target SPB equipment sends the first notification message;Wherein, first notification message is for notifying the target SPB equipment The flow of the target B-VLAN is forwarded using the target forward-path;
The receiving subelement is also used to receive the second feedback message that each target SPB equipment is sent;Wherein, described second is anti- Feedback message is sent after the target SPB equipment completes path switching;
The transmission sub-unit is also used to disappear when the receiving subelement receives the second feedback that each target SPB equipment is sent When breath, second notification message is sent to the target SPB equipment after preset time;Wherein, the second notification message is used for The target SPB equipment is notified to delete the corresponding forwarding-table item of the former forward-path.
15. device according to claim 14, which is characterized in that
The transmission sub-unit, if being also used to the receiving subelement does not receive part or all of first feedback message or second Feedback message, or receive third feedback message or the 4th feedback message that part or all of target SPB equipment is sent, then to the Two partial target SPB equipment send third notice message, alternatively, sending the 4th notification message to target SPB equipment;Wherein, institute Third notice message is stated for notifying second part target SPB equipment to delete first part's target SPB equipment in target B-VLAN Under forwarding-table item;4th notification message is for notifying target SPB equipment to delete described corresponding turn of target forward-path Forwarding list item, and forwarded using the flow that former forward-path carries out the target B-VLAN;First part's target SPB equipment is Not sent feedback message, or have sent the target SPB equipment of third feedback message or the 4th feedback message;Second part target SPB equipment is the target SPB equipment except first part's target SPB equipment;
The flow adjustment unit further include:
Alert subelement, if for the receiving subelement do not receive part or all of first feedback message or second feedback disappear Breath, or receive third feedback message or the 4th feedback message that part or all of target SPB equipment is sent, then it carries out at alarm Reason.
16. according to the described in any item devices of claim 9-13, which is characterized in that
First determination unit is also used to be deposited when the SPB network newly binds B-VLAN according to the B-VLAN of the new binding Forward-path in each BEB equipment SPB public network port band width service condition determine the new binding B-VLAN actual use Forward-path.
CN201610403482.4A 2016-06-08 2016-06-08 A kind of flow method of adjustment and device Active CN106059884B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610403482.4A CN106059884B (en) 2016-06-08 2016-06-08 A kind of flow method of adjustment and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610403482.4A CN106059884B (en) 2016-06-08 2016-06-08 A kind of flow method of adjustment and device

Publications (2)

Publication Number Publication Date
CN106059884A CN106059884A (en) 2016-10-26
CN106059884B true CN106059884B (en) 2019-06-04

Family

ID=57170635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610403482.4A Active CN106059884B (en) 2016-06-08 2016-06-08 A kind of flow method of adjustment and device

Country Status (1)

Country Link
CN (1) CN106059884B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115633317B (en) * 2022-12-21 2023-04-07 北京金楼世纪科技有限公司 Message channel configuration method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970240A (en) * 2012-11-01 2013-03-13 杭州华三通信技术有限公司 Flow balancing method and device in software package builder (SPB) network
CN103200115A (en) * 2013-04-19 2013-07-10 杭州华三通信技术有限公司 Flow control method and device in SPB (Shortest Path Bridging) network
US9584333B2 (en) * 2013-12-20 2017-02-28 Avaya Inc. Optimization of rules used for prevention of duplication and looping of multicast traffic within a multi-homed cluster of backbone edge bridges in a shortest path bridging multicast network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970240A (en) * 2012-11-01 2013-03-13 杭州华三通信技术有限公司 Flow balancing method and device in software package builder (SPB) network
CN103200115A (en) * 2013-04-19 2013-07-10 杭州华三通信技术有限公司 Flow control method and device in SPB (Shortest Path Bridging) network
US9584333B2 (en) * 2013-12-20 2017-02-28 Avaya Inc. Optimization of rules used for prevention of duplication and looping of multicast traffic within a multi-homed cluster of backbone edge bridges in a shortest path bridging multicast network

Also Published As

Publication number Publication date
CN106059884A (en) 2016-10-26

Similar Documents

Publication Publication Date Title
AU2019382463B2 (en) Communications method and apparatus
CN108668381B (en) Communication means and device
KR101989333B1 (en) Data forwarding method, device and system in software-defined networking
US9497073B2 (en) Distributed link aggregation group (LAG) for a layer 2 fabric
EP3082309B1 (en) Sdn controller, data centre system and router connection method
CN101640644B (en) Method and equipment for flow equilibrium based on flexible link group
CN104243337A (en) Method and device for cross-cluster load balancing
CN109660441B (en) Method and device for multicast replication in Overlay network
CN105591974B (en) Message processing method, apparatus and system
CN104853001B (en) A kind of processing method and equipment of ARP message
CN103986638B (en) The method and apparatus of many public network links of ADVPN tunnel binding
EP2721773A1 (en) Load balancing based on trill
US10944667B2 (en) Loop check packets
WO2015070383A1 (en) Link aggregation method, apparatus, and system
CN104539552A (en) Dynamic ECMP implementation method based on network chips
JP2003333644A (en) METHOD FOR IMPLEMENTING Iu-Flex BASED MBMS
WO2017012471A1 (en) Load balance processing method and apparatus
US9521073B2 (en) Enhanced fine-grained overlay transport virtualization multi-homing using per-network authoritative edge device synchronization
WO2017059715A1 (en) Data configuration method and device for protecting ring network
WO2014146541A1 (en) Cdn and network convergence system, scheduling module selection method and computer storage medium
CN106059884B (en) A kind of flow method of adjustment and device
CN104994019B (en) A kind of horizontal direction interface system for SDN controllers
WO2012024866A1 (en) System and method for load balancing of service data requests
US10771284B2 (en) Troubleshooting method and apparatus for edge routing bridge in TRILL campus
CN108377525B (en) Data transmission system, method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant