A load balancing method and device supporting intercommunication between physical network and virtual network

By implementing data plane-identifiable data translation and load balancing strategies on the load balancer, the security issues caused by the transformation of the Underlay network architecture in the existing technology are solved, and the interoperability and security improvement of the physical network and the virtual network are achieved.

CN117792709BActive Publication Date: 2024-09-27CHINA TELECOM CLOUD TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202311709518.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-13
Publication Date
2024-09-27
Estimated Expiration
2043-12-13

AI Technical Summary

Technical Problem

When the existing technology realizes the interoperability between the physical network and the virtual network, the original Underlay network architecture needs to be modified, which results in the exposure of the Underlay address and port and low security.

Method used

Through the resource management control unit and forwarding logic unit, components such as elb-server, elb-manager, elb-controller, and Xgw or The load balancer realizes the intercommunication between the physical network and the virtual network.

Benefits of technology

It realizes the interoperability between the virtual network and the physical network in the cloud, improves the security of Underlay resources, shields the differences in back-end service entity network architecture, and avoids the external exposure of Underlay addresses and ports.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117792709B
    Figure CN117792709B
Patent Text Reader

Abstract

The present invention relates to a load balancing method and device supporting the intercommunication between a physical network and a virtual network, belonging to the field of cloud computing, wherein a user initiates a resource instance creation request, and sends the resource instance creation request to a resource management control unit, which parses the source instance creation request, translates it into data plane recognizable data, and sends it to a forwarding logic unit; the forwarding logic unit executes a load balancing strategy for the traffic transmission scenario between the physical network and the virtual network according to the data plane recognizable data. The present invention does not require the transformation of the original network architecture, uses load balancing to connect the Underlay and Overlay networks, realizes the intercommunication between the virtual network and the physical network in the cloud, realizes the intercommunication based on the load balancer, does not need to expose the Underlay address and port to the outside, improves the security of the Underlay resources, realizes the intercommunication based on the load balancer, and shields the differences in the network architecture of the back-end service entity.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of private cloud and cloud computing, and in particular relates to a load balancing method and device supporting the intercommunication between a physical network and a virtual network. Background Art

[0002] With the rapid growth of Internet traffic and data, various businesses need to continuously improve their service capabilities. On the one hand, the configuration of a single server can be optimized, but hardware configuration has an upper limit and is expensive; on the other hand, cluster network technology can be used to use multiple low-configuration servers to provide services at the same time. This technology has become an IT standard due to its high availability and high economy. In the process of cluster construction, the most important technology is LB (Load Balance) load balancing technology. LB first receives the service request and then distributes the request to multiple backend business servers according to the forwarding strategy.

[0003] The prior art determines the configuration parameters of the target access service, including the Overlay network address; determines the Underlay network address from a preset Underlay network address resource pool, and forms a mapping relationship between the Overlay network address and the Underlay network address; performs access policy configuration processing on the target access service based on the mapping relationship to determine the target access policy; the target access policy is used to implement the target access service through the Overlay network and the Underlay network. In this way, by mapping the Overlay network address to the Underlay network address, the mutual access between the Overlay network and the Underlay network can be flexibly implemented, thereby improving the convenience and security of access services.

[0004] However, the existing technology generally requires the transformation of the original Underlay network architecture during implementation. Intercommunication is achieved based on a load balancer, and the Underlay address and port need to be exposed to the outside, which results in low security of the Underlay resources. Summary of the invention

[0005] In view of the above deficiencies in the prior art, an object of the present invention is to provide a load balancing method and device that supports intercommunication between physical networks and virtual networks.

[0006] According to a first aspect of the present invention, the present invention claims a load balancing method supporting intercommunication between a physical network and a virtual network, characterized in that it comprises:

[0007] The user initiates a resource instance creation request and sends the resource instance creation request to the resource management control unit. The resource management control unit parses the source instance creation request, translates it into data that can be recognized by the data plane, and sends it to the forwarding logic unit;

[0008] The forwarding logic unit executes load balancing strategies for traffic delivery scenarios between the physical network and the virtual network based on the identifiable data on the data plane.

[0009] Furthermore, the user initiates a resource instance creation request and sends the resource instance creation request to the resource management control unit. The resource management control unit parses the source instance creation request, translates it into data plane recognizable data, and sends it to the forwarding logic unit, specifically including:

[0010] The resource management control unit includes elb-server, elb-manager, and elb-controller;

[0011] The elb-server includes an API request processing unit, which is responsible for processing requests from users to create lb-related resources and managing the Underlay address;

[0012] Elb-manager is the elb data reading unit, responsible for providing data reading for elb-controller;

[0013] elb-controller translates the user's request data into data that can be recognized by the data plane and configures the data plane forwarding rules.

[0014] Furthermore, the forwarding logic unit executes a load balancing strategy for the traffic transmission scenario between the physical network and the virtual network based on the identifiable data on the data plane, specifically including:

[0015] The forwarding logic unit includes Xgw or Xgw7, Underlay, and Overlay;

[0016] Xgw or Xgw7 stores a mapping table, including VNI and Underlay mapping;

[0017] Xgw or Xgw7 is a component that forwards traffic related to the load balancer;

[0018] Underlay is a service associated with the physical network;

[0019] Overlay is a service associated with a virtual network.

[0020] Further, the user initiates a resource instance creation request, sends the resource instance creation request to the resource management control unit, and the resource management control unit parses the source instance creation request, translates it into data plane recognizable data and sends it to the forwarding logic unit, further comprising:

[0021] The user initiates a backend request to create an Underlay and sends the request to the elb-server. After the elb-server parses the request and confirms that the Underlay address requested is valid, it sends a notify notification to the elb-manager and elb-controller.

[0022] elb-manager receives the notification from elb-server to create the Underlay backend host, reads the requested Underlay backend details from the database, and stores them in the local memory;

[0023] After receiving the notify notification from elb-server to create an Underlay backend host, elb-controller reads the requested Underlay backend details from elb-manager, translates them into configurations recognizable by Xgw or Xgw7, and sends them to the forwarding logic unit.

[0024] Furthermore, the forwarding logic unit executes a load balancing strategy for the traffic transmission scenario between the physical network and the virtual network according to the identifiable data on the data plane, and also includes:

[0025] When the traffic transmission scenario is from physical network to virtual network, for the traffic from Underlay to Overlay, Xgw or Xgw7 stores the mapping relationship from Underlay to Overlay, completes VXLAN encapsulation in Xgw or Xgw7, and forwards the traffic to the Overlay backend host;

[0026] The traffic entering Xgw or Xgw7 is identified and parsed by Xgw or Xgw7 to find the destination IP. The corresponding VNI is found in the mapping table for the parsed IP, and the message is encapsulated into Vxlan, and the VNI is encapsulated in it, and then forwarded to the backend host.

[0027] When the traffic transmission scenario is from a virtual network to a physical network, Xgw or Xgw7 stores the mapping relationship between Overlay and Underlay for traffic from Overlay to Underlay, completes VXLAN decapsulation at Xgw or Xgw7, and forwards the traffic to the Underlay backend host;

[0028] The traffic entering Xgw or Xgw7 will be identified by Xgw or Xgw7 and the VNI in the vxlan message will be parsed. The corresponding Underlay address will be found in the Mapping table for the parsed VNI, and the inner source IP will be translated into a preset Underlay IP after stripping the Vxlan header for forwarding to the Underlay backend host.

[0029] According to a second aspect of the present invention, the present invention claims protection for a load balancing device supporting intercommunication between a physical network and a virtual network, characterized in that it comprises:

[0030] The user terminal initiates a resource instance creation request and sends the resource instance creation request to the resource management control unit;

[0031] The resource management control unit receives the resource instance creation request, parses the source instance creation request, translates it into data plane recognizable data, and sends it to the forwarding logic unit;

[0032] The forwarding logic unit receives data plane identifiable data and executes a load balancing strategy for the traffic transmission scenario between the physical network and the virtual network based on the data plane identifiable data.

[0033] Furthermore, the device further comprises:

[0034] The resource management control unit includes elb-server, elb-manager, and elb-controller;

[0035] The elb-server includes an API request processing unit, which is responsible for processing requests from users to create lb-related resources and managing the Underlay address;

[0036] Elb-manager is the elb data reading unit, responsible for providing data reading for elb-controller;

[0037] elb-controller translates the user's request data into data that can be recognized by the data plane and configures the data plane forwarding rules.

[0038] Furthermore, the device further comprises:

[0039] The forwarding logic unit includes Xgw or Xgw7, Underlay, and Overlay;

[0040] Xgw or Xgw7 stores a mapping table, including VNI and Underlay mapping;

[0041] Xgw or Xgw7 is a component that forwards traffic related to the load balancer;

[0042] Underlay is a service associated with the physical network;

[0043] Overlay is a service associated with a virtual network.

[0044] Furthermore, the device further comprises:

[0045] The user initiates a backend request to create an Underlay and sends the request to the elb-server. After the elb-server parses the request and confirms that the Underlay address requested is valid, it sends a notify notification to the elb-manager and elb-controller.

[0046] elb-manager receives the notification from elb-server to create the Underlay backend host, reads the requested Underlay backend details from the database, and stores them in the local memory;

[0047] After receiving the notify notification from elb-server to create an Underlay backend host, elb-controller reads the requested Underlay backend details from elb-manager, translates them into configurations recognizable by Xgw or Xgw7, and sends them to the forwarding logic unit.

[0048] Furthermore, the device further comprises:

[0049] When the traffic transmission scenario is from physical network to virtual network, for the traffic from Underlay to Overlay, Xgw or Xgw7 stores the mapping relationship from Underlay to Overlay, completes VXLAN encapsulation in Xgw or Xgw7, and forwards the traffic to the Overlay backend host;

[0050] The traffic entering Xgw or Xgw7 is identified and parsed by Xgw or Xgw7 to find the destination IP. The corresponding VNI is found in the mapping table for the parsed IP, and the message is encapsulated into Vxlan, and the VNI is encapsulated in it, and then forwarded to the backend host.

[0051] When the traffic transmission scenario is from a virtual network to a physical network, Xgw or Xgw7 stores the mapping relationship between Overlay and Underlay for traffic from Overlay to Underlay, completes VXLAN decapsulation at Xgw or Xgw7, and forwards the traffic to the Underlay backend host;

[0052] The traffic entering Xgw or Xgw7 will be identified by Xgw or Xgw7 and the VNI in the vxlan message will be parsed. The corresponding Underlay address will be found in the Mapping table for the parsed VNI, and the inner source IP will be translated into a preset Underlay IP after stripping the Vxlan header for forwarding to the Underlay backend host.

[0053] The beneficial effects of the present invention are as follows:

[0054] The present invention does not need to transform the original Underlay network architecture. Load balancing is used to connect the Underlay and Overlay networks to achieve intercommunication between the virtual network and the physical network in the cloud. Intercommunication is achieved based on the load balancer without exposing the Underlay address and port to the outside, thereby improving the security of the Underlay resources. Intercommunication is achieved based on the load balancer, shielding the differences in the network architecture of the back-end service entity. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] The accompanying drawings are only used to illustrate specific embodiments and are not considered to limit the present invention. In the entire drawings, the same reference symbols represent the same components. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings.

[0056] Figure 1 A flowchart of a load balancing method supporting intercommunication between a physical network and a virtual network according to an embodiment of the present invention;

[0057] Figure 2 A data flow diagram of a load balancing method supporting intercommunication between a physical network and a virtual network according to an embodiment of the present invention;

[0058] Figure 3 The invention provides a load balancing structural module that supports the interconnection between a physical network and a virtual network. DETAILED DESCRIPTION

[0059] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without making creative work should fall within the scope of protection of the present invention.

[0060] Furthermore, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessarily obscuring the concepts disclosed in the present invention.

[0061] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the orientation or position relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. In addition, the terms "first", "second", and "third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. The terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be a connection between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0062] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of methods and systems consistent with some aspects of the present invention as detailed in the appended claims.

[0063] According to the first embodiment of the present invention, referring to the attached Figure 1 The present invention claims a load balancing method that supports intercommunication between a physical network and a virtual network, characterized in that it includes:

[0064] The user initiates a resource instance creation request and sends the resource instance creation request to the resource management control unit. The resource management control unit parses the source instance creation request, translates it into data that can be recognized by the data plane, and sends it to the forwarding logic unit;

[0065] The forwarding logic unit executes load balancing strategies for traffic delivery scenarios between the physical network and the virtual network based on the identifiable data on the data plane.

[0066] Furthermore, the user initiates a resource instance creation request and sends the resource instance creation request to the resource management control unit. The resource management control unit parses the source instance creation request, translates it into data plane recognizable data, and sends it to the forwarding logic unit, specifically including:

[0067] The resource management control unit includes elb-server, elb-manager, and elb-controller;

[0068] The elb-server includes an API request processing unit, which is responsible for processing requests from users to create lb-related resources and managing the Underlay address;

[0069] Elb-manager is the elb data reading unit, responsible for providing data reading for elb-controller;

[0070] elb-controller translates the user's request data into data that can be recognized by the data plane and configures the data plane forwarding rules.

[0071] In this embodiment, the load balancer in the cloud implements the management module of the Underlay address, ensuring the intercommunication between the virtual network and the physical network in the cloud. Underlay can be used as both the front end (VIP) and the back end to provide external services.

[0072] The new Underlay type of load balancing backend shields the differences in backend service networks. Whether it is an Underlay or Overlay backend, you can freely join it through the backend without paying attention to the network implementation details.

[0073] The Mapping Table is used to implement the mapping between VNI and Underlay addresses, solving the conversion problem between Overlay and Underlay networks in the original load balancing scenario.

[0074] Furthermore, the forwarding logic unit executes a load balancing strategy for the traffic transmission scenario between the physical network and the virtual network based on the identifiable data on the data plane, specifically including:

[0075] The forwarding logic unit includes Xgw or Xgw7, Underlay, and Overlay;

[0076] Xgw or Xgw7 stores a mapping table, including VNI and Underlay mapping;

[0077] Xgw or Xgw7 is a component that forwards traffic related to the load balancer;

[0078] Underlay is a service associated with the physical network;

[0079] Overlay is a service associated with a virtual network.

[0080] For further information, see Attachment Figure 2The resource management control unit is the Control Plane, and the forwarding logic unit is the Data Plane. The user initiates a resource instance creation request and sends the resource instance creation request to the resource management control unit. The resource management control unit parses the source instance creation request, translates it into data that can be recognized by the data plane, and sends it to the forwarding logic unit. It also includes:

[0081] The user initiates a backend request to create an Underlay and sends the request to the elb-server. After the elb-server parses the request and confirms that the Underlay address requested is valid, it sends a notify notification to the elb-manager and elb-controller.

[0082] elb-manager receives the notification from elb-server to create the Underlay backend host, reads the requested Underlay backend details from the database, and stores them in the local memory;

[0083] After receiving the notify notification from elb-server to create an Underlay backend host, elb-controller reads the requested Underlay backend details from elb-manager, translates them into configurations recognizable by Xgw or Xgw7, and sends them to the forwarding logic unit.

[0084] In this embodiment, the valid Underlay address refers to that the Underlay address is already in the Underlay CIDR pre-created by the elb-server; for example, the Underlay address segment, such as 10.10.10.0 / 24, then 10.10.10.10 / 24 belongs to the address segment and is valid.

[0085] The specific content of Notify is: backend id + version.

[0086] An embodiment of the configuration recognizable by Xgw or Xgw7 is Underlay IP+port, which is translated into translating A into B by adopting a specific conversion rule.

[0087] Furthermore, the forwarding logic unit executes a load balancing strategy for the traffic transmission scenario between the physical network and the virtual network according to the identifiable data on the data plane, and also includes:

[0088] When the traffic transmission scenario is from physical network to virtual network, for the traffic from Underlay to Overlay, Xgw or Xgw7 stores the mapping relationship from Underlay to Overlay, completes VXLAN encapsulation in Xgw or Xgw7, and forwards the traffic to the Overlay backend host;

[0089] The traffic entering Xgw or Xgw7 is identified and parsed by Xgw or Xgw7 to find the destination IP. The corresponding VNI is found in the mapping table for the parsed IP, and the message is encapsulated into Vxlan, and the VNI is encapsulated in it, and then forwarded to the backend host.

[0090] When the traffic transmission scenario is from a virtual network to a physical network, Xgw or Xgw7 stores the mapping relationship between Overlay and Underlay for traffic from Overlay to Underlay, completes VXLAN decapsulation at Xgw or Xgw7, and forwards the traffic to the Underlay backend host;

[0091] The traffic entering Xgw or Xgw7 will be identified by Xgw or Xgw7 and the VNI in the vxlan message will be parsed. The corresponding Underlay address will be found in the Mapping table for the parsed VNI, and the inner source IP will be translated into a preset Underlay IP after stripping the Vxlan header for forwarding to the Underlay backend host.

[0092] Among them, in this embodiment, the mapping table includes the correspondence between the underlay ip and the vxlan vni;

[0093] VNI refers to Vxlan encapsulation and decapsulation, which is to add / remove the vxlan header to the header of the message.

[0094] Traffic transmission depends on vxlan encapsulation and decapsulation.

[0095] According to a second embodiment of the present invention, the present invention claims a load balancing device that supports intercommunication between a physical network and a virtual network, characterized in that it includes:

[0096] The user terminal initiates a resource instance creation request and sends the resource instance creation request to the resource management control unit;

[0097] The resource management control unit receives the resource instance creation request, parses the source instance creation request, translates it into data plane recognizable data, and sends it to the forwarding logic unit;

[0098] The forwarding logic unit receives data plane identifiable data and executes a load balancing strategy for the traffic transmission scenario between the physical network and the virtual network based on the data plane identifiable data.

[0099] Furthermore, the device further comprises:

[0100] The resource management control unit includes elb-server, elb-manager, and elb-controller;

[0101] The elb-server includes an API request processing unit, which is responsible for processing requests from users to create lb-related resources and managing the Underlay address;

[0102] Elb-manager is the elb data reading unit, responsible for providing data reading for elb-controller;

[0103] elb-controller translates the user's request data into data that can be recognized by the data plane and configures the data plane forwarding rules.

[0104] Furthermore, the device further comprises:

[0105] The forwarding logic unit includes Xgw or Xgw7, Underlay, and Overlay;

[0106] Xgw or Xgw7 stores a mapping table, including VNI and Underlay mapping;

[0107] Xgw or Xgw7 is a component that forwards traffic related to the load balancer;

[0108] Underlay is a service associated with the physical network;

[0109] Overlay is a service associated with a virtual network.

[0110] Furthermore, the device further comprises:

[0111] The user initiates a backend request to create an Underlay and sends the request to the elb-server. After the elb-server parses the request and confirms that the Underlay address requested is valid, it sends a notify notification to the elb-manager and elb-controller.

[0112] elb-manager receives the notification from elb-server to create the Underlay backend host, reads the requested Underlay backend details from the database, and stores them in the local memory;

[0113] After receiving the notify notification from elb-server to create an Underlay backend host, elb-controller reads the requested Underlay backend details from elb-manager, translates them into configurations recognizable by Xgw or Xgw7, and sends them to the forwarding logic unit.

[0114] Furthermore, the device further comprises:

[0115] When the traffic transmission scenario is from physical network to virtual network, for the traffic from Underlay to Overlay, Xgw or Xgw7 stores the mapping relationship from Underlay to Overlay, completes VXLAN encapsulation in Xgw or Xgw7, and forwards the traffic to the Overlay backend host;

[0116] The traffic entering Xgw or Xgw7 is identified and parsed by Xgw or Xgw7 to find the destination IP. The corresponding VNI is found in the mapping table for the parsed IP, and the message is encapsulated into Vxlan, and the VNI is encapsulated in it, and then forwarded to the backend host.

[0117] When the traffic transmission scenario is from a virtual network to a physical network, Xgw or Xgw7 stores the mapping relationship between Overlay and Underlay for traffic from Overlay to Underlay, completes VXLAN decapsulation at Xgw or Xgw7, and forwards the traffic to the Underlay backend host;

[0118] The traffic entering Xgw or Xgw7 will be identified by Xgw or Xgw7 and the VNI in the vxlan message will be parsed. The corresponding Underlay address will be found in the Mapping table for the parsed VNI, and the inner source IP will be translated into a preset Underlay IP after stripping the Vxlan header for forwarding to the Underlay backend host.

[0119] The applicant of the present invention has made a detailed explanation and description of the implementation examples of the present invention in conjunction with the drawings in the specification. However, those skilled in the art should understand that the above implementation examples are only preferred implementation schemes of the present invention, and the detailed description is only to help readers better understand the spirit of the present invention, but not to limit the scope of protection of the present invention. On the contrary, any improvements or modifications based on the inventive spirit of the present invention should fall within the scope of protection of the present invention.

[0120] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the embodiments of the present invention, rather than to limit them. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the above embodiments, or replace some of the technical features therein by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention. Any changes or replacements that can be easily thought of by those skilled in the art within the technical scope disclosed in the present invention should be covered within the protection scope of the present invention.

Claims

1. A load balancing method supporting intercommunication between physical network and virtual network, characterized in that: include: The user initiates a resource instance creation request, and sends the resource instance creation request to the resource management control unit, and the resource management control unit parses the source instance creation request, translates it into data plane recognizable data, and sends it to the forwarding logic unit; The forwarding logic unit executes a load balancing strategy for a traffic delivery scenario between a physical network and a virtual network based on the identifiable data on the data plane; The resource management control unit includes elb-server, elb-manager, and elb-controller; The forwarding logic unit includes Xgw or Xgw7, Underlay, and Overlay; The Xgw or Xgw7 stores a Mapping table including the mapping of VNI and Underlay; The Xgw or Xgw7 is a component for forwarding traffic related to the load balancer; The user initiates a resource instance creation request, sends the resource instance creation request to the resource management control unit, the resource management control unit parses the source instance creation request, translates it into data plane recognizable data and sends it to the forwarding logic unit, further comprising: The user initiates a backend request to create an Underlay, and sends the request to the elb-server. The elb-server parses the request, confirms that the Underlay address of the request is valid, and sends a notify notification to the elb-manager and the elb-controller. The elb-manager receives the notification of creating an Underlay backend host sent by the elb-server, reads the requested Underlay backend details from the database, and stores them in the local memory; After receiving the notify notification of creating the Underlay backend host sent by the elb-server, the elb-controller reads the requested Underlay backend details from the elb-manager, translates them into a configuration recognizable by Xgw or Xgw7, and sends them to the forwarding logic unit; The forwarding logic unit executes a load balancing strategy for a traffic transmission scenario between a physical network and a virtual network according to the identifiable data on the data plane, and further includes: When the traffic transmission scenario is from a physical network to a virtual network, for the traffic from Underlay to Overlay, the Xgw or Xgw7 stores a mapping relationship from Underlay to Overlay, completes VXLAN encapsulation in the Xgw or Xgw7, and forwards the traffic to the Overlay backend host; The traffic entering the Xgw or Xgw7 is identified and parsed by the Xgw or Xgw7 to find the destination IP, and the corresponding VNI is found in the Mapping table for the parsed IP, and the message is encapsulated by Vxlan, the VNI is encapsulated therein, and then forwarded to the backend host; When the traffic transmission scenario is from a virtual network to a physical network, for the traffic from Overlay to Underlay, the Xgw or Xgw7 stores a mapping relationship from Overlay to Underlay, completes VXLAN decapsulation in the Xgw or Xgw7, and forwards the traffic to the Underlay backend host; The traffic entering the Xgw or Xgw7 will be identified and parsed by the Xgw or Xgw7 to find the VNI in the vxlan message. The mapping table will be searched for the corresponding Underlay address based on the parsed VNI, and the inner source IP will be translated into a preset Underlay IP after stripping the Vxlan header for forwarding, and then forwarded to the Underlay backend host.

2. A load balancing method supporting intercommunication between physical network and virtual network according to claim 1, characterized in that: The user initiates a resource instance creation request, and sends the resource instance creation request to the resource management control unit. The resource management control unit parses the source instance creation request, translates it into data plane recognizable data, and sends it to the forwarding logic unit, specifically including: The elb-server includes an api request processing unit, which is responsible for processing requests from users to create lb-related resources and managing the Underlay address; The elb-manager is an elb data reading unit, responsible for providing data reading for the elb-controller; The elb-controller translates the user's request data into data recognizable by the data plane and configures the data plane forwarding rules.

3. A load balancing method supporting intercommunication between physical network and virtual network according to claim 1, characterized in that: The forwarding logic unit executes a load balancing strategy for the traffic transmission scenario between the physical network and the virtual network according to the identifiable data on the data plane, specifically including: The Underlay is a service associated with the physical network; The Overlay is a service associated with the virtual network.

4. A load balancing device supporting intercommunication between physical network and virtual network, characterized in that: include: The user terminal initiates a resource instance creation request and sends the resource instance creation request to the resource management control unit; A resource management control unit receives the resource instance creation request, parses the source instance creation request, translates it into data plane recognizable data, and sends it to the forwarding logic unit; a forwarding logic unit, receiving the data plane identifiable data, and executing a load balancing strategy for a traffic transmission scenario between a physical network and a virtual network according to the data plane identifiable data; The resource management control unit includes elb-server, elb-manager, and elb-controller; The forwarding logic unit includes Xgw or Xgw7, Underlay, and Overlay; The Xgw or Xgw7 stores a Mapping table including the mapping of VNI and Underlay; The Xgw or Xgw7 is a component for forwarding traffic related to the load balancer; The user terminal initiates a resource instance creation request, sends the resource instance creation request to the resource management control unit, and the resource management control unit receives the resource instance creation request, parses the source instance creation request, translates it into data plane recognizable data, and sends it to the forwarding logic unit, further comprising: The user initiates a backend request to create an Underlay, and sends the request to the elb-server. The elb-server parses the request, confirms that the Underlay address of the request is valid, and sends a notify notification to the elb-manager and the elb-controller. The elb-manager receives the notification of creating an Underlay backend host sent by the elb-server, reads the requested Underlay backend details from the database, and stores them in the local memory; After receiving the notify notification of creating the Underlay backend host sent by the elb-server, the elb-controller reads the requested Underlay backend details from the elb-manager, translates them into a configuration recognizable by Xgw or Xgw7, and sends them to the forwarding logic unit; The forwarding logic unit executes a load balancing strategy for a traffic transmission scenario between a physical network and a virtual network according to the identifiable data on the data plane, and further includes: When the traffic transmission scenario is from a physical network to a virtual network, for the traffic from Underlay to Overlay, the Xgw or Xgw7 stores a mapping relationship from Underlay to Overlay, completes VXLAN encapsulation in the Xgw or Xgw7, and forwards the traffic to the Overlay backend host; The traffic entering the Xgw or Xgw7 is identified and parsed by the Xgw or Xgw7 to find the destination IP, and the corresponding VNI is found in the Mapping table for the parsed IP, and the message is encapsulated by Vxlan, the VNI is encapsulated therein, and then forwarded to the backend host; When the traffic transmission scenario is from a virtual network to a physical network, for the traffic from Overlay to Underlay, the Xgw or Xgw7 stores a mapping relationship from Overlay to Underlay, completes VXLAN decapsulation in the Xgw or Xgw7, and forwards the traffic to the Underlay backend host; The traffic entering the Xgw or Xgw7 will be identified and parsed by the Xgw or Xgw7 to find the VNI in the vxlan message. The mapping table will be searched for the corresponding Underlay address based on the parsed VNI, and the inner source IP will be translated into a preset Underlay IP after stripping the Vxlan header for forwarding, and then forwarded to the Underlay backend host.

5. A load balancing device supporting intercommunication between a physical network and a virtual network according to claim 4, characterized in that: The device further comprises: The elb-server includes an api request processing unit, which is responsible for processing requests from users to create lb-related resources and managing the Underlay address; The elb-manager is an elb data reading unit, responsible for providing data reading for the elb-controller; The elb-controller translates the user's request data into data recognizable by the data plane and configures the data plane forwarding rules.

6. A load balancing device supporting intercommunication between a physical network and a virtual network according to claim 4, characterized in that: The device further comprises: The Underlay is a service associated with the physical network; The Overlay is a service associated with the virtual network.

Citation Information

Patent Citations

  • Load balance control method and system based on cloud computing and SDN network

    CN107094119A

  • Forwarding strategy configuration method and device

    CN107733670A

  • Load balancing method based on VXLAN (Virtual Extensible Local Area Network) and land balancer

    CN108616456A

  • Overlay network-oriented in-band network telemetering method, system and related device

    CN112866075A

  • Method and apparatus for sending packet, method and apparatus for processing packet, pe node, and node

    WO2019105462A1