CN107995124B - Traffic scheduling method and device - Google Patents
Traffic scheduling method and device Download PDFInfo
- Publication number
- CN107995124B CN107995124B CN201610948995.3A CN201610948995A CN107995124B CN 107995124 B CN107995124 B CN 107995124B CN 201610948995 A CN201610948995 A CN 201610948995A CN 107995124 B CN107995124 B CN 107995124B
- Authority
- CN
- China
- Prior art keywords
- openflow switch
- bras network
- network element
- mac address
- target
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000000977 initiatory effect Effects 0.000 claims abstract description 56
- 230000006855 networking Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
- H04L47/125—Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2854—Wide area networks, e.g. public data networks
- H04L12/2856—Access arrangements, e.g. Internet access
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2854—Wide area networks, e.g. public data networks
- H04L12/2856—Access arrangements, e.g. Internet access
- H04L12/2869—Operational details of access network equipments
- H04L12/287—Remote access server, e.g. BRAS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0896—Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/25—Routing or path finding in a switch fabric
- H04L49/253—Routing or path finding in a switch fabric using establishment or release of connections between ports
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The application provides a traffic scheduling method and a traffic scheduling device, wherein the method comprises the following steps: acquiring the MAC address of each BRAS network element and the corresponding relation of a port connected with the BRAS network element on the OpenFlow switch; acquiring load information of each BRAS network element; after receiving an access initiation message reported by an OpenFlow switch, selecting a target BRAS network element with the minimum load from a plurality of BRAS network elements according to the obtained load information, and searching the MAC address of the target BRAS network element and a target port connected with the target BRAS network element on the OpenFlow switch; and sending the MAC address and the target port to an OpenFlow switch, so that the OpenFlow switch replaces the target MAC address of the access initiating message with the MAC address and then unicasts the MAC address to a target BRAS network element through the target port.
Description
Technical Field
The present application relates to the field of network communication technologies, and in particular, to a traffic scheduling method and apparatus.
Background
The Broadband Remote Access Server (BRAS) is an Access gateway facing Broadband network application, is located at the edge layer of a backbone network, and can complete data Access of an IP (Internet Protocol)/ATM (Asynchronous Transfer Mode) network of user bandwidth, thereby realizing Broadband Internet Access of commercial buildings and residential quarters.
In a Metropolitan Area Network (MAN) networking model, a broadband subscriber is accessed by an OLT (Optical Line Terminal), and is connected to a BRAS (broadband access Point) through a POP (Point of presence) switch (which may also be referred to as a local side convergence switch).
As shown in fig. 1, currently, the most common broadband access virtualization scheme is a vbars (virtual BRAS) resource pool scheme, that is, a plurality of vbars in a resource pool carry broadband subscribers which can be carried by one physical BRAS in a conventional network.
The most common access method currently is PPPoE (Point-to-Point Protocol over Ethernet), which is a Point-to-Point Protocol over Ethernet Protocol. Specifically, a PPPoE client initiates establishment of a PPPoE session through a PADI (PPPoE Active discovery initial) message, in a networking shown in fig. 1, multiple vbars (serving as PPPoE servers) in a resource pool all receive the PADI message and respond, and the PPPoE client establishes a PPPoE session with the vbars which responds first. However, in this case, load balancing of the plurality of vbars in the resource pool cannot be achieved.
Disclosure of Invention
In view of this, the present application provides a traffic scheduling method and apparatus.
Specifically, the method is realized through the following technical scheme:
in one aspect, a traffic scheduling method is provided, in which a client accesses a plurality of BRAS network elements through an OpenFlow switch, and the method is applied to an SO that manages the plurality of BRAS network elements, and includes:
acquiring the MAC address of each BRAS network element in the plurality of BRAS network elements and the corresponding relation of a port connected with the BRAS network element on the OpenFlow switch;
acquiring load information of each BRAS network element in the plurality of BRAS network elements;
after receiving an access initiation message reported by the OpenFlow switch, selecting a target BRAS network element with the minimum load from the plurality of BRAS network elements according to the obtained load information, and searching the MAC address of the target BRAS network element and a target port connected with the target BRAS network element on the OpenFlow switch;
and sending the searched MAC address and the target port to an OpenFlow switch, so that the OpenFlow switch replaces the target MAC address of the access initiating message with the searched MAC address and then unicasts the target address to a target BRAS network element through the target port.
In another aspect, a traffic scheduling apparatus is further provided, where a client accesses a plurality of BRAS network elements through an OpenFlow switch, and the apparatus is applied to an SO, where the SO is used to manage the plurality of BRAS network elements, and the apparatus includes:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the corresponding relation between the MAC address of each BRAS network element in the plurality of BRAS network elements and the port connected with the BRAS network element on the OpenFlow switch; the load information of each BRAS network element in the plurality of BRAS network elements is obtained;
the receiving unit is used for receiving an access initiation message reported by the OpenFlow switch;
the selection searching unit is used for selecting a target BRAS network element with the minimum load from the plurality of BRAS network elements according to the load information acquired by the acquiring unit after the receiving unit receives the access initiating message reported by the OpenFlow switch, and searching the MAC address of the target BRAS network element and a target port connected with the target BRAS network element on the OpenFlow switch;
and the sending unit is used for sending the MAC address and the target port searched by the selection searching unit to the OpenFlow switch, so that the OpenFlow switch replaces the target MAC address of the access initiating message with the searched MAC address and then unicasts the target MAC address to the target BRAS network element through the target port.
Through the technical scheme of the application, after receiving an access initiation message sent by a client, the OpenFlow switch firstly reports the access initiation message to a service orchestrator, instead of broadcasting the access initiation message to all BRAS network elements in a resource pool, after receiving the access initiation message, the service orchestrator can select a target BRAS network element with the minimum load according to the pre-obtained MAC address of the BRAS network element, load information and the corresponding relation of the port connected with the BRAS network element on the OpenFlow switch, find out the MAC address of the target BRAS network element and the target port connected with the target BRAS network element on the OpenFlow switch, and then send the found MAC address and the target port to the OpenFlow switch, so that the OpenFlow switch replaces the target MAC address of the access initiation message with the found MAC address, and then sends the target BRAS network element to the target BRAS network element through the target unicast port, so that the target BRAS network element responds to the access initiation message, and establishing a session with the client, thereby realizing load balance among the BRAS network elements in the resource pool by scheduling the traffic to the BRAS network element with the minimum load for bearing.
Drawings
Fig. 1 is a schematic diagram of a metropolitan area network networking architecture employing a broadband access virtualization scheme;
fig. 2 is a schematic diagram of a metropolitan area network networking architecture according to an exemplary embodiment of the present application;
fig. 3 is a flow chart illustrating a traffic scheduling method according to an exemplary embodiment of the present application;
fig. 4 is a schematic hardware structure diagram of a service orchestrator where a traffic scheduling device is located according to an exemplary embodiment of the present application;
fig. 5 is a schematic structural diagram of a traffic scheduling apparatus according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In order to solve the problem of load balancing of multiple vbars in a resource pool, embodiments below of the present application provide a traffic scheduling method and a traffic scheduling apparatus to which the method may be applied.
As shown in fig. 2, a metropolitan area network networking architecture according to an embodiment of the present invention mainly includes: a Service Organizer (SO), a plurality of BRAS network elements in a resource pool, an OpenFlow switch, a POP switch, and an OLT. A client (not shown in fig. 2) accesses a plurality of BRAS network elements in a resource pool via an OLT, a POP switch, and an OpenFlow switch, and the OpenFlow switch is connected to a service orchestrator through an OpenFlow protocol control channel, where the OpenFlow protocol control channel includes: a Packet In (message up) channel and a Packet Out (message down) channel. In an actual implementation process, the OpenFlow switch may also be integrated into a POP switch.
The functions of a plurality of BRAS network elements contained in the resource pool are equivalent, and can be mutually backed up, and the BRAS network elements can be physical BRAS equipment, and also can be vBRAS (virtual BRAS) operated on a general x86 server; the service orchestrator is responsible for creating and deploying BRAS network elements in the resource pool, and a management channel (not shown in fig. 2) is established between the service orchestrator and each BRAS network element, and may be, for example, a netconf (configuration management) channel, an SNMP (simple network management protocol) channel, or another proprietary protocol channel.
Based on the networking architecture shown in fig. 2, in the embodiment of the present application, a traffic scheduling method executed by a service orchestrator is shown in fig. 3, and includes the following steps:
step S101, obtaining the corresponding relation between the MAC address of each BRAS network element in a plurality of BRAS network elements and the port connected with the BRAS network element on the OpenFlow switch;
in order to enable the service orchestrator to obtain the MAC address of the BRAS network element and the port of the OpenFlow switch to which the BRAS network element is connected, in this embodiment of the application, the BRAS network element sends a notification message to the OpenFlow switch after being started, where a source MAC address of the notification message is the MAC address of the BRAS network element. After receiving the notification message, the OpenFlow switch reports the notification message and the port of the OpenFlow switch receiving the notification message to the service orchestrator through a Packet In channel. Thus, in step S101, after receiving the notification message reported by the OpenFlow switch and the port of the OpenFlow switch receiving the notification message, the service orchestrator may record the correspondence between the source MAC address of the notification message and the port, so as to obtain the correspondence between the MAC address of the BRAS network element and the port of the OpenFlow switch connected to the BRAS network element.
The OpenFlow switch may report the received notification message to the service orchestrator according to a first flow entry issued by the service orchestrator.
In an actual implementation process, the notification message may specifically be an RARP (reverse address resolution protocol) message, and the MAC address of the BRAS network element is specifically an MAC address of a downlink port of the BRAS network element connected to an OpenFlow switch.
In addition, in step S101, the service orchestrator may further obtain the MAC address of the BRAS network element from the BRAS network element through the management channel, and record a corresponding relationship between the ID of the BRAS network element and the obtained MAC address, so as to obtain a corresponding relationship between the ID of the BRAS network element and the MAC address of the BRAS network element.
Step S102, obtaining the load information of each BRAS network element in the plurality of BRAS network elements;
specifically, in step S102, the service orchestrator may periodically obtain load information of each BRAS network element through the management channel, and record a corresponding relationship between an ID of a BRAS network element and the obtained load information of the BRAS network element. The obtained load information may be one or more combinations, for example, one or more combinations of load information such as the number of broadband users carried by the BRAS network element, the CPU (central processing unit) resource utilization rate of the BRAS network element, the memory utilization rate of the BRAS network element, and the uplink and downlink data traffic of the BRAS network element are obtained.
Step S103, after receiving an access initiation message reported by the OpenFlow switch, selecting a target BRAS network element with the minimum load from a plurality of BRAS network elements according to the obtained load information, and searching the MAC address of the target BRAS network element and a target port connected with the target BRAS network element on the OpenFlow switch;
in order to enable the OpenFlow switch to report the access initiation message sent by the client, the service orchestrator may issue a second flow entry to the OpenFlow switch In advance, so that after receiving the access initiation message sent by the client, the OpenFlow switch reports the access initiation message to the service orchestrator through a Packet In channel according to the second flow entry. Wherein, the access initiating message is a broadcast message with a target MAC address of full F.
In step S103, after receiving the access initiation packet, the service orchestrator searches for an ID of a target BRAS network element with the smallest load from the recorded correspondence between the ID of the BRAS network element and the load information, then searches for an MAC address of the target BRAS network element from the recorded correspondence between the ID of the BRAS network element and the MAC address, and finally searches for a target port of the OpenFlow switch, to which the target BRAS network element is connected, from the recorded correspondence between the MAC address of the BRAS network element and a port of the OpenFlow switch, to which the BRAS network element is connected.
And step S104, sending the searched MAC address and the target port to an OpenFlow switch, so that the OpenFlow switch replaces the target MAC address of the access initiating message with the MAC address and then unicasts the MAC address to a target BRAS network element through the target port. The target BRAS network element responds to the access initiating message after receiving the access initiating message, and subsequently, the client establishes a session with the target BRAS network element.
The service orchestrator may send the found MAC address and target port to the OpenFlow switch through the Packet Out channel, so that the OpenFlow switch may replace the destination MAC (media access control) address of the access initiation Packet with the MAC address of the target BRAS network element, and then send the access initiation Packet to the target BRAS network element through the target port. Subsequently, the client establishes a session with the target BRAS network element and carries a corresponding data stream.
In the method of the embodiment of the present application, when the PPPoE access mode is adopted, the access initiation packet is a packet for initiating PPPoE session establishment, for example, a PADI packet; when an IPoE (Internet Protocol over ethernet, Internet Protocol based on ethernet) access mode is adopted, the access initiation message is a message for initiating IPoE session establishment, for example, a DHCP (Dynamic Host Configuration Protocol) Discover message.
By the method shown in fig. 3, after receiving an access initiation message sent by a client, the OpenFlow switch reports the access initiation message to a service orchestrator first, instead of broadcasting the access initiation message to all BRAS network elements in a resource pool, and after receiving the access initiation message, the service orchestrator may select a target BRAS network element with the smallest load according to a pre-obtained MAC address of the BRAS network element, load information, and a corresponding relationship between ports on the OpenFlow switch and the BRAS network element, find out a MAC address of the target BRAS network element, and find out a target port on the OpenFlow switch and the target port connected to the target BRAS network element, and then send the found MAC address and the target port to the OpenFlow switch, so that the OpenFlow switch replaces the target MAC address of the access initiation message with the found MAC address, and then sends the target port to the target BRAS network element through a target unicast port, so that the target BRAS network element responds to the access initiation message, and establishing a session with the client, thereby realizing load balance among the BRAS network elements in the resource pool by scheduling the traffic to the BRAS network element with the minimum load for bearing.
Corresponding to the foregoing embodiments of the traffic scheduling method, the present application also provides embodiments of a traffic scheduling apparatus.
The embodiment of the traffic scheduler 60 of the present application can be applied to a service orchestrator. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. Taking a software implementation as an example, the device in a logical sense is formed by the processor 10 of the service orchestrator reading the corresponding computer program instructions in the non-volatile memory 50 into the memory 40 for execution. In terms of hardware, as shown in fig. 4, the hardware structure of the service orchestrator where the traffic scheduling device is located in the present application is shown, except for the processor 10, the internal bus 20, the network interface 30, the memory 40, and the nonvolatile memory 50 shown in fig. 4, the service orchestrator where the device is located in the embodiment may also include other hardware according to the actual function of the service orchestrator, which is not described again.
Referring to fig. 5, a traffic scheduling apparatus 60 according to an embodiment of the present application includes the following units: an obtaining unit 601, a receiving unit 602, a selection searching unit 603 and a sending unit 604, wherein:
an obtaining unit 601, configured to obtain a MAC address of each BRAS network element in a plurality of BRAS network elements and a correspondence between ports connected to the BRAS network elements on an OpenFlow switch; the load information of each BRAS network element in the plurality of BRAS network elements is obtained;
a receiving unit 602, configured to receive an access initiation message reported by an OpenFlow switch;
a selection searching unit 603, configured to, after the receiving unit 602 receives the access initiation packet reported by the OpenFlow switch, select, according to the load information acquired by the acquiring unit 601, a target BRAS network element with a minimum load from the multiple BRAS network elements, and search for an MAC address of the target BRAS network element and a target port of the OpenFlow switch, where the target BRAS network element is connected to the OpenFlow switch;
a sending unit 604, configured to send the MAC address and the target port found by the selection finding unit 603 to the OpenFlow switch, so that the OpenFlow switch replaces the target MAC address of the access initiation packet with the found MAC address, and then unicasts the MAC address to the target BRAS network element through the target port.
The obtaining unit 601 obtains the MAC address of each BRAS network element and the corresponding relationship between the ports of the OpenFlow switch, which are connected to the BRAS network element, in the following manner:
receiving an announcement message reported by an OpenFlow switch and a port of the OpenFlow switch receiving the announcement message, and recording the corresponding relation between a source MAC address of the announcement message and the port, wherein the source MAC address of the announcement message is the MAC address of a BRAS network element which sends the announcement message.
The sending unit 604 is further configured to send a first flow entry to the OpenFlow switch, where the first flow entry is used to instruct the OpenFlow switch to report an announcement packet sent by the BRAS network element, and instruct a port of the OpenFlow switch to receive the announcement packet.
The sending unit 604 is further configured to send a second flow entry to the OpenFlow switch, where the second flow entry is used to instruct the OpenFlow switch to report an access initiation packet sent by the client.
The access initiating message is a message for initiating PPPoE session establishment or a message for initiating IPoE session establishment.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.
Claims (10)
1. A flow scheduling method is characterized in that a client accesses a plurality of Broadband Remote Access Server (BRAS) network elements through an open flow OpenFlow switch, the method is applied to a Service Orchestrator (SO), and the SO is used for managing the plurality of BRAS network elements, and the method comprises the following steps:
acquiring the MAC address of each BRAS network element in the plurality of BRAS network elements and the corresponding relation between the ports connected with the BRAS network elements on the OpenFlow switch;
acquiring load information of each BRAS network element in the plurality of BRAS network elements;
after receiving an access initiation message reported by the OpenFlow switch, selecting a target BRAS network element with the minimum load from the plurality of BRAS network elements according to the obtained load information, searching the MAC address of the target BRAS network element and a target port connected with the target BRAS network element on the OpenFlow switch, wherein the access initiation message is a broadcast message with the target MAC address of full F;
and sending the searched MAC address and target port to the OpenFlow switch, so that the OpenFlow switch replaces the target MAC address of the access initiation message with the searched MAC address and then unicasts the target address to the target BRAS network element through the target port.
2. The method according to claim 1, wherein the correspondence between the MAC address of each of the plurality of BRAS network elements and the port of the OpenFlow switch to which the BRAS network element is connected is obtained by:
receiving an announcement message reported by the OpenFlow switch and a port of the OpenFlow switch receiving the announcement message, and recording the corresponding relation between a source MAC address of the announcement message and the port, wherein the source MAC address of the announcement message is the MAC address of a BRAS network element which sends the announcement message.
3. The method of claim 2, further comprising:
and sending a first flow table item to the OpenFlow switch, wherein the first flow table item is used for indicating the OpenFlow switch to report an announcement message sent by a BRAS network element and indicating a port of the OpenFlow switch to receive the announcement message.
4. The method of claim 1, further comprising:
and sending a second flow entry to the OpenFlow switch, wherein the second flow entry is used for indicating an access initiation message sent by a reporting client of the OpenFlow switch.
5. The method according to any of claims 1 to 4, wherein the access initiation message is a message for initiating a point-to-point protocol over Ethernet PPPoE session establishment or a message for initiating an Internet protocol over Ethernet IPoE session establishment.
6. A flow scheduling device is characterized in that a client accesses a plurality of Broadband Remote Access Server (BRAS) network elements through an open flow OpenFlow switch, the device is applied to a Service Orchestrator (SO), and the SO is used for managing the plurality of BRAS network elements, and the device comprises:
an obtaining unit, configured to obtain a correspondence between an MAC address of each BRAS network element in the plurality of BRAS network elements and a port connected to the BRAS network element on the OpenFlow switch; the load information of each BRAS network element in the plurality of BRAS network elements is also obtained;
a receiving unit, configured to receive an access initiation message reported by the OpenFlow switch, where the access initiation message is a broadcast message whose destination MAC address is full F;
a selection searching unit, configured to, after the receiving unit receives the access initiation packet reported by the OpenFlow switch, select, according to the load information acquired by the acquiring unit, a target BRAS network element with a minimum load from the multiple BRAS network elements, and search for an MAC address of the target BRAS network element and a target port on the OpenFlow switch, where the target BRAS network element is connected to the OpenFlow switch;
and a sending unit, configured to send the MAC address and the target port found by the selection finding unit to the OpenFlow switch, so that the OpenFlow switch replaces the target MAC address of the access initiation packet with the found MAC address, and then unicasts the MAC address and the target port to the target BRAS network element.
7. The apparatus according to claim 6, wherein the obtaining unit obtains the correspondence between the MAC address of each of the plurality of BRAS network elements and the port of the OpenFlow switch to which the BRAS network element is connected, by:
receiving an announcement message reported by the OpenFlow switch and a port of the OpenFlow switch receiving the announcement message, and recording the corresponding relation between a source MAC address of the announcement message and the port, wherein the source MAC address of the announcement message is the MAC address of a BRAS network element which sends the announcement message.
8. The apparatus of claim 7,
the sending unit is further configured to send a first flow entry to the OpenFlow switch, where the first flow entry is used to instruct the OpenFlow switch to report an announcement packet sent by a BRAS network element, and instruct a port of the OpenFlow switch to receive the announcement packet.
9. The apparatus of claim 6,
the sending unit is further configured to send a second flow entry to the OpenFlow switch, where the second flow entry is used to indicate an access initiation packet sent by the OpenFlow switch reporting client.
10. The apparatus according to any of claims 6 to 9, wherein the access initiation message is a message for initiating a point-to-point protocol over ethernet, PPPoE, session establishment or a message for initiating an internet protocol over ethernet, IPoE, session establishment.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610948995.3A CN107995124B (en) | 2016-10-26 | 2016-10-26 | Traffic scheduling method and device |
PCT/CN2017/107636 WO2018077184A1 (en) | 2016-10-26 | 2017-10-25 | Traffic scheduling |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610948995.3A CN107995124B (en) | 2016-10-26 | 2016-10-26 | Traffic scheduling method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107995124A CN107995124A (en) | 2018-05-04 |
CN107995124B true CN107995124B (en) | 2020-10-09 |
Family
ID=62024384
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610948995.3A Active CN107995124B (en) | 2016-10-26 | 2016-10-26 | Traffic scheduling method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107995124B (en) |
WO (1) | WO2018077184A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110891028B (en) * | 2018-09-07 | 2021-12-21 | 华为技术有限公司 | Method, device and storage medium for determining load balancing strategy |
CN112104566B (en) * | 2020-09-18 | 2024-02-27 | 网易(杭州)网络有限公司 | Processing method and device for load balancing |
CN112653633B (en) * | 2020-11-16 | 2022-08-30 | 新华三技术有限公司 | Method and device for realizing load sharing |
CN113746709B (en) * | 2021-08-25 | 2023-01-31 | 烽火通信科技股份有限公司 | Transfer control separation dynamic capacity management method, device, equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104040966A (en) * | 2012-11-09 | 2014-09-10 | 华为技术有限公司 | Method, Forwarding-plane Apparatus, And Network Device For Processing Packet |
WO2014169470A1 (en) * | 2013-04-19 | 2014-10-23 | Telefonaktiebolaget L M Ericsson(Publ) | Method and switch for lawful interception |
-
2016
- 2016-10-26 CN CN201610948995.3A patent/CN107995124B/en active Active
-
2017
- 2017-10-25 WO PCT/CN2017/107636 patent/WO2018077184A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104040966A (en) * | 2012-11-09 | 2014-09-10 | 华为技术有限公司 | Method, Forwarding-plane Apparatus, And Network Device For Processing Packet |
WO2014169470A1 (en) * | 2013-04-19 | 2014-10-23 | Telefonaktiebolaget L M Ericsson(Publ) | Method and switch for lawful interception |
EP2987278A1 (en) * | 2013-04-19 | 2016-02-24 | Telefonaktiebolaget LM Ericsson (publ) | Method and switch for lawful interception |
Non-Patent Citations (1)
Title |
---|
数据通信;缪伟等;《城域网BRAS向SDN演进的方法及步骤探索》;20160229;正文第2节 * |
Also Published As
Publication number | Publication date |
---|---|
WO2018077184A1 (en) | 2018-05-03 |
CN107995124A (en) | 2018-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12143301B2 (en) | Network validation with dynamic tunneling | |
CN107733799B (en) | Message transmission method and device | |
EP2169877B1 (en) | Processing method and device for qinq termination configuration | |
US9350815B2 (en) | System and method for supporting multicast domain name system device and service classification | |
US8005083B1 (en) | Applying differentiated services within a cable network using customer-aware network router | |
US9438679B2 (en) | Method, apparatus, name server and system for establishing FCOE communication connection | |
US20130343394A1 (en) | Method and Apparatus for Converting Virtual Local Area Network Identity | |
CN107995124B (en) | Traffic scheduling method and device | |
CN106713039B (en) | Ethernet port identification method and device and router | |
CN101242306A (en) | Method, system, device and server for realizing automatic discovery of network devices | |
CA2774281C (en) | User access method, system, access server, and access device | |
CN103036794A (en) | Learning method, device and system of message | |
KR20130130755A (en) | Dns forwarder for multi-core platforms | |
CN113810509B (en) | System and method for reconfiguring a network using network traffic comparison | |
EP3300300B1 (en) | Method, device and system for configuring user equipment forwarding table | |
US20130086259A1 (en) | Method for acquiring an ip address and network access device | |
US8305920B2 (en) | Method, system and terminal for determining QoS level | |
CN107592643B (en) | Method for simultaneously processing online of a large number of APs (access points) based on online user quantity | |
EP3562101A1 (en) | Bras management method, packet forwarding method, packet forwarding controller, and bras | |
CN106936900B (en) | Clustered node statistical method and device | |
CN108259391B (en) | Port configuration method and device | |
CN108475210B (en) | Rack awareness | |
CN114513549B (en) | Communication method and device | |
US6826605B1 (en) | Internet protocol exchange network number automatic discovery method | |
TW201112693A (en) | Router and method of setting IP addresses of the router |
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 |