WO2017012471A1 - Load balance processing method and apparatus - Google Patents

Load balance processing method and apparatus Download PDF

Info

Publication number
WO2017012471A1
WO2017012471A1 PCT/CN2016/088798 CN2016088798W WO2017012471A1 WO 2017012471 A1 WO2017012471 A1 WO 2017012471A1 CN 2016088798 W CN2016088798 W CN 2016088798W WO 2017012471 A1 WO2017012471 A1 WO 2017012471A1
Authority
WO
WIPO (PCT)
Prior art keywords
load balancing
node
parameter
controller
service
Prior art date
Application number
PCT/CN2016/088798
Other languages
French (fr)
Chinese (zh)
Inventor
王翠
孟伟
陈然
黄孙亮
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017012471A1 publication Critical patent/WO2017012471A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1014Server selection for load balancing based on the content of a request

Definitions

  • the present invention relates to the field of communications, and in particular to a load balancing processing method and apparatus.
  • FIG. 1 is an architectural diagram of a service function chain according to the related art, as shown in FIG. 1. Then, the business path through which the traffic passes is determined by the SFC.
  • the service function chain adds different SFCs to different types of traffic by adding identifiers to each SFC and classifying traffic. That is, different service chains can be implemented for different traffic to achieve differentiated requirements.
  • a service function group with the same service function you need to have the device that supports the load balancing function on the front end. Perform some algorithms on the traffic to make the traffic be distributed to the service function group reasonably. For some low-demand services, it is recommended to use a simple load balancing algorithm to implement load balancing between service function groups. For some TCP/UDP services, you need to use a load balancing algorithm for TCP/UDP to implement service function groups. Load balancing; for high-demand services, when the processing traffic is too large, you need to dynamically add corresponding service functions to offload the traffic to implement traffic sharing for these service function groups. When the processing traffic decreases, you need to dynamically reduce the corresponding traffic.
  • the service function group saves resources; at the same time, for some traffic, it is required to keep the original connection of the traffic unchanged while dynamically adding/removing service functions;
  • the algorithms can include:
  • Static algorithm Specify multiple IPs for a server: PORT, always return the first server of the server group, and return the available servers when the first server is unavailable;
  • Random algorithm Random algorithm: According to the random algorithm Rand, randomly select a server, each server has the same hit rate;
  • Consistent hash algorithm first calculate the hash value of the server, and configure it to a circle of 0 ⁇ 2 ⁇ 23, and then use the same method to find the hash value of the stored data, and Map to the circle. Then start the clockwise search from the location where the data is mapped, save the data to the first server found, if it still cannot find the server beyond 2 ⁇ 23, it will be saved to the first server.
  • the specific algorithm idx FirstMaxServerIdx(hash(query_key)).
  • the consistency hash algorithm is suitable for each node to save only part of the data, unlike the previous algorithms, each server holds all the data. The advantage of this is that it can map the server to an interval, and this interval will include a certain number of object hash values. If a server is removed, the interval it maps to is hosted by the server adjacent to the removed server, and all other servers are unchanged; that is, the consistent hash algorithm minimizes the key on the list of service nodes. Redistribution
  • the load balancer records all current active links, and sends the next new request to the server that currently has the least number of connections; this algorithm is for TCP connections; however, the consumption of system resources may vary greatly due to different applications. However, the number of connections does not reflect the actual application load, so when using a heavy-duty Web server as a cluster server, the algorithm will be less effective in load balancing;
  • the load balancer records its own network response time to each server and assigns the incoming connection request to the server with the shortest response time. This method requires active detection using ICMP packets or UDP packet-based proprietary technologies. Each server.
  • the embodiments of the present invention provide a load balancing processing method and apparatus to solve at least the problem of how to perform load balancing processing on services in the related art.
  • a load balancing processing method including: a node receiving a load balancing parameter sent by a controller; and the node performing load balancing processing on the service traffic according to the load balancing parameter.
  • the node performs load balancing processing on the service traffic according to the load balancing parameter, where: when the node is a node that supports a load balancing function, when receiving the service traffic to be processed, the The node performs load balancing processing on the service traffic according to the load balancing parameter; or, in a case where the node is a node that does not support the load balancing function, the node uses the metadata to load the load balancing parameter. And the node that supports the load balancing function, when the node supporting the load balancing function receives the traffic to be processed, performs load balancing processing on the service traffic according to the load balancing parameter.
  • the method further includes: the node configuring the load balancing parameter.
  • the method further includes: when the node configuration is successful, the node sends a configuration success message to the controller; if the node configuration fails, the node is to the controller Send configuration failure message.
  • the method further includes: the node receiving the controller pair a request message for querying the load balancing parameter; the node sending a response message to the controller according to the request message, where the response message carries a load balancing parameter supported by the node, the response message And determining, by the controller, the optimal load balancing parameter according to the load balancing parameter required by the service of the service function chain, and the received load balancing parameter that is received by the node, and sending the parameter to the node, where
  • the optimal load balancing parameter is a load balancing parameter that matches the service according to a service characteristic.
  • the load balancing parameter carries one or more of a load balancing algorithm and a load balancing algorithm identifier for performing load balancing processing.
  • the node receives the load balancing parameter sent by the controller by using one of the following methods: OpenFlow Openflow Protocol, Network Configuration Protocol (Netconf Protocol), Simple Network Management Protocol (Simple Network Management Protocol) , referred to as the SNMP protocol, the Border Gateway Protocol-Link State (BGP-LS), and the Location-ID Separation Protocol (LISP).
  • Netconf Protocol Network Configuration Protocol
  • Simple Network Management Protocol Simple Network Management Protocol
  • BGP-LS Border Gateway Protocol-Link State
  • LISP Location-ID Separation Protocol
  • a load balancing processing method including: a controller determining a load balancing parameter; the controller transmitting the load balancing parameter to a node, where the load balancing parameter is used by the controller The node performs load balancing processing on the service traffic according to the load balancing parameter.
  • the method further includes: the controller receiving a configuration success message or a configuration failure message sent by the node.
  • the method further includes: when the node is a node supporting a load balancing function, the controller sends a message to the node The load balancing parameter is used to query the request message; the controller receives the response message sent by the node, where the response message carries the load balancing parameter supported by the node.
  • the determining, by the controller, the load balancing parameter includes: determining, by the controller, the optimal load balancing according to the load balancing parameter required by the service of the service function chain, in combination with the received load balancing parameter supported by the node. a parameter, and a load balancing parameter sent to the node, wherein the optimal load balancing parameter is a load balancing parameter that matches the service according to a service characteristic.
  • the controller sends the load balancing parameters to the node by one of the following methods: Openflow protocol, Netconf protocol, SNMP protocol, BGP-LS, and LISP protocol.
  • the load balancing parameter carries one or more of a load balancing algorithm and a load balancing algorithm identifier for performing load balancing processing.
  • a load balancing processing apparatus is further provided, which is applied to a node, including: a first receiving module, configured to receive a load balancing parameter sent by a controller; and a load balancing module configured to The load balancing parameter performs load balancing processing on service traffic.
  • the load balancing module includes: a load balancing unit configured to: when the node is a node supporting a load balancing function, when receiving the traffic to be processed, according to the load balancing parameter
  • the service traffic is load-balanced; or the delivery unit is configured to transmit the load balancing parameter to the node supporting the load balancing function by means of metadata in a case where the node is a node that does not support the load balancing function.
  • the node that supports the load balancing function performs load balancing processing on the service traffic according to the load balancing parameter when receiving the service traffic to be processed.
  • the device further includes: a configuration module, configured to configure the load balancing parameter after the node receives the load balancing parameter sent by the controller.
  • the device further includes: a first sending module, configured to send a configuration success message to the controller if the node configuration is successful; and the second sending module is configured to fail in the node configuration In the case, a configuration failure message is sent to the controller.
  • the device further includes: a second receiving module, configured to receive, when the node is a node supporting a load balancing function, a request message that the controller queries the load balancing parameter; a sending module, configured to send a response message to the controller according to the request message, where the response message carries a load balancing parameter supported by the node, where the response message is used by the controller according to the service
  • the load balancing parameter required by the service of the function chain combined with the received load balancing parameter supported by the node, determines an optimal load balancing parameter, and sends the parameter to the node, where the optimal load balancing parameter
  • a load balancing parameter that matches the service is selected according to the service characteristics.
  • the first receiving module is further configured to receive load balancing parameters sent by the controller by using one of the following methods: Openflow protocol, Netconf protocol, SNMP protocol, BGP-LS, and LISP protocol.
  • a load balancing processing apparatus is further provided, which is applied to a controller, including: a determining module, configured to determine a load balancing parameter; and a sending parameter module, configured to send the And a load balancing parameter, where the load balancing parameter is used by the node to perform load balancing processing on the service traffic according to the load balancing parameter when receiving the service traffic to be processed.
  • the apparatus further includes: a third receiving module, configured to receive a configuration success message or a configuration failure message sent by the node.
  • the device further includes: a fourth sending module, configured to send, to the node, a request message for querying the load balancing parameter, where the node is a node supporting a load balancing function;
  • the receiving module is configured to receive a response message sent by the node, where the response message carries a load balancing parameter that is supported by the node.
  • the determining module includes: a selection determining unit, configured to be required according to a service of the service function chain
  • the load balancing parameter is combined with the received load balancing parameter supported by the node to determine an optimal load balancing parameter, and is sent to the node, where the optimal load balancing parameter is selected according to service characteristics.
  • the load balancing parameters of the service match.
  • the sending parameter module is further configured to send the load balancing parameter to the node by one of the following methods: Openflow protocol, Netconf protocol, SNMP protocol, BGP-LS, LISP protocol.
  • the node receives the load balancing parameter sent by the controller; when receiving the service traffic to be processed, the node performs load balancing processing on the service traffic according to the load balancing parameter, and solves related technologies.
  • load balancing can be performed through load balancing parameters.
  • FIG. 1 is an architectural diagram of a service function chain according to the related art
  • FIG. 2 is a flowchart 1 of a load balancing processing method according to an embodiment of the present invention
  • FIG. 3 is a second flowchart of a load balancing processing method according to an embodiment of the present invention.
  • FIG. 4 is a block diagram 1 of a load balancing processing method according to an embodiment of the present invention.
  • FIG. 5 is a second block diagram of a load balancing processing method according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of implementing load balancing related parameters based on a TLV format according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of an embodiment 1 based on an Openflow protocol extension according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of an embodiment 2 extended based on an Openflow protocol according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a third embodiment based on the Netconf protocol extension according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of Embodiment 4 extended according to the Netconf protocol according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of a service function chain packet header carrying load balancing related parameters according to an embodiment of the present invention.
  • FIG. 2 is a flowchart 1 of a load balancing processing method according to an embodiment of the present invention. As shown in FIG. 2, the method includes:
  • Step S202 the node receives the load balancing parameter sent by the controller
  • Step S204 The node performs load balancing processing on the service traffic according to the load balancing parameter.
  • the node receives the load balancing parameter sent by the controller; the node performs load balancing processing on the service traffic according to the load balancing parameter, and solves the problem of how to perform load balancing processing on the service in the related technology, which can be performed through load balancing parameters.
  • Load balancing processing
  • the load balancing processing of the service traffic by the node according to the load balancing parameter may include: when the node is a node supporting the load balancing function, when receiving the service traffic to be processed, the node is configured according to the load balancing parameter The service traffic is load-balanced; or, in the case that the node is a node that does not support the load balancing function, the node transmits the load balancing parameter to the node supporting the load balancing function by using the metadata, for the supporting load.
  • the node of the equalization function performs load balancing processing on the service traffic according to the load balancing parameter.
  • the node after the node receives the load balancing parameter sent by the controller, the node configures the load balancing parameter.
  • the node sends a configuration success message to the controller; if the node configuration fails, the node sends a configuration failure message to the controller.
  • the node receives the request message that the controller queries the load balancing parameter; the node sends a response message to the controller according to the request message, where the response message carries the load balancing parameter supported by the node, and the response message
  • the load balancing parameter carries one or more of a load balancing algorithm and a load balancing algorithm identifier for performing load balancing processing.
  • the foregoing node receives the load balancing parameters sent by the controller by using one of the following methods: Openflow protocol, Netconf protocol, SNMP protocol, BGP-LS, and LISP protocol.
  • FIG. 3 is a flowchart 2 of a load balancing processing method according to an embodiment of the present invention. As shown in FIG. 3, the method includes:
  • Step S302 the controller determines a load balancing parameter
  • Step S304 the controller sends the load balancing parameter to the node, where the load balancing parameter is used by the node to perform load balancing processing on the service traffic according to the load balancing parameter.
  • the controller after the controller sends the load balancing parameter to the node, the controller receives a configuration success message or a configuration failure message sent by the node.
  • the controller Before the controller sends the load balancing parameter to the node, in case the node is a node supporting the load balancing function, the controller sends a request message for querying the load balancing parameter to the node; the controller receives the node The response message sent, where the response message carries the load balancing parameter supported by the node.
  • the determining, by the controller, the load balancing parameter may include: determining, by the controller, the optimal load balancing parameter according to the load balancing parameter required by the service of the service function chain, and the received load balancing parameter supported by the node, and sending the The node, wherein the optimal load balancing parameter is a load balancing parameter that matches the service according to a service characteristic.
  • the controller sends the load balancing parameter to the node by one of the following methods: Openflow protocol, Netconf protocol, SNMP protocol, BGP-LS, and LISP protocol.
  • the load balancing parameter carries the load balancing algorithm and/or the load balancing algorithm identifier for performing load balancing processing.
  • FIG. 4 is a block diagram 1 of a load balancing processing method according to an embodiment of the present invention. As shown in FIG. 4, the method includes:
  • the first receiving module 42 is configured to receive a load balancing parameter sent by the controller
  • the load balancing module 44 is configured to perform load balancing processing on the service traffic according to the load balancing parameter.
  • the load balancing module includes: a load balancing unit configured to load the service traffic according to the load balancing parameter when the node is a node supporting the load balancing function, when receiving the service traffic to be processed Equalization processing; or, the delivery unit is configured to, when the node is a node that does not support the load balancing function, pass the load balancing parameter to the node supporting the load balancing function by means of metadata, for supporting load balancing
  • the function node performs load balancing processing on the service traffic according to the load balancing parameter.
  • the apparatus further includes: a configuration module, configured to configure the load balancing parameter after the node receives the load balancing parameter sent by the controller.
  • the device further includes: a first sending module, configured to send a configuration success message to the controller if the node configuration is successful; and the second sending module is configured to, if the node configuration fails, to The controller sends a configuration failure message.
  • the device further includes: a second receiving module, configured to receive, when the node is a node supporting a load balancing function, a request message that the controller queries the load balancing parameter; and a third sending module, And sending a response message to the controller according to the request message, where the response message carries a load balancing parameter supported by the node, where the response message is used for load balancing required by the controller according to the service of the service function chain.
  • the parameter in combination with the received load balancing parameter supported by the node, determines an optimal load balancing parameter, and sends the parameter to the node, where the optimal load balancing parameter is selected according to the service characteristic to match the service. Load balancing parameters.
  • the first receiving module is further configured to receive load balancing parameters sent by the controller by using one of the following methods: Openflow protocol, Netconf protocol, SNMP protocol, BGP-LS, and LISP protocol.
  • FIG. 5 is a block diagram 2 of a load balancing processing method according to an embodiment of the present invention. As shown in FIG. 5, the method includes:
  • the determining module 52 is configured to determine a load balancing parameter, where the load balancing parameter carries a load balancing algorithm
  • the sending parameter module 54 is configured to send the load balancing parameter to the node, where the load balancing parameter is used by the node to perform load balancing processing on the service traffic according to the load balancing algorithm when receiving the service traffic to be processed.
  • the apparatus further includes: a third receiving module, configured to receive a configuration success message or a configuration failure message sent by the node.
  • the device further includes: a fourth sending module, configured to send, to the node, a request message for querying the load balancing parameter, where the node is a node supporting a load balancing function; and a fourth receiving module, And configured to receive a response message sent by the node, where the response message carries a load balancing parameter supported by the node;
  • the determining module includes: a selection determining unit configured to determine an optimal load balancing parameter according to the load balancing parameter required by the service of the service function chain, combined with the received load balancing parameter supported by the node, and send the And the node, wherein the optimal load balancing parameter is a load balancing parameter that matches the service according to a service characteristic.
  • the sending parameter module is further configured to send the load balancing parameter to the node by using one of the following methods: Openflow protocol, Netconf protocol, SNMP protocol, BGP-LS, and LISP protocol.
  • the above-mentioned load balancing parameters are replaced by load balancing related parameters, and the node is a receiving device as an example, which is further described in conjunction with a specific alternative embodiment.
  • the following optional embodiments combine the above-mentioned Alternative embodiments and alternative embodiments thereof.
  • the embodiment of the present invention provides a method for implementing load balancing of a service function chain, where the method includes: the controller supports the delivery of load balancing related parameters; the receiving device supports the receiving of the load balancing related parameters, and according to the received correlation
  • the parameter sets the load balancing related parameters, and/or notifies the device that needs to support the load balancing function to set the load balancing related parameters.
  • the device that supports the load balancing function receives the service traffic to be processed, the service traffic is loaded according to the configured algorithm. Balanced shunting.
  • controller delivers load balancing related parameters required by the service function chain according to the characteristics of the service in the service function chain.
  • the controller supports querying load balancing related parameters of the receiving device.
  • the controller needs to support the load balancing related parameter according to the service requirement of the service function chain, and the received receiving device supports the received
  • the load balancing related parameters are selected and sent to the receiving device. For example, for load balancing of multiple NATs, the algorithm selected by the load balancer needs to support the same traffic to the same NAT. Instead of going to this NAT for a while, go to another NAT.
  • the receiving device supports the query of the load balancing related parameter from the controller, and sends a response message to the controller according to the load balancing related parameter that is supported by the controller; further, the receiving device may be a classifier Classifier, and the service function is forwarded. Service Function Forwarder, any of the Service Function Service Functions.
  • the classifier or the device that does not need to support the load balancing function may notify the load balancing related parameter to the required supporting load by using a metadata metadata manner.
  • a device that balances functions, and the device further configures load balancing parameters according to the received parameters.
  • the configuration is performed according to the received load balancing related parameters.
  • controller can implement the load balancing related parameter delivery by extending the Openflow protocol, the Netconf protocol, the SNMP protocol, the BGP-LS, and the LISP protocol.
  • the load balancing related parameters include information such as a load balancing algorithm and a load balancing algorithm identifier.
  • FIG. 6 is a schematic diagram of implementing load balancing related parameters based on the TLV format according to an embodiment of the present invention. As shown in FIG. 6, one byte (8-bit) is used to identify different load balancing algorithms, including but not limited to the following algorithms and identifiers:
  • the embodiment of the present invention is based on the Openflow open flow protocol extension, and defines a new Openflow message for load balancing.
  • the load balancing related parameter may be directly delivered, or may be actively distributed.
  • the device After the request message is sent to the receiving device to obtain the capability of the receiving device, the device performs the delivery according to the negotiated load balancing parameter.
  • the Openflow load balancing message includes the following:
  • FIG. 7 is a schematic diagram of a first embodiment of an OpenFlow protocol according to an embodiment of the present invention.
  • both service function 1 and service function 2 are NAT services, and a data packet arrives at a service function forwarder (Service Function Forwarder1, When it is abbreviated as SFF1), it is necessary to determine which service function NAT is processed by the data packet according to the load balancing algorithm, including:
  • Step 1 The Openflow controller sends a load balancing parameter configuration message to the SFF1 that needs to support load balancing.
  • the message is used to configure the service function forwarder SFF1, such as configuring a service function chain load balancing related parameter.
  • Step 2 After the configuration is successful, the service function forwarder SFF1 replies to the Openflow controller with a reply message carrying the parameter configuration success.
  • Step 3 After the configuration fails, the service function forwarder SFF1 replies to the Openflow controller with a reply message carrying the parameter configuration failure.
  • Step 4 When the data packet is forwarded to the service function forwarder SFF1, the data packet is calculated according to the load balancing algorithm, and the calculation result is the service function SF2, and then the packet is forwarded to the service function SF2 for processing;
  • FIG. 8 is a schematic diagram of the second embodiment of the OpenFlow protocol according to the embodiment of the present invention.
  • both the service function 1 and the service function 2 are NAT services, and data packets arrive.
  • the service function forwarder SFF1 it is determined according to the load balancing algorithm, which service function NAT is processed by the data packet, including:
  • Step 1 The Openflow controller queries the load balancing related parameters of the SFF1 that need to support load balancing.
  • Step 2 The service function forwarder SFF1 sends a reply message to the Openflow controller, which carries the load balancing related parameters supported by itself.
  • Step 3 After receiving the reply message sent by the service function forwarder SFF1, the Openflow controller sends a suitable configuration message to the service function forwarder SFF1 according to the load balancing related parameters required by the service function chain's own service requirements. To configure load balancing related parameters.
  • Step 4 After the configuration is successful, the service function forwarder SFF1 replies to the Openflow controller with a reply message carrying the parameter configuration success.
  • Step 5 After the configuration fails, the SFF1 replies to the Openflow controller with a reply message carrying the parameter configuration failure;
  • Step 6 When the data packet is forwarded to the service function repeater SFF1, the data packet is calculated according to the load balancing algorithm, and the calculation result is the service function SF2, and then the packet is forwarded to the service function SF2 for processing.
  • FIG. 9 is a schematic diagram of a third embodiment of the network extension according to the embodiment of the present invention.
  • both the service function 1 and the service function 2 are NAT services, and when the data packet arrives at the service function forwarder SFF1, The load balancing algorithm determines which service function NAT is processed by the data packet, including:
  • Step 1 The Openflow configuration point queries the load balancing related parameters on the SFF1 that need to support load balancing.
  • Step 2 The service function forwarder SFF1 replies to the Openflow configuration point with a remote program call protocol reply message, which carries the load balancing related parameters supported by itself.
  • Step 3 After receiving the remote program call protocol reply message, the Openflow configuration point sends an edit configuration message to the service function forwarder SFF1 to configure the load balancing related parameter according to the load balancing related parameter required by the service function chain itself.
  • Step 4 After the configuration is successful, the service function forwarder SFF1 replies to the Openflow configuration point with a remote program call protocol reply message carrying the parameter configuration success.
  • Step 5 After the configuration fails, the service function forwarder SFF1 replies to the Openflow configuration point with a remote program call protocol reply message carrying the error information.
  • Step 6 When the data packet is forwarded to the service function repeater SFF1, the data packet is calculated according to the load balancing algorithm, and the calculation result is the service function SF2, and then the packet is forwarded to the service function SF2 for processing.
  • FIG. 10 is a schematic diagram of a fourth embodiment of the present invention, in which the service function 1 and the service function 2 are NAT services, and the data packets arrive at the service function forwarder SFF1 according to the embodiment of the present invention.
  • the load balancing algorithm determines which service function NAT is processed by the data packet.
  • the service function forwarder SFF1 does not support the delivery of load balancing related parameters from the controller Netconf; the classifier Classifier supports the delivery of load balancing related parameters from the controller Netconf, including:
  • Step 1 The Openflow configuration point sends an edit configuration message to the classifier Classifier, where the message is used to configure the classifier classifier, such as configuring a load balancing related parameter of the service function chain.
  • Step 2 After the configuration is successful, the classifier Classifier replies to the Openflow configuration point with a remote program call protocol reply message carrying the parameter configuration success.
  • Step 3 After the configuration fails, the classifier Classifier replies to the Openflow configuration point with a remote program call protocol reply message carrying the error information.
  • Step 4 The data packet arrives at the classifier Classifier, and the classifier classifies the packet, and finds that the data packet is The SFF1 needs to support the load balancing function in the service function path.
  • the Classifier encapsulates the load balancing related parameters in the metadata Metadata of the service function packet header.
  • FIG. 11 is a service function chain according to an embodiment of the present invention.
  • the packet header carries the load balancing related parameters.
  • the packet encapsulation format is as shown in Figure 11. As the packet is forwarded to the service function forwarder SFF1, the SFF1 extracts the load balancing related parameter information of the metadata Metadata. The load is balanced and the data packets are distributed to the corresponding service function SF2 for processing.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the foregoing embodiments of the present invention can be applied to the field of communications, and solve the problem of how to perform load balancing processing on services in the related art, and can perform load balancing processing through load balancing parameters.

Landscapes

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

Abstract

Disclosed are a load balance processing method and apparatus. The method comprises: a node receiving a load balance parameter sent by a controller; and upon receiving service traffic to be processed, the node conducting load balance processing on the service traffic according to the load balance parameter. The problem of how to perform load balance processing on a service in the relevant art is solved, and the load balance processing can be performed via a load balance parameter.

Description

负载均衡处理方法及装置Load balancing processing method and device 技术领域Technical field
本发明涉及通信领域,具体而言,涉及负载均衡处理方法及装置。The present invention relates to the field of communications, and in particular to a load balancing processing method and apparatus.
背景技术Background technique
目前提出了一种业务功能链的方式SFC(Service Function Chain),即把所有的业务整合,虚拟出Service overlay层,形成自己的服务拓扑,和底层网络解耦合,不再受到底层网络结构的限制,图1是根据相关技术中的业务功能链的架构图,如图1所示。然后,流量所要经过的业务路径由SFC决定。业务功能链通过增加对每条SFC的标识,并对流量进行分类,给不同类别的流量分配不同的SFC,即针对不同的流量,可以实施不同的业务功能链处理,实现差异化需求。At present, a service function chain (SFC) is proposed, which integrates all services and virtualizes the Service overlay layer to form its own service topology, which is decoupled from the underlying network and is no longer restricted by the underlying network structure. FIG. 1 is an architectural diagram of a service function chain according to the related art, as shown in FIG. 1. Then, the business path through which the traffic passes is determined by the SFC. The service function chain adds different SFCs to different types of traffic by adding identifiers to each SFC and classifying traffic. That is, different service chains can be implemented for different traffic to achieve differentiated requirements.
对于业务功能一样的业务功能组,需要有支持负载均衡功能的设备在前端,对流量进行一些算法,使得流量合理地分散到业务功能组上。对于某些低需求业务,推荐使用简单的负载均衡算法实现业务功能组之间的负载均衡;对于某些TCP/UDP业务,需要使用适用于TCP/UDP的负载均衡算法实现业务功能组之间的负载均衡;对于高需求的业务,当处理流量过大时,需要动态增加相应的业务功能来对这些流量进行分流,实现对这些业务功能组的流量分担,当处理流量减少时,需要动态减少相应的业务功能组来节省资源;同时,对于某些流量,要求在动态增加/删除业务功能的同时,能保持流量的原有连接不变;For a service function group with the same service function, you need to have the device that supports the load balancing function on the front end. Perform some algorithms on the traffic to make the traffic be distributed to the service function group reasonably. For some low-demand services, it is recommended to use a simple load balancing algorithm to implement load balancing between service function groups. For some TCP/UDP services, you need to use a load balancing algorithm for TCP/UDP to implement service function groups. Load balancing; for high-demand services, when the processing traffic is too large, you need to dynamically add corresponding service functions to offload the traffic to implement traffic sharing for these service function groups. When the processing traffic decreases, you need to dynamically reduce the corresponding traffic. The service function group saves resources; at the same time, for some traffic, it is required to keep the original connection of the traffic unchanged while dynamically adding/removing service functions;
同时,我们发现现有多种负载均衡的算法,每种都有其优势和劣势,算法可以包括:At the same time, we find that there are many load balancing algorithms, each with its advantages and disadvantages. The algorithms can include:
静态算法(Static算法):为一个服务器指定多个IP:PORT,总是返回服务器组的第一个服务器,当第一个服务器不可用的时候,才返回后续可用的服务器;Static algorithm (Static algorithm): Specify multiple IPs for a server: PORT, always return the first server of the server group, and return the available servers when the first server is unavailable;
随机算法(Random算法):根据随机算法Rand,随便选取一台服务器,每台服务器的命中率一样;Random algorithm (Random algorithm): According to the random algorithm Rand, randomly select a server, each server has the same hit rate;
轮询算法(Round-robin算法):典型的平均主义,idx=(idx+1)%M,和随机算法的原理一致,每台服务器的命中率一样;但是,相同的请求会被落到不同的服务器上;Polling algorithm (Round-robin algorithm): typical egalitarianism, idx=(idx+1)%M, consistent with the principle of random algorithm, the hit rate is the same for each server; however, the same request will be dropped On the server;
哈希算法(Hash算法):又叫取余算法,将query_key作为键值进行Hash,然后取余,选取一个服务器进行连接;具体算法为idx=hash(query_key)%M;这种算法简单,数据的分散性好,但是,当添加或者移除服务器时,余数会发生变化,这样就无法获取与之前相同的服务器;Hash algorithm (Hash algorithm): Also called the remainder algorithm, hash_key is hashed as the key value, and then the remainder is selected to select a server to connect; the specific algorithm is idx=hash(query_key)%M; this algorithm is simple, the data The dispersion is good, but when adding or removing servers, the remainder will change, so you can't get the same server as before;
CARP算法(Cache Array Routing Protocol算法):缓存群组路由协议。计算全部服务器的idx_key=hash(query_key+server_idx),其中,计算得到idx_key最大的server_idx就是需要的idx服务器;算法相对复杂一些,但是新增或者删除一台服务器时,不会引起已存服务器的重新 选择;CARP algorithm (Cache Array Routing Protocol): Cache group routing protocol. Calculate the idx_key=hash(query_key+server_idx) of all servers, where the server_idx with the largest idx_key is the required idx server; the algorithm is relatively complicated, but when a server is added or deleted, it will not cause the server to be re-created. select;
一致性哈希算法(Consistent hash算法):首先算出服务器的哈希值,并将其配置到0~2^23的圆上,然后用同样的方法求出存储数据的健的哈希值,并映射到圆上。然后从数据映射到的位置开始顺时针查找,将数据保存到找到的第一个服务器上,如果超过2^23仍然找不到服务器,就会保存到第一台服务器上。具体算法idx=FirstMaxServerIdx(hash(query_key))。一致性哈希算法适用于每个节点只保存部分数据,而不像前面的几种算法,每个服务器保存全部数据。这样做的好处是能够把服务器映射到一段interval上,而这段interval就会包括一定数目的对象的hash值。如果某台服务器被移除,那么它映射到的interval被和移除服务器相邻的服务器托管,其他所有服务器不变;也就是说一致性哈希算法最大程度的避免了key在服务节点列表上的重新分布;Consistent hash algorithm: first calculate the hash value of the server, and configure it to a circle of 0~2^23, and then use the same method to find the hash value of the stored data, and Map to the circle. Then start the clockwise search from the location where the data is mapped, save the data to the first server found, if it still cannot find the server beyond 2^23, it will be saved to the first server. The specific algorithm idx=FirstMaxServerIdx(hash(query_key)). The consistency hash algorithm is suitable for each node to save only part of the data, unlike the previous algorithms, each server holds all the data. The advantage of this is that it can map the server to an interval, and this interval will include a certain number of object hash values. If a server is removed, the interval it maps to is hosted by the server adjacent to the removed server, and all other servers are unchanged; that is, the consistent hash algorithm minimizes the key on the list of service nodes. Redistribution
最少连接法:负载均衡器记录当前所有活跃链接,把下一个新的请求发给当前含有最少连接数的服务器;这种算法针对TCP连接进行;但由于不同应用对系统资源的消耗可能差异很大,而连接数无法反映出真实的应用负载,因此在使用重型Web服务器作为集群服务器时,该算法在负载均衡的效果上要打折扣;Least connection method: The load balancer records all current active links, and sends the next new request to the server that currently has the least number of connections; this algorithm is for TCP connections; however, the consumption of system resources may vary greatly due to different applications. However, the number of connections does not reflect the actual application load, so when using a heavy-duty Web server as a cluster server, the algorithm will be less effective in load balancing;
最快响应法:负载均衡器记录自身到每一个服务器的网络响应时间,并将到达的连接请求分配给响应时间最短的服务器,这种方法要求使用ICMP包或基于UDP包的专用技术来主动探测各服务器。Fastest response method: The load balancer records its own network response time to each server and assigns the incoming connection request to the server with the shortest response time. This method requires active detection using ICMP packets or UDP packet-based proprietary technologies. Each server.
当前网络中,根据业务特性不一样,业务功能链上发生负载均衡时,会选择不同的负载均衡算法;但是,负载均衡器上并不知道选择何种算法作为对应业务的负载均衡算法。In the current network, different load balancing algorithms are selected when load balancing occurs on the service function chain. However, the load balancer does not know which algorithm to use as the load balancing algorithm for the corresponding service.
针对相关技术中如何对业务进行负载均衡处理的问题,还未提出有效的解决方案。An effective solution has not been proposed for the problem of how to load balance the service in the related art.
发明内容Summary of the invention
本发明实施例提供了负载均衡处理方法及装置,以至少解决相关技术中如何对业务进行负载均衡处理的问题。The embodiments of the present invention provide a load balancing processing method and apparatus to solve at least the problem of how to perform load balancing processing on services in the related art.
根据本发明实施例的一个方面,提供了一种负载均衡处理方法,包括:节点接收控制器发送的负载均衡参数;所述节点根据所述负载均衡参数对业务流量进行负载均衡处理。According to an aspect of the embodiments of the present invention, a load balancing processing method is provided, including: a node receiving a load balancing parameter sent by a controller; and the node performing load balancing processing on the service traffic according to the load balancing parameter.
进一步地,所述节点根据所述负载均衡参数对所述业务流量进行负载均衡处理包括:在所述节点为支持负载均衡功能的节点的情况下,在接收到待处理的业务流量时,所述节点根据所述负载均衡参数对所述业务流量进行负载均衡处理;或者,在所述节点为不支持负载均衡功能的节点的情况下,所述节点通过元数据的方式,将所述负载均衡参数传递给支持负载均衡功能的节点,供所述支持负载均衡功能的节点在接收到待处理的业务流量时,根据所述负载均衡参数对所述业务流量进行负载均衡处理。Further, the node performs load balancing processing on the service traffic according to the load balancing parameter, where: when the node is a node that supports a load balancing function, when receiving the service traffic to be processed, the The node performs load balancing processing on the service traffic according to the load balancing parameter; or, in a case where the node is a node that does not support the load balancing function, the node uses the metadata to load the load balancing parameter. And the node that supports the load balancing function, when the node supporting the load balancing function receives the traffic to be processed, performs load balancing processing on the service traffic according to the load balancing parameter.
进一步地,在所述节点接收控制器发送的负载均衡参数之后,所述方法还包括:所述节点对所述负载均衡参数进行配置。 Further, after the node receives the load balancing parameter sent by the controller, the method further includes: the node configuring the load balancing parameter.
进一步地,所述方法还包括:在所述节点配置成功的情况下,所述节点向所述控制器发送配置成功消息;在所述节点配置失败的情况下,所述节点向所述控制器发送配置失败消息。Further, the method further includes: when the node configuration is successful, the node sends a configuration success message to the controller; if the node configuration fails, the node is to the controller Send configuration failure message.
进一步地,在所述节点为支持负载均衡功能的节点的情况下,在所述节点接收所述控制器发送的负载均衡参数之前,所述方法还包括:所述节点接收所述控制器对所述负载均衡参数进行查询的请求消息;所述节点根据所述请求消息向所述控制器发送响应消息,其中,所述响应消息中携带有所述节点已支持的负载均衡参数,所述响应消息用于所述控制器根据业务功能链的业务所需要的负载均衡参数,结合接收到的所述节点已支持的负载均衡参数,确定最优的负载均衡参数,并发送给所述节点,其中,所述最优的负载均衡参数为根据业务特性选择与所述业务匹配的负载均衡参数。Further, in the case that the node is a node supporting a load balancing function, before the node receives the load balancing parameter sent by the controller, the method further includes: the node receiving the controller pair a request message for querying the load balancing parameter; the node sending a response message to the controller according to the request message, where the response message carries a load balancing parameter supported by the node, the response message And determining, by the controller, the optimal load balancing parameter according to the load balancing parameter required by the service of the service function chain, and the received load balancing parameter that is received by the node, and sending the parameter to the node, where The optimal load balancing parameter is a load balancing parameter that matches the service according to a service characteristic.
进一步地,所述负载均衡参数中携带有用于进行负载均衡处理的负载均衡算法和负载均衡算法标识中的一项或多项。Further, the load balancing parameter carries one or more of a load balancing algorithm and a load balancing algorithm identifier for performing load balancing processing.
进一步地,所述节点通过以下方法之一接收所述控制器发送的负载均衡参数:开放流Openflow协议,网络配置协议(Network Configuration Protocol,简称为Netconf协议),简单网络管理协议(Simple Network Management Protocol,简称为SNMP协议),边界网关协议链路状态(Border Gateway Protocol-Link State,简称为BGP-LS),位置和身份标识分离协议(Location-ID Separation Protocol,简称为LISP协议)。Further, the node receives the load balancing parameter sent by the controller by using one of the following methods: OpenFlow Openflow Protocol, Network Configuration Protocol (Netconf Protocol), Simple Network Management Protocol (Simple Network Management Protocol) , referred to as the SNMP protocol, the Border Gateway Protocol-Link State (BGP-LS), and the Location-ID Separation Protocol (LISP).
根据本发明实施例的另一方面,提供了一种负载均衡处理方法,包括:控制器确定负载均衡参数;所述控制器向节点发送所述负载均衡参数,所述负载均衡参数用于所述节点根据所述负载均衡参数对所述业务流量进行负载均衡处理。According to another aspect of an embodiment of the present invention, a load balancing processing method is provided, including: a controller determining a load balancing parameter; the controller transmitting the load balancing parameter to a node, where the load balancing parameter is used by the controller The node performs load balancing processing on the service traffic according to the load balancing parameter.
进一步地,在所述控制器向所述节点发送所述负载均衡参数之后,所述方法还包括:所述控制器接收所述节点发送的配置成功消息或配置失败消息。Further, after the controller sends the load balancing parameter to the node, the method further includes: the controller receiving a configuration success message or a configuration failure message sent by the node.
进一步地,在所述控制器向节点发送所述负载均衡参数之前,所述方法还包括:在所述节点为支持负载均衡功能的节点的情况下,所述控制器向所述节点发送对所述负载均衡参数进行查询的请求消息;所述控制器接收所述节点发送的响应消息,其中,所述响应消息中携带有所述节点已支持的负载均衡参数。Further, before the controller sends the load balancing parameter to the node, the method further includes: when the node is a node supporting a load balancing function, the controller sends a message to the node The load balancing parameter is used to query the request message; the controller receives the response message sent by the node, where the response message carries the load balancing parameter supported by the node.
进一步地,控制器确定所述负载均衡参数包括:所述控制器根据业务功能链的业务所需要的负载均衡参数,结合接收到的所述节点已支持的负载均衡参数,确定最优的负载均衡参数,并发送给所述节点的负载均衡参数,其中,所述最优的负载均衡参数为根据业务特性选择与所述业务匹配的负载均衡参数。Further, the determining, by the controller, the load balancing parameter includes: determining, by the controller, the optimal load balancing according to the load balancing parameter required by the service of the service function chain, in combination with the received load balancing parameter supported by the node. a parameter, and a load balancing parameter sent to the node, wherein the optimal load balancing parameter is a load balancing parameter that matches the service according to a service characteristic.
进一步地,所述控制器通过以下方法之一向所述节点发送所述负载均衡参数:Openflow协议,Netconf协议,SNMP协议,BGP-LS,LISP协议。Further, the controller sends the load balancing parameters to the node by one of the following methods: Openflow protocol, Netconf protocol, SNMP protocol, BGP-LS, and LISP protocol.
进一步地,所述负载均衡参数中携带有用于进行负载均衡处理的负载均衡算法和负载均衡算法标识中的一项或多项。 Further, the load balancing parameter carries one or more of a load balancing algorithm and a load balancing algorithm identifier for performing load balancing processing.
根据本发明实施例的另一方面,还提供了一种负载均衡处理装置,应用于节点,包括:第一接收模块,设置为接收控制器发送的负载均衡参数;负载均衡模块,设置为根据所述负载均衡参数对业务流量进行负载均衡处理。According to another aspect of the present invention, a load balancing processing apparatus is further provided, which is applied to a node, including: a first receiving module, configured to receive a load balancing parameter sent by a controller; and a load balancing module configured to The load balancing parameter performs load balancing processing on service traffic.
进一步地,所述负载均衡模块包括:负载均衡单元,设置为在所述节点为支持负载均衡功能的节点的情况下,在接收到待处理的业务流量时,根据所述负载均衡参数对所述业务流量进行负载均衡处理;或者,传递单元,设置为在所述节点为不支持负载均衡功能的节点的情况下,通过元数据的方式,将所述负载均衡参数传递给支持负载均衡功能的节点,供所述支持负载均衡功能的节点在接收到待处理的业务流量时,根据所述负载均衡参数对所述业务流量进行负载均衡处理。Further, the load balancing module includes: a load balancing unit configured to: when the node is a node supporting a load balancing function, when receiving the traffic to be processed, according to the load balancing parameter The service traffic is load-balanced; or the delivery unit is configured to transmit the load balancing parameter to the node supporting the load balancing function by means of metadata in a case where the node is a node that does not support the load balancing function. The node that supports the load balancing function performs load balancing processing on the service traffic according to the load balancing parameter when receiving the service traffic to be processed.
进一步地,所述装置还包括:配置模块,设置为在所述节点接收控制器发送的负载均衡参数之后,对所述负载均衡参数进行配置。Further, the device further includes: a configuration module, configured to configure the load balancing parameter after the node receives the load balancing parameter sent by the controller.
进一步地,所述装置还包括:第一发送模块,设置为在所述节点配置成功的情况下,向所述控制器发送配置成功消息;第二发送模块,设置为在所述节点配置失败的情况下,向所述控制器发送配置失败消息。Further, the device further includes: a first sending module, configured to send a configuration success message to the controller if the node configuration is successful; and the second sending module is configured to fail in the node configuration In the case, a configuration failure message is sent to the controller.
进一步地,所述装置还包括:第二接收模块,设置为在所述节点为支持负载均衡功能的节点的情况下,接收所述控制器对所述负载均衡参数进行查询的请求消息;第三发送模块,设置为根据所述请求消息向所述控制器发送响应消息,其中,所述响应消息中携带有所述节点已支持的负载均衡参数,所述响应消息用于所述控制器根据业务功能链的业务所需要的负载均衡参数,结合接收到的所述节点已支持的负载均衡参数,确定最优的负载均衡参数,并发送给所述节点,其中,所述最优的负载均衡参数为根据业务特性选择与所述业务匹配的负载均衡参数。Further, the device further includes: a second receiving module, configured to receive, when the node is a node supporting a load balancing function, a request message that the controller queries the load balancing parameter; a sending module, configured to send a response message to the controller according to the request message, where the response message carries a load balancing parameter supported by the node, where the response message is used by the controller according to the service The load balancing parameter required by the service of the function chain, combined with the received load balancing parameter supported by the node, determines an optimal load balancing parameter, and sends the parameter to the node, where the optimal load balancing parameter A load balancing parameter that matches the service is selected according to the service characteristics.
进一步地,所述第一接收模块还设置为通过以下方法之一接收所述控制器发送的负载均衡参数:Openflow协议,Netconf协议,SNMP协议,BGP-LS,LISP协议。Further, the first receiving module is further configured to receive load balancing parameters sent by the controller by using one of the following methods: Openflow protocol, Netconf protocol, SNMP protocol, BGP-LS, and LISP protocol.
根据本发明实施例的再一方面,还提供了一种负载均衡处理装置,应用于控制器,包括:确定模块,设置为确定负载均衡参数;发送参数模块,设置为向所述节点发送所述负载均衡参数,所述负载均衡参数用于所述节点在接收到待处理的业务流量时,根据所述负载均衡参数对所述业务流量进行负载均衡处理。According to still another aspect of the embodiments of the present invention, a load balancing processing apparatus is further provided, which is applied to a controller, including: a determining module, configured to determine a load balancing parameter; and a sending parameter module, configured to send the And a load balancing parameter, where the load balancing parameter is used by the node to perform load balancing processing on the service traffic according to the load balancing parameter when receiving the service traffic to be processed.
进一步地,所述装置还包括:第三接收模块,设置为接收所述节点发送的配置成功消息或配置失败消息。Further, the apparatus further includes: a third receiving module, configured to receive a configuration success message or a configuration failure message sent by the node.
进一步地,所述装置还包括:第四发送模块,设置为在所述节点为支持负载均衡功能的节点的情况下,向所述节点发送对所述负载均衡参数进行查询的请求消息;第四接收模块,设置为接收所述节点发送的响应消息,其中,所述响应消息中携带有所述节点已支持的负载均衡参数。Further, the device further includes: a fourth sending module, configured to send, to the node, a request message for querying the load balancing parameter, where the node is a node supporting a load balancing function; The receiving module is configured to receive a response message sent by the node, where the response message carries a load balancing parameter that is supported by the node.
进一步地,所述确定模块包括:选择确定单元,设置为根据业务功能链的业务所需要的 负载均衡参数,结合接收到的所述节点已支持的负载均衡参数,确定最优的负载均衡参数,并发送给所述节点,其中,所述最优的负载均衡参数为根据业务特性选择与所述业务匹配的负载均衡参数。Further, the determining module includes: a selection determining unit, configured to be required according to a service of the service function chain The load balancing parameter is combined with the received load balancing parameter supported by the node to determine an optimal load balancing parameter, and is sent to the node, where the optimal load balancing parameter is selected according to service characteristics. The load balancing parameters of the service match.
进一步地,所述发送参数模块还设置为通过以下方法之一向所述节点发送所述负载均衡参数:Openflow协议,Netconf协议,SNMP协议,BGP-LS,LISP协议。Further, the sending parameter module is further configured to send the load balancing parameter to the node by one of the following methods: Openflow protocol, Netconf protocol, SNMP protocol, BGP-LS, LISP protocol.
通过本发明实施例,采用节点接收控制器发送的负载均衡参数;在接收到待处理的业务流量时,所述节点根据所述负载均衡参数对所述业务流量进行负载均衡处理,解决了相关技术中如何对业务进行负载均衡处理的问题,能够通过负载均衡参数进行负载均衡处理。According to the embodiment of the present invention, the node receives the load balancing parameter sent by the controller; when receiving the service traffic to be processed, the node performs load balancing processing on the service traffic according to the load balancing parameter, and solves related technologies. In the problem of how to load balance the service, load balancing can be performed through load balancing parameters.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据相关技术中的业务功能链的架构图;1 is an architectural diagram of a service function chain according to the related art;
图2是根据本发明实施例的负载均衡处理方法的流程图一;2 is a flowchart 1 of a load balancing processing method according to an embodiment of the present invention;
图3是根据本发明实施例的负载均衡处理方法的流程图二;3 is a second flowchart of a load balancing processing method according to an embodiment of the present invention;
图4是根据本发明实施例的负载均衡处理方法的框图一;4 is a block diagram 1 of a load balancing processing method according to an embodiment of the present invention;
图5是根据本发明实施例的负载均衡处理方法的框图二;FIG. 5 is a second block diagram of a load balancing processing method according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的基于TLV格式实现负载均衡相关参数的示意图;6 is a schematic diagram of implementing load balancing related parameters based on a TLV format according to an embodiment of the present invention;
图7是根据本发明实施例的基于Openflow协议扩展实施例一的示意图;FIG. 7 is a schematic diagram of an embodiment 1 based on an Openflow protocol extension according to an embodiment of the present invention; FIG.
图8是根据本发明实施例的基于Openflow协议扩展实施例二的示意图;FIG. 8 is a schematic diagram of an embodiment 2 extended based on an Openflow protocol according to an embodiment of the present invention; FIG.
图9是根据本发明实施例的基于Netconf协议扩展实施例三的示意图;FIG. 9 is a schematic diagram of a third embodiment based on the Netconf protocol extension according to an embodiment of the present invention; FIG.
图10是根据本发明实施例的基于Netconf协议扩展实施例四的示意图;FIG. 10 is a schematic diagram of Embodiment 4 extended according to the Netconf protocol according to an embodiment of the present invention; FIG.
图11是根据本发明实施例的业务功能链报文头携带负载均衡相关参数的示意图。FIG. 11 is a schematic diagram of a service function chain packet header carrying load balancing related parameters according to an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
本发明实施例提供了一种负载均衡处理方法,图2是根据本发明实施例的负载均衡处理方法的流程图一,如图2所示,包括:The embodiment of the present invention provides a load balancing processing method, and FIG. 2 is a flowchart 1 of a load balancing processing method according to an embodiment of the present invention. As shown in FIG. 2, the method includes:
步骤S202,节点接收控制器发送的负载均衡参数; Step S202, the node receives the load balancing parameter sent by the controller;
步骤S204,节点根据该负载均衡参数对业务流量进行负载均衡处理。Step S204: The node performs load balancing processing on the service traffic according to the load balancing parameter.
通过上述步骤,节点接收控制器发送的负载均衡参数;该节点根据该负载均衡参数对业务流量进行负载均衡处理,解决了相关技术中如何对业务进行负载均衡处理的问题,能够通过负载均衡参数进行负载均衡处理。Through the above steps, the node receives the load balancing parameter sent by the controller; the node performs load balancing processing on the service traffic according to the load balancing parameter, and solves the problem of how to perform load balancing processing on the service in the related technology, which can be performed through load balancing parameters. Load balancing processing.
节点根据该负载均衡参数对该业务流量进行负载均衡处理可以包括:在该节点为支持负载均衡功能的节点的情况下,在接收到待处理的业务流量时,该节点根据该负载均衡参数对该业务流量进行负载均衡处理;或者,在该节点为不支持负载均衡功能的节点的情况下,该节点通过元数据的方式,将该负载均衡参数传递给支持负载均衡功能的节点,供该支持负载均衡功能的节点在接收到待处理的业务流量时,根据该负载均衡参数对该业务流量进行负载均衡处理。The load balancing processing of the service traffic by the node according to the load balancing parameter may include: when the node is a node supporting the load balancing function, when receiving the service traffic to be processed, the node is configured according to the load balancing parameter The service traffic is load-balanced; or, in the case that the node is a node that does not support the load balancing function, the node transmits the load balancing parameter to the node supporting the load balancing function by using the metadata, for the supporting load. When receiving the traffic to be processed, the node of the equalization function performs load balancing processing on the service traffic according to the load balancing parameter.
在一个可选的实施例中,在该节点接收控制器发送的负载均衡参数之后,该节点对负载均衡参数进行配置。In an optional embodiment, after the node receives the load balancing parameter sent by the controller, the node configures the load balancing parameter.
进一步地,在该节点配置成功的情况下,该节点向该控制器发送配置成功消息;在该节点配置失败的情况下,该节点向该控制器发送配置失败消息。Further, in the case that the node configuration is successful, the node sends a configuration success message to the controller; if the node configuration fails, the node sends a configuration failure message to the controller.
节点接收该控制器对该负载均衡参数进行查询的请求消息;该节点根据该请求消息向该控制器发送响应消息,其中,该响应消息中携带有该节点已支持的负载均衡参数,该响应消息用于该控制器根据业务功能链的业务所需要的负载均衡参数,结合接收到的该节点已支持的负载均衡参数,确定最优的负载均衡参数,并发送给该节点,其中,所述最优的负载均衡参数为根据业务特性选择与所述业务匹配的负载均衡参数。The node receives the request message that the controller queries the load balancing parameter; the node sends a response message to the controller according to the request message, where the response message carries the load balancing parameter supported by the node, and the response message The load balancing parameter required by the controller according to the service of the service function chain, combined with the received load balancing parameter supported by the node, determines an optimal load balancing parameter, and sends the optimal load balancing parameter to the node, where the most The optimal load balancing parameter is to select a load balancing parameter that matches the service according to the service characteristic.
进一步地,上述的负载均衡参数中携带有用于进行负载均衡处理的负载均衡算法和负载均衡算法标识中的一项或多项。Further, the load balancing parameter carries one or more of a load balancing algorithm and a load balancing algorithm identifier for performing load balancing processing.
进一步地,上述的节点通过以下方法之一接收控制器发送的负载均衡参数:Openflow协议,Netconf协议,SNMP协议,BGP-LS,LISP协议。Further, the foregoing node receives the load balancing parameters sent by the controller by using one of the following methods: Openflow protocol, Netconf protocol, SNMP protocol, BGP-LS, and LISP protocol.
本发明实施例还提供了一种负载均衡处理方法,图3是根据本发明实施例的负载均衡处理方法的流程图二,如图3所示,包括:The embodiment of the present invention further provides a load balancing processing method, and FIG. 3 is a flowchart 2 of a load balancing processing method according to an embodiment of the present invention. As shown in FIG. 3, the method includes:
步骤S302,控制器确定负载均衡参数;Step S302, the controller determines a load balancing parameter;
步骤S304,控制器向该节点发送该负载均衡参数,该负载均衡参数用于该节点根据该负载均衡参数对业务流量进行负载均衡处理。Step S304, the controller sends the load balancing parameter to the node, where the load balancing parameter is used by the node to perform load balancing processing on the service traffic according to the load balancing parameter.
在一个可选的实施例中,在该控制器向该节点发送负载均衡参数之后,该控制器接收该节点发送的配置成功消息或配置失败消息。In an optional embodiment, after the controller sends the load balancing parameter to the node, the controller receives a configuration success message or a configuration failure message sent by the node.
在控制器向节点发送负载均衡参数之前,在所述节点为支持负载均衡功能的节点的情况下,该控制器向该节点发送对该负载均衡参数进行查询的请求消息;该控制器接收该节点发送的响应消息,其中,该响应消息中携带有该节点已支持的负载均衡参数。 Before the controller sends the load balancing parameter to the node, in case the node is a node supporting the load balancing function, the controller sends a request message for querying the load balancing parameter to the node; the controller receives the node The response message sent, where the response message carries the load balancing parameter supported by the node.
控制器确定该负载均衡参数可以包括:该控制器根据业务功能链的业务所需要的负载均衡参数,结合接收到的该节点已支持的负载均衡参数,确定最优的负载均衡参数,并发送给该节点,其中,所述最优的负载均衡参数为根据业务特性选择与所述业务匹配的负载均衡参数。The determining, by the controller, the load balancing parameter may include: determining, by the controller, the optimal load balancing parameter according to the load balancing parameter required by the service of the service function chain, and the received load balancing parameter supported by the node, and sending the The node, wherein the optimal load balancing parameter is a load balancing parameter that matches the service according to a service characteristic.
控制器通过以下方法之一向该节点发送该负载均衡参数:Openflow协议,Netconf协议,SNMP协议,BGP-LS,LISP协议。The controller sends the load balancing parameter to the node by one of the following methods: Openflow protocol, Netconf protocol, SNMP protocol, BGP-LS, and LISP protocol.
进一步地,上述的负载均衡参数中携带有用于进行负载均衡处理的负载均衡算法和/或负载均衡算法标识。Further, the load balancing parameter carries the load balancing algorithm and/or the load balancing algorithm identifier for performing load balancing processing.
本发明实施例提供了一种负载均衡处理装置,应用于节点,图4是根据本发明实施例的负载均衡处理方法的框图一,如图4所示,包括:The embodiment of the present invention provides a load balancing processing apparatus, which is applied to a node. FIG. 4 is a block diagram 1 of a load balancing processing method according to an embodiment of the present invention. As shown in FIG. 4, the method includes:
第一接收模块42,设置为接收控制器发送的负载均衡参数;The first receiving module 42 is configured to receive a load balancing parameter sent by the controller;
负载均衡模块44,设置为根据该负载均衡参数对业务流量进行负载均衡处理。The load balancing module 44 is configured to perform load balancing processing on the service traffic according to the load balancing parameter.
进一步地,该负载均衡模块包括:负载均衡单元,设置为在该节点为支持负载均衡功能的节点的情况下,在接收到待处理的业务流量时,根据该负载均衡参数对该业务流量进行负载均衡处理;或者,传递单元,设置为在该节点为不支持负载均衡功能的节点的情况下,通过元数据的方式,将该负载均衡参数传递给支持负载均衡功能的节点,供该支持负载均衡功能的节点在接收到待处理的业务流量时,根据该负载均衡参数对该业务流量进行负载均衡处理。Further, the load balancing module includes: a load balancing unit configured to load the service traffic according to the load balancing parameter when the node is a node supporting the load balancing function, when receiving the service traffic to be processed Equalization processing; or, the delivery unit is configured to, when the node is a node that does not support the load balancing function, pass the load balancing parameter to the node supporting the load balancing function by means of metadata, for supporting load balancing When receiving the traffic to be processed, the function node performs load balancing processing on the service traffic according to the load balancing parameter.
进一步地,该装置还包括:配置模块,设置为在该节点接收控制器发送的负载均衡参数之后,对该负载均衡参数进行配置。Further, the apparatus further includes: a configuration module, configured to configure the load balancing parameter after the node receives the load balancing parameter sent by the controller.
进一步地,该装置还包括:第一发送模块,设置为在该节点配置成功的情况下,向该控制器发送配置成功消息;第二发送模块,设置为在该节点配置失败的情况下,向该控制器发送配置失败消息。Further, the device further includes: a first sending module, configured to send a configuration success message to the controller if the node configuration is successful; and the second sending module is configured to, if the node configuration fails, to The controller sends a configuration failure message.
进一步地,该装置还包括:第二接收模块,设置为在所述节点为支持负载均衡功能的节点的情况下,接收该控制器对该负载均衡参数进行查询的请求消息;第三发送模块,设置为根据该请求消息向该控制器发送响应消息,其中,该响应消息中携带有该节点已支持的负载均衡参数,该响应消息用于该控制器根据业务功能链的业务所需要的负载均衡参数,结合接收到的该节点已支持的负载均衡参数,确定最优的负载均衡参数,并发送给该节点,其中,所述最优的负载均衡参数为根据业务特性选择与所述业务匹配的负载均衡参数。Further, the device further includes: a second receiving module, configured to receive, when the node is a node supporting a load balancing function, a request message that the controller queries the load balancing parameter; and a third sending module, And sending a response message to the controller according to the request message, where the response message carries a load balancing parameter supported by the node, where the response message is used for load balancing required by the controller according to the service of the service function chain. The parameter, in combination with the received load balancing parameter supported by the node, determines an optimal load balancing parameter, and sends the parameter to the node, where the optimal load balancing parameter is selected according to the service characteristic to match the service. Load balancing parameters.
进一步地,上述的第一接收模块还设置为通过以下方法之一接收控制器发送的负载均衡参数:Openflow协议,Netconf协议,SNMP协议,BGP-LS,LISP协议。Further, the first receiving module is further configured to receive load balancing parameters sent by the controller by using one of the following methods: Openflow protocol, Netconf protocol, SNMP protocol, BGP-LS, and LISP protocol.
本发明实施例还提供了一种负载均衡处理装置,应用于控制器,图5是根据本发明实施例的负载均衡处理方法的框图二,如图5所示,包括: The embodiment of the present invention further provides a load balancing processing device, which is applied to a controller. FIG. 5 is a block diagram 2 of a load balancing processing method according to an embodiment of the present invention. As shown in FIG. 5, the method includes:
确定模块52,设置为确定负载均衡参数,其中,该负载均衡参数中携带有负载均衡算法;The determining module 52 is configured to determine a load balancing parameter, where the load balancing parameter carries a load balancing algorithm;
发送参数模块54,设置为向该节点发送该负载均衡参数,该负载均衡参数用于该节点在接收到待处理的业务流量时,根据该负载均衡算法对该业务流量进行负载均衡处理。The sending parameter module 54 is configured to send the load balancing parameter to the node, where the load balancing parameter is used by the node to perform load balancing processing on the service traffic according to the load balancing algorithm when receiving the service traffic to be processed.
进一步地,该装置还包括:第三接收模块,设置为接收该节点发送的配置成功消息或配置失败消息。Further, the apparatus further includes: a third receiving module, configured to receive a configuration success message or a configuration failure message sent by the node.
进一步地,该装置还包括:第四发送模块,设置为在所述节点为支持负载均衡功能的节点的情况下,向该节点发送对该负载均衡参数进行查询的请求消息;第四接收模块,设置为接收该节点发送的响应消息,其中,该响应消息中携带有该节点已支持的负载均衡参数;Further, the device further includes: a fourth sending module, configured to send, to the node, a request message for querying the load balancing parameter, where the node is a node supporting a load balancing function; and a fourth receiving module, And configured to receive a response message sent by the node, where the response message carries a load balancing parameter supported by the node;
进一步地,该确定模块包括:选择确定单元,设置为根据业务功能链的业务所需要的负载均衡参数,结合接收到的该节点已支持的负载均衡参数,确定最优的负载均衡参数,并发送给该节点,其中,所述最优的负载均衡参数为根据业务特性选择与所述业务匹配的负载均衡参数。Further, the determining module includes: a selection determining unit configured to determine an optimal load balancing parameter according to the load balancing parameter required by the service of the service function chain, combined with the received load balancing parameter supported by the node, and send the And the node, wherein the optimal load balancing parameter is a load balancing parameter that matches the service according to a service characteristic.
进一步地,该发送参数模块还设置为通过以下方法之一向该节点发送该负载均衡参数:Openflow协议,Netconf协议,SNMP协议,BGP-LS,LISP协议。Further, the sending parameter module is further configured to send the load balancing parameter to the node by using one of the following methods: Openflow protocol, Netconf protocol, SNMP protocol, BGP-LS, and LISP protocol.
针对相关技术中存在的上述问题,下面以负载均衡相关参数代替上述的负载均衡参数,节点为接收设备为例,结合具体的可选实施例进行进一步说明,下述可选实施例结合了上述可选实施例及其可选实施方式。For the above-mentioned problems in the related art, the above-mentioned load balancing parameters are replaced by load balancing related parameters, and the node is a receiving device as an example, which is further described in conjunction with a specific alternative embodiment. The following optional embodiments combine the above-mentioned Alternative embodiments and alternative embodiments thereof.
本发明实施例提供了一种业务功能链实现负载均衡的方法,所述方法包括:控制器支持负载均衡相关参数的下发;接收设备支持上述负载均衡相关参数的接收,并根据接收到的相关参数设置负载均衡相关参数,和/或通知需要支持负载均衡功能的设备设置其负载均衡相关参数;当支持负载均衡功能的设备接收到待处理的业务流量时,根据配置的算法对业务流量进行负载均衡分流。The embodiment of the present invention provides a method for implementing load balancing of a service function chain, where the method includes: the controller supports the delivery of load balancing related parameters; the receiving device supports the receiving of the load balancing related parameters, and according to the received correlation The parameter sets the load balancing related parameters, and/or notifies the device that needs to support the load balancing function to set the load balancing related parameters. When the device that supports the load balancing function receives the service traffic to be processed, the service traffic is loaded according to the configured algorithm. Balanced shunting.
进一步地,控制器根据业务功能链中业务的特性,下发业务功能链所需负载均衡相关参数。Further, the controller delivers load balancing related parameters required by the service function chain according to the characteristics of the service in the service function chain.
进一步地,控制器支持对接收设备的负载均衡相关参数的查询。Further, the controller supports querying load balancing related parameters of the receiving device.
进一步地,接收到来自于接收设备的已支持的负载均衡相关参数的查询响应后,控制器根据业务功能链自身的业务需求所需要的负载均衡相关参数,结合接收到的所述接收设备已支持的负载均衡相关参数,选择最优的负载均衡相关参数下发给所述接收设备,例如,对于实现多个NAT的负载均衡,需要负载均衡器选择的算法支持相同的流量到同一个NAT上,而不是一会到这个NAT,过一会到另外一个NAT。Further, after receiving the query response from the supported load balancing related parameters of the receiving device, the controller needs to support the load balancing related parameter according to the service requirement of the service function chain, and the received receiving device supports the received The load balancing related parameters are selected and sent to the receiving device. For example, for load balancing of multiple NATs, the algorithm selected by the load balancer needs to support the same traffic to the same NAT. Instead of going to this NAT for a while, go to another NAT.
进一步地,接收设备支持来自于控制器的负载均衡相关参数的查询,并根据自身已支持的负载均衡相关参数,发送响应消息给控制器;进一步地,接收设备可以是分类器Classifier,业务功能转发器Service Function Forwarder,业务功能Service Function任意之一。 Further, the receiving device supports the query of the load balancing related parameter from the controller, and sends a response message to the controller according to the load balancing related parameter that is supported by the controller; further, the receiving device may be a classifier Classifier, and the service function is forwarded. Service Function Forwarder, any of the Service Function Service Functions.
进一步地,当接收设备是分类器Classifier或者是不需要支持负载均衡功能的设备时,分类器或者不需要支持负载均衡功能的设备可以通过元数据metadata的方式将负载均衡相关参数通知给需要支持负载均衡功能的设备,该设备进一步根据接收到的参数进行负载均衡参数的配置。Further, when the receiving device is a classifier classifier or a device that does not need to support the load balancing function, the classifier or the device that does not need to support the load balancing function may notify the load balancing related parameter to the required supporting load by using a metadata metadata manner. A device that balances functions, and the device further configures load balancing parameters according to the received parameters.
进一步地,当接收设备是需要支持负载均衡功能的设备本身时,则根据接收到的负载均衡相关参数进行配置。Further, when the receiving device is the device itself that needs to support the load balancing function, the configuration is performed according to the received load balancing related parameters.
进一步地,控制器可以通过Openflow协议,Netconf协议,SNMP协议,BGP-LS,LISP协议等的扩展,实现负载均衡相关参数的下发。Further, the controller can implement the load balancing related parameter delivery by extending the Openflow protocol, the Netconf protocol, the SNMP protocol, the BGP-LS, and the LISP protocol.
进一步地,负载均衡相关参数包括负载均衡算法、负载均衡算法标识等信息。Further, the load balancing related parameters include information such as a load balancing algorithm and a load balancing algorithm identifier.
对于负载均衡相关参数的下发,主要涉及负载均衡算法的下发,本发明实施例使用TLV格式扩展报文结构,图6是根据本发明实施例的基于TLV格式实现负载均衡相关参数的示意图,如图6所示,其中,使用一个字节(8-bit)来标识不同的负载均衡算法,包括但不限于如下算法及标识:For the delivery of the load balancing related parameters, the load balancing algorithm is mainly deployed, and the embodiment of the present invention uses the TLV format to extend the message structure. FIG. 6 is a schematic diagram of implementing load balancing related parameters based on the TLV format according to an embodiment of the present invention. As shown in FIG. 6, one byte (8-bit) is used to identify different load balancing algorithms, including but not limited to the following algorithms and identifiers:
0000 0001:标识静态算法;0000 0001: identifies a static algorithm;
0000 0010:标识随机算法;0000 0010: Identify a random algorithm;
0000 0011:标识轮询算法;0000 0011: identification polling algorithm;
0000 0100:标识哈希算法;0000 0100: identifies a hash algorithm;
0000 0101:标识CARP算法;0000 0101: Identify the CARP algorithm;
0000 0110:标识一致性哈希算法;0000 0110: Identify a consistent hash algorithm;
0000 0111:标识最少链接算法;0000 0111: Identify the least link algorithm;
0000 1000:标识最快响应算法;0000 1000: Identify the fastest response algorithm;
等等。and many more.
下面结合具体实施例对本发明实施例进行进一步说明。The embodiments of the present invention are further described below in conjunction with specific embodiments.
实施例一 Embodiment 1
本发明实施例基于Openflow开流协议扩展,定义了一个新的Openflow消息用于负载均衡,当控制器需要针对某类业务实现负载均衡时,可以直接下发负载均衡相关参数,或者会主动下发请求查询消息到接收设备,获取接收设备能力后,再根据协商出的负载均衡参数,进行下发;Openflow负载均衡消息包括如下:The embodiment of the present invention is based on the Openflow open flow protocol extension, and defines a new Openflow message for load balancing. When the controller needs to implement load balancing for a certain type of service, the load balancing related parameter may be directly delivered, or may be actively distributed. After the request message is sent to the receiving device to obtain the capability of the receiving device, the device performs the delivery according to the negotiated load balancing parameter. The Openflow load balancing message includes the following:
/*controller load sharing message*//*controller load sharing message*/
OFPT_LOAD_SHARING_SET     控制器设置参数 OFPT_LOAD_SHARING_SET controller setting parameters
OFPT_LOAD_SHARING_REQUEST   控制器请求参数OFPT_LOAD_SHARING_REQUEST controller request parameter
OFPT_LOAD_SHARING_REPLY   交换机回复控制器OFPT_LOAD_SHARING_REPLY switch reply controller
图7是根据本发明实施例的基于Openflow协议扩展实施例一的示意图,如图7所示,业务功能1和业务功能2均是NAT业务,数据报文到达业务功能转发器(Service Function Forwarder1,简称为SFF1)时,需要根据负载均衡算法确定数据报文到底由哪个业务功能NAT处理,包括:FIG. 7 is a schematic diagram of a first embodiment of an OpenFlow protocol according to an embodiment of the present invention. As shown in FIG. 7, both service function 1 and service function 2 are NAT services, and a data packet arrives at a service function forwarder (Service Function Forwarder1, When it is abbreviated as SFF1), it is necessary to determine which service function NAT is processed by the data packet according to the load balancing algorithm, including:
步骤1,Openflow控制器向需要支持负载均衡的SFF1发送负载均衡参数配置消息,该消息用来对所述业务功能转发器SFF1进行配置,如配置业务功能链负载均衡相关参数。Step 1: The Openflow controller sends a load balancing parameter configuration message to the SFF1 that needs to support load balancing. The message is used to configure the service function forwarder SFF1, such as configuring a service function chain load balancing related parameter.
步骤2,配置成功后,所述业务功能转发器SFF1向Openflow控制器回复携带参数配置成功的回复消息。Step 2: After the configuration is successful, the service function forwarder SFF1 replies to the Openflow controller with a reply message carrying the parameter configuration success.
步骤3,配置失败后,所述业务功能转发器SFF1向Openflow控制器回复携带参数配置失败的回复消息。Step 3: After the configuration fails, the service function forwarder SFF1 replies to the Openflow controller with a reply message carrying the parameter configuration failure.
步骤4,数据报文转发到所述业务功能转发器SFF1时,根据负载均衡算法对数据报文进行计算,发现计算结果是业务功能SF2,于是将报文转发到业务功能SF2上进行处理;Step 4: When the data packet is forwarded to the service function forwarder SFF1, the data packet is calculated according to the load balancing algorithm, and the calculation result is the service function SF2, and then the packet is forwarded to the service function SF2 for processing;
实施例二 Embodiment 2
基于上述实施例一中Openflow扩展,图8是根据本发明实施例的基于Openflow协议扩展实施例二的示意图,如图8所示,业务功能1和业务功能2均是NAT业务,数据报文到达业务功能转发器SFF1时,需要根据负载均衡算法确定数据报文到底由哪个业务功能NAT处理,包括:Based on the Openflow extension in the first embodiment, FIG. 8 is a schematic diagram of the second embodiment of the OpenFlow protocol according to the embodiment of the present invention. As shown in FIG. 8, both the service function 1 and the service function 2 are NAT services, and data packets arrive. When the service function forwarder SFF1 is used, it is determined according to the load balancing algorithm, which service function NAT is processed by the data packet, including:
步骤1,Openflow控制器查询需要支持负载均衡的SFF1的负载均衡相关参数。 Step 1. The Openflow controller queries the load balancing related parameters of the SFF1 that need to support load balancing.
步骤2,所述业务功能转发器SFF1向Openflow控制器发送回复消息,其中携带自身支持的负载均衡相关参数。Step 2: The service function forwarder SFF1 sends a reply message to the Openflow controller, which carries the load balancing related parameters supported by itself.
步骤3,Openflow控制器收到所述业务功能转发器SFF1发送的回复消息后,结合业务功能链自身的业务需求所需要的负载均衡相关参数,向所述业务功能转发器SFF1发送合适的配置消息来配置负载均衡相关参数。Step 3: After receiving the reply message sent by the service function forwarder SFF1, the Openflow controller sends a suitable configuration message to the service function forwarder SFF1 according to the load balancing related parameters required by the service function chain's own service requirements. To configure load balancing related parameters.
步骤4,配置成功后,所述业务功能转发器SFF1向Openflow控制器回复携带参数配置成功的回复消息。Step 4: After the configuration is successful, the service function forwarder SFF1 replies to the Openflow controller with a reply message carrying the parameter configuration success.
步骤5,配置失败后,所述SFF1向Openflow控制器回复携带参数配置失败的回复消息;Step 5: After the configuration fails, the SFF1 replies to the Openflow controller with a reply message carrying the parameter configuration failure;
步骤6,数据报文转发到所述业务功能转发器SFF1时,根据负载均衡算法对数据报文进行计算,发现计算结果是业务功能SF2,于是将报文转发到业务功能SF2上进行处理。 Step 6: When the data packet is forwarded to the service function repeater SFF1, the data packet is calculated according to the load balancing algorithm, and the calculation result is the service function SF2, and then the packet is forwarded to the service function SF2 for processing.
实施例三 Embodiment 3
图9是根据本发明实施例的基于Netconf协议扩展实施例三的示意图,如图9所示,业务功能1和业务功能2均是NAT业务,数据报文到达业务功能转发器SFF1时,需要根据负载均衡算法确定数据报文到底由哪个业务功能NAT处理,包括:FIG. 9 is a schematic diagram of a third embodiment of the network extension according to the embodiment of the present invention. As shown in FIG. 9 , both the service function 1 and the service function 2 are NAT services, and when the data packet arrives at the service function forwarder SFF1, The load balancing algorithm determines which service function NAT is processed by the data packet, including:
步骤1,Openflow配置点查询需要支持负载均衡的SFF1上的负载均衡相关参数。 Step 1. The Openflow configuration point queries the load balancing related parameters on the SFF1 that need to support load balancing.
步骤2,所述业务功能转发器SFF1向Openflow配置点回复远程程序调用协议回复消息,其中携带自身支持的负载均衡相关参数。Step 2: The service function forwarder SFF1 replies to the Openflow configuration point with a remote program call protocol reply message, which carries the load balancing related parameters supported by itself.
步骤3,Openflow配置点收到远程程序调用协议回复消息后,结合业务功能链自身的业务需求所需要的负载均衡相关参数,向所述业务功能转发器SFF1发送编辑配置消息来配置负载均衡相关参数。Step 3: After receiving the remote program call protocol reply message, the Openflow configuration point sends an edit configuration message to the service function forwarder SFF1 to configure the load balancing related parameter according to the load balancing related parameter required by the service function chain itself. .
步骤4,配置成功后,所述业务功能转发器SFF1向Openflow配置点回复携带参数配置成功的远程程序调用协议回复消息。Step 4: After the configuration is successful, the service function forwarder SFF1 replies to the Openflow configuration point with a remote program call protocol reply message carrying the parameter configuration success.
步骤5,配置失败后,所述业务功能转发器SFF1向Openflow配置点回复携带错误信息的远程程序调用协议回复消息。Step 5: After the configuration fails, the service function forwarder SFF1 replies to the Openflow configuration point with a remote program call protocol reply message carrying the error information.
步骤6,数据报文转发到所述业务功能转发器SFF1时,根据负载均衡算法对数据报文进行计算,发现计算结果是业务功能SF2,于是将报文转发到业务功能SF2上进行处理。Step 6: When the data packet is forwarded to the service function repeater SFF1, the data packet is calculated according to the load balancing algorithm, and the calculation result is the service function SF2, and then the packet is forwarded to the service function SF2 for processing.
实施例四 Embodiment 4
图10是根据本发明实施例的基于Netconf协议扩展实施例四的示意图,如图10所示,业务功能1和业务功能2均是NAT业务,数据报文到达业务功能转发器SFF1时,需要根据负载均衡算法确定数据报文到底由哪个业务功能NAT处理。但是,业务功能转发器SFF1并不支持来自于控制器Netconf的负载均衡相关参数的下发;分类器Classifier支持来自于控制器Netconf的负载均衡相关参数的下发,包括:FIG. 10 is a schematic diagram of a fourth embodiment of the present invention, in which the service function 1 and the service function 2 are NAT services, and the data packets arrive at the service function forwarder SFF1 according to the embodiment of the present invention. The load balancing algorithm determines which service function NAT is processed by the data packet. However, the service function forwarder SFF1 does not support the delivery of load balancing related parameters from the controller Netconf; the classifier Classifier supports the delivery of load balancing related parameters from the controller Netconf, including:
步骤1,Openflow配置点向分类器Classifier发送编辑配置消息,该消息用来对所述分类器Classifier进行配置,如配置业务功能链负载均衡相关参数。Step 1: The Openflow configuration point sends an edit configuration message to the classifier Classifier, where the message is used to configure the classifier classifier, such as configuring a load balancing related parameter of the service function chain.
步骤2,配置成功后,所述分类器Classifier向Openflow配置点回复携带参数配置成功的远程程序调用协议回复消息。Step 2: After the configuration is successful, the classifier Classifier replies to the Openflow configuration point with a remote program call protocol reply message carrying the parameter configuration success.
步骤3,配置失败后,所述分类器Classifier向Openflow配置点回复携带错误信息的远程程序调用协议回复消息。Step 3: After the configuration fails, the classifier Classifier replies to the Openflow configuration point with a remote program call protocol reply message carrying the error information.
步骤4,数据报文到达所述分类器Classifier,分类器对报文进行分类,发现该数据报文经 历的业务功能路径中存在一个SFF1需要支持负载均衡功能,于是,所述Classifier将负载均衡相关参数封装在业务功能报文头的元数据Metadata中,图11是根据本发明实施例的业务功能链报文头携带负载均衡相关参数的示意图,报文封装格式如图11所示,随着报文转发到所述业务功能转发器SFF1,该SFF1提取出元数据Metadata的负载均衡相关参数信息,进行负载均衡,将数据报文分发到相应的业务功能SF2上去处理。Step 4: The data packet arrives at the classifier Classifier, and the classifier classifies the packet, and finds that the data packet is The SFF1 needs to support the load balancing function in the service function path. The Classifier encapsulates the load balancing related parameters in the metadata Metadata of the service function packet header. FIG. 11 is a service function chain according to an embodiment of the present invention. The packet header carries the load balancing related parameters. The packet encapsulation format is as shown in Figure 11. As the packet is forwarded to the service function forwarder SFF1, the SFF1 extracts the load balancing related parameter information of the metadata Metadata. The load is balanced and the data packets are distributed to the corresponding service function SF2 for processing.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
上述的本发明实施例,可以应用于通信领域,解决了相关技术中如何对业务进行负载均衡处理的问题,能够通过负载均衡参数进行负载均衡处理。 The foregoing embodiments of the present invention can be applied to the field of communications, and solve the problem of how to perform load balancing processing on services in the related art, and can perform load balancing processing through load balancing parameters.

Claims (24)

  1. 一种负载均衡处理方法,包括:A load balancing processing method includes:
    节点接收控制器发送的负载均衡参数;The node receives the load balancing parameter sent by the controller;
    所述节点根据所述负载均衡参数对业务流量进行负载均衡处理。The node performs load balancing processing on the service traffic according to the load balancing parameter.
  2. 根据权利要求1所述的方法,其中,所述节点根据所述负载均衡参数对所述业务流量进行负载均衡处理包括:The method of claim 1, wherein the performing load balancing processing on the service traffic by the node according to the load balancing parameter comprises:
    在所述节点为支持负载均衡功能的节点的情况下,在接收到待处理的业务流量时,所述节点根据所述负载均衡参数对所述业务流量进行负载均衡处理;或者,When the node is a node that supports the load balancing function, when receiving the service traffic to be processed, the node performs load balancing processing on the service traffic according to the load balancing parameter; or
    在所述节点为不支持负载均衡功能的节点的情况下,所述节点通过元数据的方式,将所述负载均衡参数传递给支持负载均衡功能的节点,供所述支持负载均衡功能的节点在接收到待处理的业务流量时,根据所述负载均衡参数对所述业务流量进行负载均衡处理。In the case that the node is a node that does not support the load balancing function, the node transmits the load balancing parameter to a node supporting the load balancing function by means of metadata, and the node supporting the load balancing function is in the node. When receiving the service traffic to be processed, load balancing the service traffic according to the load balancing parameter.
  3. 根据权利要求2所述的方法,其中,在所述节点接收控制器发送的负载均衡参数之后,所述方法还包括:The method of claim 2, wherein after the node receives the load balancing parameter sent by the controller, the method further comprises:
    所述节点对所述负载均衡参数进行配置。The node configures the load balancing parameter.
  4. 根据权利要求3所述的方法,其中,所述方法还包括:The method of claim 3, wherein the method further comprises:
    在所述节点配置成功的情况下,所述节点向所述控制器发送配置成功消息;In the case that the node configuration is successful, the node sends a configuration success message to the controller;
    在所述节点配置失败的情况下,所述节点向所述控制器发送配置失败消息。In the event that the node configuration fails, the node sends a configuration failure message to the controller.
  5. 根据权利要求2所述的方法,其中,在所述节点为支持负载均衡功能的节点的情况下,在所述节点接收所述控制器发送的负载均衡参数之前,所述方法还包括:The method of claim 2, wherein, before the node is a node that supports the load balancing function, before the node receives the load balancing parameter sent by the controller, the method further includes:
    所述节点接收所述控制器对所述负载均衡参数进行查询的请求消息;Receiving, by the node, a request message that the controller queries the load balancing parameter;
    所述节点根据所述请求消息向所述控制器发送响应消息;Sending, by the node, a response message to the controller according to the request message;
    其中,所述响应消息中携带有所述节点已支持的负载均衡参数,所述响应消息用于所述控制器根据业务功能链的业务所需要的负载均衡参数,结合接收到的所述节点已支持的负载均衡参数,确定最优的负载均衡参数,并发送给所述节点,其中,所述最优的负载均衡参数为根据业务特性选择与所述业务匹配的负载均衡参数。The response message carries the load balancing parameter supported by the node, and the response message is used by the controller according to the load balancing parameter required by the service of the service function chain, and the received node is already combined. The load balancing parameter is determined, and the optimal load balancing parameter is determined and sent to the node, where the optimal load balancing parameter is a load balancing parameter that matches the service according to the service characteristic.
  6. 根据权利要求1至5中任一项所述的方法,其中,所述负载均衡参数中携带有用于进行负载均衡处理的负载均衡算法和负载均衡算法标识中的一项或多项。The method according to any one of claims 1 to 5, wherein the load balancing parameter carries one or more of a load balancing algorithm and a load balancing algorithm identifier for performing load balancing processing.
  7. 根据权利要求1至5中任一项所述的方法,其中,所述节点通过以下方法之一接收所述控制器发送的负载均衡参数:The method according to any one of claims 1 to 5, wherein the node receives a load balancing parameter sent by the controller by one of the following methods:
    开放流Openflow协议,网络配置协议Netconf协议,简单网络管理协议SNMP协议, 边界网关协议链路状态BGP-LS,位置和身份标识分离协议LISP协议。Open flow Openflow protocol, network configuration protocol Netconf protocol, simple network management protocol SNMP protocol, Border Gateway Protocol Link State BGP-LS, Location and Identity Separation Protocol LISP Protocol.
  8. 一种负载均衡处理方法,包括:A load balancing processing method includes:
    控制器确定负载均衡参数;The controller determines a load balancing parameter;
    所述控制器向节点发送所述负载均衡参数,所述负载均衡参数用于所述节点根据所述负载均衡参数对业务流量进行负载均衡处理。The controller sends the load balancing parameter to the node, where the load balancing parameter is used by the node to perform load balancing processing on the service traffic according to the load balancing parameter.
  9. 根据权利要求8所述的方法,其中,在所述控制器向所述节点发送所述负载均衡参数之后,所述方法还包括:The method of claim 8, wherein after the controller sends the load balancing parameter to the node, the method further comprises:
    所述控制器接收所述节点发送的配置成功消息或配置失败消息。The controller receives a configuration success message or a configuration failure message sent by the node.
  10. 根据权利要求9所述的方法,其中,在所述控制器向节点发送所述负载均衡参数之前,所述方法还包括:The method of claim 9, wherein before the controller sends the load balancing parameter to a node, the method further comprises:
    在所述节点为支持负载均衡功能的节点的情况下,所述控制器向所述节点发送对所述负载均衡参数进行查询的请求消息;In a case that the node is a node that supports a load balancing function, the controller sends a request message for querying the load balancing parameter to the node;
    所述控制器接收所述节点发送的响应消息,其中,所述响应消息中携带有所述节点已支持的负载均衡参数。The controller receives a response message sent by the node, where the response message carries a load balancing parameter that is supported by the node.
  11. 根据权利要求10所述的方法,其中,所述控制器确定所述负载均衡参数包括:The method of claim 10 wherein said controller determines said load balancing parameters comprises:
    所述控制器根据业务功能链的业务所需要的负载均衡参数,结合接收到的所述节点已支持的负载均衡参数,确定最优的负载均衡参数,并发送给所述节点,其中,所述最优的负载均衡参数为根据业务特性选择与所述业务匹配的负载均衡参数。The controller determines an optimal load balancing parameter according to the load balancing parameter required by the service of the service function chain, and the received load balancing parameter supported by the node, and sends the parameter to the node, where the The optimal load balancing parameter is to select a load balancing parameter that matches the service according to the service characteristic.
  12. 根据权利要求8至11中任一项所述的方法,其中,所述控制器通过以下方法之一向所述节点发送所述负载均衡参数:The method according to any one of claims 8 to 11, wherein the controller transmits the load balancing parameter to the node by one of the following methods:
    开放流Openflow协议,网络配置协议Netconf协议,简单网络管理协议SNMP协议,边界网关协议链路状态BGP-LS,位置和身份标识分离协议LISP协议。Open flow Openflow protocol, network configuration protocol Netconf protocol, simple network management protocol SNMP protocol, border gateway protocol link state BGP-LS, location and identity separation protocol LISP protocol.
  13. 根据权利要求8至11中任一项所述的方法,其中,所述负载均衡参数中携带有用于进行负载均衡处理的负载均衡算法和负载均衡算法标识中的一项或多项。The method according to any one of claims 8 to 11, wherein the load balancing parameter carries one or more of a load balancing algorithm and a load balancing algorithm identifier for performing load balancing processing.
  14. 一种负载均衡处理装置,应用于节点,包括:A load balancing processing device is applied to a node, including:
    第一接收模块,设置为接收控制器发送的负载均衡参数;a first receiving module, configured to receive a load balancing parameter sent by the controller;
    负载均衡模块,设置为根据所述负载均衡参数对业务流量进行负载均衡处理。The load balancing module is configured to perform load balancing processing on the service traffic according to the load balancing parameter.
  15. 根据权利要求14所述的装置,其中,所述负载均衡模块包括:The apparatus of claim 14, wherein the load balancing module comprises:
    负载均衡单元,设置为在所述节点为支持负载均衡功能的节点的情况下,在接收到待处理的业务流量时,根据所述负载均衡参数对所述业务流量进行负载均衡处理;或者, a load balancing unit configured to load balance the service traffic according to the load balancing parameter when the node is a node that supports the load balancing function; or
    传递单元,设置为在所述节点为不支持负载均衡功能的节点的情况下,通过元数据的方式,将所述负载均衡参数传递给支持负载均衡功能的节点,供所述支持负载均衡功能的节点在接收到待处理的业务流量时,根据所述负载均衡参数对所述业务流量进行负载均衡处理。a delivery unit, configured to: when the node is a node that does not support the load balancing function, pass the load balancing parameter to a node supporting the load balancing function by using metadata, for the load balancing function When receiving the service traffic to be processed, the node performs load balancing processing on the service traffic according to the load balancing parameter.
  16. 根据权利要求15所述的装置,其中,所述装置还包括:The apparatus of claim 15 wherein said apparatus further comprises:
    配置模块,设置为在所述节点接收控制器发送的负载均衡参数之后,对所述负载均衡参数进行配置。The configuration module is configured to configure the load balancing parameter after the node receives the load balancing parameter sent by the controller.
  17. 根据权利要求16所述的装置,其中,所述装置还包括:The apparatus of claim 16 wherein said apparatus further comprises:
    第一发送模块,设置为在所述节点配置成功的情况下,向所述控制器发送配置成功消息;a first sending module, configured to send a configuration success message to the controller if the node configuration is successful;
    第二发送模块,设置为在所述节点配置失败的情况下,向所述控制器发送配置失败消息。The second sending module is configured to send a configuration failure message to the controller if the node configuration fails.
  18. 根据权利要求16所述的装置,其中,所述装置还包括:The apparatus of claim 16 wherein said apparatus further comprises:
    第二接收模块,设置为在所述节点为支持负载均衡功能的节点的情况下,接收所述控制器对所述负载均衡参数进行查询的请求消息;a second receiving module, configured to receive, by the controller, a request message for querying the load balancing parameter, where the node is a node that supports a load balancing function;
    第三发送模块,设置为根据所述请求消息向所述控制器发送响应消息,其中,所述响应消息中携带有所述节点已支持的负载均衡参数,所述响应消息用于所述控制器根据业务功能链的业务所需要的负载均衡参数,结合接收到的所述节点已支持的负载均衡参数,确定最优的负载均衡参数,并发送给所述节点,其中,所述最优的负载均衡参数为根据业务特性选择与所述业务匹配的负载均衡参数。The third sending module is configured to send a response message to the controller according to the request message, where the response message carries a load balancing parameter supported by the node, and the response message is used by the controller Determining an optimal load balancing parameter according to the load balancing parameter required by the service of the service function chain, and receiving the load balancing parameter supported by the node, and sending the optimal load balancing parameter to the node, where the optimal load is The equalization parameter is a load balancing parameter that matches the service according to the service characteristic.
  19. 根据权利要求14至18中任一项所述的装置,其中,所述第一接收模块还设置为通过以下方法之一接收所述控制器发送的负载均衡参数:开放流Openflow协议,网络配置协议Netconf协议,简单网络管理协议SNMP协议,边界网关协议链路状态BGP-LS,位置和身份标识分离协议LISP协议。The apparatus according to any one of claims 14 to 18, wherein the first receiving module is further configured to receive a load balancing parameter sent by the controller by one of the following methods: OpenFlow Openflow Protocol, Network Configuration Protocol Netconf protocol, simple network management protocol SNMP protocol, border gateway protocol link state BGP-LS, location and identity separation protocol LISP protocol.
  20. 一种负载均衡处理装置,应用于控制器,包括:A load balancing processing device is applied to a controller, including:
    确定模块,设置为确定负载均衡参数;Determining a module, setting to determine a load balancing parameter;
    发送参数模块,设置为向节点发送所述负载均衡参数,所述负载均衡参数用于所述节点根据所述负载均衡参数对业务流量进行负载均衡处理。The sending parameter module is configured to send the load balancing parameter to the node, where the load balancing parameter is used by the node to perform load balancing processing on the service traffic according to the load balancing parameter.
  21. 根据权利要求20所述的装置,其中,所述装置还包括:The device of claim 20, wherein the device further comprises:
    第三接收模块,设置为接收所述节点发送的配置成功消息或配置失败消息。The third receiving module is configured to receive a configuration success message or a configuration failure message sent by the node.
  22. 根据权利要求20所述的装置,其中,所述装置还包括: The device of claim 20, wherein the device further comprises:
    第四发送模块,设置为在所述节点为支持负载均衡功能的节点的情况下,向所述节点发送对所述负载均衡参数进行查询的请求消息;a fourth sending module, configured to send, to the node, a request message for querying the load balancing parameter, if the node is a node that supports a load balancing function;
    第四接收模块,设置为接收所述节点发送的响应消息,其中,所述响应消息中携带有所述节点已支持的负载均衡参数。The fourth receiving module is configured to receive a response message sent by the node, where the response message carries a load balancing parameter that is supported by the node.
  23. 根据权利要求21所述的装置,其中,所述确定模块包括:The apparatus of claim 21 wherein said determining module comprises:
    选择确定单元,设置为根据业务功能链的业务所需要的负载均衡参数,结合接收到的所述节点已支持的负载均衡参数,确定最优的负载均衡参数,并发送给所述节点,其中,所述最优的负载均衡参数为根据业务特性选择与所述业务匹配的负载均衡参数。The determining unit is configured to determine, according to the load balancing parameter required by the service of the service function chain, the load balancing parameter that is supported by the node, and determine the optimal load balancing parameter, and send the parameter to the node, where The optimal load balancing parameter is a load balancing parameter that matches the service according to a service characteristic.
  24. 根据权利要求20至23中任一项所述的装置,其中,所述发送参数模块还设置为通过以下方法之一向所述节点发送所述负载均衡参数:开放流Openflow协议,网络配置协议Netconf协议,简单网络管理协议SNMP协议,边界网关协议链路状态BGP-LS,位置和身份标识分离协议LISP协议。 The apparatus according to any one of claims 20 to 23, wherein the transmission parameter module is further configured to send the load balancing parameter to the node by one of the following methods: OpenFlow Openflow Protocol, Network Configuration Protocol Netconf Protocol Simple Network Management Protocol SNMP, Border Gateway Protocol Link State BGP-LS, Location and Identity Separation Protocol LISP Protocol.
PCT/CN2016/088798 2015-07-20 2016-07-06 Load balance processing method and apparatus WO2017012471A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510429135.4 2015-07-20
CN201510429135.4A CN106375355B (en) 2015-07-20 2015-07-20 Load balancing processing method and device

Publications (1)

Publication Number Publication Date
WO2017012471A1 true WO2017012471A1 (en) 2017-01-26

Family

ID=57833554

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/088798 WO2017012471A1 (en) 2015-07-20 2016-07-06 Load balance processing method and apparatus

Country Status (2)

Country Link
CN (1) CN106375355B (en)
WO (1) WO2017012471A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109327400A (en) * 2017-08-01 2019-02-12 华为技术有限公司 A kind of data communications method and data communication network
CN112749015A (en) * 2021-01-25 2021-05-04 杭州迪普科技股份有限公司 Load balancing method and device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984306A (en) * 2018-07-16 2018-12-11 广发证券股份有限公司 A kind of load balance scheduling system and method according to TCP request quality evaluation
CN110399178B (en) * 2019-06-14 2022-09-27 五八有限公司 Third-party service calling method and device, electronic equipment and storage medium
CN110839086A (en) * 2019-12-23 2020-02-25 吉林省民航机场集团公司 High-concurrency load balancing processing method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110055845A1 (en) * 2009-08-31 2011-03-03 Thyagarajan Nandagopal Technique for balancing loads in server clusters
CN103259739A (en) * 2012-02-15 2013-08-21 株式会社日立制作所 Load balancing device and load balancing method
CN103929492A (en) * 2014-04-28 2014-07-16 华为技术有限公司 Method, devices and system for load balancing of service chain
CN104283806A (en) * 2014-10-31 2015-01-14 杭州华三通信技术有限公司 Service link processing method and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207550B (en) * 2007-03-16 2010-09-15 中国科学技术大学 Load balancing system and method for multi business to implement load balancing
CN101207568B (en) * 2007-03-16 2011-11-23 中国科学技术大学 Multi protocol adapter and method for multi business to implement adapting treatment
CN102711177A (en) * 2012-04-26 2012-10-03 北京邮电大学 Service prediction based load balancing method
CN104584622A (en) * 2012-06-04 2015-04-29 伊甸石通信股份有限公司 Method and system for cellular network load balance
CN102932270A (en) * 2012-11-27 2013-02-13 无锡城市云计算中心有限公司 Load balancing method and device supporting network security service
US20150071071A1 (en) * 2013-09-11 2015-03-12 Cluster Wireless, LLC Load balancing between nodes processing data and backhaul utilization
CN104079630A (en) * 2014-06-09 2014-10-01 中国建设银行股份有限公司 Business server side load balancing method, client side, server side and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110055845A1 (en) * 2009-08-31 2011-03-03 Thyagarajan Nandagopal Technique for balancing loads in server clusters
CN103259739A (en) * 2012-02-15 2013-08-21 株式会社日立制作所 Load balancing device and load balancing method
CN103929492A (en) * 2014-04-28 2014-07-16 华为技术有限公司 Method, devices and system for load balancing of service chain
CN104283806A (en) * 2014-10-31 2015-01-14 杭州华三通信技术有限公司 Service link processing method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109327400A (en) * 2017-08-01 2019-02-12 华为技术有限公司 A kind of data communications method and data communication network
US11303571B2 (en) 2017-08-01 2022-04-12 Huawei Technologies Co., Ltd. Data communication method and data communications network
CN112749015A (en) * 2021-01-25 2021-05-04 杭州迪普科技股份有限公司 Load balancing method and device
CN112749015B (en) * 2021-01-25 2023-07-25 杭州迪普科技股份有限公司 Load balancing method and device

Also Published As

Publication number Publication date
CN106375355B (en) 2020-02-28
CN106375355A (en) 2017-02-01

Similar Documents

Publication Publication Date Title
US9762494B1 (en) Flow distribution table for packet flow load balancing
US9634928B2 (en) Mesh network of simple nodes with centralized control
US9094285B2 (en) Automatic discovery of multiple controllers in Software Defined Networks (SDNs)
EP3399703B1 (en) Method for implementing load balancing, apparatus, and network system
EP2845372B1 (en) Two level packet distribution with stateless first level packet distribution to a group of servers and stateful second level packet distribution to a server within the group
WO2017012471A1 (en) Load balance processing method and apparatus
WO2018099384A1 (en) Packet load balancing method, apparatus and system
EP2920932B1 (en) Apparatus for a high performance and highly available multi-controllers in a single sdn/openflow network
US9596094B2 (en) Managing multicast distribution using multicast trees
CN109067758B (en) SDN network data transmission privacy protection system and method based on multiple paths
EP3005634A1 (en) Method and apparatus for providing software defined network flow distribution
US20060168084A1 (en) Method and apparatus for rendering load balancing and failover
JP5488979B2 (en) Computer system, controller, switch, and communication method
US7561587B2 (en) Method and system for providing layer-4 switching technologies
WO2015180154A1 (en) Network control method and apparatus
US9456030B2 (en) Methods of operating load balancing switches and controllers using modified flow entries
US11582113B2 (en) Packet transmission method, apparatus, and system utilizing keepalive packets between forwarding devices
CN112910704A (en) Local area network system, method and device supporting dynamic self-adaptive network configuration
WO2013023479A1 (en) Method, device and system for sharing load
CN112838983A (en) Data transmission method, system, device, proxy server and storage medium
KR20210016802A (en) Method for optimizing flow table for network service based on server-client in software defined networking environment and sdn switch thereofor
CN105812274B (en) Service data processing method and related equipment
Tripathi et al. Ensuring reliability in cloud computing and comparison on IPv6 encouraged with protocols
CN108259292B (en) Method and device for establishing tunnel
US11570080B1 (en) Multiple state control interfaces between a control plane and a user plane in a disaggregated broadband network gateway architecture

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: 16827162

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: 16827162

Country of ref document: EP

Kind code of ref document: A1