WO2017128790A1 - Application bandwidth configuration method and controller based on software-defined networking - Google Patents
Application bandwidth configuration method and controller based on software-defined networking Download PDFInfo
- Publication number
- WO2017128790A1 WO2017128790A1 PCT/CN2016/103895 CN2016103895W WO2017128790A1 WO 2017128790 A1 WO2017128790 A1 WO 2017128790A1 CN 2016103895 W CN2016103895 W CN 2016103895W WO 2017128790 A1 WO2017128790 A1 WO 2017128790A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- application
- port
- bandwidth
- total
- percentage
- Prior art date
Links
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/70—Admission control; Resource allocation
- H04L47/80—Actions related to the user profile or the type of traffic
- H04L47/803—Application aware
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/302—Route determination based on requested QoS
- H04L45/306—Route determination based on the nature of the carried application
-
- 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/25—Flow control; Congestion control with rate being modified by the source upon detecting a change of network conditions
Definitions
- the present invention relates to the field of application bandwidth configuration technologies, and in particular, to a software bandwidth-defined network application bandwidth configuration method and controller.
- SDN Software Defined Network
- OpenFlow OpenFlow
- the traditional configuration application bandwidth policy is only based on the gateway node to configure the application bandwidth policy, as shown in FIG. 1 , which includes the telecommunications 1, the electric wire 2, the gateway, the network element S0, the network element S1, the network element S2, and the network element S3. And the user, the role of the gateway: 1, select the flow control strategy; 2, configure critical applications, common applications and suppression applications; 3, configure the proportion of total bandwidth occupied by each application group.
- the traditional configuration application bandwidth policy is not based on the SDN architecture.
- the application bandwidth policy is configured based on the gateway node.
- the application bandwidth policy of the end-to-end and the entire network cannot be implemented. The inconsistency may occur and the expected effect is not achieved.
- the present invention provides a method for configuring an application bandwidth based on a software-defined network, the method comprising:
- the controller configures a flow control policy of the entire network
- policy types of the flow control policy include:
- Each of the policy types includes: a key application, a suppression application, and a general application;
- the key applications of the enterprise policy and the hotel policy have the highest priority in configuring bandwidth and the lowest priority in suppressing configuration bandwidth obtained by the application;
- the priority of the configured bandwidth obtained by each application of the hotel policy is not differentiated.
- the total application security bandwidth percentage and the total application maximum bandwidth percentage corresponding to each application type are reconfigured, including:
- the sum of the total application guaranteed bandwidth percentage corresponding to each application type and the total application maximum bandwidth percentage corresponding to each application type is less than 100%.
- the method further includes:
- the flow table is delivered according to the forwarding path and the outbound port forwarding rate.
- the calculating the port forwarding rate according to the rate information, the layer 7 application signature, and the flow control policy table specifically includes:
- the total application outbound port guaranteed bandwidth rate is calculated according to the total application guaranteed bandwidth percentage and the port rate information, and specifically includes:
- the total application outbound port guaranteed bandwidth rate is calculated.
- the total application outbound port guaranteed bandwidth rate is calculated.
- the calculating the maximum bandwidth rate of the total application outgoing port according to the total application maximum bandwidth percentage and the port rate information specifically includes:
- the maximum bandwidth rate of the total application outbound port of the common application is calculated according to the maximum bandwidth percentage and port rate information of the general application.
- an extended packet is set on the controller, and the format of the extended packet is:
- Own MAC address field indicating the MAC address of the switch
- Port id field indicating the port of the switch.
- the flow table includes a matching field and an action field.
- the matching field includes: a seven-layer application signature
- the action field includes an application type, a total application outbound guaranteed bandwidth rate, and a total application outgoing port maximum bandwidth rate;
- the application type includes a key application, a general application, and a suppression application;
- the total application outbound port guarantee bandwidth rate refers to the bandwidth rate of such applications when the bandwidth is tight
- the maximum bandwidth rate of the total application outgoing port refers to the maximum port rate allowed by such applications when the bandwidth is sufficient.
- the invention also provides an application bandwidth configuration controller based on a software defined network, the controller comprising:
- the first configuration module is configured to configure a flow control policy of the entire network.
- a second configuration module configured to configure content corresponding to each application type according to the flow control policy
- the third configuration module is configured to reconfigure the total application guaranteed bandwidth percentage and the total applied maximum bandwidth percentage corresponding to each application type according to the flow control policy.
- the third configuration module configures a total application guaranteed bandwidth percentage and a total application maximum bandwidth percentage corresponding to each application type, and specifically includes:
- the first configuration submodule is configured to configure a percentage of the total application guarantee bandwidth corresponding to each application type
- a second configuration submodule configured to configure a total application maximum bandwidth percentage corresponding to each application type
- the sum of the total application guaranteed bandwidth percentage corresponding to each application type and the total application maximum bandwidth percentage corresponding to each application type is less than 100%.
- the controller further includes:
- a first calculating module configured to calculate a network topology according to the LLDP protocol
- a first receiving module configured to receive MAC address information, port information, and port rate information reported by the switch
- a second receiving module configured to receive an unmatched flow table message reported by the switch
- a parsing module configured to parse the received packet of the unmatched flow table, and obtain a packet MAC address and a seven-layer application signature
- a second calculating module configured to calculate a forwarding path according to the network topology, the packet MAC address, and the port information
- a third calculating module configured to calculate a port forwarding rate according to the rate information, the seven-layer application signature, and the flow control policy table;
- the sending module is configured to deliver the flow table according to the forwarding path and the outbound port forwarding rate.
- the third calculating module calculates the port forwarding rate according to the rate information, the seven-layer application signature, and the flow control policy table, and specifically includes:
- a first confirmation submodule configured to confirm a flow control policy type according to a packet MAC address
- a second confirmation submodule configured to confirm a packet type according to the seventh layer application signature of the packet
- a third confirmation submodule configured to confirm a corresponding application type according to the packet type
- Obtaining a sub-module configured to obtain a corresponding total application security bandwidth percentage and a total application maximum bandwidth percentage according to the application type;
- a first calculation submodule configured to calculate a total application outbound port guaranteed bandwidth rate according to the total application guaranteed bandwidth percentage and the port rate information
- the second calculating submodule is configured to calculate a maximum bandwidth rate of the total application outgoing port according to the total application maximum bandwidth percentage and the port rate information.
- the first calculating sub-module calculates the total application outgoing port guaranteed bandwidth rate according to the total application guaranteed bandwidth percentage and the port rate information, and specifically includes:
- the first calculating sub-unit is configured to calculate a port-guaranteed bandwidth rate of the critical application total application according to the percentage of the critical application total application guarantee bandwidth and the port rate information;
- a second calculation subunit for protecting the bandwidth percentage and port rate information according to the total application application bandwidth Calculate the rate of the guaranteed bandwidth of the application application outbound port;
- the third calculating sub-unit is configured to calculate a port-guaranteed bandwidth rate of the general application-out port according to the percentage of the total application-assured bandwidth and the port rate information of the common application.
- the second calculating sub-module calculates the maximum bandwidth rate of the total application outgoing port according to the total application maximum bandwidth percentage and the port rate information, and specifically includes:
- a fourth calculating sub-unit configured to calculate a maximum bandwidth rate of the total application outbound port of the critical application according to the maximum application percentage of the critical application and the port rate information
- a fifth calculating sub-unit configured to calculate a maximum bandwidth rate of the total application outgoing port of the proposed application according to the maximum application bandwidth percentage and port rate information of the application application;
- the sixth calculating sub-unit is configured to calculate a maximum bandwidth rate of the general application outbound port of the common application according to the total application bandwidth maximum percentage and the port rate information of the common application.
- the present invention configures a flow control policy of the entire network; configures corresponding content of each application type according to the flow control policy; and reconfigures the total application guaranteed bandwidth percentage and the total applied maximum bandwidth percentage corresponding to each application type according to the flow control policy. .
- the centralized configuration of the controller is adopted to implement the end-to-end and the entire network configuration application bandwidth policy, and the link resources of the entire network are fully utilized to optimize the network traffic optimization.
- FIG. 1 is a schematic structural diagram of a traditional application bandwidth configuration policy
- FIG. 2 is a flowchart of an embodiment of a method for configuring an application bandwidth based on a software-defined network according to the present invention
- FIG. 3 is a flowchart of an embodiment of a method for configuring a total application guaranteed bandwidth percentage and a total applied maximum bandwidth percentage corresponding to each application type according to the present invention
- FIG. 4 is a flowchart of an embodiment of a processing method after configuring a total application guaranteed bandwidth percentage and a total application maximum bandwidth percentage corresponding to each application type according to the present invention
- FIG. 5 is a flowchart of an embodiment of a method for calculating a port forwarding rate according to the rate information, a layer 7 application signature, and a flow control policy table according to the present invention
- FIG. 6 is a calculation of a maximum/guaranteed bandwidth percentage and a port rate according to different application types according to the present invention. Flowchart of an embodiment of a total application out port maximum/guaranteed bandwidth rate;
- FIG. 7 is a flowchart of an embodiment of a method for calculating a total application outgoing port guaranteed bandwidth rate according to a total application guaranteed bandwidth percentage and port rate information according to the present invention
- FIG. 8 is a flowchart of an embodiment of a method for calculating a maximum bandwidth rate of a total application outgoing port according to a total application maximum bandwidth percentage and port rate information according to the present invention
- FIG. 9 is a format of a private extension packet from a controller to a switch according to the present invention.
- FIG. 10 is a schematic structural diagram of an embodiment of an application bandwidth configuration controller application system based on a software-defined network according to the present invention
- FIG. 11 is a structural diagram of another embodiment of an application bandwidth configuration controller based on a software-defined network according to the present invention.
- FIG. 12 is a structural diagram of an embodiment of a third configuration module of an application bandwidth configuration controller based on a software-defined network according to the present invention.
- FIG. 13 is a structural diagram of another embodiment of an application bandwidth configuration controller based on a software-defined network according to the present invention.
- FIG. 14 is a structural diagram of an embodiment of a third computing module of an application bandwidth configuration controller based on a software-defined network according to the present invention.
- 15 is a structural diagram of an embodiment of a first computing module of an application bandwidth configuration controller based on a software-defined network according to the present invention
- 16 is a structural diagram of an embodiment of a second computing module of an application bandwidth configuration controller based on a software-defined network according to the present invention
- FIG. 17 is a schematic diagram of a specific application of an application bandwidth configuration controller based on a software-defined network according to the present invention.
- the technical solution of the present invention configures a flow control policy of the entire network; configures corresponding content of each application type according to the flow control policy; and reconfigures the total application support bandwidth percentage and the total application maximum corresponding to each application type according to the flow control policy.
- the percentage of bandwidth In this way, the controller is centrally configured to achieve end-to-end And the application of the bandwidth policy of the entire network, will make full use of the link resources of the entire network to achieve optimal network traffic optimization.
- FIG. 2 is a flowchart of an embodiment of a method for configuring an application bandwidth based on a software-defined network according to the present invention. The specific process is as follows:
- Step S201 the controller configures a flow control policy of the entire network.
- the types of policies of the flow control strategy include: enterprise flow control strategy, hotel flow control strategy, and university flow control strategy.
- Each of the flow control policy types includes: a critical application, a suppression application, and a general application;
- the key applications of the enterprise flow control policy and the hotel flow control strategy have the highest priority of the configured bandwidth, and the key applications of the suppression flow control strategy have the lowest priority;
- the priority of the configured bandwidth obtained by each application of the hotel's flow control strategy is not differentiated.
- Step S202 configuring content corresponding to each application type according to the flow control policy
- Suppress application content P2P application software, video streaming software, Internet file transfer, download tool, unknown web page, network hard disk;
- the priority of the key application is the highest
- the priority of the common application is the second
- the priority of the application is the lowest.
- Key application content instant messaging software, IP network phone, online game software, email protocol, general web browsing, general web browsing details, security protocols, VPN applications, Weibo, instant messaging, games, social, DNS;
- P2P application software video streaming software, Internet file transfer, download tool, unknown web page, network hard disk;
- the key application obtains the highest bandwidth priority
- the common application obtains the bandwidth priority
- the suppression application obtains the bandwidth with the lowest priority.
- the priority of various applications is not differentiated, the bandwidth is fully utilized when the bandwidth is sufficient, and the bandwidth is allocated based on the user when the bandwidth is tight.
- Step S203 reconfigure the total application guarantee bandwidth percentage and the total application maximum bandwidth percentage corresponding to each application type according to the flow control policy.
- the total application guarantee bandwidth refers to the bandwidth occupied by various applications when the bandwidth is tight
- the total application maximum bandwidth refers to the bandwidth allowed by various types of applications when the bandwidth is sufficient, and the value is not less than the total application guaranteed bandwidth
- the sum of the total application guaranteed bandwidth percentage and the total applied maximum bandwidth percentage corresponding to each application type is less than 100%.
- step S203 The process of the embodiment of the method for configuring the total application guaranteed bandwidth percentage and the total application maximum bandwidth percentage corresponding to each application type in step S203 is as shown in FIG. 3, and the specific process is as follows:
- Step S301 configuring a percentage of total application support bandwidth corresponding to each application type
- the configuration options include: a percentage of the total application application guaranteed bandwidth of the critical application, a percentage of the total application total guaranteed bandwidth, and a percentage of the total application guaranteed bandwidth of the suppressed application.
- Step S302 configuring a total application maximum bandwidth percentage corresponding to each application type.
- the configuration options include: the maximum bandwidth percentage of the total application application maximum bandwidth, the percentage of the maximum bandwidth of the general application total application, and the percentage of the maximum application bandwidth of the total application application.
- the sum of the total application guaranteed bandwidth percentage and the total applied maximum bandwidth percentage corresponding to each application type is less than 100%.
- Step S401 calculating a network topology according to the LLDP protocol
- LLDP Link Layer Discovery Protocol
- LLDP Link Layer Discovery Protocol
- Step S402 receiving MAC address information, port information, and port rate information reported by the switch.
- the controller receives and pre-stores MAC address information, port information, and rate information of the switch reported by the switch.
- Step S403 receiving an unmatched flow table message reported by the switch
- Step S404 parsing the received packet of the unmatched flow table, and obtaining a packet MAC address and a seven-layer application signature.
- the seven-layer application feature code is accurately identified, and different intelligent bandwidth policies are provided according to the priority of various applications, and the key applications of the Internet cafe, such as games and web pages, are preferentially guaranteed to run smoothly.
- Step S405 calculating a forwarding path according to the network topology, the packet MAC address, and the port information.
- the packet MAC address refers to the MAC address of the destination switch.
- Step S406 calculating a port forwarding rate according to the rate information, the seven-layer application signature, and the flow control policy table.
- Step S407 the flow table is delivered according to the forwarding path and the outbound port forwarding rate.
- the method for calculating the port forwarding rate according to the rate information, the seven-layer application signature, and the flow control policy table is shown in FIG. 5, and the specific process is as follows:
- Step S501 confirming a flow control policy type according to the packet MAC address
- the types of flow control policies include: enterprise flow control strategy, hotel flow control strategy, and college flow control strategy.
- Step S502 confirming a packet type according to the seven-layer application signature.
- the corresponding packet type can be obtained by using the seven-layer application signature, and the packet type is specifically the content of each application introduced in FIG.
- Step S503 confirming a corresponding application type according to the packet type
- the corresponding application type can be found according to the packet type, and the application types include: a critical application, a suppression application, and a general application.
- Step S504 obtaining a corresponding total application security bandwidth percentage and a total application maximum bandwidth percentage according to the application type
- Step S505 calculating a total application outbound port guaranteed bandwidth rate according to the total application guaranteed bandwidth percentage and the port rate information
- total application port guarantee bandwidth rate total application guaranteed bandwidth percentage * port rate information.
- Step S506 calculating a maximum bandwidth rate of the total application outgoing port according to the total application maximum bandwidth percentage and the port rate information.
- total application port maximum bandwidth rate total application maximum bandwidth percentage * port rate information.
- FIG. 6 is a flowchart of an embodiment of calculating a maximum/guaranteed bandwidth rate of a total application outgoing port according to a maximum/guaranteed bandwidth percentage and a port rate of different application types, and the specific process is as follows:
- Step S601 determining a packet type according to the seven-layer feature code of the packet
- Step S602 querying the flow control policy table to identify an application type
- Step S603 confirm the application type?
- step S605 when the application type is a key application, proceed to step S605; when the application type is a normal type, proceed to step S606; when the application type is a suppression application, proceed to step S604;
- Step S604 suppressing the application total application guarantee bandwidth percentage and suppressing the application total application maximum bandwidth percentage, proceeds to step S607;
- Step S605 the critical application total application guarantee bandwidth percentage and the critical application total application maximum bandwidth percentage, proceeds to step S607;
- step S606 the general application total application guarantee bandwidth percentage and the general application total application maximum bandwidth percentage, proceed to step S607.
- Step S607 calculating a total application outgoing port guaranteed bandwidth rate and a total application outgoing port maximum bandwidth rate
- total application port guarantee bandwidth rate total application guaranteed bandwidth percentage * port rate
- total application out port maximum bandwidth rate total application maximum bandwidth percentage * port rate
- FIG. 7 is a flowchart of an embodiment of a method for calculating a total application outgoing port guaranteed bandwidth rate according to the total application guaranteed bandwidth percentage and port rate information, and the specific process is as follows:
- Step S701 calculating, according to the percentage of the critical application total application guarantee bandwidth and the port rate information, the port application guaranteed bandwidth rate of the critical application application port;
- Step S702 calculating, according to the total application protection bandwidth percentage and the port rate information of the application, the suppression of the application application outbound port guarantee bandwidth rate;
- the application total application outbound guaranteed bandwidth rate suppression application total application guaranteed bandwidth percentage * port rate information is suppressed.
- step S703 the total application application port guarantee bandwidth rate of the common application is calculated according to the percentage of the common application guarantee bandwidth and the port rate information.
- the general application port application bandwidth rate common application total application guaranteed bandwidth percentage * port rate information.
- FIG. 8 is a flowchart of an embodiment of a method for calculating a maximum bandwidth rate of a total application outgoing port according to a total application maximum bandwidth percentage and port rate information, and the specific process is as follows:
- Step S801 Calculate a maximum bandwidth rate of the total application outbound port of the critical application according to the maximum application bandwidth percentage and the port rate information of the critical application.
- Step S802 calculating, according to the total application maximum application percentage percentage and the port rate information, the maximum bandwidth rate of the application application outbound port is suppressed;
- the application total application out port maximum bandwidth rate suppression application total application maximum bandwidth percentage * port rate information is suppressed.
- Step S803 Calculate the maximum bandwidth rate of the general application outbound port of the common application according to the total application bandwidth maximum percentage and the port rate information of the common application.
- FIG. 9 is a format of a private extension packet from a controller to a switch according to the present invention.
- the specific format is:
- the private extension packet from the controller to the switch is extended on the basis of the original packet definition.
- the format of the original definition packet is: an Experimenter value of 255 needs to be applied to the ONF organization.
- a Experimenter type value of 1 indicates that it is from the SDN switch to the controller.
- the extended definition message format is:
- the switch's Own MAC address (referred to as the MAC address) can be used as the identifier of the switch;
- Port id 1 indicates the switch port 1 of the SDN (Software Defined Network) switch
- Port id 128 indicates the switch port 128 of the SDN (Software Defined Network) switch.
- FIG. 10 is a schematic structural diagram of an embodiment of an application bandwidth configuration controller application system based on a software-defined network according to the present invention.
- the specific structure includes: an SDN controller, a telecommunications 1, a wire 2, a gateway, a network element S0, and a network element S1.
- Network element S2, network element S3 and user wherein the SDN controller is configured Bandwidth policy, the specific role is: 1, select the flow control strategy; 2, configure critical applications, common applications and suppression applications; 3, configure the proportion of the total bandwidth occupied by each application group; and after the configuration, the SND controller separately to the network element S0, the network element S1, the network element S2, the network element S3, and the gateway respectively send a flow table.
- FIG. 11 is a schematic structural diagram of an embodiment of an application bandwidth configuration controller based on a software-defined network, where the controller 900 includes a first configuration module 901, a second configuration module 902, and a third configuration module 903.
- the first configuration module 901 is configured to configure a flow control policy of the entire network.
- the types of policies of the flow control strategy include: enterprise flow control strategy, hotel flow control strategy, and university flow control strategy.
- Each of the flow control policy types includes: a critical application, a suppression application, and a general application;
- the key applications of the enterprise flow control policy and the hotel flow control strategy have the highest priority of the configured bandwidth, and the key applications of the suppression flow control strategy have the lowest priority;
- the priority of the configured bandwidth obtained by each application of the hotel's flow control strategy is not differentiated.
- the second configuration module 902 is configured to configure content corresponding to each application type according to the flow control policy
- Suppress application content P2P application software, video streaming software, Internet file transfer, download tool, unknown web page, network hard disk;
- the priority of the key application is the highest
- the priority of the common application is the second
- the priority of the application is the lowest.
- Key application content instant messaging software, IP network phone, online game software, email protocol, general web browsing, general web browsing details, security protocols, VPN applications, Weibo, instant messaging, games, social, DNS;
- P2P application software video streaming software, Internet file transfer, download tool, unknown web page, network hard disk;
- the key application obtains the highest bandwidth priority
- the common application obtains the bandwidth priority
- the suppression application obtains the bandwidth with the lowest priority.
- the priority of various applications is not differentiated, the bandwidth is fully utilized when the bandwidth is sufficient, and the bandwidth is allocated based on the user when the bandwidth is tight.
- the third configuration module 903 is configured to reconfigure the total application guaranteed bandwidth percentage and the total applied maximum bandwidth percentage corresponding to each application type according to the flow control policy.
- the total application guarantee bandwidth refers to the bandwidth occupied by various applications when the bandwidth is tight
- the total application maximum bandwidth refers to the bandwidth allowed by various types of applications when the bandwidth is sufficient, and the value is not less than the total application guaranteed bandwidth
- the sum of the total application guaranteed bandwidth percentage and the total applied maximum bandwidth percentage corresponding to each application type is less than 100%.
- the specific configuration of the third configuration module 903 is as shown in FIG. 12, and the specific third configuration module 903 includes a first configuration submodule 9031, a second configuration submodule 9032, and a third configuration submodule 9033.
- the first configuration submodule 9031 is configured to configure a percentage of the total application guarantee bandwidth corresponding to each application type
- the percentage of the critical application total application guarantee bandwidth, the percentage of the general application total application guaranteed bandwidth, and the percentage of the total application guaranteed bandwidth of the application are configured.
- the second configuration sub-module 9032 is configured to configure a total application maximum bandwidth percentage corresponding to each application type.
- the total application guaranteed bandwidth percentage and the total application maximum band corresponding to each application type are configured.
- the sum of the width percentages is less than 100%.
- FIG. 13 is a structural diagram of another embodiment of an application bandwidth configuration controller based on a software-defined network according to the present invention.
- the third configuration module 903 reconfigures the total application guaranteed bandwidth percentage and total amount corresponding to each application type according to the flow control policy.
- the controller 900 further includes a first calculating module 904, a first receiving module 905, a second receiving module 906, a parsing module 907 and a second calculating module 908, a third calculating module 909, and a sending module 910.
- a first calculation mode 904 configured to calculate a network topology according to the LLDP protocol
- LLDP Link Layer Discovery Protocol
- LLDP Link Layer Discovery Protocol
- the first receiving module 905 is configured to receive MAC address information, port information, and port rate information reported by the switch.
- the controller receives and pre-stores MAC address information, port information, and rate information of the switch reported by the switch.
- the second receiving module 906 is configured to receive the unmatched flow table message reported by the switch.
- the parsing module 907 is configured to parse the received packet of the unmatched flow table, and obtain a packet MAC address and a seven-layer application signature.
- the seven-layer application feature code is accurately identified, and different intelligent bandwidth policies are provided according to the priority of various applications, and the key applications of the Internet cafe, such as games and web pages, are preferentially guaranteed to run smoothly.
- the second calculating module 908 is configured to calculate a forwarding path according to the network topology, the packet MAC address, and the port information.
- the packet MAC address refers to the MAC address of the destination switch.
- the third calculating module 909 is configured to calculate a port forwarding rate according to the rate information, the layer 7 application signature, and the flow control policy table.
- the sending module 909 is configured to deliver the flow table according to the forwarding path and the outbound port forwarding rate.
- the third computing module 909 includes a first confirmation sub-module 9011 and a second acknowledgator.
- the first confirmation sub-module 9091 is configured to confirm the flow control policy type according to the packet MAC address
- the types of flow control policies include: enterprise flow control strategy, hotel flow control strategy, and college flow control strategy.
- the second confirmation sub-module 9092 is configured to confirm the packet type according to the application layer signature of the packet.
- the corresponding packet type can be obtained by using the seven-layer application signature, and the packet type is specifically the content of each application introduced in FIG.
- a third confirmation submodule 9093 configured to confirm a corresponding application type according to the packet type
- a corresponding application type can be found, and the application types include: a key application, a suppression application, and a general application.
- the obtaining sub-module 9094 is configured to obtain a corresponding total application guaranteed bandwidth percentage and a total applied maximum bandwidth percentage according to the application type;
- the first calculating sub-module 9095 is configured to calculate a total application outgoing port guaranteed bandwidth rate according to the total application guaranteed bandwidth percentage and the port rate information;
- the second calculating sub-module 9096 is configured to calculate a maximum bandwidth rate of the total application outgoing port according to the total application maximum bandwidth percentage and the port rate information.
- total application port maximum bandwidth rate total application maximum bandwidth percentage * port rate information.
- FIG. 15 is a structural diagram of an embodiment of a first computing module of an application bandwidth configuration controller based on a software-defined network, where the first computing sub-module 9095 includes a first computing sub-unit 90951, a second computing sub-unit 90952, and a third Calculation subunit 90953,
- the first calculating sub-unit 90951 is configured to calculate, according to the critical application total application guaranteed bandwidth percentage and the port rate information, a critical application total application outbound port guaranteed bandwidth rate;
- the second calculating sub-unit 90952 is configured to calculate, according to the total application protection bandwidth percentage and the port rate information of the suppression application, the suppression application application outbound port guarantee bandwidth rate;
- the application total application outbound guaranteed bandwidth rate suppression application total application guaranteed bandwidth percentage * port rate information is suppressed.
- the third calculating sub-unit 90953 is configured to calculate, according to the general application total application guaranteed bandwidth percentage and the port rate information, a common application outbound port guaranteed bandwidth rate.
- the general application port application bandwidth rate common application total application guaranteed bandwidth percentage * port rate information.
- 16 is a structural diagram of an embodiment of a second computing module of an application bandwidth configuration controller based on a software-defined network, where the second computing sub-module 9096 includes a fourth computing sub-module 90961, a fifth computing sub-module 90962, and a sixth Calculation sub-module 90963,
- the fourth calculating sub-unit 90961 is configured to calculate a maximum bandwidth rate of the total application outbound port of the critical application according to the maximum application percentage of the critical application and the port rate information;
- the fifth computing sub-module 90962 is configured to calculate a maximum bandwidth rate of the total application outgoing port according to the total application bandwidth percentage and port rate information of the application application;
- the application total application out port maximum bandwidth rate suppression application total application maximum bandwidth percentage * port rate information is suppressed.
- the sixth calculation sub-module 90963 is configured to calculate a maximum bandwidth rate of the general application output port of the common application according to the total application maximum bandwidth percentage and the port rate information of the common application.
- 17 is a schematic diagram of a specific application of an application bandwidth configuration controller based on a software-defined network according to the present invention.
- the networking environment is: enterprise flow control policy, the DNS traffic is critical traffic, and the P2P application is to suppress traffic.
- the traffic of all bandwidths can be 1G.
- Step 1 Networking according to the test environment
- Step 2 the percentage of the guaranteed bandwidth of the critical application is 50%, and the percentage of the guaranteed bandwidth of the suppressed application is 20%;
- Step 3 When the link is congested, the DNS traffic is 500M, and the P2P application traffic is 200M.
- Step 4 Modify the percentage of the guaranteed bandwidth of the critical application to 70%, and suppress the guaranteed bandwidth of the application to 10%;
- Step 5 When the link is congested, the DNS traffic is 700M, and the P2P application traffic is 100M.
- the functional modules of the DNS controller 900 may be software modules or functional modules combined with software and hardware, which may be implemented by a processor to implement the functions as described above.
- the DNS controller 900 may also have other functional modules to implement the specific steps of the application of the bandwidth policy method for the end-to-end and the whole network. For details, refer to the corresponding description of the foregoing method embodiments.
- the processor executes, and when the aforementioned program is executed, the processor can execute all or part of the steps including the above method embodiments.
- the processor may be implemented as one or more processor chips, or may be part of one or more application specific integrated circuits (ASICs); and the foregoing storage medium may include but not be limited to the following types. Storage medium: Flash memory, Read-Only Memory (ROM), Random Access Memory (RAM), removable hard disk, disk or optical disk, and other media that can store program code.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides an application bandwidth configuration method based on software-defined networking. The method comprises: a controller configures a flow control policy of an entire network; according to the flow control policy, the controller configures corresponding content of each application type; and, according to the flow control policy, the controller configures a total application assured-bandwidth percentage and a total application maximum bandwidth percentage corresponding to each application type. The present invention further provides an application bandwidth configuration controller based on software-defined networking. In this way, all configuration is performed by the controller, the application bandwidth policy is configured in a peer-to-peer manner and across an entire network, and link resources of the entire network are fully utilized so as to achieve network traffic optimization.
Description
本发明涉及应用带宽配置技术领域,更具体地,涉及一种基于软件定义网络的应用带宽配置方法及控制器。The present invention relates to the field of application bandwidth configuration technologies, and in particular, to a software bandwidth-defined network application bandwidth configuration method and controller.
软件定义网络(Software Defined Network,SDN)是Emulex网络一种新型网络创新架构,是网络虚拟化的一种实现方式,其核心技术OpenFlow通过将网络设备控制面与数据面分离开来,从而实现了网络流量的灵活控制,使网络作为管道变得更加智能。Software Defined Network (SDN) is a new network innovation architecture of Emulex network. It is an implementation of network virtualization. Its core technology, OpenFlow, separates the control plane of the network device from the data plane. Flexible control of network traffic makes the network more intelligent as a pipeline.
传统的配置应用带宽策略只是基于网关节点进行配置应用带宽策略,具体如附图1所示,图中包括电信1、电线2、网关、网元S0、网元S1、网元S2、网元S3和用户,网关的作用:1、选择流控策略;2、配置关键应用、普通应用和抑制应用;3、配置各应用分组占用总带宽比例。The traditional configuration application bandwidth policy is only based on the gateway node to configure the application bandwidth policy, as shown in FIG. 1 , which includes the telecommunications 1, the electric wire 2, the gateway, the network element S0, the network element S1, the network element S2, and the network element S3. And the user, the role of the gateway: 1, select the flow control strategy; 2, configure critical applications, common applications and suppression applications; 3, configure the proportion of total bandwidth occupied by each application group.
传统的配置应用带宽策略不是基于SDN架构,只是基于网关节点进行配置应用带宽策略,不能实现端对端和全网的应用带宽策略,会出现不一致,而达不到预期的效果。The traditional configuration application bandwidth policy is not based on the SDN architecture. The application bandwidth policy is configured based on the gateway node. The application bandwidth policy of the end-to-end and the entire network cannot be implemented. The inconsistency may occur and the expected effect is not achieved.
发明内容Summary of the invention
有鉴于此,本发明提出一种基于软件定义网络的应用带宽配置方法,所述方法包括:In view of this, the present invention provides a method for configuring an application bandwidth based on a software-defined network, the method comprising:
控制器配置全网的流控策略;The controller configures a flow control policy of the entire network;
根据所述流控策略配置对应的各应用类型的内容;Configuring content corresponding to each application type according to the flow control policy;
根据所述流控策略再配置各应用类型对应的总应用保障带宽百分比和总应
用最大带宽百分比。Reconfiguring the total application security bandwidth percentage and total response corresponding to each application type according to the flow control policy
Use the maximum bandwidth percentage.
进一步地,所述流控策略的策略类型包括:Further, the policy types of the flow control policy include:
企业策略、酒店策略和高校策略,Corporate strategy, hotel strategy and university strategy,
所述各策略类型都包括:关键应用、抑制应用和普通应用;Each of the policy types includes: a key application, a suppression application, and a general application;
所述企业策略、酒店策略各自的关键应用获得的配置带宽的优先级最高、抑制应用获得的配置带宽的优先级最低;The key applications of the enterprise policy and the hotel policy have the highest priority in configuring bandwidth and the lowest priority in suppressing configuration bandwidth obtained by the application;
酒店策略的各应用获得的配置带宽的优先级不作区分。The priority of the configured bandwidth obtained by each application of the hotel policy is not differentiated.
进一步地,所述再配置各应用类型对应的总应用保障带宽百分比和总应用最大带宽百分比,具体包括:Further, the total application security bandwidth percentage and the total application maximum bandwidth percentage corresponding to each application type are reconfigured, including:
配置各应用类型对应的总应用保障带宽百分比;Configure the percentage of total application security bandwidth for each application type.
配置各应用类型对应的总应用最大带宽百分比;Configure the total application maximum bandwidth percentage corresponding to each application type.
其中,所述各应用类型对应的总应用保障带宽百分比和各应用类型对应的总应用最大带宽百分比之和小于100%。The sum of the total application guaranteed bandwidth percentage corresponding to each application type and the total application maximum bandwidth percentage corresponding to each application type is less than 100%.
进一步地,在配置各应用类型对应的总应用保障带宽百分比和总应用最大带宽百分比之后,所述方法还包括:Further, after the total application security bandwidth percentage and the total application maximum bandwidth percentage corresponding to each application type are configured, the method further includes:
根据LLDP协议计算网络拓扑;Calculate the network topology according to the LLDP protocol;
接收交换机上报的MAC地址信息、端口信息和端口速率信息;Receiving MAC address information, port information, and port rate information reported by the switch;
接收交换机上报的未匹配的流表报文;Receiving the unmatched flow table message reported by the switch;
解析接收到的所述未匹配流表的报文,得到报文MAC地址和七层应用特征码;Parsing the received packet of the unmatched flow table, and obtaining a packet MAC address and a seven-layer application signature;
根据所述网络拓扑、报文MAC地址及端口信息,计算转发路径;Calculating a forwarding path according to the network topology, the packet MAC address, and the port information;
根据所述速率信息、七层应用特征码及流控策略表,计算出端口转发速率;Calculating a port forwarding rate according to the rate information, the seven-layer application signature, and the flow control policy table;
根据所述转发路径及出端口转发速率,下发所述流表。The flow table is delivered according to the forwarding path and the outbound port forwarding rate.
进一步地,所述根据所述速率信息、七层应用特征码及流控策略表,计算出端口转发速率,具体包括:Further, the calculating the port forwarding rate according to the rate information, the layer 7 application signature, and the flow control policy table, specifically includes:
根据报文MAC地址确认流控策略类型;
Confirm the type of the flow control policy based on the MAC address of the packet.
根据所述七层应用特征码确认报文类型;Confirming the packet type according to the seven-layer application signature;
根据所述报文类型确认对应的应用类型;Confirming the corresponding application type according to the packet type;
根据所述应用类型获取对应的总应用保障带宽百分比和总应用最大带宽百分比;Obtaining a corresponding total application guaranteed bandwidth percentage and a total application maximum bandwidth percentage according to the application type;
根据总应用保障带宽百分比和端口速率信息,计算出总应用出端口保障带宽速率;Calculate the total application outbound port guaranteed bandwidth rate based on the total application guaranteed bandwidth percentage and port rate information.
根据总应用最大带宽百分比和端口速率信息,计算出总应用出端口最大带宽速率。Calculate the maximum bandwidth rate of the total application outgoing port based on the total application maximum bandwidth percentage and port rate information.
进一步地,所述根据总应用保障带宽百分比和端口速率信息,计算出总应用出端口保障带宽速率,具体包括:Further, the total application outbound port guaranteed bandwidth rate is calculated according to the total application guaranteed bandwidth percentage and the port rate information, and specifically includes:
根据关键应用总应用保障带宽百分比和端口速率信息,计算出关键应用总应用出端口保障带宽速率;Calculate the port-guaranteed bandwidth rate of the critical application application based on the bandwidth percentage and port rate information of the critical application.
根据抑制应用总应用保障带宽百分比和端口速率信息,计算出抑制应用总应用出端口保障带宽速率;According to the percentage of the total application guaranteed bandwidth and the port rate information, the total application outbound port guaranteed bandwidth rate is calculated.
根据普通应用总应用保障带宽百分比和端口速率信息,计算出普通应用总应用出端口保障带宽速率。According to the percentage of the total application guaranteed bandwidth and the port rate information of the common application, the total application outbound port guaranteed bandwidth rate is calculated.
进一步地,所述根据总应用最大带宽百分比和端口速率信息,计算出总应用出端口最大带宽速率,具体包括:Further, the calculating the maximum bandwidth rate of the total application outgoing port according to the total application maximum bandwidth percentage and the port rate information, specifically includes:
根据关键应用总应用最大带宽百分比和端口速率信息,计算出关键应用总应用出端口最大带宽速率;Calculate the maximum bandwidth rate of the total application outbound port of the critical application according to the maximum application bandwidth percentage and port rate information of the critical application;
根据拟制应用总应用最大带宽百分比和端口速率信息,计算出拟制应用总应用出端口最大带宽速率;Calculate the maximum bandwidth rate of the total application outbound port of the proposed application according to the maximum bandwidth percentage and port rate information of the proposed application.
根据普通应用总应用最大带宽百分比和端口速率信息,计算出普通应用总应用出端口最大带宽速率。The maximum bandwidth rate of the total application outbound port of the common application is calculated according to the maximum bandwidth percentage and port rate information of the general application.
进一步地,在控制器上配置全网的流控策略之前,在所述控制器上设置扩展报文,所述扩展报文的格式为:
Further, before the flow control policy of the entire network is configured on the controller, an extended packet is set on the controller, and the format of the extended packet is:
Own MAC address字段,表示交换机的MAC地址;Own MAC address field, indicating the MAC address of the switch;
Speed字段,表示交换机的端口速率;Speed field, indicating the port rate of the switch;
Port id字段,表示交换机的端口。Port id field, indicating the port of the switch.
进一步地,所述流表包括匹配字段和动作字段,Further, the flow table includes a matching field and an action field.
所述匹配字段包括:七层应用特征码;The matching field includes: a seven-layer application signature;
所述动作字段包括应用类型、总应用出端口保障带宽速率和总应用出端口最大带宽速率;所述应用类型包括关键应用、普通应用和抑制应用;The action field includes an application type, a total application outbound guaranteed bandwidth rate, and a total application outgoing port maximum bandwidth rate; the application type includes a key application, a general application, and a suppression application;
所述总应用出端口保障带宽速率,是指带宽紧张时保障此类应用的带宽速率;The total application outbound port guarantee bandwidth rate refers to the bandwidth rate of such applications when the bandwidth is tight;
所述总应用出端口最大带宽速率,是指带宽充裕时最高允许此类应用占用的端口速率。The maximum bandwidth rate of the total application outgoing port refers to the maximum port rate allowed by such applications when the bandwidth is sufficient.
本发明还提出一种基于软件定义网络的应用带宽配置控制器,所述控制器包括:The invention also provides an application bandwidth configuration controller based on a software defined network, the controller comprising:
第一配置模块,用于配置全网的流控策略;The first configuration module is configured to configure a flow control policy of the entire network.
第二配置模块,用于根据所述流控策略配置对应的各应用类型的内容;a second configuration module, configured to configure content corresponding to each application type according to the flow control policy;
第三配置模块,用于根据所述流控策略再配置各应用类型对应的总应用保障带宽百分比和总应用最大带宽百分比。The third configuration module is configured to reconfigure the total application guaranteed bandwidth percentage and the total applied maximum bandwidth percentage corresponding to each application type according to the flow control policy.
进一步地,所述第三配置模块配置各应用类型对应的总应用保障带宽百分比和总应用最大带宽百分比,具体包括:Further, the third configuration module configures a total application guaranteed bandwidth percentage and a total application maximum bandwidth percentage corresponding to each application type, and specifically includes:
第一配置子模块,用于配置各应用类型对应的总应用保障带宽百分比;The first configuration submodule is configured to configure a percentage of the total application guarantee bandwidth corresponding to each application type;
第二配置子模块,用于配置各应用类型对应的总应用最大带宽百分比;a second configuration submodule configured to configure a total application maximum bandwidth percentage corresponding to each application type;
其中,所述各应用类型对应的总应用保障带宽百分比和各应用类型对应的总应用最大带宽百分比之和小于100%。The sum of the total application guaranteed bandwidth percentage corresponding to each application type and the total application maximum bandwidth percentage corresponding to each application type is less than 100%.
进一步地,在第三配置模块配置各应用类型对应的总应用保障带宽百分比和总应用最大带宽百分比之后,所述控制器还包括:Further, after the third configuration module configures the total application guarantee bandwidth percentage and the total application maximum bandwidth percentage corresponding to each application type, the controller further includes:
第一计算模块,用于根据LLDP协议计算网络拓扑;
a first calculating module, configured to calculate a network topology according to the LLDP protocol;
第一接收模块,用于接收交换机上报的MAC地址信息、端口信息和端口速率信息;a first receiving module, configured to receive MAC address information, port information, and port rate information reported by the switch;
第二接收模块,用于接收交换机上报的未匹配的流表报文;a second receiving module, configured to receive an unmatched flow table message reported by the switch;
解析模块,用于解析接收到的所述未匹配流表的报文,得到报文MAC地址和七层应用特征码;a parsing module, configured to parse the received packet of the unmatched flow table, and obtain a packet MAC address and a seven-layer application signature;
第二计算模块,用于根据所述网络拓扑、报文MAC地址及端口信息,计算转发路径;a second calculating module, configured to calculate a forwarding path according to the network topology, the packet MAC address, and the port information;
第三计算模块,用于根据所述速率信息、七层应用特征码及流控策略表,计算出端口转发速率;a third calculating module, configured to calculate a port forwarding rate according to the rate information, the seven-layer application signature, and the flow control policy table;
下发模块,用于根据所述转发路径及出端口转发速率,下发所述流表。The sending module is configured to deliver the flow table according to the forwarding path and the outbound port forwarding rate.
进一步地,所述第三计算模块根据所述速率信息、七层应用特征码及流控策略表,计算出端口转发速率,具体包括:Further, the third calculating module calculates the port forwarding rate according to the rate information, the seven-layer application signature, and the flow control policy table, and specifically includes:
第一确认子模块,用于根据报文MAC地址确认流控策略类型;a first confirmation submodule, configured to confirm a flow control policy type according to a packet MAC address;
第二确认子模块,用于根据所述报文七层应用特征码确认报文类型;a second confirmation submodule, configured to confirm a packet type according to the seventh layer application signature of the packet;
第三确认子模块,用于根据所述报文类型确认对应的应用类型;a third confirmation submodule, configured to confirm a corresponding application type according to the packet type;
获取子模块,用于根据所述应用类型获取对应的总应用保障带宽百分比和总应用最大带宽百分比;Obtaining a sub-module, configured to obtain a corresponding total application security bandwidth percentage and a total application maximum bandwidth percentage according to the application type;
第一计算子模块,用于根据总应用保障带宽百分比和端口速率信息,计算出总应用出端口保障带宽速率;a first calculation submodule, configured to calculate a total application outbound port guaranteed bandwidth rate according to the total application guaranteed bandwidth percentage and the port rate information;
第二计算子模块,用于根据总应用最大带宽百分比和端口速率信息,计算出总应用出端口最大带宽速率。The second calculating submodule is configured to calculate a maximum bandwidth rate of the total application outgoing port according to the total application maximum bandwidth percentage and the port rate information.
进一步地,所述第一计算子模块根据总应用保障带宽百分比和端口速率信息,计算出总应用出端口保障带宽速率,具体包括:Further, the first calculating sub-module calculates the total application outgoing port guaranteed bandwidth rate according to the total application guaranteed bandwidth percentage and the port rate information, and specifically includes:
第一计算子单元,用于根据关键应用总应用保障带宽百分比和端口速率信息,计算出关键应用总应用出端口保障带宽速率;The first calculating sub-unit is configured to calculate a port-guaranteed bandwidth rate of the critical application total application according to the percentage of the critical application total application guarantee bandwidth and the port rate information;
第二计算子单元,用于根据抑制应用总应用保障带宽百分比和端口速率信
息,计算出抑制应用总应用出端口保障带宽速率;a second calculation subunit for protecting the bandwidth percentage and port rate information according to the total application application bandwidth
Calculate the rate of the guaranteed bandwidth of the application application outbound port;
第三计算子单元,用于根据普通应用总应用保障带宽百分比和端口速率信息,计算出普通应用总应用出端口保障带宽速率。The third calculating sub-unit is configured to calculate a port-guaranteed bandwidth rate of the general application-out port according to the percentage of the total application-assured bandwidth and the port rate information of the common application.
进一步地,所述第二计算子模块根据总应用最大带宽百分比和端口速率信息,计算出总应用出端口最大带宽速率,具体包括:Further, the second calculating sub-module calculates the maximum bandwidth rate of the total application outgoing port according to the total application maximum bandwidth percentage and the port rate information, and specifically includes:
第四计算子单元,用于根据关键应用总应用最大带宽百分比和端口速率信息,计算出关键应用总应用出端口最大带宽速率;a fourth calculating sub-unit, configured to calculate a maximum bandwidth rate of the total application outbound port of the critical application according to the maximum application percentage of the critical application and the port rate information;
第五计算子单元,用于根据拟制应用总应用最大带宽百分比和端口速率信息,计算出拟制应用总应用出端口最大带宽速率;a fifth calculating sub-unit, configured to calculate a maximum bandwidth rate of the total application outgoing port of the proposed application according to the maximum application bandwidth percentage and port rate information of the application application;
第六计算子单元,用于根据普通应用总应用最大带宽百分比和端口速率信息,计算出普通应用总应用出端口最大带宽速率。The sixth calculating sub-unit is configured to calculate a maximum bandwidth rate of the general application outbound port of the common application according to the total application bandwidth maximum percentage and the port rate information of the common application.
本发明通过配置全网的流控策略;根据所述流控策略配置对应的各应用类型的内容;根据所述流控策略再配置各应用类型对应的总应用保障带宽百分比和总应用最大带宽百分比。如此,采用控制器集中配置,实现端对端和全网的配置应用带宽策略,将充分利用全网的链路资源做到最优的网络流量优化。The present invention configures a flow control policy of the entire network; configures corresponding content of each application type according to the flow control policy; and reconfigures the total application guaranteed bandwidth percentage and the total applied maximum bandwidth percentage corresponding to each application type according to the flow control policy. . In this way, the centralized configuration of the controller is adopted to implement the end-to-end and the entire network configuration application bandwidth policy, and the link resources of the entire network are fully utilized to optimize the network traffic optimization.
图1为传统应用带宽配置策略结构示意图;FIG. 1 is a schematic structural diagram of a traditional application bandwidth configuration policy;
图2为本发明基于软件定义网络的应用带宽配置方法的实施例的流程图;2 is a flowchart of an embodiment of a method for configuring an application bandwidth based on a software-defined network according to the present invention;
图3为本发明配置各应用类型对应的总应用保障带宽百分比和总应用最大带宽百分比方法的实施例的流程图;3 is a flowchart of an embodiment of a method for configuring a total application guaranteed bandwidth percentage and a total applied maximum bandwidth percentage corresponding to each application type according to the present invention;
图4为本发明配置各应用类型对应的总应用保障带宽百分比和总应用最大带宽百分比之后的处理方法的实施例的流程图;4 is a flowchart of an embodiment of a processing method after configuring a total application guaranteed bandwidth percentage and a total application maximum bandwidth percentage corresponding to each application type according to the present invention;
图5为本发明根据所述速率信息、七层应用特征码及流控策略表,计算出端口转发速率方法的实施例的流程图;5 is a flowchart of an embodiment of a method for calculating a port forwarding rate according to the rate information, a layer 7 application signature, and a flow control policy table according to the present invention;
图6为本发明根据不同应用类型的最大/保障带宽百分比和端口速率,计算
出总应用出端口最大/保障带宽速率的实施例的流程图;FIG. 6 is a calculation of a maximum/guaranteed bandwidth percentage and a port rate according to different application types according to the present invention.
Flowchart of an embodiment of a total application out port maximum/guaranteed bandwidth rate;
图7为本发明根据总应用保障带宽百分比和端口速率信息,计算出总应用出端口保障带宽速率方法的实施例的流程图;7 is a flowchart of an embodiment of a method for calculating a total application outgoing port guaranteed bandwidth rate according to a total application guaranteed bandwidth percentage and port rate information according to the present invention;
图8为本发明根据总应用最大带宽百分比和端口速率信息,计算出总应用出端口最大带宽速率方法的实施例的流程图;8 is a flowchart of an embodiment of a method for calculating a maximum bandwidth rate of a total application outgoing port according to a total application maximum bandwidth percentage and port rate information according to the present invention;
图9为本发明从控制器到交换机的私有扩展报文的格式;9 is a format of a private extension packet from a controller to a switch according to the present invention;
图10为本发明基于软件定义网络的应用带宽配置控制器应用系统的一种实施例的结构示意图;10 is a schematic structural diagram of an embodiment of an application bandwidth configuration controller application system based on a software-defined network according to the present invention;
图11为本发明基于软件定义网络的应用带宽配置控制器的另一实施例的结构图;11 is a structural diagram of another embodiment of an application bandwidth configuration controller based on a software-defined network according to the present invention;
图12为本发明基于软件定义网络的应用带宽配置控制器的第三配置模块的实施例的结构图;12 is a structural diagram of an embodiment of a third configuration module of an application bandwidth configuration controller based on a software-defined network according to the present invention;
图13为本发明基于软件定义网络的应用带宽配置控制器的另一实施例的结构图;13 is a structural diagram of another embodiment of an application bandwidth configuration controller based on a software-defined network according to the present invention;
图14为本发明基于软件定义网络的应用带宽配置控制器的第三计算模块的实施例的结构图;14 is a structural diagram of an embodiment of a third computing module of an application bandwidth configuration controller based on a software-defined network according to the present invention;
图15为本发明基于软件定义网络的应用带宽配置控制器的第一计算模块的实施例的结构图;15 is a structural diagram of an embodiment of a first computing module of an application bandwidth configuration controller based on a software-defined network according to the present invention;
图16为本发明基于软件定义网络的应用带宽配置控制器的第二计算模块的实施例的结构图;16 is a structural diagram of an embodiment of a second computing module of an application bandwidth configuration controller based on a software-defined network according to the present invention;
图17为本发明基于软件定义网络的应用带宽配置控制器具体应用示意图。FIG. 17 is a schematic diagram of a specific application of an application bandwidth configuration controller based on a software-defined network according to the present invention.
本发明技术方案通过配置全网的流控策略;根据所述流控策略配置对应的各应用类型的内容;根据所述流控策略再配置各应用类型对应的总应用保障带宽百分比和总应用最大带宽百分比。如此,采用控制器集中配置,实现端对端
和全网的配置应用带宽策略,将充分利用全网的链路资源做到最优的网络流量优化。The technical solution of the present invention configures a flow control policy of the entire network; configures corresponding content of each application type according to the flow control policy; and reconfigures the total application support bandwidth percentage and the total application maximum corresponding to each application type according to the flow control policy. The percentage of bandwidth. In this way, the controller is centrally configured to achieve end-to-end
And the application of the bandwidth policy of the entire network, will make full use of the link resources of the entire network to achieve optimal network traffic optimization.
为使本发明的目的、技术方案和优点更加清楚明白,以下举实施例并参照附图,对本发明进一步详细说明。The present invention will be further described in detail below with reference to the accompanying drawings.
图2为本发明基于软件定义网络的应用带宽配置方法的实施例的流程图,具体流程如下:2 is a flowchart of an embodiment of a method for configuring an application bandwidth based on a software-defined network according to the present invention. The specific process is as follows:
步骤S201,控制器配置全网的流控策略;Step S201, the controller configures a flow control policy of the entire network.
具体地,流控策略的策略类型包括:企业流控策略、酒店流控策略和高校流控策略,Specifically, the types of policies of the flow control strategy include: enterprise flow control strategy, hotel flow control strategy, and university flow control strategy.
所述各流控策略类型都包括:关键应用、抑制应用和普通应用;Each of the flow control policy types includes: a critical application, a suppression application, and a general application;
所述企业流控策略、酒店流控策略各自的关键应用获得的配置带宽的优先级最高、抑制流控策略的关键应用获得的配置带宽的优先级最低;The key applications of the enterprise flow control policy and the hotel flow control strategy have the highest priority of the configured bandwidth, and the key applications of the suppression flow control strategy have the lowest priority;
酒店流控策略的各应用获得的配置带宽的优先级不作区分。The priority of the configured bandwidth obtained by each application of the hotel's flow control strategy is not differentiated.
步骤S202,根据所述流控策略配置对应的各应用类型的内容;Step S202, configuring content corresponding to each application type according to the flow control policy;
具体地,企业策略:Specifically, the corporate strategy:
关键应用的内容:即时通讯软件、IP网络电话、电子邮件协议、普通网页浏览、普通网页浏览明细、安全协议、VPN应用、办公OA、视频会议、DNS;Key application content: instant messaging software, IP network phone, email protocol, common web browsing, general web browsing details, security protocols, VPN applications, office OA, video conferencing, DNS;
抑制应用的内容:P2P应用软件、视频流媒体软件、互联网文件传输、下载工具、未知网页、网络硬盘;Suppress application content: P2P application software, video streaming software, Internet file transfer, download tool, unknown web page, network hard disk;
普通应用的内容:未列入以上两类的应用;General application content: not listed in the above two types of applications;
其中,关键应用获得带宽的优先级最高、普通应用获得带宽的优先级次之、抑制应用获得带宽的优先级最低。Among them, the priority of the key application is the highest, the priority of the common application is the second, and the priority of the application is the lowest.
酒店策略:Hotel strategy:
关键应用的内容:即时通讯软件、IP网络电话、网络游戏软件、电子邮件协议、普通网页浏览、普通网页浏览明细、安全协议、VPN应用、微博、即时通讯、游戏、社交、DNS;
Key application content: instant messaging software, IP network phone, online game software, email protocol, general web browsing, general web browsing details, security protocols, VPN applications, Weibo, instant messaging, games, social, DNS;
拟制应用的内容:P2P应用软件、视频流媒体软件、互联网文件传输、下载工具、未知网页、网络硬盘;The content of the proposed application: P2P application software, video streaming software, Internet file transfer, download tool, unknown web page, network hard disk;
普通应用的内容:未列入以上两类的应用;General application content: not listed in the above two types of applications;
其中,关键应用获得带宽优先级最高、普通应用获得带宽的优先级次之、抑制应用获得带宽的优先级最低。Among them, the key application obtains the highest bandwidth priority, the common application obtains the bandwidth priority, and the suppression application obtains the bandwidth with the lowest priority.
高校策略:University strategy:
各种应用的优先级不作区分,在带宽充裕时充分利用带宽,带宽紧张时基于用户分配带宽。The priority of various applications is not differentiated, the bandwidth is fully utilized when the bandwidth is sufficient, and the bandwidth is allocated based on the user when the bandwidth is tight.
步骤S203,根据所述流控策略再配置各应用类型对应的总应用保障带宽百分比和总应用最大带宽百分比。Step S203, reconfigure the total application guarantee bandwidth percentage and the total application maximum bandwidth percentage corresponding to each application type according to the flow control policy.
具体地,总应用保障带宽,是指带宽紧张时保障各类应用占用的带宽;Specifically, the total application guarantee bandwidth refers to the bandwidth occupied by various applications when the bandwidth is tight;
总应用最大带宽,是指带宽充裕时最高允许各类应用占用的带宽,其值不小于总应用保障带宽;The total application maximum bandwidth refers to the bandwidth allowed by various types of applications when the bandwidth is sufficient, and the value is not less than the total application guaranteed bandwidth;
其中,各应用类型对应的总应用保障带宽百分比和总应用最大带宽百分比之和小于100%。The sum of the total application guaranteed bandwidth percentage and the total applied maximum bandwidth percentage corresponding to each application type is less than 100%.
其中,步骤S203配置各应用类型对应的总应用保障带宽百分比和总应用最大带宽百分比方法的实施例的流程如图3所示,具体流程如下:The process of the embodiment of the method for configuring the total application guaranteed bandwidth percentage and the total application maximum bandwidth percentage corresponding to each application type in step S203 is as shown in FIG. 3, and the specific process is as follows:
步骤S301,配置各应用类型对应的总应用保障带宽百分比;Step S301, configuring a percentage of total application support bandwidth corresponding to each application type;
具体地,配置选项包括:关键应用总应用保障带宽百分比、普通应用总应用保障带宽百分比和抑制应用总应用保障带宽百分比。Specifically, the configuration options include: a percentage of the total application application guaranteed bandwidth of the critical application, a percentage of the total application total guaranteed bandwidth, and a percentage of the total application guaranteed bandwidth of the suppressed application.
步骤S302,配置各应用类型对应的总应用最大带宽百分比。Step S302, configuring a total application maximum bandwidth percentage corresponding to each application type.
具体地,配置选项包括:关键应用总应用最大带宽百分比、普通应用总应用最大带宽百分比和抑制应用总应用最大带宽百分比。Specifically, the configuration options include: the maximum bandwidth percentage of the total application application maximum bandwidth, the percentage of the maximum bandwidth of the general application total application, and the percentage of the maximum application bandwidth of the total application application.
其中,各应用类型对应的总应用保障带宽百分比和总应用最大带宽百分比之和小于100%。The sum of the total application guaranteed bandwidth percentage and the total applied maximum bandwidth percentage corresponding to each application type is less than 100%.
图4为本发明配置各应用类型对应的总应用保障带宽百分比和总应用最大
带宽百分比之后的处理方法的实施例的流程图,具体流程如下:4 is a percentage of total application guaranteed bandwidth corresponding to each application type configured according to the present invention and a maximum application maximum
A flowchart of an embodiment of a processing method after a bandwidth percentage, the specific process is as follows:
步骤S401,根据LLDP协议计算网络拓扑;Step S401, calculating a network topology according to the LLDP protocol;
具体地,LLDP(Link Layer Discovery Protocol,链路层发现协议)是一个二层协议,允许设备在本地子网中通告自己的设备标识和性能。Specifically, LLDP (Link Layer Discovery Protocol) is a Layer 2 protocol that allows devices to advertise their device ID and performance in the local subnet.
步骤S402,接收交换机上报的MAC地址信息、端口信息和端口速率信息;Step S402, receiving MAC address information, port information, and port rate information reported by the switch.
具体地,控制器接收并预存交换机上报的交换机的MAC地址信息、端口信息和速率信息。Specifically, the controller receives and pre-stores MAC address information, port information, and rate information of the switch reported by the switch.
步骤S403,接收交换机上报的未匹配的流表报文;Step S403, receiving an unmatched flow table message reported by the switch;
步骤S404,解析接收到的所述未匹配流表的报文,得到报文MAC地址和七层应用特征码;Step S404, parsing the received packet of the unmatched flow table, and obtaining a packet MAC address and a seven-layer application signature.
具体地,通过七层应用特征码精确识别,根据各种应用的优先级的高低提供不同的智能带宽策略,优先保证网吧重点应用,如游戏、网页等流畅运行。Specifically, the seven-layer application feature code is accurately identified, and different intelligent bandwidth policies are provided according to the priority of various applications, and the key applications of the Internet cafe, such as games and web pages, are preferentially guaranteed to run smoothly.
步骤S405,根据网络拓扑、报文MAC地址及端口信息,计算转发路径;Step S405, calculating a forwarding path according to the network topology, the packet MAC address, and the port information.
具体地,报文MAC地址是指报文发送目的交换机MAC地址。Specifically, the packet MAC address refers to the MAC address of the destination switch.
步骤S406,根据速率信息、七层应用特征码及流控策略表,计算出端口转发速率;Step S406, calculating a port forwarding rate according to the rate information, the seven-layer application signature, and the flow control policy table.
步骤S407,根据所述转发路径及出端口转发速率,下发所述流表。Step S407, the flow table is delivered according to the forwarding path and the outbound port forwarding rate.
具体地,流表的定义如下表1Specifically, the definition of the flow table is as follows:
表1Table 1
其中,步骤S406根据速率信息、七层应用特征码及流控策略表,计算出端口转发速率方法流程如图5所示,具体流程如下:The method for calculating the port forwarding rate according to the rate information, the seven-layer application signature, and the flow control policy table is shown in FIG. 5, and the specific process is as follows:
步骤S501,根据报文MAC地址确认流控策略类型;Step S501, confirming a flow control policy type according to the packet MAC address;
具体地,流控策略类型包括:企业流控策略、酒店流控策略和高校流控策略。Specifically, the types of flow control policies include: enterprise flow control strategy, hotel flow control strategy, and college flow control strategy.
步骤S502,根据所述七层应用特征码确认报文类型;Step S502, confirming a packet type according to the seven-layer application signature.
具体地,确认了流控策略类型以后,通过七层应用特征码能够获得对应的报文类型,报文类型具体为图2中介绍的各应用的内容。Specifically, after the flow control policy type is confirmed, the corresponding packet type can be obtained by using the seven-layer application signature, and the packet type is specifically the content of each application introduced in FIG.
步骤S503,根据所述报文类型确认对应的应用类型;Step S503, confirming a corresponding application type according to the packet type;
具体地,根据报文类型能够找到对应的应用类型,应用类型包括:关键应用、抑制应用和普通应用。Specifically, the corresponding application type can be found according to the packet type, and the application types include: a critical application, a suppression application, and a general application.
步骤S504,根据所述应用类型获取对应的总应用保障带宽百分比和总应用最大带宽百分比;Step S504, obtaining a corresponding total application security bandwidth percentage and a total application maximum bandwidth percentage according to the application type;
步骤S505,根据总应用保障带宽百分比和端口速率信息,计算出总应用出端口保障带宽速率;Step S505, calculating a total application outbound port guaranteed bandwidth rate according to the total application guaranteed bandwidth percentage and the port rate information;
具体地,总应用出端口保障带宽速率=总应用保障带宽百分比*端口速率信息。Specifically, the total application port guarantee bandwidth rate = total application guaranteed bandwidth percentage * port rate information.
步骤S506,根据总应用最大带宽百分比和端口速率信息,计算出总应用出端口最大带宽速率。Step S506, calculating a maximum bandwidth rate of the total application outgoing port according to the total application maximum bandwidth percentage and the port rate information.
具体地,总应用出端口最大带宽速率=总应用最大带宽百分比*端口速率信息。Specifically, the total application port maximum bandwidth rate = total application maximum bandwidth percentage * port rate information.
图6为本发明根据不同应用类型的最大/保障带宽百分比和端口速率,计算出总应用出端口最大/保障带宽速率的实施例的流程图,具体流程如下:FIG. 6 is a flowchart of an embodiment of calculating a maximum/guaranteed bandwidth rate of a total application outgoing port according to a maximum/guaranteed bandwidth percentage and a port rate of different application types, and the specific process is as follows:
步骤S601,根据报文七层特征码,决定报文类型;Step S601, determining a packet type according to the seven-layer feature code of the packet;
步骤S602,查询流控策略表识别应用类型;
Step S602, querying the flow control policy table to identify an application type;
步骤S603,确认应用类型?Step S603, confirm the application type?
具体地,当应用类型为关键应用时,进入步骤S605;当应用类型为普通类型时,进入步骤S606;当应用类型为抑制应用时,进入步骤S604;Specifically, when the application type is a key application, proceed to step S605; when the application type is a normal type, proceed to step S606; when the application type is a suppression application, proceed to step S604;
步骤S604,抑制应用总应用保障带宽百分比和抑制应用总应用最大带宽百分比,进入步骤S607;Step S604, suppressing the application total application guarantee bandwidth percentage and suppressing the application total application maximum bandwidth percentage, proceeds to step S607;
步骤S605,关键应用总应用保障带宽百分比和关键应用总应用最大带宽百分比,进入步骤S607;Step S605, the critical application total application guarantee bandwidth percentage and the critical application total application maximum bandwidth percentage, proceeds to step S607;
步骤S606,普通应用总应用保障带宽百分比和普通应用总应用最大带宽百分比,进入步骤S607。In step S606, the general application total application guarantee bandwidth percentage and the general application total application maximum bandwidth percentage, proceed to step S607.
步骤S607,计算总应用出端口保障带宽速率、总应用出端口最大带宽速率;Step S607, calculating a total application outgoing port guaranteed bandwidth rate and a total application outgoing port maximum bandwidth rate;
具体地,总应用出端口保障带宽速率=总应用保障带宽百分比*端口速率;总应用出端口最大带宽速率=总应用最大带宽百分比*端口速率。Specifically, the total application port guarantee bandwidth rate = total application guaranteed bandwidth percentage * port rate; total application out port maximum bandwidth rate = total application maximum bandwidth percentage * port rate.
图7为本发明根据总应用保障带宽百分比和端口速率信息,计算出总应用出端口保障带宽速率方法的实施例的流程图,具体流程如下:FIG. 7 is a flowchart of an embodiment of a method for calculating a total application outgoing port guaranteed bandwidth rate according to the total application guaranteed bandwidth percentage and port rate information, and the specific process is as follows:
步骤S701,根据关键应用总应用保障带宽百分比和端口速率信息,计算出关键应用总应用出端口保障带宽速率;Step S701, calculating, according to the percentage of the critical application total application guarantee bandwidth and the port rate information, the port application guaranteed bandwidth rate of the critical application application port;
具体地,关键应用总应用出端口保障带宽速率=关键应用总应用保障带宽百分比*端口速率信息。Specifically, the critical application always applies the port guaranteed bandwidth rate = key application total application guaranteed bandwidth percentage * port rate information.
步骤S702,根据抑制应用总应用保障带宽百分比和端口速率信息,计算出抑制应用总应用出端口保障带宽速率;Step S702, calculating, according to the total application protection bandwidth percentage and the port rate information of the application, the suppression of the application application outbound port guarantee bandwidth rate;
具体地,抑制应用总应用出端口保障带宽速率=抑制应用总应用保障带宽百分比*端口速率信息。Specifically, the application total application outbound guaranteed bandwidth rate = suppression application total application guaranteed bandwidth percentage * port rate information is suppressed.
步骤S703,根据普通应用总应用保障带宽百分比和端口速率信息,计算出普通应用总应用端口保障带宽速率。In step S703, the total application application port guarantee bandwidth rate of the common application is calculated according to the percentage of the common application guarantee bandwidth and the port rate information.
具体地,普通应用总应用端口保障带宽速率=普通应用总应用保障带宽百分比*端口速率信息。
Specifically, the general application port application bandwidth rate = common application total application guaranteed bandwidth percentage * port rate information.
图8为本发明根据总应用最大带宽百分比和端口速率信息,计算出总应用出端口最大带宽速率方法的实施例的流程图,具体流程如下:FIG. 8 is a flowchart of an embodiment of a method for calculating a maximum bandwidth rate of a total application outgoing port according to a total application maximum bandwidth percentage and port rate information, and the specific process is as follows:
步骤S801,根据关键应用总应用最大带宽百分比和端口速率信息,计算出关键应用总应用出端口最大带宽速率;Step S801: Calculate a maximum bandwidth rate of the total application outbound port of the critical application according to the maximum application bandwidth percentage and the port rate information of the critical application.
具体地,关键应用总应用出端口最大带宽速率=关键应用总应用最大带宽百分比*端口速率信息。Specifically, the critical application always applies the port maximum bandwidth rate = key application total application maximum bandwidth percentage * port rate information.
步骤S802,根据抑制应用总应用最大带宽百分比和端口速率信息,计算出抑制应用总应用出端口最大带宽速率;Step S802, calculating, according to the total application maximum application percentage percentage and the port rate information, the maximum bandwidth rate of the application application outbound port is suppressed;
具体地,抑制应用总应用出端口最大带宽速率=抑制应用总应用最大带宽百分比*端口速率信息。Specifically, the application total application out port maximum bandwidth rate = suppression application total application maximum bandwidth percentage * port rate information is suppressed.
步骤S803,根据普通应用总应用最大带宽百分比和端口速率信息,计算出普通应用总应用出端口最大带宽速率。Step S803: Calculate the maximum bandwidth rate of the general application outbound port of the common application according to the total application bandwidth maximum percentage and the port rate information of the common application.
具体地,普通应用总应用出端口最大带宽速率=普通应用总应用最大带宽百分比*端口速率信息。Specifically, the general application always applies the port maximum bandwidth rate=general application total application maximum bandwidth percentage* port rate information.
图9为本发明从控制器到交换机的私有扩展报文的格式,具体格式为:FIG. 9 is a format of a private extension packet from a controller to a switch according to the present invention. The specific format is:
本发明从控制器到交换机的私有扩展报文是在原有报文定义基础上进行的扩展,原有定义报文格式为:Experimenter值为255需要向ONF组织申请。Experimenter type值为1表明是从SDN交换机到控制器。The private extension packet from the controller to the switch is extended on the basis of the original packet definition. The format of the original definition packet is: an Experimenter value of 255 needs to be applied to the ONF organization. A Experimenter type value of 1 indicates that it is from the SDN switch to the controller.
扩展定义报文格式为:The extended definition message format is:
交换机的Own MAC address(简称MAC地址)可以作为交换机的标识符;The switch's Own MAC address (referred to as the MAC address) can be used as the identifier of the switch;
Speed表明此端口的速率(10M/100M/1000M/10G/40G/100G);Speed indicates the rate of this port (10M/100M/1000M/10G/40G/100G);
Port id 1表明SDN(软件定义网络)交换机的交换端口1; Port id 1 indicates the switch port 1 of the SDN (Software Defined Network) switch;
Port id 128表明SDN(软件定义网络)交换机的交换端口128。 Port id 128 indicates the switch port 128 of the SDN (Software Defined Network) switch.
图10为本发明基于软件定义网络的应用带宽配置控制器应用系统的一种实施例的结构示意图,具体结构包括:SDN控制器、电信1、电线2、网关、网元S0、网元S1、网元S2、网元S3和用户,其中,SDN控制器进行配置应
用带宽策略,具体作用为:1、选择流控策略;2、配置关键应用、普通应用和抑制应用;3、配置各应用分组占用总带宽比例;并在配置好后SND控制器分别向网元S0、网元S1、网元S2、网元S3、网关分别下发流表。10 is a schematic structural diagram of an embodiment of an application bandwidth configuration controller application system based on a software-defined network according to the present invention. The specific structure includes: an SDN controller, a telecommunications 1, a wire 2, a gateway, a network element S0, and a network element S1. Network element S2, network element S3 and user, wherein the SDN controller is configured
Bandwidth policy, the specific role is: 1, select the flow control strategy; 2, configure critical applications, common applications and suppression applications; 3, configure the proportion of the total bandwidth occupied by each application group; and after the configuration, the SND controller separately to the network element S0, the network element S1, the network element S2, the network element S3, and the gateway respectively send a flow table.
图11为本发明基于软件定义网络的应用带宽配置控制器的一种实施例的结构示意图,控制器900包括第一配置模块901、第二配置模块902和第三配置模块903,FIG. 11 is a schematic structural diagram of an embodiment of an application bandwidth configuration controller based on a software-defined network, where the controller 900 includes a first configuration module 901, a second configuration module 902, and a third configuration module 903.
第一配置模块901,用于配置全网的流控策略;The first configuration module 901 is configured to configure a flow control policy of the entire network.
具体地,流控策略的策略类型包括:企业流控策略、酒店流控策略和高校流控策略,Specifically, the types of policies of the flow control strategy include: enterprise flow control strategy, hotel flow control strategy, and university flow control strategy.
所述各流控策略类型都包括:关键应用、抑制应用和普通应用;Each of the flow control policy types includes: a critical application, a suppression application, and a general application;
所述企业流控策略、酒店流控策略各自的关键应用获得的配置带宽的优先级最高、抑制流控策略的关键应用获得的配置带宽的优先级最低;The key applications of the enterprise flow control policy and the hotel flow control strategy have the highest priority of the configured bandwidth, and the key applications of the suppression flow control strategy have the lowest priority;
酒店流控策略的各应用获得的配置带宽的优先级不作区分。The priority of the configured bandwidth obtained by each application of the hotel's flow control strategy is not differentiated.
第二配置模块902,用于根据所述流控策略配置对应的各应用类型的内容;The second configuration module 902 is configured to configure content corresponding to each application type according to the flow control policy;
具体地,企业策略:Specifically, the corporate strategy:
关键应用的内容:即时通讯软件、IP网络电话、电子邮件协议、普通网页浏览、普通网页浏览明细、安全协议、VPN应用、办公OA、视频会议、DNS;Key application content: instant messaging software, IP network phone, email protocol, common web browsing, general web browsing details, security protocols, VPN applications, office OA, video conferencing, DNS;
抑制应用的内容:P2P应用软件、视频流媒体软件、互联网文件传输、下载工具、未知网页、网络硬盘;Suppress application content: P2P application software, video streaming software, Internet file transfer, download tool, unknown web page, network hard disk;
普通应用的内容:未列入以上两类的应用;General application content: not listed in the above two types of applications;
其中,关键应用获得带宽的优先级最高、普通应用获得带宽的优先级次之、抑制应用获得带宽的优先级最低。Among them, the priority of the key application is the highest, the priority of the common application is the second, and the priority of the application is the lowest.
酒店策略:Hotel strategy:
关键应用的内容:即时通讯软件、IP网络电话、网络游戏软件、电子邮件协议、普通网页浏览、普通网页浏览明细、安全协议、VPN应用、微博、即时通讯、游戏、社交、DNS;
Key application content: instant messaging software, IP network phone, online game software, email protocol, general web browsing, general web browsing details, security protocols, VPN applications, Weibo, instant messaging, games, social, DNS;
拟制应用的内容:P2P应用软件、视频流媒体软件、互联网文件传输、下载工具、未知网页、网络硬盘;The content of the proposed application: P2P application software, video streaming software, Internet file transfer, download tool, unknown web page, network hard disk;
普通应用的内容:未列入以上两类的应用;General application content: not listed in the above two types of applications;
其中,关键应用获得带宽优先级最高、普通应用获得带宽的优先级次之、抑制应用获得带宽的优先级最低。Among them, the key application obtains the highest bandwidth priority, the common application obtains the bandwidth priority, and the suppression application obtains the bandwidth with the lowest priority.
高校策略:University strategy:
各种应用的优先级不作区分,在带宽充裕时充分利用带宽,带宽紧张时基于用户分配带宽。The priority of various applications is not differentiated, the bandwidth is fully utilized when the bandwidth is sufficient, and the bandwidth is allocated based on the user when the bandwidth is tight.
第三配置模块903,用于根据所述流控策略再配置各应用类型对应的总应用保障带宽百分比和总应用最大带宽百分比。The third configuration module 903 is configured to reconfigure the total application guaranteed bandwidth percentage and the total applied maximum bandwidth percentage corresponding to each application type according to the flow control policy.
具体地,总应用保障带宽,是指带宽紧张时保障各类应用占用的带宽;Specifically, the total application guarantee bandwidth refers to the bandwidth occupied by various applications when the bandwidth is tight;
总应用最大带宽,是指带宽充裕时最高允许各类应用占用的带宽,其值不小于总应用保障带宽;The total application maximum bandwidth refers to the bandwidth allowed by various types of applications when the bandwidth is sufficient, and the value is not less than the total application guaranteed bandwidth;
其中,各应用类型对应的总应用保障带宽百分比和总应用最大带宽百分比之和小于100%。The sum of the total application guaranteed bandwidth percentage and the total applied maximum bandwidth percentage corresponding to each application type is less than 100%.
其中,第三配置模块903的具体结构如图12所示,具体第三配置模块903包括第一配置子模块9031、第二配置子模块9032和第三配置子模块9033,The specific configuration of the third configuration module 903 is as shown in FIG. 12, and the specific third configuration module 903 includes a first configuration submodule 9031, a second configuration submodule 9032, and a third configuration submodule 9033.
第一配置子模块9031,用于配置各应用类型对应的总应用保障带宽百分比;The first configuration submodule 9031 is configured to configure a percentage of the total application guarantee bandwidth corresponding to each application type;
具体地,配置关键应用总应用保障带宽百分比、普通应用总应用保障带宽百分比和抑制应用总应用保障带宽百分比。Specifically, the percentage of the critical application total application guarantee bandwidth, the percentage of the general application total application guaranteed bandwidth, and the percentage of the total application guaranteed bandwidth of the application are configured.
第二配置子模块9032,用于配置各应用类型对应的总应用最大带宽百分比。The second configuration sub-module 9032 is configured to configure a total application maximum bandwidth percentage corresponding to each application type.
具体地,配置关键应用总应用最大带宽百分比、普通应用总应用最大带宽百分比和抑制应用总应用最大带宽百分比;Specifically, configuring a maximum application bandwidth percentage of a critical application total application, a total application total application maximum bandwidth percentage, and a suppression application total application maximum bandwidth percentage;
其中,所述配置各应用类型对应的总应用保障带宽百分比和总应用最大带
宽百分比之和小于100%。The total application guaranteed bandwidth percentage and the total application maximum band corresponding to each application type are configured.
The sum of the width percentages is less than 100%.
图13为本发明基于软件定义网络的应用带宽配置控制器的另一实施例的结构图,在第三配置模块903根据所述流控策略再配置各应用类型对应的总应用保障带宽百分比和总应用最大带宽百分比之后,控制器900还包括第一计算模块904、第一接收模块905、第二接收模块906、解析模块907和第二计算模块908、第三计算模块909、下发模块910,FIG. 13 is a structural diagram of another embodiment of an application bandwidth configuration controller based on a software-defined network according to the present invention. The third configuration module 903 reconfigures the total application guaranteed bandwidth percentage and total amount corresponding to each application type according to the flow control policy. After the maximum bandwidth percentage is applied, the controller 900 further includes a first calculating module 904, a first receiving module 905, a second receiving module 906, a parsing module 907 and a second calculating module 908, a third calculating module 909, and a sending module 910.
第一计算模904,用于根据LLDP协议计算网络拓扑;a first calculation mode 904, configured to calculate a network topology according to the LLDP protocol;
具体地,LLDP(Link Layer Discovery Protocol,链路层发现协议)是一个二层协议,允许设备在本地子网中通告自己的设备标识和性能。Specifically, LLDP (Link Layer Discovery Protocol) is a Layer 2 protocol that allows devices to advertise their device ID and performance in the local subnet.
第一接收模块905,用于接收交换机上报的MAC地址信息、端口信息和端口速率信息;The first receiving module 905 is configured to receive MAC address information, port information, and port rate information reported by the switch.
具体地,控制器接收并预存交换机上报的交换机的MAC地址信息、端口信息和速率信息。Specifically, the controller receives and pre-stores MAC address information, port information, and rate information of the switch reported by the switch.
第二接收模块906,用于接收交换机上报的未匹配的流表报文;The second receiving module 906 is configured to receive the unmatched flow table message reported by the switch.
解析模块907,用于解析接收到的所述未匹配流表的报文,得到报文MAC地址和七层应用特征码;The parsing module 907 is configured to parse the received packet of the unmatched flow table, and obtain a packet MAC address and a seven-layer application signature.
具体地,通过七层应用特征码精确识别,根据各种应用的优先级的高低提供不同的智能带宽策略,优先保证网吧重点应用,如游戏、网页等流畅运行。Specifically, the seven-layer application feature code is accurately identified, and different intelligent bandwidth policies are provided according to the priority of various applications, and the key applications of the Internet cafe, such as games and web pages, are preferentially guaranteed to run smoothly.
第二计算模块908,用于根据所述网络拓扑、报文MAC地址及端口信息,计算转发路径;The second calculating module 908 is configured to calculate a forwarding path according to the network topology, the packet MAC address, and the port information.
具体地,报文MAC地址是指报文发送目的交换机MAC地址。Specifically, the packet MAC address refers to the MAC address of the destination switch.
第三计算模块909,用于根据所述速率信息、七层应用特征码及流控策略表,计算出端口转发速率;The third calculating module 909 is configured to calculate a port forwarding rate according to the rate information, the layer 7 application signature, and the flow control policy table.
下发模块909,用于根据所述转发路径及出端口转发速率,下发所述流表。The sending module 909 is configured to deliver the flow table according to the forwarding path and the outbound port forwarding rate.
图14为本发明基于软件定义网络的应用带宽配置控制器的第三计算模块的实施例的结构图,第三计算模块909包括第一确认子模块9091、第二确认子
模块9092、第三确认子模块9093、获取子模块9094、第一计算子模块9095、第二计算子模块9096,14 is a structural diagram of an embodiment of a third computing module of an application bandwidth configuration controller based on a software-defined network according to the present invention. The third computing module 909 includes a first confirmation sub-module 9011 and a second acknowledgator.
a module 9092, a third confirmation submodule 9093, an acquisition submodule 9094, a first calculation submodule 9095, and a second calculation submodule 9096,
第一确认子模块9091,用于根据报文MAC地址确认流控策略类型;The first confirmation sub-module 9091 is configured to confirm the flow control policy type according to the packet MAC address;
具体地,流控策略类型包括:企业流控策略、酒店流控策略和高校流控策略。Specifically, the types of flow control policies include: enterprise flow control strategy, hotel flow control strategy, and college flow control strategy.
第二确认子模块9092,用于根据所述报文七层应用特征码确认报文类型;The second confirmation sub-module 9092 is configured to confirm the packet type according to the application layer signature of the packet.
具体地,确认了流控策略类型以后,通过七层应用特征码能够获得对应的报文类型,报文类型具体为图2中介绍的各应用的内容。Specifically, after the flow control policy type is confirmed, the corresponding packet type can be obtained by using the seven-layer application signature, and the packet type is specifically the content of each application introduced in FIG.
第三确认子模块9093,用于根据所述报文类型确认对应的应用类型;a third confirmation submodule 9093, configured to confirm a corresponding application type according to the packet type;
具体地,具体地,根据报文类型能够找到对应的应用类型,应用类型包括:关键应用、抑制应用和普通应用。Specifically, in particular, according to the packet type, a corresponding application type can be found, and the application types include: a key application, a suppression application, and a general application.
获取子模块9094,用于根据所述应用类型获取对应的总应用保障带宽百分比和总应用最大带宽百分比;The obtaining sub-module 9094 is configured to obtain a corresponding total application guaranteed bandwidth percentage and a total applied maximum bandwidth percentage according to the application type;
第一计算子模块9095,用于根据总应用保障带宽百分比和端口速率信息,计算出总应用出端口保障带宽速率;The first calculating sub-module 9095 is configured to calculate a total application outgoing port guaranteed bandwidth rate according to the total application guaranteed bandwidth percentage and the port rate information;
具体地,具体地,总应用出端口保障带宽速率=总应用保障带宽百分比*端口速率信息。Specifically, specifically, the port security bandwidth rate=total application guaranteed bandwidth percentage*port rate information is always applied.
第二计算子模块9096,用于根据总应用最大带宽百分比和端口速率信息,计算出总应用出端口最大带宽速率。The second calculating sub-module 9096 is configured to calculate a maximum bandwidth rate of the total application outgoing port according to the total application maximum bandwidth percentage and the port rate information.
具体地,总应用出端口最大带宽速率=总应用最大带宽百分比*端口速率信息。Specifically, the total application port maximum bandwidth rate = total application maximum bandwidth percentage * port rate information.
图15为本发明基于软件定义网络的应用带宽配置控制器的第一计算模块的实施例的结构图,第一计算子模块9095包括第一计算子单元90951、第二计算子单元90952、第三计算子单元90953,15 is a structural diagram of an embodiment of a first computing module of an application bandwidth configuration controller based on a software-defined network, where the first computing sub-module 9095 includes a first computing sub-unit 90951, a second computing sub-unit 90952, and a third Calculation subunit 90953,
第一计算子单元90951,用于根据关键应用总应用保障带宽百分比和端口速率信息,计算出关键应用总应用出端口保障带宽速率;
The first calculating sub-unit 90951 is configured to calculate, according to the critical application total application guaranteed bandwidth percentage and the port rate information, a critical application total application outbound port guaranteed bandwidth rate;
具体地,关键应用总应用出端口保障带宽速率=关键应用总应用保障带宽百分比*端口速率信息。Specifically, the critical application always applies the port guaranteed bandwidth rate = key application total application guaranteed bandwidth percentage * port rate information.
第二计算子单元90952,用于根据抑制应用总应用保障带宽百分比和端口速率信息,计算出抑制应用总应用出端口保障带宽速率;The second calculating sub-unit 90952 is configured to calculate, according to the total application protection bandwidth percentage and the port rate information of the suppression application, the suppression application application outbound port guarantee bandwidth rate;
具体地,抑制应用总应用出端口保障带宽速率=抑制应用总应用保障带宽百分比*端口速率信息。Specifically, the application total application outbound guaranteed bandwidth rate = suppression application total application guaranteed bandwidth percentage * port rate information is suppressed.
第三计算子单元90953,用于根据普通应用总应用保障带宽百分比和端口速率信息,计算出普通应用总应用出端口保障带宽速率。The third calculating sub-unit 90953 is configured to calculate, according to the general application total application guaranteed bandwidth percentage and the port rate information, a common application outbound port guaranteed bandwidth rate.
具体地,普通应用总应用端口保障带宽速率=普通应用总应用保障带宽百分比*端口速率信息。Specifically, the general application port application bandwidth rate = common application total application guaranteed bandwidth percentage * port rate information.
图16为本发明基于软件定义网络的应用带宽配置控制器的第二计算模块的实施例的结构图,第二计算子模块9096包括第四计算子模块90961、第五计算子模块90962和第六计算子模块90963,16 is a structural diagram of an embodiment of a second computing module of an application bandwidth configuration controller based on a software-defined network, where the second computing sub-module 9096 includes a fourth computing sub-module 90961, a fifth computing sub-module 90962, and a sixth Calculation sub-module 90963,
第四计算子单元90961,用于根据关键应用总应用最大带宽百分比和端口速率信息,计算出关键应用总应用出端口最大带宽速率;The fourth calculating sub-unit 90961 is configured to calculate a maximum bandwidth rate of the total application outbound port of the critical application according to the maximum application percentage of the critical application and the port rate information;
具体地,关键应用总应用出端口最大带宽速率=关键应用总应用最大带宽百分比*端口速率信息。Specifically, the critical application always applies the port maximum bandwidth rate = key application total application maximum bandwidth percentage * port rate information.
第五计算子模块90962,用于根据拟制应用总应用最大带宽百分比和端口速率信息,计算出拟制应用总应用出端口最大带宽速率;The fifth computing sub-module 90962 is configured to calculate a maximum bandwidth rate of the total application outgoing port according to the total application bandwidth percentage and port rate information of the application application;
具体地,抑制应用总应用出端口最大带宽速率=抑制应用总应用最大带宽百分比*端口速率信息。Specifically, the application total application out port maximum bandwidth rate = suppression application total application maximum bandwidth percentage * port rate information is suppressed.
第六计算子模块90963,用于根据普通应用总应用最大带宽百分比和端口速率信息,计算出普通应用总应用出端口最大带宽速率。The sixth calculation sub-module 90963 is configured to calculate a maximum bandwidth rate of the general application output port of the common application according to the total application maximum bandwidth percentage and the port rate information of the common application.
具体地,普通应用总应用出端口最大带宽速率=普通应用总应用最大带宽百分比*端口速率信息。Specifically, the general application always applies the port maximum bandwidth rate=general application total application maximum bandwidth percentage* port rate information.
图17为本发明基于软件定义网络的应用带宽配置控制器具体应用示意图,
17 is a schematic diagram of a specific application of an application bandwidth configuration controller based on a software-defined network according to the present invention;
组网环境为:企业流控策略,DNS流量为关键流量,P2P应用为抑制流量,所有带宽的流量可为1G;The networking environment is: enterprise flow control policy, the DNS traffic is critical traffic, and the P2P application is to suppress traffic. The traffic of all bandwidths can be 1G.
测试具体步骤:Test specific steps:
步骤1,按照测试环境组网; Step 1. Networking according to the test environment;
步骤2,关键应用的保障带宽的百分比为50%,抑制应用的保障带宽的百分比为20%; Step 2, the percentage of the guaranteed bandwidth of the critical application is 50%, and the percentage of the guaranteed bandwidth of the suppressed application is 20%;
步骤3,当链路拥塞的时候,DNS流量为500M,P2P应用流量为200M;Step 3: When the link is congested, the DNS traffic is 500M, and the P2P application traffic is 200M.
步骤4,修改关键应用的保障带宽的百分比为70%,抑制应用的保障带宽为10%;Step 4: Modify the percentage of the guaranteed bandwidth of the critical application to 70%, and suppress the guaranteed bandwidth of the application to 10%;
步骤5,当链路拥塞的时候,DNS流量为700M,P2P应用流量为100M。Step 5: When the link is congested, the DNS traffic is 700M, and the P2P application traffic is 100M.
应当理解,本实施例提供的DNS控制器900的功能模块可以为软件模块或者软硬件结合的功能模块,其可以通过处理器执行而实现如上所述的功能。并且,DNS控制器900还可以具有其他功能模块来实现端对端和全网的配置应用带宽策略方法各个具体步骤,具体可以参阅以上方法实施例的相应描述。It should be understood that the functional modules of the DNS controller 900 provided by this embodiment may be software modules or functional modules combined with software and hardware, which may be implemented by a processor to implement the functions as described above. In addition, the DNS controller 900 may also have other functional modules to implement the specific steps of the application of the bandwidth policy method for the end-to-end and the whole network. For details, refer to the corresponding description of the foregoing method embodiments.
另外,所属技术领域的技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,并被通讯内部的处理器执行,前述的程序在被执行时处理器可以执行包括上述方法实施例的全部或者部分步骤。其中,所述处理器可以作为一个或多个处理器芯片实施,或者可以为一个或多个专用集成电路(Application Specific Integrated Circuit,ASIC)的一部分;而前述的存储介质可以包括但不限于以下类型的存储介质:闪存(Flash Memory)、存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。In addition, those skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by hardware related to program instructions, and the foregoing programs may be stored in a computer readable storage medium and communicated internally. The processor executes, and when the aforementioned program is executed, the processor can execute all or part of the steps including the above method embodiments. The processor may be implemented as one or more processor chips, or may be part of one or more application specific integrated circuits (ASICs); and the foregoing storage medium may include but not be limited to the following types. Storage medium: Flash memory, Read-Only Memory (ROM), Random Access Memory (RAM), removable hard disk, disk or optical disk, and other media that can store program code.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对
其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。
Finally, it should be noted that the above embodiments are only used to explain the technical solutions of the present application, and are not limited thereto; although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still Modify the technical solutions described in the foregoing embodiments, or
Some of the technical features are equivalently substituted; and the modifications or substitutions do not deviate from the scope of the technical solutions of the embodiments of the present application.
Claims (15)
- 一种基于软件定义网络的应用带宽配置方法,其特征在于,所述方法包括:A method for configuring an application bandwidth based on a software-defined network, the method comprising:控制器配置全网的流控策略;The controller configures a flow control policy of the entire network;根据所述流控策略配置对应的各应用类型的内容;Configuring content corresponding to each application type according to the flow control policy;根据所述流控策略再配置各应用类型对应的总应用保障带宽百分比和总应用最大带宽百分比。The total application guaranteed bandwidth percentage and the total applied maximum bandwidth percentage corresponding to each application type are reconfigured according to the flow control policy.
- 如权利要求1所述的方法,其特征在于,所述流控策略的策略类型包括:The method of claim 1, wherein the policy type of the flow control policy comprises:企业流控策略、酒店流控策略和高校流控策略,Enterprise flow control strategy, hotel flow control strategy and university flow control strategy,所述各流控策略类型都包括:关键应用、抑制应用和普通应用;Each of the flow control policy types includes: a critical application, a suppression application, and a general application;所述企业流控策略、酒店流控策略各自的关键应用获得的配置带宽的优先级最高、抑制应用获得的配置带宽的优先级最低;The key applications of the enterprise flow control policy and the hotel flow control strategy have the highest priority of the configured bandwidth and the lowest priority of the configured bandwidth obtained by the suppression application;酒店流控策略的各应用获得的配置带宽的优先级不作区分。The priority of the configured bandwidth obtained by each application of the hotel's flow control strategy is not differentiated.
- 如权利要求2所述的方法,其特征在于,所述再配置各应用类型对应的总应用保障带宽百分比和总应用最大带宽百分比,具体包括:The method according to claim 2, wherein the reconfiguring the total application guaranteed bandwidth percentage and the total application maximum bandwidth percentage corresponding to each application type include:配置各应用类型对应的总应用保障带宽百分比;Configure the percentage of total application security bandwidth for each application type.配置各应用类型对应的总应用最大带宽百分比;Configure the total application maximum bandwidth percentage corresponding to each application type.其中,所述各应用类型对应的总应用保障带宽百分比和各应用类型对应的总应用最大带宽百分比之和小于100%。The sum of the total application guaranteed bandwidth percentage corresponding to each application type and the total application maximum bandwidth percentage corresponding to each application type is less than 100%.
- 如权利要求3所述的方法,其特征在于,在配置各应用类型对应的总应用保障带宽百分比和总应用最大带宽百分比之后,所述方法还包括:The method of claim 3, wherein after the total application guaranteed bandwidth percentage and the total applied maximum bandwidth percentage corresponding to each application type are configured, the method further includes:根据LLDP协议计算网络拓扑;Calculate the network topology according to the LLDP protocol;接收交换机上报的MAC地址信息、端口信息和端口速率信息;Receiving MAC address information, port information, and port rate information reported by the switch;接收交换机上报的未匹配的流表报文;Receiving the unmatched flow table message reported by the switch;解析接收到的所述未匹配流表的报文,得到报文MAC地址和七层应用特征码; Parsing the received packet of the unmatched flow table, and obtaining a packet MAC address and a seven-layer application signature;根据所述网络拓扑、报文MAC地址及端口信息,计算转发路径;Calculating a forwarding path according to the network topology, the packet MAC address, and the port information;根据所述速率信息、七层应用特征码及流控策略表,计算出端口转发速率;Calculating a port forwarding rate according to the rate information, the seven-layer application signature, and the flow control policy table;根据所述转发路径及出端口转发速率,下发所述流表。The flow table is delivered according to the forwarding path and the outbound port forwarding rate.
- 如权利要求4所述的方法,其特征在于,所述根据所述速率信息、七层应用特征码及流控策略表,计算出端口转发速率,具体包括:The method according to claim 4, wherein the calculating the port forwarding rate according to the rate information, the seven-layer application signature, and the flow control policy table includes:根据报文MAC地址确认流控策略类型;Confirm the type of the flow control policy based on the MAC address of the packet.根据所述七层应用特征码确认报文类型;Confirming the packet type according to the seven-layer application signature;根据所述报文类型确认对应的应用类型;Confirming the corresponding application type according to the packet type;根据所述应用类型获取对应的总应用保障带宽百分比和总应用最大带宽百分比;Obtaining a corresponding total application guaranteed bandwidth percentage and a total application maximum bandwidth percentage according to the application type;根据总应用保障带宽百分比和端口速率信息,计算出总应用出端口保障带宽速率;Calculate the total application outbound port guaranteed bandwidth rate based on the total application guaranteed bandwidth percentage and port rate information.根据总应用最大带宽百分比和端口速率信息,计算出总应用出端口最大带宽速率。Calculate the maximum bandwidth rate of the total application outgoing port based on the total application maximum bandwidth percentage and port rate information.
- 如权利要求5所述的方法,其特征在于,所述根据总应用保障带宽百分比和端口速率信息,计算出总应用出端口保障带宽速率,具体包括:The method of claim 5, wherein the total application outbound port guaranteed bandwidth rate is calculated according to the total application guaranteed bandwidth percentage and the port rate information, and specifically includes:根据关键应用总应用保障带宽百分比和端口速率信息,计算出关键应用总应用出端口保障带宽速率;Calculate the port-guaranteed bandwidth rate of the critical application application based on the bandwidth percentage and port rate information of the critical application.根据抑制应用总应用保障带宽百分比和端口速率信息,计算出抑制应用总应用出端口保障带宽速率;According to the percentage of the total application guaranteed bandwidth and the port rate information, the total application outbound port guaranteed bandwidth rate is calculated.根据普通应用总应用保障带宽百分比和端口速率信息,计算出普通应用总应用出端口保障带宽速率。According to the percentage of the total application guaranteed bandwidth and the port rate information of the common application, the total application outbound port guaranteed bandwidth rate is calculated.
- 如权利要求5所述的方法,其特征在于,所述根据总应用最大带宽百分比和端口速率信息,计算出总应用出端口最大带宽速率,具体包括:The method according to claim 5, wherein the calculating the maximum bandwidth rate of the total application outgoing port according to the total application maximum bandwidth percentage and the port rate information, specifically:根据关键应用总应用最大带宽百分比和端口速率信息,计算出关键应用总应用出端口最大带宽速率;Calculate the maximum bandwidth rate of the total application outbound port of the critical application according to the maximum application bandwidth percentage and port rate information of the critical application;根据拟制应用总应用最大带宽百分比和端口速率信息,计算出拟制应用总 应用出端口最大带宽速率;Calculate the total application of the proposed application based on the maximum bandwidth percentage and port rate information of the proposed application total application. Apply the maximum bandwidth rate of the outgoing port;根据普通应用总应用最大带宽百分比和端口速率信息,计算出普通应用总应用出端口最大带宽速率。The maximum bandwidth rate of the total application outbound port of the common application is calculated according to the maximum bandwidth percentage and port rate information of the general application.
- 如权利要求1所述的方法,其特征在于,在控制器上配置全网的流控策略之前,在所述控制器上设置扩展报文,所述扩展报文的格式为:The method of claim 1, wherein before the flow control policy of the entire network is configured on the controller, an extended packet is set on the controller, and the format of the extended packet is:Own MAC address字段,表示交换机的MAC地址;Own MAC address field, indicating the MAC address of the switch;Speed字段,表示交换机的端口速率;Speed field, indicating the port rate of the switch;Port id字段,表示交换机的端口。Port id field, indicating the port of the switch.
- 如权利要求4所述的方法,其特征在于,所述流表包括匹配字段和动作字段,The method of claim 4 wherein said flow table comprises a matching field and an action field.所述匹配字段包括:七层应用特征码;The matching field includes: a seven-layer application signature;所述动作字段包括应用类型、总应用出端口保障带宽速率和总应用出端口最大带宽速率;所述应用类型包括关键应用、普通应用和抑制应用;The action field includes an application type, a total application outbound guaranteed bandwidth rate, and a total application outgoing port maximum bandwidth rate; the application type includes a key application, a general application, and a suppression application;所述总应用出端口保障带宽速率,是指带宽紧张时保障此类应用的带宽速率;The total application outbound port guarantee bandwidth rate refers to the bandwidth rate of such applications when the bandwidth is tight;所述总应用出端口最大带宽速率,是指带宽充裕时最高允许此类应用占用的端口速率。The maximum bandwidth rate of the total application outgoing port refers to the maximum port rate allowed by such applications when the bandwidth is sufficient.
- 一种基于软件定义网络的应用带宽配置控制器,其特征在于,所述控制器包括:An application bandwidth configuration controller based on a software-defined network, wherein the controller comprises:第一配置模块,用于配置全网的流控策略;The first configuration module is configured to configure a flow control policy of the entire network.第二配置模块,用于根据所述流控策略配置对应的各应用类型的内容;a second configuration module, configured to configure content corresponding to each application type according to the flow control policy;第三配置模块,用于根据所述流控策略再配置各应用类型对应的总应用保障带宽百分比和总应用最大带宽百分比。The third configuration module is configured to reconfigure the total application guaranteed bandwidth percentage and the total applied maximum bandwidth percentage corresponding to each application type according to the flow control policy.
- 如权利要求10所述的控制器,其特征在于,所述第三配置模块配置各应用类型对应的总应用保障带宽百分比和总应用最大带宽百分比,具体包括:The controller according to claim 10, wherein the third configuration module configures a total application guaranteed bandwidth percentage and a total application maximum bandwidth percentage corresponding to each application type, and specifically includes:第一配置子模块,用于配置各应用类型对应的总应用保障带宽百分比;The first configuration submodule is configured to configure a percentage of the total application guarantee bandwidth corresponding to each application type;第二配置子模块,用于配置各应用类型对应的总应用最大带宽百分比; a second configuration submodule configured to configure a total application maximum bandwidth percentage corresponding to each application type;其中,所述各应用类型对应的总应用保障带宽百分比和各应用类型对应的总应用最大带宽百分比之和小于100%。The sum of the total application guaranteed bandwidth percentage corresponding to each application type and the total application maximum bandwidth percentage corresponding to each application type is less than 100%.
- 如权利要求11所述的控制器,其特征在于,在第三配置模块配置各应用类型对应的总应用保障带宽百分比和总应用最大带宽百分比之后,所述控制器还包括:The controller of claim 11, wherein after the third configuration module configures the total application support bandwidth percentage and the total application maximum bandwidth percentage corresponding to each application type, the controller further includes:第一计算模块,用于根据LLDP协议计算网络拓扑;a first calculating module, configured to calculate a network topology according to the LLDP protocol;第一接收模块,用于接收交换机上报的MAC地址信息、端口信息和端口速率信息;a first receiving module, configured to receive MAC address information, port information, and port rate information reported by the switch;第二接收模块,用于接收交换机上报的未匹配的流表报文;a second receiving module, configured to receive an unmatched flow table message reported by the switch;解析模块,用于解析接收到的所述未匹配流表的报文,得到报文MAC地址和七层应用特征码;a parsing module, configured to parse the received packet of the unmatched flow table, and obtain a packet MAC address and a seven-layer application signature;第二计算模块,用于根据所述网络拓扑、报文MAC地址及端口信息,计算转发路径;a second calculating module, configured to calculate a forwarding path according to the network topology, the packet MAC address, and the port information;第三计算模块,用于根据所述速率信息、七层应用特征码及流控策略表,计算出端口转发速率;a third calculating module, configured to calculate a port forwarding rate according to the rate information, the seven-layer application signature, and the flow control policy table;下发模块,用于根据所述转发路径及出端口转发速率,下发所述流表。The sending module is configured to deliver the flow table according to the forwarding path and the outbound port forwarding rate.
- 如权利要求12所述的控制器,其特征在于,所述第三计算模块根据所述速率信息、七层应用特征码及流控策略表,计算出端口转发速率,具体包括:The controller according to claim 12, wherein the third calculating module calculates the port forwarding rate according to the rate information, the seven-layer application signature, and the flow control policy table, and specifically includes:第一确认子模块,用于根据报文MAC地址确认流控策略类型;a first confirmation submodule, configured to confirm a flow control policy type according to a packet MAC address;第二确认子模块,用于根据所述报文七层应用特征码确认报文类型;a second confirmation submodule, configured to confirm a packet type according to the seventh layer application signature of the packet;第三确认子模块,用于根据所述报文类型确认对应的应用类型;a third confirmation submodule, configured to confirm a corresponding application type according to the packet type;获取子模块,用于根据所述应用类型获取对应的总应用保障带宽百分比和总应用最大带宽百分比;Obtaining a sub-module, configured to obtain a corresponding total application security bandwidth percentage and a total application maximum bandwidth percentage according to the application type;第一计算子模块,用于根据总应用保障带宽百分比和端口速率信息,计算出总应用出端口保障带宽速率;a first calculation submodule, configured to calculate a total application outbound port guaranteed bandwidth rate according to the total application guaranteed bandwidth percentage and the port rate information;第二计算子模块,用于根据总应用最大带宽百分比和端口速率信息,计算出总应用出端口最大带宽速率。 The second calculating submodule is configured to calculate a maximum bandwidth rate of the total application outgoing port according to the total application maximum bandwidth percentage and the port rate information.
- 如权利要求13所述的控制器,其特征在于,所述第一计算子模块根据总应用保障带宽百分比和端口速率信息,计算出总应用出端口保障带宽速率,具体包括:The controller according to claim 13, wherein the first calculating sub-module calculates the total application outgoing port guaranteed bandwidth rate according to the total application guaranteed bandwidth percentage and the port rate information, and specifically includes:第一计算子单元,用于根据关键应用总应用保障带宽百分比和端口速率信息,计算出关键应用总应用出端口保障带宽速率;The first calculating sub-unit is configured to calculate a port-guaranteed bandwidth rate of the critical application total application according to the percentage of the critical application total application guarantee bandwidth and the port rate information;第二计算子单元,用于根据抑制应用总应用保障带宽百分比和端口速率信息,计算出抑制应用总应用出端口保障带宽速率;a second calculating sub-unit, configured to calculate, according to the total application-assured bandwidth percentage and the port rate information of the application, the suppression of the total application outbound port guaranteed bandwidth rate;第三计算子单元,用于根据普通应用总应用保障带宽百分比和端口速率信息,计算出普通应用总应用出端口保障带宽速率。The third calculating sub-unit is configured to calculate a port-guaranteed bandwidth rate of the general application-out port according to the percentage of the total application-assured bandwidth and the port rate information of the common application.
- 如权利要求13所述的控制器,其特征在于,所述第二计算子模块根据总应用最大带宽百分比和端口速率信息,计算出总应用出端口最大带宽速率,具体包括:The controller according to claim 13, wherein the second calculating sub-module calculates the maximum bandwidth rate of the total application outgoing port according to the total application maximum bandwidth percentage and the port rate information, and specifically includes:第四计算子单元,用于根据关键应用总应用最大带宽百分比和端口速率信息,计算出关键应用总应用出端口最大带宽速率;a fourth calculating sub-unit, configured to calculate a maximum bandwidth rate of the total application outbound port of the critical application according to the maximum application percentage of the critical application and the port rate information;第五计算子单元,用于根据拟制应用总应用最大带宽百分比和端口速率信息,计算出拟制应用总应用出端口最大带宽速率;a fifth calculating sub-unit, configured to calculate a maximum bandwidth rate of the total application outgoing port of the proposed application according to the maximum application bandwidth percentage and port rate information of the application application;第六计算子单元,用于根据普通应用总应用最大带宽百分比和端口速率信息,计算出普通应用总应用出端口最大带宽速率。 The sixth calculating sub-unit is configured to calculate a maximum bandwidth rate of the general application outbound port of the common application according to the total application bandwidth maximum percentage and the port rate information of the common application.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610051360.3 | 2016-01-26 | ||
CN201610051360.3A CN105721346B (en) | 2016-01-26 | 2016-01-26 | A kind of application bandwidth configuration method and controller based on software defined network |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017128790A1 true WO2017128790A1 (en) | 2017-08-03 |
Family
ID=56154835
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/103895 WO2017128790A1 (en) | 2016-01-26 | 2016-10-29 | Application bandwidth configuration method and controller based on software-defined networking |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105721346B (en) |
WO (1) | WO2017128790A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10841238B2 (en) | 2017-12-20 | 2020-11-17 | At&T Intellectual Property I, L.P. | Prioritized network based on service and user device |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105721346B (en) * | 2016-01-26 | 2018-10-12 | 上海斐讯数据通信技术有限公司 | A kind of application bandwidth configuration method and controller based on software defined network |
CN109379163B (en) * | 2018-09-05 | 2021-11-23 | 新华三技术有限公司 | Message forwarding rate control method and device |
CN110380892A (en) * | 2019-06-17 | 2019-10-25 | 江门职业技术学院 | A kind of classroom band width control method, device, equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101562560A (en) * | 2008-04-18 | 2009-10-21 | 北京启明星辰信息技术股份有限公司 | Universal traffic control method and system |
CN101789904A (en) * | 2010-02-04 | 2010-07-28 | 杭州华三通信技术有限公司 | Method and equipment for controlling flow |
CN103841044A (en) * | 2014-02-27 | 2014-06-04 | 中国科学技术大学苏州研究院 | Bandwidth control method based on software-defined networking and oriented to different types of flow |
CN104639451A (en) * | 2013-11-14 | 2015-05-20 | 中兴通讯股份有限公司 | Data flow distribution method and controller |
CN105122747A (en) * | 2013-11-07 | 2015-12-02 | 华为技术有限公司 | Control device and control method in software defined network (sdn) |
CN105721346A (en) * | 2016-01-26 | 2016-06-29 | 上海斐讯数据通信技术有限公司 | Application bandwidth configuring method and controller based on software defined network |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104301248B (en) * | 2014-10-31 | 2018-04-06 | 新华三技术有限公司 | Message rate-limiting method and device |
-
2016
- 2016-01-26 CN CN201610051360.3A patent/CN105721346B/en active Active
- 2016-10-29 WO PCT/CN2016/103895 patent/WO2017128790A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101562560A (en) * | 2008-04-18 | 2009-10-21 | 北京启明星辰信息技术股份有限公司 | Universal traffic control method and system |
CN101789904A (en) * | 2010-02-04 | 2010-07-28 | 杭州华三通信技术有限公司 | Method and equipment for controlling flow |
CN105122747A (en) * | 2013-11-07 | 2015-12-02 | 华为技术有限公司 | Control device and control method in software defined network (sdn) |
CN104639451A (en) * | 2013-11-14 | 2015-05-20 | 中兴通讯股份有限公司 | Data flow distribution method and controller |
CN103841044A (en) * | 2014-02-27 | 2014-06-04 | 中国科学技术大学苏州研究院 | Bandwidth control method based on software-defined networking and oriented to different types of flow |
CN105721346A (en) * | 2016-01-26 | 2016-06-29 | 上海斐讯数据通信技术有限公司 | Application bandwidth configuring method and controller based on software defined network |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10841238B2 (en) | 2017-12-20 | 2020-11-17 | At&T Intellectual Property I, L.P. | Prioritized network based on service and user device |
US11303581B2 (en) | 2017-12-20 | 2022-04-12 | At&T Intellectual Property I, L.P. | Predictive network bandwidth adjustment based on identified future event and corresponding network service |
Also Published As
Publication number | Publication date |
---|---|
CN105721346B (en) | 2018-10-12 |
CN105721346A (en) | 2016-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114073052B (en) | Systems, methods, and computer readable media for slice-based routing | |
EP3410654B1 (en) | Transport lsp setup using selected fabric path between virtual nodes | |
EP3410652B1 (en) | Fabric path context-based forwarding for virtual nodes | |
JP7520170B2 (en) | Packet processing method and apparatus, device and system | |
EP3410653B1 (en) | Advertising selected fabric paths for service routes in virtual nodes | |
US10116559B2 (en) | Operations, administration and management (OAM) in overlay data center environments | |
EP3043517B1 (en) | Routing method, method for controlling routing, network node and control entity | |
EP2713567B1 (en) | Maintaining load balancing after service application with a network device | |
US9491063B2 (en) | Method and apparatus for providing network services orchestration | |
EP2587750B1 (en) | Addressing the large flow problem for equal cost multi-path in the datacenter | |
US9450810B2 (en) | Policy-driven automatic redundant fabric placement mechanism for virtual data centers | |
EP2747355B1 (en) | Aggregation network with centralized control | |
US8351329B2 (en) | Universal load-balancing tunnel encapsulation | |
US9807035B1 (en) | Using available bandwidths of an IP fabric to intelligently distribute data | |
EP3515015B1 (en) | Arbitrating mastership between redundant control planes of a virtual node | |
WO2017128790A1 (en) | Application bandwidth configuration method and controller based on software-defined networking | |
EP2878107A1 (en) | System, method and apparatus conforming path cost criteria across multiple abrs | |
CN107181691B (en) | Method, equipment and system for realizing message routing in network | |
US20190288946A1 (en) | Adaptive load-balancing over a multi-point logical interface | |
EP2594042A1 (en) | Sharing resource reservations among different sessions in rsvp-te | |
US9948482B2 (en) | Apparatus and method for enabling flexible key in a network switch | |
EP3879757B1 (en) | Network traffic steering among cpu cores using forwarding path elements | |
WO2021238746A1 (en) | Network system and packet transmission method therein, and related apparatus | |
WO2012119372A1 (en) | Message processing method, device and system | |
Rischke et al. | Software-defined networks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16887663 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16887663 Country of ref document: EP Kind code of ref document: A1 |