WO2015192563A1 - Method and device for implementing load balancing and load balancing service system - Google Patents

Method and device for implementing load balancing and load balancing service system

Info

Publication number
WO2015192563A1
WO2015192563A1 PCT/CN2014/088970 CN2014088970W WO2015192563A1 WO 2015192563 A1 WO2015192563 A1 WO 2015192563A1 CN 2014088970 W CN2014088970 W CN 2014088970W WO 2015192563 A1 WO2015192563 A1 WO 2015192563A1
Authority
WO
Grant status
Application
Patent type
Prior art keywords
virtual
network
load
balancing
module
Prior art date
Application number
PCT/CN2014/088970
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

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L29/00Arrangements, apparatus, circuits or systems, not covered by a single one of groups H04L1/00 - H04L27/00 contains provisionally no documents
    • H04L29/02Communication control; Communication processing contains provisionally no documents
    • H04L29/06Communication control; Communication processing contains provisionally no documents characterised by a protocol
    • H04L29/08Transmission control procedure, e.g. data link level control procedure

Abstract

Provided are a method and device for implementing load balancing and load balancing service system, solving the problem of low performance of load balancing service. The method comprises: creating a virtual network system and a load balancing module according to a creation request, and connecting the created load balancing module to the virtual network system, the created virtual network system comprising at least one virtual machine; storing in the load balancing module the network information of the virtual machine in different network segments with the load balancing module; when a received data packet requiring load balancing is present in a virtual load balancing processing network, forwarding the data packet to the virtual machine by the load balancing module for processing. The solution of the present application can solve the problem of low performance of load balancing service.

Description

A method of load balancing, load balancing service system and apparatus FIELD

The present invention relates to the cloud, and in particular, to a method of load balancing, load balancing services apparatus and system implementation.

Background technique

With the development of the Internet, the use of cloud computing more widely, cloud computing is a way of Internet-based computing, in this way, can realize the hardware and software resources and network information needs to be shared by computers or other devices .

There are three existing cloud computing service models:

Software as a service (Software-as-a-Service, referred to as SaaS): Consumers use the application, but does not control the network infrastructure operating system, hardware or operations. Is the basis for the concept of a service, software service providers to lease the concept of customer service, rather than buy, the more common pattern is to provide a set of account and password.

Platform as a Service (Platform-as-a-Service, referred to as PaaS): the consumer using the host operating application. Consumers control the operation of the application environment (also has control over host part), but does not control the network infrastructure operating system, hardware or operations. Platform is usually application infrastructure.

Infrastructure as a service (Infrastructure-as-a-Service, referred to as IaaS): The service is available to consumers for the use of all facilities, including processing, storage, networks and other fundamental computing resources, users can deploy and run arbitrary software, including operating systems and applications. The consumer does not manage or control any cloud computing infrastructure, but it can control the selection of the operating system, storage, deployed applications, it is also possible to obtain a restricted network components (eg, firewalls, load balancers, etc.) control.

FIG 1 is a common type of conventional cloud computing architecture mode, in this mode, the user console to create their own cloud environment, for example, create a virtual machine, create the network, creating the template image and the like; in the prior art, cloud computing also expanded to other services, such as load balancing services, firewall, VPN (virtual private network, virtual private network), and so on.

In the expanded service, wherein the load balancing service is a common network device, the main role is to provide an effective and transparent method to expand the bandwidth of the network devices and servers, increase throughput, enhance network data processing capabilities, improve the network flexibility and availability. Currently, the load balancing cloud services are typically provided at a user's virtual network, i.e. a virtual network with the same user belonging to a Layer 2 network, load balancing when the virtual machine network services in a network device, direct additional operations can be performed in the forwarding data, no other address; for other load balancing service does not belong to the same virtual network a Layer 2 network, and when the load balancing service network to the virtual network device need to route when addressing data can be forwarded, in this case, when there are a large number of cloud services need to be addressed, and will have cloud load balancing system including a large impact, thus, reducing the performance of the load balance processing service.

Therefore, how to improve service performance load balancing services in the cloud, it is the key issue to be resolved.

SUMMARY

The present invention is to solve the technical problem is to provide a method of load balancing, load balancing service system and apparatus capable of addressing the low load balancing service performance issues.

In order to solve the above problems, the present embodiment provides a method of load balancing comprising:

Respectively, and creating a virtual network system according to the load balancing module creation request, and the load equalization system, the virtual network access module, the virtual network system comprising at least one virtual machine;

The load balancing module is not the same network segment information of virtual machines are stored in the load balancing module and the virtual machine is configured to load the application service node rear balancing module;

We need to load balance processing data packets by the load balancing processing module forwards to the virtual machine.

In an embodiment of the present invention, the system and create a virtual network load balancing module and the load balancing module to access the virtual network system is specifically:

Creating virtual subnet, a virtual subnet comprising: a virtual subnet and / or multi-stage virtual subnet; a virtual subnet comprising said at least one virtual network access systems through a virtual machine virtual switch; the multilevel access virtual subnet comprises at least a virtual network system by a virtual machine virtual switch; the multistage virtual subnet virtual switch through one another at least one virtual subnet virtual cascade switch virtual network access system;

Create a load balancing module and the load balancing module is directly connected to the virtual network system.

In an embodiment of the present invention, the creating virtual subnet is specifically: creating at least one a virtual subnet, will be a virtual subnet directly connected to the virtual switch in the virtual network system.

In an embodiment of the present invention, the virtual subnet for implementing a network isolation by any of the following ways in the virtual network systems: the virtual local area network (Virtual Local Area Network, abbreviated as the VLAN), Generic Routing Encapsulation (Generic Routing Encapsulation, referred GRE), scalable virtual local area network (virtual eXtensible Local Area network, abbreviated as VXLAN); network information corresponding to the one virtual subnet virtual machine is any one of the following information: VLAN information, GRE information, VXLAN information.

In an embodiment of the present invention, will not be the same network with the network load balancing module information storage virtual machine is load balancing module specifically:

Acquiring network information of said at least one load balancing module not on the same segment of the virtual machine;

Creating a virtual network device or a flow table corresponding to the virtual machine information according to the network information acquired by the virtual machine, and save it in the load balancing module.

To solve the above problems, the present application also provides an apparatus for load balancing, comprising: a creation module, the processing module and the forwarding module;

The creating module to create a virtual network system is provided and load balancing module according to a request were created, and the load equalization system, the virtual network access module, the virtual network system comprising at least one virtual machine;

The processing module is arranged to the load balancing module not on the same network segment information of virtual machines are stored in the load balancing module and the virtual machine is configured to load the application service node rear balancing module;

The forwarding module will need to load balance processing packets processed by the equalization module forwards the virtual machine to the load.

In an embodiment of the present invention, the creation module comprises a sub-unit and a creating unit creating a load balancing;

The subnetwork creating unit arranged to create a virtual subnet, a virtual subnet comprising: a virtual subnet and / or multi-stage virtual subnet; a virtual subnet comprising said at least one virtual access via virtual switch virtual machine network system; the multi-level virtual subnet virtual switch through one another at least one virtual subnet virtual cascade switch access the virtual network system;

The load balancing creating unit arranged to create a load balancing module and the load balancing module is directly connected to the virtual network system.

In an embodiment of the present invention, the creating unit creates the subnet virtual subnet is specifically: creating at least one a virtual subnet, will be a virtual subnet directly connected to the virtual switch in the virtual network system.

In an embodiment of the present invention, the sub-network creating a virtual subnet for network unit created by any isolation in the following manner in the virtual network system: VLAN, GRE, VXLAN; one corresponding to the network information virtual subnet virtual machine is any one of the following information: VLAN information, GRE information, VXLAN information.

In an embodiment of the present invention, the processing module further includes an acquisition unit and a creating unit;

The network information acquisition unit arranged to acquire at least one load balancing module is not in the same segment of the virtual machine;

The creating unit is provided, or a virtual network device corresponding to the flow table information created according to each virtual machine to the virtual machine network information is acquired, and save it in the load balancing module.

In order to solve the above problems, the present application also provides a load-balancing service system comprising: a virtual network systems and load balancing module;

The load balancing system, the virtual network access module, and provides load balancing of the virtual network system serving at least one virtual machine;

The load balancing module configured to store network information is not the same as their network virtual machine while the virtual machine configuration for the backend services node, and the need for load equalization processing by said data packet load balancing module forwards to the virtual machine for processing.

Advantageous effects of the invention are:

The present invention provides a method of load balancing, load balancing service system and apparatus to solve the low load balancing service performance issues. The present invention is a system and create a virtual network load balancing module according to a request to create and access a virtual network load balancing module system is created, the virtual network created by the system including at least one virtual machine; the load balancing module is not the same a network segment information of virtual machines are stored in the load balancing module; when the received packets require equalization processing exists in the virtual network the load balancing process, the packet is forwarded by the load balancing module to the said virtual machine processing. Be seen, the present application is related to prior art compared by the load balancing module and a virtual machine configured to load balance processing virtual network, so that the same are in a Layer-2 network load balancing between any module and a virtual machine, when it is desired when forwarding packets, and does not require routing and forwarding data can be achieved directly through the direct load balancing module, enhances the performance of the load balancing process of the packet. Therefore, in the program itself, please, can solve the low load-balancing service performance issues.

BRIEF DESCRIPTION

FIG. 1 is a prior art cloud the present invention provides a computing system in a network architecture;

FIG 2 is a load balancing method according to a flowchart of a first embodiment of the present invention;

FIG 3 is a schematic diagram of a cloud computing network virtual subnet is provided in a virtual subnet of the virtual network system and load balancing modules of the first embodiment of the present invention;

4 is a schematic block configuration load balancing apparatus of a second embodiment of the present invention provides;

FIG 5 is a schematic diagram of a load balancing service system structure of a third embodiment of the present invention is provided;

FIG 6 is a fourth embodiment of the method of the present invention to provide load balancing in cloud created flowchart.

detailed description

The present embodiment relates to a method of load balancing in a cloud, further, the present embodiment actually directed to a method how to improve the load balancing service performance in the cloud; It should be understood that although the present embodiment of the disclosure includes a cloud increase the load balanced properties detailed description, wherein the technical solutions described in

Implementation is not limited to a cloud computing environment. But various embodiments of the present invention capable of binding to any other type of computing program environment now known or later developed may also be implemented.

Cloud computing is a model of service delivery for the shared pool of computing resources can be configured for convenient, on-demand network access. Configurable computing resources that can be minimal interaction with minimal management effort or service provider will be able to quickly deploy and release of resources, for example, be a network, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and service. This cloud model may include at least five characteristics, at least three service models (already described in the background art) and at least four deployment models.

Features include:

Demand self-service: under a cloud consumer without requiring human interaction with the service provider can unilaterally provision computing capabilities, as needed automatically, such as server time and network storage, etc.

Broad network access: capabilities are available over the network through standard mechanisms, such standard mechanisms that promote use by heterogeneous thin or thick client platforms platforms (eg, mobile phones, laptop computers, personal digital assistant (PDA) ) use of the cloud.

Resource pooling: the provider's computing resources are classified by resource pool and multi-tenant (multi-tenant) mode to serve multiple consumers, which demand different physical and virtual resources dynamically assigned and reassigned. Under normal circumstances, the consumer has no control or knowledge over the exact location of the provided resources, but you can specify the location (eg, country, state, or datacenter) at a higher level of abstraction, it has location independence.

Rapid elasticity: capabilities can be rapidly and flexibly (in some cases automatically) provision computing capabilities, to quickly scale out and rapidly released to quickly scale. To the consumer, the capabilities available for deployment often appear to be unlimited and can be purchased in any number of computing power at any time.

Measured service: cloud systems by using a suitable type of service (e.g., storage, processing, bandwidth, and active consumer accounts) of a certain level of abstraction metering capability, automatic control and optimize resource utility. You can monitor, control and report on resource usage for the providers and consumers with the services of transparency on both sides.

Deployment Models are as follows:

Private cloud: the cloud infrastructure is operated solely for an organization. Cloud infrastructure and can be present in the internal or external to the organization by the organization or a third-party management.

Community cloud: the cloud infrastructure is shared by several organizations and supports a specific community that has shared concerns (eg, mission, security requirements, policy, and compliance considerations). It may be managed and may be present in the premises or by a plurality of external or third-party management of common tissue in vivo.

Public cloud: the cloud infrastructure is made available by an organization selling cloud services have a public or a large industry group.

Hybrid cloud: the cloud infrastructure is two or more cloud deployment model (private cloud, community cloud, or public cloud) composition, that remain unique entities but the data and application portability standardized or proprietary technology (e.g., cloud bursting for load balancing between clouds sharing technology) are bound together.

Cloud computing environment is service oriented with a focus on interoperability stateless, low disaster together, modularity, and semantic. The core of cloud computing is an infrastructure comprising a network of interconnected nodes.

Load balancing module according to the present embodiment, and creating a virtual network system according to the load balancing module creation request, and creating a virtual network access system, the system creates a virtual network comprises at least one virtual machine; the load balancing module is not the same a network segment information of virtual machines are stored in the load balancing module and the virtual machine is configured to load balancing module backend application service node; when the received packets require equalization processing, by the data packet load balancing module forwarded to the virtual machine for processing. DETAILED DESCRIPTION In an embodiment of the present invention, a system and create a virtual network load balancing module for: creating virtual subnet, the virtual subnet comprising: a virtual subnet and / or a multi-level virtual subnets; the a stage comprises at least one virtual subnet virtual network access by a virtual machine virtual switch; the multi-level virtual subnet virtual switch through one another at least one virtual subnet virtual cascade switch access virtual network; creating a load equalization module, and the load balancing module directly connected to the virtual network system; embodiment according to the present embodiment, the cloud computing network architecture created, the load balancing module is not in the same segment of the virtual machine is configured to load balancing module services application backend node, so the purpose of constructing a cloud computing network architecture is that the load balancing module and a virtual machine without any in the same network segment (network Layer), also does not require routing address to transmit the data packet. Employed in the embodiment of the present embodiment, a virtual machine and to avoid the prior art load balancing system and services are not required when a same network segment, to be routed to address the problem of data forwarding can be conducted, therefore, the present embodiment the method can solve the low load-balancing service performance issues.

In order to better understanding of the embodiment according to the present embodiment, the following embodiments with reference to specific embodiments of the present disclosure will be further described:

In the present embodiment, the terminology used is for the purpose of describing particular embodiments, and not to limit the present disclosure. For example, the singular forms "a", "an" and "the" and "the" include plural referents unless the context clearly indicates otherwise. In addition, the terms "a", "an" and the like do not denote a limitation of quantity, but rather denote the presence of at least one of the referenced item. It is further understood that the terms used in this specification, "comprising" indicates that the specified features, steps, operations, elements, and / or components, but do not preclude one or more other features, steps, operations, elements, components, and / or a combination of the presence or addition.

Example One:

A method of load balancing according to an embodiment of the present flow chart in FIG. 2, comprising:

Step 101: create a virtual network system respectively and load balancing module comprises a virtual machine created in accordance with a request;

Step 102: The network load balancing module stores information on different network segments in the virtual machine load balancing module and the virtual machine is configured to load the application service node rear balancing module;

Step 103: forward the packet to be forwarded by the load balancing module for processing to the desired virtual machine.

After the present embodiment, the initiating body creation request includes a user, the user console to initiate creation request, the system receives a request to create a user-initiated, according to the content creation request to create a user desired virtual network architecture, in the present embodiment embodiment, a request to create the virtual network system according to user-initiated to create virtual network system comprising at least: a virtual network, the gateway, the routing and virtual machines and virtual network gateway added created routes and a virtual machine; initiated by the user to create load balancing service requests to create a load balancing module and configured to create a virtual application service module back-end node load balancing. In the present embodiment, the load balancing module may create higher performance load balancing services for users.

In step 101 created according to a user request in each of the virtual network system and a load balancing module, the system creates a virtual network comprises at least one virtual machine; In the present embodiment, when the virtual machine is created by two or more, the said virtual machine may belong to the same network Layer, Layer may belong to different networks. In the present embodiment, after the completion of creating the virtual network system and a load balancing module, the virtual network system will create a load balancing module to create an access, to ensure the load balance module may be interconnected with the network the virtual network system.

Embodiment the virtual network system in the present embodiment is a virtual network layer 3 to provide users with services in the cloud, users can create their own subnet routing, gateway, etc. in the virtual network device in the network may also different network interworking setting operation, and performance of the network consistent physical network.

In step 102, the load balancing module acquires the network information is not the same virtual machine network (the network information is previously configured network information), and the network load balancing information stored in the module, at the same time, and the virtual machine is configured to load balancing module back-end application service node. In the present embodiment, the virtual machine and the load balancing module on different network segments preferably dummy load balancing module not on the same Layer 2 network.

In the present embodiment, the communication and the virtual machine, need not load balancing module and the virtual machine must be in a subnet directly to the load balancing module may be implemented through.

Preferably, in the present embodiment, the load balancing module according to create a request to create a load balancing algorithm it further includes load balancing module configuration, and session maintaining health check function features:

The load balancing algorithm, including polling rate, priority, minimum number of connections, the fastest response time, etc. General load balancing algorithms, including hashing algorithms, based on load balancing strategy, based on the contents of the packet distribution, etc. and other advanced algorithms.

The health check, refers to check the status of available server and open a variety of services. Load balancing device typically configure a variety of health inspection methods, such as Ping, Transmission Control Protocol (Transfer Control Protocol, referred to as TCP), User Datagram Protocol (User Date Protocol, referred to as UDP), Hypertext Transfer Protocol (Hypertext Transfer Protocol, HTTP for short ), file transfer protocol (file transfer protocol, referred to as FTP), DNS (domain Name system, DNS) and so on. Ping belongs to the third layer health checks for server connectivity check IP, and TCP / UDP health check belonging to the fourth floor for inspection service port UP / DOWN, if you want to check more accurately, we must use based on a health check to 7 layers, such as creating a HTTP health check, get back a page, and the page content to check whether a string containing a specified If so, then the service is UP, if not contained, or not get back to the page, It considers the server's Web service is not available (DOWN) of.

Holding the session, it refers to maintaining session continuity and consistency, since it is difficult to achieve real-time synchronization information between a user access server, which requires access to the user before and after the session to a server holding up process. Load balancing device will generally default configuration session to keep some options, such as source address of a session to maintain, Cookie session hold, etc., depending on the application you want to configure different session remain, otherwise it will cause uneven load even access exception.

In step 103, upon receiving the packet load balancing process is required, preferably forwarding the data packet according to the network load balancing module information in the received packet to the virtual machine process.

Preferably, in the present embodiment, the load balancing service is created to provide load balancing module may be implemented by hardware, may be realized by software, a particular implementation of the present embodiment is not limited to the embodiment.

In the present embodiment, it is preferred that the load balancing module provides the external address for data packet load balancing process, wherein the external address may be the address of the virtual network user-created or directly to the external services public network address, It is not further defined in the present embodiment.

Further, in the present embodiment, and creating a virtual network load balancing module according DETAILED creation request comprises:

Creating virtual subnet, create the virtual subnet comprising a virtual subnet and / or multi-stage virtual subnet; Preferably, the virtual subnet in the present embodiment, the creating further comprises creating virtual machines, gateways, or at least one route.

Create a load balancing module and load balancing module creates direct access to virtual network system.

In the present embodiment, the virtual subnet comprises at least one of a virtual network system access by a virtual machine virtual switch, it is understood that a virtual subnet only the first stage at least one virtual control virtual switch machine; when a specific load balancing module forwards the received data packet, virtual switch by the first stage of the received data packet to the virtual machine; the multistage virtual subnet virtual network comprises at least one access system via the virtual switch virtual machine; the multi-level virtual subnet virtual switch through one another at least one virtual subnet virtual cascade switch access the virtual network system, it can be appreciated that a multi-stage by at least two virtual subnet step control virtual switch is a virtual machine, the control will be appreciated that the control stepwise least one virtual machine and the virtual switch at least a second stage the first stage virtual switch, the virtual switch of the second stage while controlling the plurality of virtual machine; of course also include more stages of the virtual machine and the virtual switch; particularly when the load balancing module to forward the packet , The first stage by a first virtual switch data forwarding, if desired virtual machine not found in the forwarding stage, the second stage through the virtual switch forwards the processed data to the virtual switch in need, of course also comprise more multi-level virtual switches and virtual machines.

In the present embodiment, the virtual subnet is created preferably at least one primary virtual subnet, will create at least one virtual subnets a virtual switch directly access the virtual network system; in the present embodiment, preferably the a virtual subnet that said means comprises a control network connected to a virtual switch or the at least one virtual machine by the virtual switch and control means or at least one virtual connection into a one virtual subnet; virtual machine access can also be appreciated that the virtual network system for constructing a data network interworking relationship between virtual machines and virtual networks forwarding.

For further explanation of the embodiment, FIG. 3 is a schematic diagram of a cloud computing network when creating virtual subnet embodiment of the present embodiment is a virtual subnet, the virtual network system configuration and load balancing module; FIG. 3 is the above-described embodiment of the present the detailed description, preferably the virtual machine and the virtual subnet load balancing module is not in the same network segment, of course, a virtual network system may also comprise a virtual subnet and a virtual subnet multistage simultaneously.

When a packet enters the cloud computing network architecture of FIG. 3 DETAILED packet processing is:

Later in FIG. 3, preferably the gateway receives a data packet needs to load balance processing, and transmits the packet to the load balancing module, for example, the need to service load balancing in a data packet needs MAC and IP addresses are A and B processes on a virtual machine, load balancing module according to the previous contents of the packet according to the network information stored or corresponding to each virtual machine's network information currently acquired in real time, to find MAC and IP addresses are virtual corresponding a and B machine, directly forwards the data packet to the first virtual subnet virtual switch, and then forwards the packet to select the MAC and IP addresses are processed by the virtual switch is a virtual machine a and B. It can be seen from FIG. 3, in the present embodiment, the data load balancing, does not require routing and inter-network can be achieved only data transmission network according to the acquired information.

Prior to the present embodiment, preferably, the load balancing module of FIG. 3 forwards the packet to the virtual machine process, not only the network information corresponding to each virtual machine in accordance with previously stored or currently acquired, while preferably the need to combine the load balancing algorithm forwards the packet to the virtual machine process.

Further, in the present embodiment, the load balancing module is not the same network segment information of virtual machines are stored in the load balancing module is specifically:

Obtaining at least one load balancing module is not in the same network segment information of virtual machines; in the present embodiment, preferably, the acquiring network information may be required before receiving the acquired service load balancing data may be received in the after the required data service load balancing, real-time access on demand, preferably acquired prior to receiving the service data load balancing in the present embodiment.

After acquiring the network information, the acquired network information generation according but not limited to corresponding to the virtual machine's virtual network device or a stream information table and stored in the load balancing module, in the present embodiment, preferably, the generated virtual network device or a stream information table corresponding to each of the virtual machine address list information, in the present embodiment, but may be other information list, the packet can be directly through the information list as long as possible without going through the address sent to the embodiment corresponds to a virtual machine load balancing fall within the scope of the present application claims.

Further, in the present embodiment, the virtual network system preferably by any of the following ways for implementing network virtual machine isolation: VLAN, GRE and VXLAN; of course, may also be another possible way network isolation; isolation method described above the extension to the GRE and VXLAN isolated VLAN mode, because as the cloud development, in a limited manner isolated VLAN its VLAN ID, can satisfy a wider range of the cloud, thus, it is extended on the basis of the VLAN, GRE or two kinds of the isolation VXLAN the extended mode is a mode in isolation;

In the present embodiment, the acquired network address information of the virtual machine isolation for isolating information, in the present embodiment, access to network information of the virtual machine is any one of the following information: VLAN information, GRE information VXLAN information, wherein, VLAN information comprises the VLAN ID, a specific physical address information or network address information includes virtual machine at least; the GRE information also comprises at least physical address information of the virtual machine and / or network address information; VXLAN information required physical machine network address information, physical address information, and at least one of the network address information of the virtual machine.

In this embodiment, the load balancing module acquires the network information is not the same segment of the virtual machine in a cloud computing network structure constructed of, or generating a virtual network device corresponding to the flow table information according to the network information, and stores in the load balancing module, the purpose of this is to load the service node will not block the rear end of the balancing and load balancing module configured for the same segment of the virtual machine; when data needs to load balance processing, only it needs to acquire the network according to or information stored virtual network device or a stream information table, the load balancing module and the network card can be directly addressed directly without routing the data packet to a corresponding virtual machine service node, so accelerating the packet load balancing service efficiency, but also improves the performance of load balancing services.

Example II:

FIG 4 is a schematic structure of a load balancing apparatus according to the present embodiment provided, the apparatus comprising: a creation module 401, a processing module 402 and a forwarding module 403;

Creation module 401 creates the virtual network system and a load balancing module according to a user request, respectively, to create the virtual network system comprising at least one virtual machine; In the present embodiment, when creating the virtual machine is two or more, the virtual can belong to the same network Layer, Layer may belong to different networks. In the present embodiment, after the completion of creating the virtual network system and a load balancing module, the virtual network system will create a load balancing module to create an access, to ensure the load balance module may be interconnected with the network the virtual network system.

Embodiment the virtual network system in the present embodiment is a virtual network layer 3 to provide users with services in the cloud, users can create their own subnet routing, gateway, etc. in the virtual network device in the network may also different network interworking setting operation, and performance of the network consistent physical network.

The processing module 402 is provided with the load balancing module to acquire a network not in the same virtual machine network information and the network information stored in the load balancing module, while the rear end of the virtual machine module configured to load balancing service node in the present embodiment, the virtual machine and the load balancing module on different network segments preferably dummy load balancing module not on the same Layer 2 network.

In the present embodiment, the communication and the virtual machine, need not load balancing module and the virtual machine must be in a subnet directly to the load balancing module may be implemented through.

Preferably, in the present embodiment, the load balancing module according to create creation request it further includes a load balancing module configured to provide load balancing algorithm and session maintaining health check function features:

Forwarding module 403 to receive the data packet when the need for load balancing processing, the packet forwarding information according to the network load balancing module will received packet to the virtual machine process.

Preferably, in the present embodiment, the load balancing service is created to provide load balancing module may be implemented by hardware, may be realized by software, a particular implementation of the present embodiment is not limited to the embodiment.

In the present embodiment, it is preferred that the load balancing module provides the external address to the packet needs to be load balancing process, wherein the external address may be the address of the virtual network user-created or directly to a public network address of external services , not further defined in the present embodiment.

Further, in the present embodiment, the creation module 401 includes creating sub-unit 4011 and the creation unit 4012 load balancing;

Subnet creating unit 4011 to create a virtual subnets in the present embodiment, the created virtual subnet further comprising creating a virtual machine, the gateway, or at least one route.

The created virtual subnet comprising: a virtual subnet and / or multi-stage virtual subnet; according to a virtual subnet comprises at least one virtual network access by a virtual machine virtual switch, it is understood that the a first stage only the virtual subnet virtual switch control at least one virtual machine; the multistage virtual subnet comprises at least one virtual switch through one another at least one virtual subnet virtual cascade switch virtual network access, but also can be understood that the multi-level virtual subnet by stepwise controlling the at least two virtual machine virtual switches, which may be understood as a first step control virtual switch control at least one stage VM and the at least one second-level virtual switch, the virtual switch of the second stage while controlling the plurality of virtual machines.

Load balancing creating unit 4012 to create a load balancing module, and the load balancing module creating direct access to the virtual network system.

Further, in the present embodiment, the processing module 402 includes an acquisition unit 4021; The obtaining unit 4021 is provided at least one of network information is not a virtual machine is load balancing module acquires the same network segment, the network information for the virtual machine after the network isolation of information in the present embodiment, it is preferable acquiring unit 4021 may be the receipt of the data requirements of a load balancing service before acquiring network information may be received the data requirements of a load balancing process, the data content acquired in real time Internet Information.

Preferably, in the present embodiment, the virtual subnet Subnet creating unit 4011 creates a preferred but not limited to an implementation of any of these ways virtual subnet virtual machine network in the virtual network system isolation: VLAN, GRE and VXLAN; network information corresponding to the virtual subnet virtual machine comprising any one of the following information: information VLAN, GRE information, information VXLAN; embodiment of the separator and VXLAN GRE is an extension to the VLAN isolated manner, because finite isolated VLAN mode its VLAN ID, can satisfy a wider range of the cloud, thus, is extended on the basis of the VLAN, GRE, or the two kinds of spacer VXLAN the extended mode is a mode in isolation;

Network information in the present embodiment, preferably the acquisition unit 4021 acquires in: VLAN information at least includes the VLAN ID, specifically includes the physical address information of the virtual machine and / or network address information; the GRE information including at least a physical address of the virtual machine information and / or network address information; VXLAN required information network address information of the physical machine, at least one physical address information and the network address information of the virtual machine.

In the present embodiment, the processing module 402 further includes an information creation unit 4022;

Information creating unit 4022 creates a virtual network device or a stream table information corresponding to the network according to the virtual machine information acquiring unit 4021 acquires and saves it in the load balancing module. In the present embodiment, the information creating virtual network devices, or the flow information table unit 4022 is created for each virtual machine address information corresponding to the address information such that the module may not need to load balancing can be achieved by inter-network addressing reasons data transmission.

In the present embodiment, when the sub-network creating unit 4011 creates a virtual subnet information acquiring unit 4021 and the creation unit 4022 according to the acquired network information has created a virtual network device or a stream table information in the load balancing module, which virtual network device or a stream table information includes VLAN information acquired by acquiring unit 4021, GRE VXLAN information or information; after receiving the data packets need to load balance processing, and transmits the packet to the load balancing module, the load balancing module according to contents of the packet to determine the packet needs to be processed at its rear which service node (VM), then find the service node address corresponding to a virtual network device in the flow or the table information, the packet is finally transmitted through virtual switch corresponding to the virtual machine process.

In the present embodiment the load balancing apparatus embodiment, it is possible that the load balancing module can be realized only in accordance with inter-segment (or the address information of the virtual network device in the flow table information) acquired network information without addressing at data transfer, improved load balancing service performance.

Example III:

In this embodiment, there is provided a load balancing service system, see Figure 5, the system includes a virtual network system 501 and the load balancing module 502;

Load balancing module 502 access to the virtual network system, and provides load balancing services for a virtual network system at least one virtual machine.

In the present embodiment, the load balancing module 502 is not stored in its information network with a network of virtual machines, storing the network information is provided to the virtual machine configuration for the back end service node. The network information in this embodiment is a preferred example embodiment of the isolation isolated virtual machines in the network information. For example, which is used when the VLAN mode virtual machine network isolation, the acquired network information includes VLAN ID; GRE When manner isolated virtual machine network, obtain network information comprises a Tag ID.

Of course, the use of isolation is not limited embodiment, it said two recited in the present embodiment, and may be isolated VXLAN embodiment, corresponding to the acquired network information includes VXLAN information and network address information including the physical network address information of the physical machine, the virtual machine Address information. Meanwhile, in the present embodiment, the network information acquired is not limited to the present embodiment in the several embodiments recited, and may also include other relevant address information or the identification information.

In the present embodiment, a packet is to be forwarded in the load balancing module 502, the load balancing module 502 is directly transmitted to the rear end of the service node (VM) is processed according to network information stored will be forwarded packets. Load balancing service system in the present embodiment, the network information is not the same as their network virtual machine storage, the virtual machine configuration for the back end service node, so that the received data need to load balancing and services after coating, only in accordance with the network information stored in the data packets corresponding to the back-end service node (virtual machine) can be treated without addressing. Therefore, improving the performance of load balancing services.

Example IV:

In order to have the present application further described, the present embodiment proposes a method of load balancing in cloud created, see Figure 6, comprising:

Step 601: user login through the console;

Step 602: create a virtual machine from the console;

Step 603: create a virtual network through the console;

Step 604: Step 602 created in step 603 is added to create the virtual machine virtual network;

Step 605: Create load balancing module (the process of creating added virtual network system);

Step 606: When using the virtual machine isolation VLAN mode, load balancing module acquires the VLAN information.

Step 607: according to the obtained information to create a flow table VLAN information and stored in the load balancing module.

In step 607, the load balancing create a stream table according to the obtained information of VLAN information, the virtual machine configuration for the back end service nodes, the stream information table and the virtual machine can ensure direct communication, so that, in the load balancing module receiving the data packet can be directly forwarded to the corresponding packet forwarding virtual machine without requiring the virtual machine must be routed because a plurality of network devices is caused to reach forward.

By load balancing methods described above created the same time to complete the configuration of the various virtual networks created after the user load balancing to achieve load balancing module to a node user from the dummy data link connection nodes, thereby improving the entire cloud Load Balancing Service and performance computing network, enhance the user experience.

The above is described in further detail with reference to specific embodiments of the present invention is made, it can not be considered that the specific embodiments of the present invention is only limited to these descriptions. Those of ordinary skill in the art for the present invention, without departing from the spirit of the present invention, can make various simple deduction or replacement, should be deemed to belong to the scope of the present invention.

Industrial Applicability

Based on the above technical solution provided in the embodiment of the present invention, a system and create a virtual network load balancing module according to a request to create and access a virtual network load balancing module system is created, the virtual network created by the system includes at least one virtual machine; and and a load balancing module not on the same network segment information of virtual machines are stored in the load balancing module; when the received packets require equalization processing exists in the virtual network the load balancing process, the data packets through the load balancing module forwards to the virtual machine for processing. Be seen, the present application is related to prior art compared by the load balancing module and a virtual machine configured to load balance processing virtual network, so that the same are in a Layer-2 network load balancing between any module and a virtual machine, when it is desired when forwarding packets, and does not require routing and load balancing can be achieved directly through the module relay data directly enhance the performance of packet processing load balancing can solve the low load-balancing service performance issues.

Claims (11)

  1. A method for implementing load balancing, including:
    Respectively, and creating a virtual network system according to the load balancing module creation request, and the load equalization system, the virtual network access module, the virtual network system comprising at least one virtual machine;
    The load balancing module is not the same network segment information of virtual machines are stored in the load balancing module and the virtual machine is configured to load the application service node rear balancing module;
    We need to load balance processing data packets by the load balancing processing module forwards to the virtual machine.
  2. A method of load balancing according to claim 1, wherein said creating the virtual network system and a load balancing module and the virtual network access system of the load balancing module specifically comprises:
    Creating virtual subnet, a virtual subnet comprising: a virtual subnet and / or multi-stage virtual subnet; a virtual subnet comprising said at least one virtual network access systems through a virtual machine virtual switch; the multilevel access virtual subnet comprises at least a virtual network system by a virtual machine virtual switch; the multistage virtual subnet virtual switch through one another at least one virtual subnet virtual cascade switch virtual network access system;
    Create a load balancing module and the load balancing module is directly connected to the virtual network system.
  3. The load balancing method as claimed in claim 2, implemented, wherein the creating virtual subnet is specifically: creating at least one a virtual subnet, will be a virtual subnet directly connected to the virtual switch in the virtual network system.
  4. 3, the load balancing method as claimed in claim, wherein said virtual subnet for implementing a network isolation by any of the following ways in the virtual network systems: the VLAN virtual local area network, Generic Routing Encapsulation GRE, virtual LANs may be extended VXLAN; network information corresponding to the one virtual subnet virtual machine is any one of the following information: VLAN information, GRE information, VXLAN information.
  5. The method according to any one of load balancing as claimed in claim 1-4, wherein the load balancing module is not the same network segment information of virtual machines are stored in the load balancing module is specifically:
    Acquiring network information of said at least one load balancing module not on the same segment of the virtual machine;
    Creating a virtual network device or a flow table corresponding to the virtual machine information according to the network information acquired by the virtual machine, and save it in the load balancing module.
  6. A load balancing apparatus implemented, comprising: a creation module, the processing module and the forwarding module;
    The creating module to create a virtual network system is provided and load balancing module according to a request were created, and the load equalization system, the virtual network access module, the virtual network system comprising at least one virtual machine;
    The processing module is arranged to the load balancing module not on the same network segment information of virtual machines are stored in the load balancing module and the virtual machine is configured to load the application service node rear balancing module;
    The forwarding module will need to load balance processing packets processed by the equalization module forwards the virtual machine to the load.
  7. 6, the load balancing apparatus as claimed in claim, wherein the creation module comprises a sub-unit and a creating unit creating a load balancing;
    The subnetwork creating unit arranged to create a virtual subnet, a virtual subnet comprising: a virtual subnet and / or multi-stage virtual subnet; a virtual subnet comprising said at least one virtual access via virtual switch virtual machine network system; the multi-level virtual subnet virtual switch through one another at least one virtual subnet virtual cascade switch access the virtual network system;
    The load balancing creating unit arranged to create a load balancing module and the load balancing module is directly connected to the virtual network system.
  8. Load balancing apparatus according to claim 7, wherein the creating unit creates the subnet virtual subnet is specifically: creating at least one a virtual subnet, a virtual subnet directly connected to the virtual switch in the virtual network system.
  9. Implement the load balancing apparatus as claimed in claim 8, wherein said virtual subnet Subnet creating unit creates a network isolation achieved by any of the following ways in the virtual network system: VLAN, GRE, virtual scalable LAN VXLAN; network information corresponding to the one virtual subnet virtual machine is any one of the following information: VLAN information, GRE information, VXLAN information.
  10. The load balancing apparatus according to any one of claims 6-9, wherein the processing module further includes an acquisition unit and a creating unit;
    The network information acquisition unit arranged to acquire at least one load balancing module is not in the same segment of the virtual machine;
    The creating unit is provided, or a virtual network device corresponding to the flow table information created according to each virtual machine to the virtual machine network information is acquired, and save it in the load balancing module.
  11. A load balancing service system comprising: a virtual network systems and load balancing module;
    The load balancing system, the virtual network access module, and provides load balancing of the virtual network system serving at least one virtual machine;
    The load balancing module configured to store network information is not the same as their network virtual machine while the virtual machine configuration for the backend services node, and the need for load equalization processing by said data packet load balancing module forwards to the virtual machine for processing.
PCT/CN2014/088970 2014-06-16 2014-10-20 Method and device for implementing load balancing and load balancing service system WO2015192563A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN 201410267566 CN105208053A (en) 2014-06-16 2014-06-16 Method for realizing load balance, device and load balance service system
CN201410267566.0 2014-06-16

Publications (1)

Publication Number Publication Date
WO2015192563A1 true true WO2015192563A1 (en) 2015-12-23

Family

ID=54934791

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/088970 WO2015192563A1 (en) 2014-06-16 2014-10-20 Method and device for implementing load balancing and load balancing service system

Country Status (2)

Country Link
CN (1) CN105208053A (en)
WO (1) WO2015192563A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090300210A1 (en) * 2008-05-28 2009-12-03 James Michael Ferris Methods and systems for load balancing in cloud-based networks
CN102427475A (en) * 2011-12-08 2012-04-25 曙光信息产业(北京)有限公司 Load balance scheduling system in cloud computing environment
CN102710503A (en) * 2012-05-15 2012-10-03 浪潮电子信息产业股份有限公司 Network load balancing method based on cloud sea OS (operation system)
CN102833355A (en) * 2012-09-22 2012-12-19 广东电子工业研究院有限公司 Load balance system and cloud computing oriented mechanism
CN103533063A (en) * 2013-10-18 2014-01-22 北京华胜天成科技股份有限公司 Method and device capable of realizing dynamic expansion of WEB (World Wide Web) application resource

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090300210A1 (en) * 2008-05-28 2009-12-03 James Michael Ferris Methods and systems for load balancing in cloud-based networks
CN102427475A (en) * 2011-12-08 2012-04-25 曙光信息产业(北京)有限公司 Load balance scheduling system in cloud computing environment
CN102710503A (en) * 2012-05-15 2012-10-03 浪潮电子信息产业股份有限公司 Network load balancing method based on cloud sea OS (operation system)
CN102833355A (en) * 2012-09-22 2012-12-19 广东电子工业研究院有限公司 Load balance system and cloud computing oriented mechanism
CN103533063A (en) * 2013-10-18 2014-01-22 北京华胜天成科技股份有限公司 Method and device capable of realizing dynamic expansion of WEB (World Wide Web) application resource

Also Published As

Publication number Publication date Type
CN105208053A (en) 2015-12-30 application

Similar Documents

Publication Publication Date Title
Jain et al. Network virtualization and software defined networking for cloud computing: a survey
US8396946B1 (en) Managing integration of external nodes into provided computer networks
US8683023B1 (en) Managing communications involving external nodes of provided computer networks
US20120084419A1 (en) System and method to balance servers based on server load status
Patel et al. Ananta: Cloud scale load balancing
US20140269709A1 (en) Virtual gateways and implicit routing in distributed overlay virtual environments
US20110299537A1 (en) Method and system of scaling a cloud computing network
US20140254603A1 (en) Interoperability for distributed overlay virtual environments
US20120246637A1 (en) Distributed load balancer in a virtual machine environment
US20140169168A1 (en) Configuration of a virtual service network
US20120117563A1 (en) Overload control in a cloud computing environment
US20140010085A1 (en) System and method associated with a service flow router
US20140164617A1 (en) Forwarding policies on a virtual service network
US20130179593A1 (en) Cloud computing controlled gateway for communication networks
US20150350379A1 (en) Programming a data network device using user defined scripts
US20130291088A1 (en) Cooperative network security inspection
US20150026345A1 (en) Managing link aggregation traffic in a virtual environment
US20160139939A1 (en) System and method to chain distributed applications in a network environment
US20150124823A1 (en) Tenant dhcp in an overlay network
US20140282611A1 (en) Distributed and scaled-out network switch and packet processing
US20130173797A1 (en) Cloud based customer premises equipment
US8645508B1 (en) Managing external communications for provided computer networks
Matias et al. An OpenFlow based network virtualization framework for the cloud
US20150012621A1 (en) Network-assisted configuration and programming of gateways in a network environment
US8488446B1 (en) Managing failure behavior for computing nodes of provided computer networks

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14895196

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase in:

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14895196

Country of ref document: EP

Kind code of ref document: A1