CN107317768A - Traffic scheduling method and device - Google Patents

Traffic scheduling method and device Download PDF

Info

Publication number
CN107317768A
CN107317768A CN201610273447.5A CN201610273447A CN107317768A CN 107317768 A CN107317768 A CN 107317768A CN 201610273447 A CN201610273447 A CN 201610273447A CN 107317768 A CN107317768 A CN 107317768A
Authority
CN
China
Prior art keywords
network elements
bras network
bras
packet
message
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
CN201610273447.5A
Other languages
Chinese (zh)
Other versions
CN107317768B (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 CN201610273447.5A priority Critical patent/CN107317768B/en
Priority to PCT/CN2017/082025 priority patent/WO2017186122A1/en
Publication of CN107317768A publication Critical patent/CN107317768A/en
Application granted granted Critical
Publication of CN107317768B publication Critical patent/CN107317768B/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
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/20Traffic policing
    • 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/4633Interconnection of networks using encapsulation techniques, e.g. tunneling

Abstract

The application provides a kind of traffic scheduling method and device, wherein, this method includes:BRAS network elements in resource pool are grouped, each packet includes at least two BRAS network elements;A packet is specified for convergence switch, and set up VXLAN tunnels between each BRAS network element in the convergence switch and the packet so that the convergence switch by from AC interfaces to client first message be sent to by VXLAN tunnels packet in each BRAS network element;According to default control model, select the BRAS network elements responded to the first message so that the convergence switch by from the AC interfaces to the subsequent packet of the client BRAS network elements chosen are sent to by VXLAN tunnels.

Description

Traffic scheduling method and device
Technical field
The application is related to network communication technology field, more particularly to a kind of traffic scheduling method and device.
Background technology
Broadband Remote Access Server (Broadband Remote Access Server, BRAS) is towards width Access gateway with network application, it is located at the marginal layer of backbone network, can complete the IP of user bandwidth (Internet Protocol, Internet Protocol)/ATM (Asynchronous Transfer Mode, asynchronous biography Defeated pattern) net data access, realize business premises and the broadband access network of neighbours living.
In Metropolitan Area Network (MAN) (Metropolitan Area Network, MAN) network model, BRAS is deployed in The convergence computer room of Metropolitan Area Network (MAN), broadband user is connect by OLT (Optical Line Terminal, optical line terminal) Enter, then BRAS is connected to by convergence switch (HJSW).
The content of the invention
In view of this, the application provides a kind of traffic scheduling method and device.
Specifically, the application is achieved by the following technical solution:
On the one hand there is provided a kind of traffic scheduling method, this method includes:
BRAS network elements in resource pool are grouped, each packet includes at least two BRAS network elements;
A packet, and each BRAS in the convergence switch and the packet are specified for convergence switch VXLAN tunnels are set up between network element so that the convergence switch by from AC interfaces to client it is first Message is sent to each BRAS network element in packet by VXLAN tunnels;
According to default control model, the BRAS network elements responded to the first message are selected, so that the remittance Poly- interchanger by from the AC interfaces to the subsequent packet of the client be sent to by VXLAN tunnels The BRAS network elements chosen.
On the other hand, a kind of flow scheduling device is additionally provided, the device includes:
Grouping module, for the BRAS network elements in resource pool to be grouped, each packet is included at least Two BRAS network elements;
Module is set up, for specifying a packet for convergence switch, and in the convergence switch and the packet VXLAN tunnels are set up between each interior BRAS network element, so that the convergence switch will connect from AC The client first message that mouth is received is sent to each BRAS network element in packet by VXLAN tunnels;
Selecting module, for according to default control model, selecting the BRAS responded to the first message Network element so that the convergence switch by from the AC interfaces to the subsequent packet of the client pass through VXLAN tunnels are sent to the BRAS network elements chosen.
By the above technical scheme of the application, at least two BRAS network elements in resource pool are divided into advance One packet, is that any convergence switch specifies a packet, and in the convergence switch and the packet VXLAN tunnels are set up between each BRAS network element, one group of VXLAN tunnel is obtained, the convergence is handed over AC interfaces on changing planes are corresponding with this group of VXLAN tunnel, so that the convergence switch is from the AC Interface can be sent the first message by VXLAN tunnels to after the first message of any client To each BRAS network element in the packet;Afterwards, according to default control model, selected out of this packet The BRAS network elements responded to the first message are selected, so that the convergence switch is from the AC interfaces After the subsequent packet for receiving the client, the subsequent packet can be sent to by VXLAN tunnels The BRAS network elements chosen.By the above method, the user for any client that the AC interfaces are connected On the BRAS network elements that data stream scheduling is chosen to this, customer traffic BRAS in same packet is realized Scheduling between network element.
Brief description of the drawings
Fig. 1 is the group-network construction figure of the access network shown in the exemplary embodiment of the application one;
Fig. 2 is controller shown in the exemplary embodiment of the application one in convergence switch and same packet Each BRAS network element between set up the flow chart in VXLAN tunnels;
Fig. 3 is that the convergence switch shown in the exemplary embodiment of the application one is turned to PPPoE first messages Send out the flow chart of processing;
Fig. 4 is the list that the convergence switch shown in the exemplary embodiment of the application one is sent to pppoe client Report the flow chart that text carries out forward process;
Fig. 5 is the hardware structure schematic diagram of the controller shown in the exemplary embodiment of the application one;
Fig. 6 is the structural representation of the flow scheduling device shown in the exemplary embodiment of the application one.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following retouches State when being related to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element. Embodiment described in following exemplary embodiment does not represent all embodiment party consistent with the application Formula.On the contrary, they be only be described in detail in such as appended claims, the application some in terms of phase one The example of the apparatus and method of cause.
It is the purpose only merely for description specific embodiment in term used in this application, and is not intended to be limiting this Application." one kind ", " described " of singulative used in the application and appended claims It is also intended to "the" including most forms, unless context clearly shows that other implications.It is also understood that Term "and/or" used herein refer to and comprising it is one or more it is associated list any of project or It is possible to combination.
It will be appreciated that though various letters may be described using term first, second, third, etc. in the application Breath, but these information should not necessarily be limited by these terms.These terms are only used for same type of information area each other Separate.For example, in the case where not departing from the application scope, the first information can also be referred to as the second information, Similarly, the second information can also be referred to as the first information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... when " or " in response to determine ".
The embodiment of the present application provide a kind of traffic scheduling method, and it is a kind of can apply this method flow Dispatching device.
The group-network construction of the access network of the embodiment of the present application in access network as shown in figure 1, mainly include:Control Device, BRAS network elements and convergence switch (HJSW).Established between BRAS network elements and convergence switch VXLAN (Virtual eXtensible LAN, expansible Virtual Local Area Network) tunnel, also, a remittance Poly- interchanger sets up VXLAN tunnels, the BRAS of the packet with each BRAS network element in same packet Network element is made up of at least two BRAS network elements;Client is via OLT cut-in convergent interchangers, and OLT is with converging QinQ (double-layer label) tunnel is set up between poly- interchanger.
Wherein, access network as shown in Figure 1 can be specifically Metropolitan Area Network (MAN) or enterprise campus net etc., the application Embodiment is not limited this.
Controller, BRAS network elements and convergence switch are introduced separately below.
The function of controller mainly has:
BRAS resource managements:Preserved in controller in a resource pool, the resource pool and include multiple BRAS network elements, all BRAS Network Element Functions equities, can mutually be backed up;Controller can be to resource BRAS network elements in pond obtain the net element information of the BRAS network elements, wherein, the net element information includes: Access the client terminal quantity, the flow on the BRAS network elements, the CPU of the BRAS network elements of the BRAS network elements Working condition of (central processing unit) load and the BRAS network elements etc.;In addition, controller is to resource BRAS network elements in pond are grouped, and at least two BRAS network elements are divided into same packet;
User Resource Management:User resources information is obtained to convergence switch, wherein, the user resources information Include:Access the client terminal quantity of the convergence switch, the VLAN (virtual offices on the convergence switch Domain network) information and the VLAN belonging to each client etc.;
Tunnel resource is managed:Management and distribution VXLAN tunnel resources, for example, being the VXLAN to be set up Built between tunnel distributing VXLAN ID, each BRAS network element in convergence switch and same packet Between each BRAS network element in vertical VXLAN tunnels, deletion convergence switch and same packet VXLAN tunnels, the VXLAN between each BRAS network element in convergence switch and same packet After tunnel is deleted, corresponding VXLAN ID are reclaimed;
Service schedule management:By the data stream scheduling of a certain client accessed on convergence switch a to conjunction On suitable BRAS network elements.
The function of BRAS network elements mainly has:VXLAN tunnels are supported, are decapsulated from VXLAN tunnels The message sent to client, for example, (Point to Point Protocol over Ethernet, are based on PPPoE The point-to-point protocol of Ethernet) message and IPoE (Internet Protocol over Ethernet, based on Ethernet Internet Protocol) message etc., and, message is sent to client by VXLAN tunnels;Can be All clients provide access service in the range of access network;BRAS network elements in same packet backup each other; BRAS network elements can be physics BRAS equipment or the BRAS void based on x86 server platforms Planization software (vBRAS).
The function of convergence switch mainly has:VXLAN tunnels are supported, by VXLAN tunnels by client Hold the message sent to be transmitted to the BRAS network elements of opposite end, obtained report will be decapsulated from VXLAN tunnels Text is transmitted to client.
The traffic scheduling method of the embodiment of the present application includes herein below:
First, controller needs to build between each BRAS network element in convergence switch and same packet Vertical VXLAN tunnels, as shown in Fig. 2 controller needs to perform following steps:
Step S101, by least two BRAS network elements in local resource pool be divided into it is same be grouped, Each packet includes at least two BRAS network elements;
By step S101, the BRAS network elements in resource pool can be divided into multiple packets.
Step S102, is that convergence switch specifies a packet (for convenience, being designated as packet 1), And set up VXLAN tunnels between each BRAS network element in the convergence switch and packet 1;
Specifically, for each BRAS network element in packet 1, Tunnel is configured on the convergence switch (tunnel) interface, the source IP address for specifying the Tunnel interfaces is the IP address of the convergence switch, mesh IP address be the BRAS network elements IP address;VSI is created on the convergence switch, and (virtual switch is real Example), VXLAN (for convenience, being designated as VXLAN1) is created in the VSI;AC (is connect Enter circuit) interface, the VSI and configuration all Tunnel interfaces binding.So as to be handed in the convergence On changing planes, AC interfaces, the VSI, all Tunnel interfaces and VXLAN1 form corresponding relation.
For each BRAS network element in packet 1, Tunnel interfaces are configured on the BRAS network elements, The source IP address for specifying the Tunnel interfaces is that the IP address of the BRAS network elements, purpose IP address are the remittance The IP address of poly- interchanger;VSI is created on the BRAS network elements, VXLAN1 is created in the VSI; The VSI and the Tunnel interfaces are bound.So as on each BRAS network element in packet 1, be somebody's turn to do VSI, Tunnel interface and VXLAN1 form corresponding relation.
By above-mentioned steps S101 and step S102, controller is in a convergence switch and same packet VXLAN tunnels are set up between each BRAS network element, one group of VXLAN tunnel is obtained, the convergence is handed over AC interfaces on changing planes correspond to this group of VXLAN tunnel, can claim the VXLAN tunnels of this structure For umbrella shape VXLAN tunnels.
The VXLAN tunnel buildings between each BRAS network element in convergence switch and packet 1 After completion, client just can access one of BRAS network elements by the convergence switch. In actual implementation process, access network can apply a variety of authentication modes, for example, PPPoE and IPoE. When application PPPoE certifications, access is pppoe client, and as application IPoE, access is IPoE clients.Introduced respectively mainly for PPPoE and IPoE both of these cases below.Ability Field technique personnel are it is understood that the processing method of the embodiment of the present application can also be applied to other broadbands The authentication mode of user, the application is not limited this.
Wherein, client refers to terminal device used in user, user's one client of correspondence.
1st, using PPPoE certifications
When PPPoE connections to be set up, pppoe client sends PPPoE connections and sets up process first In first message, hereinafter referred to as PPPoE first messages, now, convergence switch is to PPPoE first messages The flow of forward process is carried out as shown in figure 3, comprising the following steps:
Step S201, convergence switch receives the PPPoE that pppoe client is sent from AC interfaces First message, the PPPoE first messages are broadcasting packets;
Step S202, convergence switch finds corresponding with the affiliated VXLAN of the PPPoE first messages every One VXLAN tunnel, is packaged according to the VXLAN tunnels to the PPPoE first messages, and will envelope Fill the BRAS network elements that obtained VXLAN messages are sent to opposite end;So as to which the PPPoE first messages be sent out All BRAS network elements in packet 1 are given.
Wherein, after step S201, convergence switch can also carry out source MAC to the PPPoE first messages The study of address, so that, in mac address table corresponding with the affiliated VXLAN of the PPPoE first messages Include the source MAC of the PPPoE first messages in one MAC address entries of middle addition, the MAC address entries Corresponding relation between address and the AC interfaces for receiving the PPPoE first messages, i.e. pppoe client MAC Address and receive the PPPoE first messages AC interfaces between corresponding relation.
By convergence switch it can be seen from step S201 and step S202 for being connect from the AC interfaces The handling process of the broadcasting packet received is:Pass through the corresponding VXLAN tunnels of the affiliated VXLAN of the message Road, by the message broadcasting to all BRAS network elements in packet 1, in addition, convergence switch is not for Know that the processing of unicast message is identical with broadcasting packet.
BRAS network elements are after the VXLAN messages for being packaged with PPPoE first messages are received, to this VXLAN messages decapsulate obtaining PPPoE first messages, then, learn the source of the PPPoE first messages MAC Address, so that, added in the corresponding mac address tables of the affiliated VXLAN of the VXLAN messages One MAC address entries, wherein, the MAC address entries include:The source MAC of the PPPoE first messages The corresponding relation between VXLAN tunnels with receiving the VXLAN messages, i.e. pppoe client Corresponding relation between MAC Address and the VXLAN tunnels for receiving the VXLAN messages.
In addition, BRAS network elements can also be according to the PPPoE first messages, according to any in following two modes Plant and carry out respective handling.
Mode one:The strong control mode of controller
The PPPoE first messages are reported controller by BRAS network elements, because convergence switch is by the PPPoE First message has been broadcast to all BRAS network elements in packet 1, and these BRAS network elements all can be by the PPPoE First message reports controller, therefore, and controller can receive many parts of identical PPPoE first messages, then Controller can be according to default selection rule, from all BRAS network elements for reporting PPPoE first messages, selection One BRAS network element, response notification is sent to the BRAS network elements chosen;The BRAS network elements chosen are connecing After the response notification for receiving controller, back message can be generated for the PPPoE first messages, according to the response The target MAC (Media Access Control) address (i.e. the MAC Address of pppoe client) of message, belonging to the back message In the corresponding mac address tables of VXLAN, corresponding VXLAN tunnels are found, according to the VXLAN Tunnel is packaged to the back message, and the VXLAN messages that encapsulation is obtained are sent to convergence switch. So as to which the BRAS network elements only chosen by controller can just give a response.
Wherein, above-mentioned default selection rule can be selected and the nearest BRAS network elements of the convergence switch, And/or the minimum BRAS network elements of selection load, specifically, the load of BRAS network elements can be obtained from controller Know in the net element information of the BRAS network elements taken.
Mode two:Controller weak domination mode
BRAS network elements are after certain time delay (PADO Delay Time) is waited, for PPPoE First message generates back message, according to the target MAC (Media Access Control) address of the back message, belonging to the back message In the corresponding mac address tables of VXLAN, corresponding VXLAN tunnels are found, according to the VXLAN Tunnel is packaged to the back message, and the VXLAN messages that encapsulation is obtained are sent to convergence switch. Wherein, the time delay of each BRAS network element in packet 1 is configured and managed by controller, control Device processed can configure different time delays, so that not on the different BRAS network elements in packet 1 The time given a response with BRAS network elements is different.
In mode two, the BRAS network elements in packet 1 can all give a response, still, due to these BRAS The time of network element delay is different, and therefore, the sequencing that these BRAS network elements give a response is also different.
Convergence switch, which is received, to be packaged with after the VXLAN messages of back message, can be to the VXLAN Message decapsulate obtaining back message, determines the corresponding MAC of the affiliated VXLAN of the VXLAN messages Address table, learns to the source MAC of the back message, i.e. added in the mac address table One MAC address entries, wherein, the MAC address entries include:The source MAC and receipts of the back message Corresponding relation between the VXLAN tunnels of the VXLAN messages.In addition, convergence switch can also root According to the target MAC (Media Access Control) address of the back message, corresponding AC interfaces are found in the mac address table, The back message is transmitted to by pppoe client by the AC interfaces.
In aforesaid way one, only selected BRAS network elements can just be sent to pppoe client PPPoE first messages are given a response, and back message is transmitted to after the pppoe client via convergence switch, The pppoe client then will set up PPPoE with the selected BRAS network elements and be connected.PPPoE Report during the subsequent packet that client is sent, including PPPoE connections foundation in addition to PPPoE first messages Text and PPPoE connections be successfully established after data message, be that target MAC (Media Access Control) address is that this is selected The unicast message of the MAC Address of BRAS network elements, it is selected that these subsequent packets can be forwarded to this BRAS network elements.So as to which controller out of packet 1 by selecting a BRAS network element to PPPoE visitors The PPPoE first messages that family end is sent are responded, and realize PPPoE data flows BRAS in same packet Scheduling between network element.
In aforesaid way two, when controller is the different delay of the different BRAS network element configurations in packet 1 Between so that the time delay BRAS network elements of minimum give a response earliest, although each BRAS in packet 1 The back message that network element is sent can all be transmitted to pppoe client, still, PPPoE via convergence switch Client can only select the BRAS network elements given a response earliest to set up PPPoE connections.Pppoe client is sent out The subsequent packet gone out, including PPPoE connections set up during message in addition to PPPoE first messages and PPPoE connections be successfully established after data message, be target MAC (Media Access Control) address gives a response earliest for this The unicast message of the MAC Address of BRAS network elements, these subsequent packets can be forwarded to this and make back earliest The BRAS network elements answered.So as to, controller by for the different BRAS network element configurations in same packet not Same time delay so that the time that different BRAS network elements give a response is different, realizes PPPoE numbers According to scheduling of the stream in same packet between BRAS network elements.
Due to above-mentioned in PPPoE first messages and the processing procedure of back message, convergence switch and BRAS The study of source MAC has been carried out in network element, therefore, between pppoe client and BRAS network elements Subsequent packet (being unicast message) just directly can table look-up forwarded.
The forward process flow of the message in pppoe client → BRAS network elements direction is as follows:
Pppoe client sends unicast message, and convergence switch is received after the unicast message, can be performed Forward process flow as shown in Figure 4:
Step S301, convergence switch after the unicast message that pppoe client is sent is received, it is determined that The corresponding mac address tables of the affiliated VXLAN of the unicast message;
Step S302, convergence switch is according to the target MAC (Media Access Control) address of the unicast message, in the MAC Address Corresponding VXLAN tunnels are found in table, the unicast message is entered according to the VXLAN tunnels found Row encapsulation, and the VXLAN messages that encapsulation is obtained are sent to the BRAS network elements of opposite end.
BRAS network elements are received after the VXLAN messages, and progress, which is decapsulated, obtains unicast message, can be right The unicast message carries out respective handling, send protocol stack for example, will decapsulate on obtained protocol massages, will solve Obtained data message forwarding is encapsulated to public network etc..
The forward process flow of the message in BRAS network elements → pppoe client direction is as follows:
When BRAS network elements need to send unicast message, BRAS network elements are determined belonging to the unicast message The corresponding mac address tables of VXLAN, according to the corresponding target MAC (Media Access Control) address of the unicast message, at this Corresponding VXLAN tunnels are found in mac address table, according to the VXLAN tunnels found, to this Unicast message is packaged, and the VXLAN messages that encapsulation is obtained are sent to convergence switch.Wherein, The unicast message to be sent for example can be, the unicast message of BRAS network elements itself generation, or BRAS Unicast message that network element is received from public network etc.;The corresponding target MAC (Media Access Control) address of the unicast message can be somebody's turn to do The target MAC (Media Access Control) address carried in unicast message or the purpose IP address carried in the unicast message Corresponding MAC Address.
Convergence switch is received after the VXLAN messages, and the VXLAN messages are decapsulated, The corresponding mac address tables of the affiliated VXLAN of the VXLAN messages are determined, according to the purpose of the unicast message MAC Address, finds corresponding AC interfaces in the mac address table, should by the AC interfaces Unicast message is transmitted to pppoe client.
In addition, the embodiment of the present application also contemplates the redundancy backup problem between the BRAS network elements in packet 1. In above-described embodiment method, which kind of mode of the BRAS network elements either in employing mode one and mode two is made Respond, for convenience, pppoe client only (can be designated as BRAS network elements with a BRAS network element 1) PPPoE is set up to connect and communicated.Therefore, when the state of BRAS network elements 1 is changed into unavailable (Down) When, for example, the link between BRAS network elements 1 and convergence switch there occurs failure, or BRAS nets Member 1 there occurs failure etc., and the pppoe client can detect PPPoE connections disconnection, therefore, PPPoE Client can dial again, send the PPPoE first messages of newly-built PPPoE connections;Convergence switch is received To after the PPPoE first messages, above-mentioned steps S201 and step S202 can be performed to the PPPoE first messages Processing so that by the PPPoE first messages be broadcast to packet 1 in BRAS network elements.
When using aforesaid way a period of time, because BRAS network elements 1 are unavailable, other BRAS in upstate Network element decapsulation obtains reporting controller after the PPPoE first messages, and controller can be from these BRAS nets A BRAS network element (for convenience, being designated as BRAS network elements 2) is reselected in member to give a response, Convergence switch can learn the back message after the VXLAN messages for being packaged with back message are received Source MAC, i.e. the MAC Address of study BRAS network elements 2, also, the back message is turned Issue pppoe client;Pppoe client can set up PPPoE with BRAS network elements 2 and be connected and be led to Letter, the target MAC (Media Access Control) address for the unicast message that pppoe client is subsequently sent is BRAS network elements 2 MAC Address.
When employing mode two, because BRAS network elements 1 are unavailable, other BRAS in upstate Network element can give a response, convergence switch after the VXLAN messages for being packaged with back message are received, The back message can be transmitted to pppoe client;Pppoe client can be with the BRAS that gives a response earliest Network element (for convenience, being designated as BRAS network elements 2) sets up PPPoE and connects and communicated, subsequently The target MAC (Media Access Control) address of the unicast message sent is the MAC Address of BRAS network elements 2.
As seen from the above, it is changed into not establishing the BRAS network elements that PPPoE is connected with pppoe client After can using, PPPoE can be set up with new BRAS network elements and is connected and communicates, so as to by PPPoE Data flow is quickly switched into new BRAS network elements, realize BRAS network elements in same packet redundancy and Backup.
2nd, using IPoE certifications
Operation VRRP between BRAS network elements in packet 1 (Virtual Router Redundancy Protocol, Virtual Router Redundacy Protocol), one of BRAS network elements are used as main BRAS network elements, other BRAS Network element is as from BRAS network elements.Main BRAS network elements and there is identical Virtual MAC from BRAS network elements Address, for being interacted with IPoE clients.
Main BRAS network elements and between BRAS network elements by the way that periodically mutually hair heartbeat message is detected pair The working condition of side.Specifically, main BRAS network elements are sent by VXLAN tunnels to convergence switch The heartbeat message is transmitted to from BRAS network elements by heartbeat message, convergence switch by VXLAN tunnels; Vice versa.
When IPoE connections to be set up, IPoE clients send the head during IPoE connections are set up first Message, hereinafter referred to as IPoE first messages, now, convergence switch receive the IPoE first messages it Afterwards, the handling process performed for the IPoE first messages, and in above-mentioned use PPPoE certification embodiments Handling process for PPPoE first messages is identical.So as to which it is first that convergence switch can will be packaged with IPoE The VXLAN message broadcastings of message are to main BRAS network elements and from BRAS network elements, also, IPoE is arrived in study The MAC Address of client.
Main BRAS network elements and from BRAS network elements receive be packaged with IPoE first messages VXLAN report After text, the VXLAN messages decapsulate to obtain IPoE first messages, then, learn the IPoE The source MAC of first message, so that in the corresponding MAC of the affiliated VXLAN of the VXLAN messages A MAC address entries are added in the table of location, the MAC address entries include:The source MAC of the IPoE first messages Corresponding relation between address and the VXLAN tunnels for receiving the VXLAN messages, i.e. IPoE clients MAC Address and receive the VXLAN messages VXLAN tunnels between corresponding relation.In addition, Main BRAS network elements can also generate back message for the IPoE first messages, according to the purpose of the back message MAC Address, finds corresponding in the corresponding mac address tables of the affiliated VXLAN of the back message VXLAN tunnels, are packaged according to the VXLAN tunnels to the back message, and will encapsulate what is obtained VXLAN messages are sent to convergence switch.
Thus, main BRAS network elements and the source MAC of IPoE first messages can all be learnt from BRAS network elements, That is, the MAC Address of IPoE clients, still, only main BRAS network elements just can be first to the IPoE Message gives a response.
Convergence switch, which is received, to be packaged with after the VXLAN messages of back message, can learn the response The source MAC (i.e. virtual mac address) of message, and the back message is transmitted to IPoE visitors Family end.Due to only having main BRAS network elements just to give a response, therefore, IPoE clients only can be with main BRAS Network element sets up IPoE and connects and communicate, the subsequent packet that IPoE clients are sent as unicast message, also, Target MAC (Media Access Control) address is virtual mac address.
Above-mentioned in IPoE first messages and the processing procedure of back message, convergence switch and main BRAS nets The study of source MAC has been carried out in member, therefore, between IPoE clients and main BRAS network elements Subsequent packet (being unicast message) just directly can table look-up forwarded, wherein, subsequent packet includes:IPoE Data after message in addition to IPoE first messages and IPoE connections are successfully established during connection is set up Message.
Specifically, the handling process of the message in IPoE clients → main BRAS network elements direction and above-mentioned use The handling process of the message in pppoe client → BRAS network elements direction is identical in PPPoE certification embodiments; Main BRAS network elements → IPoE client-sides to handling process and the above-mentioned use PPPoE certifications of message implement The handling process of the message in BRAS network elements → pppoe client direction is identical in example.
Further, since VRRP is run between the BRAS network elements being grouped in 1, and therefore, these BRAS nets Can mutually redundancy and backup between member.
Specifically, working as master is detected from BRAS network elements (for convenience, being designated as BRAS network elements 2) The state of BRAS network elements (for convenience, being designated as BRAS network elements 1) is changed into unavailable (Down) When, for example, the link between BRAS network elements 1 and convergence switch there occurs failure so that cause both it Between VXLAN tunnels it is unavailable, or BRAS network elements 1 there occurs failure etc., the meeting of BRAS network elements 2 Switch as main BRAS network elements, and gratuitous ARP (address is sent to convergence switch by VXLAN tunnels Analysis protocol) message, the source MAC of the gratuitous ARP packet is virtual mac address;Convergence is handed over Change planes to receive and be packaged with after the VXLAN messages of gratuitous ARP packet, decapsulation obtains the gratuitous ARP Message, then, according to the source MAC of the gratuitous ARP packet, belonging to the VXLAN messages Matching list item is searched in the corresponding mac address tables of VXLAN, is included in the matching list item found When VXLAN tunnels are differed with receiving the VXLAN tunnels of the VXLAN messages, by the matching found The VXLAN tunnels included in list item, are updated to receive the VXLAN tunnels of the VXLAN messages.From And, by the outgoing interface for matching list item by convergence switch and the VXLAN tunnels of BRAS network elements 1, update For convergence switch and the VXLAN tunnels of BRAS network elements 2, follow-up IPoE data flows are switched To BRAS network elements 2.
When the state of BRAS network elements 1 revert to it is available, and when needing switchback, the weight of BRAS network elements 2 Newly switch to from BRAS network elements;BRAS network elements 1 are sent by VXLAN tunnels to convergence switch exempts from Take ARP messages, the source MAC of the gratuitous ARP packet is virtual mac address;Convergence switch Receive and be packaged with after the VXLAN messages of gratuitous ARP packet, decapsulation obtains the gratuitous ARP packet, Then, according to the source MAC of the gratuitous ARP packet, in the affiliated VXLAN of the VXLAN messages Matching list item, the VXLAN tunnels included in the matching list item found are searched in corresponding mac address table When road is differed with receiving the VXLAN tunnels of the VXLAN messages, it will be wrapped in the matching list item found The VXLAN tunnels contained are updated to receive the VXLAN tunnels of the VXLAN messages.So as to match The outgoing interface of list item is updated to converge friendship by convergence switch and the VXLAN tunnels of BRAS network elements 2 The VXLAN tunnels changed planes with BRAS network elements 1, follow-up IPoE data flows have been switched back to BRAS Network element 1.
As seen from the above, after main BRAS network elements are changed into unavailable, IPoE data flows can quickly be cut Change to from BRAS network elements, can also be quick by IPoE data flows after main BRAS network elements recover available Main BRAS network elements are switched back into, redundancy and the backup of BRAS network elements in same packet is realized.
Following technique effect is realized in the method for the above embodiments of the present application:
At least two BRAS network elements in resource pool are divided into a packet by controller in advance, afterwards, to appoint One convergence switch specifies a packet, and each BRAS net in the convergence switch and the packet VXLAN tunnels are set up between member, the AC interfaces on one group of VXLAN tunnel, the convergence switch are obtained It is corresponding with this group of VXLAN tunnel.
When using PPPoE certifications, the convergence switch is from the AC interfaces to any client After PPPoE first messages, the PPPoE first messages can be sent in the packet by VXLAN tunnels Each BRAS network element;Afterwards, controller is according to default control model, and selection is first to the PPPoE The BRAS network elements that message is responded, so, the convergence switch is from the AC interfaces to the visitor After the PPPoE subsequent packets at family end, the PPPoE subsequent packets can be sent by VXLAN tunnels To the BRAS network elements chosen.It is thus possible to the PPPoE numbers for any client that the AC interfaces are connected It is dispatched to according to stream on the BRAS network elements that this chooses, realizes PPPoE data flows BRAS in same packet Scheduling between network element.
When the state for the BRAS network elements that this is chosen is changed into unavailable, client re-emits PPPoE and reported for the first time Text, controller can according to default control model, from other BRAS network elements in upstate, The BRAS network elements responded to the PPPoE first messages are reselected, so that, realize in same packet BRAS network elements between backup and redundancy, improve reliability.
In addition, when using IPoE certifications, all BRAS network elements operation VRRP in the packet, so that, Realize scheduling of the IPoE data flows in same packet between BRAS network elements, and the BRAS in same packet Backup and redundancy between network element, improve reliability.
In order to make it easy to understand, below with the actual group-network construction shown in Fig. 1, recognizing above-mentioned use PPPoE Handling process during card and it is illustrated using handling process during IPoE certifications.
As shown in figure 1,2 points of the BRAS network elements 1 in resource pool and BRAS network elements are same by controller Packet, is referred to as grouped 1, is same packet by 4 points of the BRAS network elements 3 in resource pool and BRAS network elements, Referred to as it is grouped 2.Between BRAS network elements 1 and BRAS network elements 2 of the controller in HJSW1 and packet 1 VXLAN tunnels are set up, so that two VXLAN tunnels Tunnel1 and Tunnel2 are obtained, the two VXLAN tunnels constitute one group of VXLAN tunnel.
AC interfaces AC1, Tunnel1 on HJSW1 is corresponding with Tunnel2 and VXLAN1, its In, Tunnel1 is the VXLAN tunnels between HJSW1 and BRAS network elements 1, and Tunnel2 is HJSW1 VXLAN tunnels between BRAS network elements 2.
The (not shown in figure 1) of client 1 is connected to HJSW1 AC1 by OLT1.Client 1 MAC Address is USER1.
In PPPoE application scenarios, the MAC Address of BRAS network elements 1 is vBRAS1, BRAS nets Member 2 MAC Address be vBRAS2, below with BRAS network elements use aforesaid way one to give a response for Example, illustrates that the handling process in PPPoE application scenarios is as follows:
Client 1 sends PPPoE first messages, the source MACs of the PPPoE first messages is USER1, Target MAC (Media Access Control) address is broadcast MAC address;HJSW1 by AC1 receive the PPPoE first messages it Afterwards, the corresponding mac address tables of the affiliated VXLAN1 of the PPPoE first messages are determined, the PPPoE is reported for the first time The source MAC USER1 of text learns into the mac address table, has obtained such as the row institutes of table 1-1 the 2nd The MAC address entries shown, also, for Tunnel1 and Tunnel2 corresponding with VXLAN1, to the PPPoE The VXLAN messages that first message is packaged and obtains encapsulation are sent, so that, the PPPoE is first Message broadcasting has given BRAS network elements 1 and BRAS network elements 2.
Table 1-1
MAC Address VXLAN ID Outgoing interface
USER1 VXLAN1 AC1
BRAS network elements 1 are received after the VXLAN messages, and progress, which is decapsulated, obtains PPPoE therein First message, determines the corresponding mac address tables of the affiliated VXLAN1 of the VXLAN messages, by the PPPoE The source MAC USER1 of first message learns into the mac address table, has obtained such as table 2-1 the 2nd MAC address entries shown in row, also, the PPPoE first messages are reported into controller.
Equally, BRAS network elements 2 can also perform aforesaid operations, so as to learn to as shown in the rows of table 3-1 the 2nd MAC address entries, also, the PPPoE first messages are reported into controller.
Table 2-1
MAC Address VXLAN ID Outgoing interface
USER1 VXLAN1 Tunnel1
Table 3-1
MAC Address VXLAN ID Outgoing interface
USER1 VXLAN1 Tunnel2
Controller after the PPPoE first messages that BRAS network elements 1 and BRAS network elements 2 are reported are received, The minimum BRAS network elements 1 of selection load send response notification;BRAS network elements 1 receive the response notification Afterwards, back message is generated for the PPPoE first messages, the source MAC of the back message is VBRAS1, target MAC (Media Access Control) address are USER1, then, according to USER1 as shown in table 2-1 Corresponding outgoing interface is searched in mac address table, Tunnel1 has as a result been found, the back message is entered Row encapsulation, and the VXLAN messages that encapsulation is obtained are sent to HJSW1.
HJSW1 is received after the VXLAN messages, and progress, which is decapsulated, obtains back message therein, It is table 1-1 to determine the corresponding mac address tables of the affiliated VXLAN1 of the VXLAN messages, and this is responded The source MAC vBRAS1 of message learns into the mac address table as shown in table 1-1, and study is arrived MAC address entries referring to the rows of table 1-2 the 3rd, now, table 1-1 is updated to table 1-2;Also, HJSW1 According to the target MAC (Media Access Control) address USER1 of the back message, looked into the mac address table as shown in table 1-2 Corresponding outgoing interface is found for AC1, the back message is transmitted to by client 1 by AC1.
Table 1-2
MAC Address VXLAN ID Outgoing interface
USER1 VXLAN1 AC1
vBRAS1 VXLAN1 Tunnel1
The PPPoE messages as unicast message that client 1 is subsequently sent, and target MAC (Media Access Control) address is vBRAS1;HJSW1 is according to the target MAC (Media Access Control) address vBRAS1 of the PPPoE messages, in such as table 1-2 Corresponding outgoing interface is found in shown mac address table for Tunnel1, so that, by the PPPoE Message, which is packaged into after VXLAN messages, is sent to BRAS network elements 1;BRAS network elements 1 receive this After VXLAN messages, decapsulation obtains the PPPoE messages, and respective handling is carried out to the PPPoE messages.
When BRAS network elements 1 are wanted to send PPPoE messages to client 1, reported according to the PPPoE The target MAC (Media Access Control) address USER1 of text, finds correspondence in the mac address table as shown in table 2-1 Outgoing interface be Tunnel1, the PPPoE messages are packaged into after VXLAN messages, HJSW1 is sent to; HJSW1 is received after the VXLAN messages, and decapsulation obtains PPPoE messages therein, according to The target MAC (Media Access Control) address USER1 of the PPPoE messages, in the mac address table as shown in table 1-2 Corresponding outgoing interface is found for AC1, so that the PPPoE messages are sent into client 1 by AC1.
So as to, by said process, client 1 establishes PPPoE with BRAS network elements 1 and is connected, and After connection is successfully established, the communication of business datum is carried out.
When BRAS network elements 1 break down, client 1 detects PPPoE connections disconnection, can send out again PPPoE first messages are sent, HJSW1 is received after the PPPoE first messages, is broadcasted to BRAS network elements 1 With BRAS network elements 2.Due to the failure of BRAS network elements 1, therefore, only BRAS network elements 2 are by the PPPoE First message reports controller;Controller can only receive the PPPoE first messages that BRAS network elements 2 are reported, because This, selection BRAS network elements 2 send response notification;BRAS network elements 2 are received after the response notification, pin Back message is generated to the PPPoE first messages, and the back message is packaged into by VXLAN by the 3-1 that tables look-up After message, HJSW1 is transmitted to;HJSW1 is received after the VXLAN messages, and decapsulation is obtained therein time Message is answered, by the source MAC vBRAS2 study to the MAC as shown in table 1-2 of the back message Table 1-3 is obtained in the table of location, the MAC address entries learnt are referring to the rows of table 1-3 the 4th, in addition, HJSW1 can also The back message is transmitted to by client 1 by AC1 by the 1-3 that tables look-up.Subsequently, client 1 is sent The target MAC (Media Access Control) address of PPPoE messages is the MAC Address vBRAS2 of BRAS network elements 2, client 1 sets up PPPoE with BRAS network elements 2 is connected, and after connection is successfully established, carries out business datum communication.
Table 1-3
MAC Address VXLAN ID Outgoing interface
USER1 VXLAN1 AC1
vBRAS1 VXLAN1 Tunnel1
vBRAS2 VXLAN1 Tunnel2
It is as follows in the handling process of IPoE application scenarios:
By automatic election, BRAS network elements 1 are elected as main BRAS network elements, BRAS network elements 2 As from BRAS network elements.BRAS network elements 1 and BRAS network elements 2 are with having identical Virtual MAC Location vMAC.
Client 1 sends IPoE first messages, and the source MAC of the IPoE first messages is USER1, mesh MAC Address be broadcast MAC address;HJSW1 is received by AC1 after the IPoE first messages, The corresponding mac address tables of the affiliated VXLAN1 of the IPoE first messages are determined, by the source of the IPoE first messages MAC Address USER1 learns into the mac address table, has obtained the MAC as shown in the rows of table 1-1 the 2nd List item, also, for Tunnel1 and Tunnel2 corresponding with VXLAN1, the IPoE first messages are entered The VXLAN messages that row encapsulates and obtains encapsulation are sent, so that, the IPoE first messages are broadcast to BRAS network elements 1 and BRAS network elements 2.
BRAS network elements 1 are received after the VXLAN messages, and progress, which is decapsulated, obtains IPoE head therein Message, learns to the source MAC USER1 of the IPoE first messages, has obtained such as table 2-1 the 2nd MAC address entries shown in row;Also, because BRAS network elements 1 are main BRAS network elements, therefore, BRAS Network element 1 can generate back message for the IPoE first messages, and the source MAC of the back message is VMAC, target MAC (Media Access Control) address are USER1, then, according to USER1 as shown in table 2-1 Corresponding outgoing interface is found in mac address table for Tunnel1, the back message is packaged, and The VXLAN messages that encapsulation is obtained are sent to HJSW1.
BRAS network elements 2 are received after the VXLAN messages, and progress, which is decapsulated, obtains IPoE head therein Message, learns to the source MAC USER1 of the IPoE first messages, has obtained such as table 3-1 the 2nd MAC address entries shown in row.
HJSW1 is received after the VXLAN messages that BRAS network elements 1 are sent, and progress is decapsulated To back message therein, determine that the corresponding mac address tables of the affiliated VXLAN1 of the back message are Table 1-1, by the source MAC vMAC study to the MAC as shown in table 1-1 of the back message In the table of location, table 1-4 is obtained, wherein, the MAC address entries learnt are referring to the rows of table 1-4 the 3rd;Also, HJSW1 is according to the target MAC (Media Access Control) address USER1 of the back message, the MAC as shown in table 1-4 Corresponding outgoing interface is found in the table of location for AC1, the back message is transmitted to by client 1 by AC1.
Table 1-4
MAC Address VXLAN ID Outgoing interface
USER1 VXLAN1 AC1
vMAC VXLAN1 Tunnel1
The IPoE messages as unicast message that client 1 is subsequently sent, and target MAC (Media Access Control) address is vMAC;HJSW1 is according to the target MAC (Media Access Control) address vMAC of the IPoE messages, as shown in table 1-4 Mac address table in find corresponding outgoing interface for Tunnel1 so that, the IPoE messages are sealed Dress up and BRAS network elements 1 are sent to after VXLAN messages;BRAS network elements 1 receive the VXLAN After message, decapsulation obtains the IPoE messages, and respective handling is carried out to the IPoE messages.
When BRAS network elements 1 are wanted to send IPoE messages to client 1, according to the IPoE messages Target MAC (Media Access Control) address USER1, in the mac address table as shown in table 2-1 finding outgoing interface is Tunnel1, the IPoE messages are packaged into after VXLAN messages, HJSW1 is sent to;HJSW1 Receive after the VXLAN messages, decapsulation obtains IPoE messages therein, reported according to the IPoE The target MAC (Media Access Control) address USER1 of text, finds correspondence in the mac address table as shown in table 1-4 Outgoing interface be AC1, so that the IPoE messages are sent into client 1 by AC1.
So as to, by said process, client 1 establishes IPoE with BRAS network elements 1 and is connected, and even Connect after being successfully established, carry out the communication of business datum.
When BRAS network elements 1 break down, the state that BRAS network elements 2 detect BRAS network elements 1 becomes For Down, BRAS network elements 2 can switch as main BRAS network elements, broadcast gratuitous ARP messages, so that, The gratuitous ARP packet can be sent to by HJSW1 by Tunnel2, the source MAC of the gratuitous ARP packet Address is vMAC.
HJSW1, which is received, to be packaged with after the VXLAN messages of gratuitous ARP packet, and decapsulation obtains this and exempted from Take ARP messages, then, according to the source MAC vMAC of the gratuitous ARP packet, in the VXLAN Matching list item is searched in the corresponding table 1-4 of the affiliated VXLAN1 of message, the rows of table 1-4 the 3rd are as a result found The VXLAN tunnels Tunnel1 included in MAC address entries, also, the MAC address entries is with receiving the VXLAN The VXLAN tunnels Tunnel2 of message is differed, then is updated the Tunnel1 included in the MAC address entries For Tunnel2, now, table 1-4 is updated for table 1-5.Subsequently, client 1 and BRAS network elements 2 enter Row communication.
Table 1-5
MAC Address VXLAN ID Outgoing interface
USER1 VXLAN1 AC1
vMAC VXLAN1 Tunnel2
When the state of BRAS network elements 1 reverts to available (Up), and when needing switchback, BRAS nets Member 2 is switched to from BRAS network elements again;The broadcast gratuitous ARP messages of BRAS network elements 1, so as to can lead to Cross Tunnel1 and be sent to HJSW1, the source MAC of the gratuitous ARP packet is vMAC;HJSW1 Receive and be packaged with after the VXLAN messages of gratuitous ARP packet, decapsulation obtains the gratuitous ARP packet, Then, according to the source MAC vMAC of the gratuitous ARP packet, belonging to the VXLAN messages Matching list item is searched in the corresponding table 1-5 of VXLAN1, the MAC as shown in the rows of table 1-5 the 3rd is as a result found The VXLAN tunnels Tunnel2 included in list item, also, the MAC address entries is with receiving VXLAN reports The VXLAN tunnels Tunnel1 of text is differed, then is updated to the Tunnel2 included in the MAC address entries Tunnel1, table 1-5 are updated for table 1-4.Subsequently, client 1 is led to BRAS network elements 1 again Letter.
Embodiment with aforementioned flow dispatching method is corresponding, and present invention also provides a kind of flow scheduling device Embodiment.
The embodiment of the application flow scheduling device 60 can be using on the controller.Above-mentioned flow scheduling device 60 embodiment can be realized by software, can also be realized by way of hardware or software and hardware combining. It is the processor by controller where it as the device on a logical meaning exemplified by implemented in software Corresponding computer program instructions in nonvolatile memory 50 are read what operation in internal memory 40 was formed by 10. For hardware view, as shown in figure 5, being a kind of hardware of the application flow scheduling device place controller Structure chart, except the processor 10 shown in Fig. 5, internal bus 20, network interface 30, internal memory 40, with And outside nonvolatile memory 50, the reality of controller in embodiment where device generally according to the controller Border function, can also include other hardware, this is repeated no more.
Fig. 6 is refer to, the flow scheduling device 60 of the embodiment of the present application is included with lower module:Grouping module 601st, module 602 and selecting module 603 are set up, wherein:
Grouping module 601, for the BRAS network elements in resource pool to be grouped, each packet include to Few two BRAS network elements;
Module 602 is set up, for specifying a packet for convergence switch, and in the convergence switch and this point VXLAN tunnels are set up between each BRAS network element in group, so that the convergence switch will be from AC Interface to client first message each BRAS in the packet is sent to by VXLAN tunnels Network element;
Selecting module 603, for according to default control model, selecting the BRAS responded to the first message Network element so that the convergence switch by from the AC interfaces to the subsequent packet of the client pass through VXLAN tunnels are sent to the BRAS network elements chosen.
Wherein, selecting module 603 includes:Receiving unit, selecting unit and transmitting element, wherein:
Receiving unit, the first message for receiving each BRAS reported by network elements in the packet;
Selecting unit, for receiving reporting for the first time for each BRAS reported by network elements in the packet in receiving unit After text, a BRAS network element is selected from all BRAS network elements for reporting first message;
Transmitting element, the BRAS network elements for being chosen to selecting unit send response notification, so as to choose BRAS network elements are responded to first message.
Wherein, selecting unit 603 specifically for:According to predetermined selection rule, from all BRAS reported A BRAS network element is selected in network element, wherein, predetermined selection rule includes:Selection and convergence switch are most Near BRAS network elements, and/or the minimum BRAS network elements of selection load.
Or, selecting module 603 includes:Dispensing unit, for for each BRAS network element in the packet The reconfiguration latency time, then according to corresponding time delay, the BRAS network elements responded earliest to first message For the BRAS network elements chosen.
Wherein, all BRAS network elements in the convergence switch corresponding with the AC interfaces and the packet it Between VXLAN tunnels, corresponding to same VXLAN (for convenience, being designated as VXLAN1).
Wherein, setting up module 602 includes:Interface dispensing unit, creating unit and binding unit, wherein:
Interface dispensing unit, for for each BRAS network element in the packet, in the convergence switch Upper configuration Tunnel interfaces, specify the Tunnel interfaces source IP address for the convergence switch IP address, Purpose IP address is the IP address of the BRAS network elements;It is additionally operable to be directed to each BRAS network element, at this Tunnel interfaces are configured on BRAS network elements, the source IP address for specifying the Tunnel interfaces is the BRAS nets The IP address of member, the IP address that purpose IP address is the convergence switch;
Creating unit, for creating VSI on the convergence switch, VXLAN1 is created in the VSI; It is additionally operable to create VSI on each BRAS network element in the packet, VXLAN1 is created in the VSI;
Binding unit, for tying up the AC interfaces, VSI and Tunnel interfaces on the convergence switch It is fixed;It is additionally operable on each BRAS network element, VSI and Tunnel interfaces is bound.
The function of unit and the implementation process of effect specifically refer to correspondence in the above method in said apparatus The implementation process of step, will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part referring to The part explanation of embodiment of the method.Device embodiment described above is only schematical, wherein The unit illustrated as separating component can be or may not be physically separate, be used as unit The part of display can be or may not be physical location, you can with positioned at a place, or also may be used To be distributed on multiple NEs.Some or all of module therein can be selected according to the actual needs To realize the purpose of application scheme.Those of ordinary skill in the art without creative efforts, It is appreciated that and implements.
The preferred embodiment of the application is the foregoing is only, it is all in this Shen not to limit the application Within spirit and principle please, any modification, equivalent substitution and improvements done etc. should be included in this Shen Within the scope of please protecting.

Claims (12)

1. a kind of traffic scheduling method, it is characterised in that methods described includes:
Broadband Remote Access Server BRAS network elements in resource pool are grouped, each packet includes At least two BRAS network elements;
A packet is specified for convergence switch, and it is every in the convergence switch and the packet Expansible Virtual Local Area Network VXLAN tunnels are set up between one BRAS network element, so that the convergence is handed over Change planes by from access circuit AC interfaces to client first message be sent to by the VXLAN tunnels Each BRAS network element in the packet;
According to default control model, the BRAS network elements responded to the first message are selected, so that institute State convergence switch by from the AC interfaces to the subsequent packet of the client pass through VXLAN tunnels Road is sent to the BRAS network elements chosen.
2. according to the method described in claim 1, it is characterised in that according to default control model, selection The BRAS network elements responded to the first message, including:
Receive the first message of each BRAS reported by network elements in the packet;
A BRAS network element is selected from all BRAS network elements for reporting first message;
Response notification is sent to the BRAS network elements chosen, so that the BRAS network elements chosen are to the head Message is responded.
3. method according to claim 2, it is characterised in that from all BRAS network elements reported The method of one BRAS network element of selection includes:
According to predetermined selection rule, a BRAS network element is selected from all BRAS network elements reported, its In, the predetermined selection rule includes:Selection and the nearest BRAS network elements of the convergence switch, and/or The minimum BRAS network elements of selection load.
4. according to the method described in claim 1, it is characterised in that according to default control model, selection The BRAS network elements responded to the first message, including:
For each BRAS network element configuration time delay in the packet, then when according to the corresponding delay Between, the BRAS network elements responded earliest to the first message are the BRAS network elements chosen.
5. according to the method described in claim 1, it is characterised in that corresponding with the AC interfaces described The VXLAN tunnels between all BRAS network elements in convergence switch and the packet, corresponding to same VXLAN。
6. method according to claim 5, it is characterised in that in the convergence switch and described point The method in VXLAN tunnels is set up between each BRAS network element in group to be included:
For each described BRAS network element, the configured tunneling technique Tunnel interfaces on the convergence switch, The source IP address for specifying the Tunnel interfaces is that the IP address of the convergence switch, purpose IP address are The IP address of the BRAS network elements;Virtual switch instance VSI is created on the convergence switch, described The VXLAN is created in VSI;The AC interfaces, the VSI and the Tunnel interfaces are tied up It is fixed;
For each described BRAS network element, Tunnel interfaces are configured on the BRAS network elements, institute is specified The source IP address for stating Tunnel interfaces is that the IP address of the BRAS network elements, purpose IP address are the convergence The IP address of interchanger;VSI is created on the BRAS network elements, the VXLAN is created in the VSI; The VSI and the Tunnel interfaces are bound.
7. a kind of flow scheduling device, it is characterised in that described device includes:
Grouping module, for the Broadband Remote Access Server BRAS network elements in resource pool to be grouped, Each packet includes at least two BRAS network elements;
Set up module, for for convergence switch specify a packet, and the convergence switch with Expansible Virtual Local Area Network VXLAN tunnels are set up between each BRAS network element in the packet, So that the convergence switch by from access circuit AC interfaces to client first message pass through it is described VXLAN tunnels are sent to each BRAS network element in the packet;
Selecting module, for according to default control model, selecting the BRAS responded to the first message Network element so that the convergence switch by from the AC interfaces to the subsequent packet of the client lead to Cross VXLAN tunnels and be sent to the BRAS network elements chosen.
8. device according to claim 7, it is characterised in that the selecting module includes:
Receiving unit, the first message for receiving each BRAS reported by network elements in the packet;
Selecting unit, for receiving each BRAS reported by network elements in the packet in the receiving unit The first message after, from all BRAS network elements for reporting first message select a BRAS network element;
Transmitting element, the BRAS network elements for being chosen to the selecting unit send response notification, so that institute The BRAS network elements chosen are stated to respond the first message.
9. device according to claim 8, it is characterised in that the selecting unit specifically for:
According to predetermined selection rule, a BRAS network element is selected from all BRAS network elements reported, its In, the predetermined selection rule includes:Selection and the nearest BRAS network elements of the convergence switch, and/or The minimum BRAS network elements of selection load.
10. device according to claim 7, it is characterised in that the selecting module includes:
Dispensing unit, for for each BRAS network element configuration time delay in the packet, then according to right The time delay answered, the BRAS network elements responded earliest to the first message are described to be chosen BRAS network elements.
11. device according to claim 7, it is characterised in that corresponding with the AC interfaces described The VXLAN tunnels between all BRAS network elements in convergence switch and the packet, corresponding to same VXLAN。
12. device according to claim 11, it is characterised in that the module of setting up includes:
Interface dispensing unit, for for each described BRAS network element, matching somebody with somebody on the convergence switch Tunnel Tunnel interfaces are put, the source IP address for specifying the Tunnel interfaces is the IP of the convergence switch Address, the IP address that purpose IP address is the BRAS network elements;It is additionally operable to for each described BRAS Network element, configures Tunnel interfaces on the BRAS network elements, specifies the source IP address of the Tunnel interfaces For the IP address that the IP address of the BRAS network elements, purpose IP address are the convergence switch;
Creating unit, for creating virtual switch instance VSI on the convergence switch, in the VSI It is interior to create the VXLAN;It is additionally operable to create VSI on each described BRAS network element, in the VSI It is interior to create the VXLAN;
Binding unit, on the convergence switch by the AC interfaces, the VSI and described Tunnel interfaces are bound;It is additionally operable on each described BRAS network element, by the VSI and the Tunnel Interface is bound.
CN201610273447.5A 2016-04-27 2016-04-27 Traffic scheduling method and device Active CN107317768B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610273447.5A CN107317768B (en) 2016-04-27 2016-04-27 Traffic scheduling method and device
PCT/CN2017/082025 WO2017186122A1 (en) 2016-04-27 2017-04-26 Traffic scheduling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610273447.5A CN107317768B (en) 2016-04-27 2016-04-27 Traffic scheduling method and device

Publications (2)

Publication Number Publication Date
CN107317768A true CN107317768A (en) 2017-11-03
CN107317768B CN107317768B (en) 2020-01-03

Family

ID=60160747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610273447.5A Active CN107317768B (en) 2016-04-27 2016-04-27 Traffic scheduling method and device

Country Status (2)

Country Link
CN (1) CN107317768B (en)
WO (1) WO2017186122A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107995125A (en) * 2017-11-17 2018-05-04 新华三技术有限公司 A kind of traffic scheduling method and device
CN108337147A (en) * 2018-01-31 2018-07-27 新华三技术有限公司 Message forwarding method and device
CN109412980A (en) * 2018-09-30 2019-03-01 新华三技术有限公司 A kind of BRAS backup method and device
CN110475248A (en) * 2018-05-10 2019-11-19 中国移动通信集团浙江有限公司 A kind of wireless network architecture and wireless network access method
US10924299B2 (en) 2016-07-20 2021-02-16 New H3C Technologies Co., Ltd. Packet forwarding
CN112511426A (en) * 2019-09-16 2021-03-16 中国移动通信集团河北有限公司 Traffic grooming method and device, computing device and storage medium for service
WO2021129754A1 (en) * 2019-12-24 2021-07-01 中兴通讯股份有限公司 Message processing method and device, and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114244709B (en) * 2021-11-11 2023-12-26 新华三大数据技术有限公司 UP equipment association control method and device
CN116938626B (en) * 2023-09-12 2023-12-19 新华三技术有限公司 Client roaming method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651682A (en) * 2009-09-15 2010-02-17 杭州华三通信技术有限公司 Method, system and device of security certificate
CN101771612A (en) * 2010-01-13 2010-07-07 华为技术有限公司 Tunnel establishing method, equipment and network system
WO2014208538A1 (en) * 2013-06-25 2014-12-31 日本電気株式会社 Communication system, apparatus, method and program
CN104883687A (en) * 2014-02-28 2015-09-02 华为技术有限公司 Wireless local area network tunnel establishing method, apparatus and access network system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143136B (en) * 2010-08-20 2013-12-04 华为技术有限公司 Method for accessing service wholesale network, equipment, server and system
EP2536068B1 (en) * 2011-06-18 2014-08-13 Deutsche Telekom AG Virtual subscriber management

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651682A (en) * 2009-09-15 2010-02-17 杭州华三通信技术有限公司 Method, system and device of security certificate
CN101771612A (en) * 2010-01-13 2010-07-07 华为技术有限公司 Tunnel establishing method, equipment and network system
WO2014208538A1 (en) * 2013-06-25 2014-12-31 日本電気株式会社 Communication system, apparatus, method and program
CN104883687A (en) * 2014-02-28 2015-09-02 华为技术有限公司 Wireless local area network tunnel establishing method, apparatus and access network system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张龙江: "城域网"双BAS+双汇聚交换机"方案消除汇聚层单点障碍隐患", 《山东通信技术》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10924299B2 (en) 2016-07-20 2021-02-16 New H3C Technologies Co., Ltd. Packet forwarding
CN107995125A (en) * 2017-11-17 2018-05-04 新华三技术有限公司 A kind of traffic scheduling method and device
CN107995125B (en) * 2017-11-17 2021-07-23 新华三技术有限公司 Traffic scheduling method and device
CN108337147A (en) * 2018-01-31 2018-07-27 新华三技术有限公司 Message forwarding method and device
CN108337147B (en) * 2018-01-31 2020-12-01 新华三技术有限公司 Message forwarding method and device
CN110475248A (en) * 2018-05-10 2019-11-19 中国移动通信集团浙江有限公司 A kind of wireless network architecture and wireless network access method
CN109412980A (en) * 2018-09-30 2019-03-01 新华三技术有限公司 A kind of BRAS backup method and device
CN109412980B (en) * 2018-09-30 2021-06-29 新华三技术有限公司 BRAS backup method and device
CN112511426A (en) * 2019-09-16 2021-03-16 中国移动通信集团河北有限公司 Traffic grooming method and device, computing device and storage medium for service
WO2021129754A1 (en) * 2019-12-24 2021-07-01 中兴通讯股份有限公司 Message processing method and device, and storage medium

Also Published As

Publication number Publication date
CN107317768B (en) 2020-01-03
WO2017186122A1 (en) 2017-11-02

Similar Documents

Publication Publication Date Title
CN107317768A (en) Traffic scheduling method and device
CN105763385B (en) Traffic scheduling method and device
CN105359465B (en) Method and apparatus for extending the virtual expansible LAN segment across multiple data center's websites
CN105577548B (en) Message processing method and device in a kind of software defined network
JP5991424B2 (en) Packet rewriting device, control device, communication system, packet transmission method and program
CN105453492B (en) Switch cluster with third layer distribution router function
US7808992B2 (en) Platform independent implementation of private VLANS
US7751409B1 (en) Logical service domains for enabling network mobility
CN104618194B (en) Software defined network monitoring messages method and SDN controllers, switching equipment
CN109218178A (en) A kind of message processing method and the network equipment
CN103166858B (en) A kind of message transmitting method and equipment
CN106209643B (en) Message forwarding method and device
CN110290093A (en) The SD-WAN network architecture and network-building method, message forwarding method
CN106936939A (en) A kind of message processing method, relevant apparatus and NVO3 network systems
CN107645431A (en) Message forwarding method and device
CN109660442A (en) The method and device of multicast replication in Overlay network
CN106453124A (en) Traffic scheduling method and device
CN110324159B (en) Link configuration method, controller and storage medium
CN110519075A (en) The communication system and method for physical host and virtual cloud host based on SDN
CN105490957A (en) Load sharing method and device
CN106559302A (en) Single tunnel method for building up, device and system
CN102282811B (en) Method, apparatus and system for establishing pseudo wire
WO2014101723A1 (en) Associating internet protocol (ip) addresses with ethernet virtualisation interconnection (evi) links
CN105453513A (en) Packet forwarding method, forwarding entry delivery method, and network device
CN107659930A (en) A kind of AP connection control methods and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant