[go: up one dir, main page]

CN114826919B - SDN-based load balancing software nanotube method, device, equipment and medium - Google Patents

SDN-based load balancing software nanotube method, device, equipment and medium Download PDF

Info

Publication number
CN114826919B
CN114826919B CN202210278533.0A CN202210278533A CN114826919B CN 114826919 B CN114826919 B CN 114826919B CN 202210278533 A CN202210278533 A CN 202210278533A CN 114826919 B CN114826919 B CN 114826919B
Authority
CN
China
Prior art keywords
load balancing
balancing software
virtual network
starting
access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210278533.0A
Other languages
Chinese (zh)
Other versions
CN114826919A (en
Inventor
黄树民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Network Technology (Shandong) Co.,Ltd.
Original Assignee
Inspur Cisco Networking Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Cisco Networking Technology Co Ltd filed Critical Inspur Cisco Networking Technology Co Ltd
Priority to CN202210278533.0A priority Critical patent/CN114826919B/en
Publication of CN114826919A publication Critical patent/CN114826919A/en
Application granted granted Critical
Publication of CN114826919B publication Critical patent/CN114826919B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a load balancing software nano-tube method, a device, equipment and a medium based on SDN, wherein the method comprises the following steps: the SDN controller obtains an access request of a user; creating an initial virtual network and an initial folder through an encapsulation isolation technology; respectively matching preset identifiers and access parameters of the load balancing software of the plurality of nanotubes to determine the load balancing software to be started; calling a preset configuration template of the load balancing software to be started, and generating a configuration file of the load balancing software to be started according to the preset configuration template and the access parameters; creating a virtual network port and a process space through a packaging isolation technology; adding a virtual network port into an initial virtual network to obtain a starting virtual network, and adding a configuration file into an initial folder to obtain a starting file; and starting the load balancing software to be started according to the starting virtual network, the starting file and the process space.

Description

SDN-based load balancing software nanotube method, device, equipment and medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a medium for load balancing software nanotubes based on SDN.
Background
A software defined network (Software Defined Network, SDN) is a new network architecture, the core idea being to control the distributed forwarding network device plane by means of controller software.
In SDN-defined networks, where high-load access traffic is involved, load balancing is typically employed to split the access traffic to multiple service providers (e.g., background servers). For load balancing, there is usually pure software, such as LVS, nginx, HA-Proxy, etc., and pure hardware, such as F5, a10, deep belief, etc., each of which has advantages and disadvantages.
For the load balancing software, because the SDN controller can only receive one load balancing software, when a new demand occurs to a user, because the protocols supported by the load balancing software are limited, if the load balancing software cannot support the protocols in the new demand, the load balancing software cannot be used continuously, so that when the load balancing software is received by the SDN controller, the new demand of the user cannot be met timely, and the receiving efficiency is low.
Meanwhile, under the condition of only one type of load balancing software, the actual requirement of a user is not considered, for example, the load balancing software needs to meet the performance of high concurrent traffic at first, but if the later user has access service with low concurrent traffic, the load balancing software is adopted to perform load balancing, so that the performance of the load balancing software is wasted.
Based on this, there is a need for a more reliable SDN based load balancing software nanotube scheme.
Disclosure of Invention
The embodiment of the application provides an SDN-based load balancing software nanotube method, an SDN-based load balancing software nanotube device, SDN-based load balancing software nanotube equipment and an SDN-based load balancing software nanotube medium, which are used for solving the problem that a more reliable SDN-based load balancing software nanotube scheme is needed.
The embodiment of the application adopts the following technical scheme:
in one aspect, an embodiment of the present application provides a load balancing software nanotube method based on SDN, where the method includes: the SDN controller obtains an access request of a user; the access request comprises access parameters and access services required by the user when the user accesses the mobile terminal; creating an initial virtual network and an initial folder through an encapsulation isolation technology; respectively matching preset identifiers of the load balancing software of the plurality of nanotubes with the access parameters to determine the load balancing software to be started; the preset identifier is used for representing a supporting protocol and supporting concurrent flow of the load balancing software; calling a preset configuration template of the load balancing software to be started, and generating a configuration file of the load balancing software to be started according to the preset configuration template and the access parameters; creating a virtual network port and a process space through a packaging isolation technology; adding the virtual network port into the initial virtual network to obtain a starting virtual network, and adding the configuration file into the initial folder to obtain a starting file; and starting the load balancing software to be started according to the starting virtual network, the starting file and the process space.
In one example, the matching the preset identifiers of the load balancing software of the plurality of nanotubes with the access parameters to determine the load balancing software to be started specifically includes: determining a communication protocol in the access parameters; respectively matching the support protocols of the load balancing software of the plurality of nanotubes with the communication protocol to determine effective load balancing software; determining concurrent traffic in the access parameters; determining a difference between the supported concurrent traffic of the payload balancing software and the concurrent traffic in the access parameter; and taking the effective load balancing software with the smallest difference as the load balancing software to be started.
In one example, after the load balancing software to be started is started according to the start virtual network, the start file and the process space, the method includes: determining a virtual machine server to provide the access service from a plurality of virtual machine servers based on a preset load balancing model; and forwarding the access request to a virtual machine server which is to provide the access service through a switch according to a preset virtual Internet Protocol (IP) address.
In one example, the virtual machine server that is to provide the access service among the plurality of virtual machine servers based on a preset load balancing algorithm specifically includes: load information corresponding to each of the plurality of virtual machine servers is obtained; determining a request type of the access request; searching a load balancing model corresponding to the request type in a preset load balancing model database; and determining a virtual machine server which is to provide the access service according to the load balancing model and the load information.
In one example, the determining, according to the load balancing model and the load information, a virtual machine server that is to provide the access service specifically includes: according to the load information, sequencing the plurality of virtual machine servers respectively to determine the priority level of each virtual machine server; and determining the virtual machine server which is to provide the access service according to the preset scheduling rule corresponding to the load balancing model and the priority level of the virtual machine server.
In one example, the load information includes at least one of: CPU utilization information and memory utilization information.
In one example, after the load balancing software to be started is started according to the start virtual network, the start file and the process space, the method further includes: acquiring an update access request uploaded by the user again; the update access request comprises update access parameters required by the user when the user accesses the user; updating the load balancing software to be started according to the update access parameters, and generating an update configuration file corresponding to the updated load balancing software to be started; deleting the starting file, and adding the updating configuration file into the initial folder to obtain an updating starting file; and starting the updated load balancing software to be started according to the starting virtual network, the updated starting file and the process space.
In another aspect, an embodiment of the present application provides an SDN-based load balancing software nanotube device, applied to an SDN controller, where the device includes: the acquisition module acquires an access request of a user; the access request comprises access parameters and access services required by the user when the user accesses the mobile terminal; the first newly-built module is used for creating an initial virtual network and an initial folder through a packaging isolation technology; the matching module is used for respectively matching the preset identifiers of the load balancing software of the plurality of nanotubes with the access parameters to determine the load balancing software to be started; the preset identifier is used for representing a supporting protocol and supporting concurrent flow of the load balancing software; the generating module is used for calling a preset configuration template of the load balancing software to be started, and generating a configuration file of the load balancing software to be started according to the preset configuration template and the access parameters; the second newly-built module establishes a virtual network port and a process space through a packaging isolation technology; the adding module adds the virtual network port into the initial virtual network to obtain a starting virtual network, and adds the configuration file into the initial folder to obtain a starting file; and the starting module starts the load balancing software to be started according to the starting virtual network, the starting file and the process space.
In another aspect, an embodiment of the present application provides an SDN-based load balancing software nanotube device, applied to an SDN controller, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to: acquiring an access request of a user; the access request comprises access parameters and access services required by the user when the user accesses the mobile terminal; creating an initial virtual network and an initial folder through an encapsulation isolation technology; respectively matching preset identifiers of the load balancing software of the plurality of nanotubes with the access parameters to determine the load balancing software to be started; the preset identifier is used for representing a supporting protocol and supporting concurrent flow of the load balancing software; calling a preset configuration template of the load balancing software to be started, and generating a configuration file of the load balancing software to be started according to the preset configuration template and the access parameters; creating a virtual network port and a process space through a packaging isolation technology; adding the virtual network port into the initial virtual network to obtain a starting virtual network, and adding the configuration file into the initial folder to obtain a starting file; and starting the load balancing software to be started according to the starting virtual network, the starting file and the process space.
In another aspect, an embodiment of the present application provides an SDN-based load balancing software nanotube non-volatile computer storage medium storing computer executable instructions applied to an SDN controller, where the computer executable instructions are configured to: acquiring an access request of a user; the access request comprises access parameters and access services required by the user when the user accesses the mobile terminal; creating an initial virtual network and an initial folder through an encapsulation isolation technology; respectively matching preset identifiers of the load balancing software of the plurality of nanotubes with the access parameters to determine the load balancing software to be started; the preset identifier is used for representing a supporting protocol and supporting concurrent flow of the load balancing software; calling a preset configuration template of the load balancing software to be started, and generating a configuration file of the load balancing software to be started according to the preset configuration template and the access parameters; creating a virtual network port and a process space through a packaging isolation technology; adding the virtual network port into the initial virtual network to obtain a starting virtual network, and adding the configuration file into the initial folder to obtain a starting file; and starting the load balancing software to be started according to the starting virtual network, the starting file and the process space.
The above at least one technical scheme adopted by the embodiment of the application can achieve the following beneficial effects:
the application can realize the capacity of the SDN controller to identify a plurality of load balancing software by adding the identification to the load balancing software, such as supporting protocols, supporting concurrent flow and the like, so as to realize the plurality of load balancing software of the nano tube, and can automatically select the matched load balancing software to provide service in time according to the concurrent flow of different orders and different communication protocols, thereby improving the nano tube efficiency and avoiding the performance waste of the load balancing software.
Drawings
In order to more clearly illustrate the technical solution of the present application, some embodiments of the present application will be described in detail below with reference to the accompanying drawings, in which:
fig. 1 is a schematic flow chart of a load balancing software nanotube method based on SDN according to an embodiment of the present application;
fig. 2 is a system structure diagram of a load balancing software nanotube based on SDN according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a load balancing software nanotube device based on SDN according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an SDN-based load balancing software nanotube device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Some embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of a load balancing software nanotube method based on SDN according to an embodiment of the present application. The method can be applied to different business fields, such as the internet financial business field, the electric business field, the instant messaging business field, the game business field, the public business field and the like. Some input parameters or intermediate results in the flow allow for manual intervention adjustments to help improve accuracy.
Currently, more and more services have been clouded, and the clouded services run in virtual machines. But single virtual machines have weak concurrent access. In public cloud environments or larger scale private cloud environments, there are portions of concurrent operations that need to support high data volumes, thousands, even hundreds of millions, of concurrent access requests per second. In this case, the cloud environment generally processes the concurrent service by copying a plurality of virtual machines running the service, but this method needs to deploy a set of load balancing in front of a plurality of virtual machines running the service, and distributes the original access to the same service to the virtual machines running the service for processing after a certain algorithm.
However, at present, an SDN scheme in public cloud or private cloud generally uses a network virtualization scheme in an area, and only one load balancing scheme is available. Therefore, in a region, if multiple services face concurrent access requirements of different magnitudes, the same load balancing scheme is used to cope with the concurrent access requirements, for example, when the services are provided by using the same load balancing software in the face of different concurrent volume requirements, high concurrent performance of the software may be wasted, and access bottlenecks may be caused by insufficient concurrent performance of the software. And in the face of the load balancing concurrent service requirement of a new protocol, when the existing load balancing software does not support the service requirement, the scheme of single load balancing software has no way to deal with. Based on the above, in order to solve the above problems, the present application provides a load balancing software nanotube method based on SDN.
The flow in fig. 1 may include the steps of:
s102: the SDN controller obtains the access request of the user. The access request comprises access parameters and access services required by the user during access.
S104: and creating an initial virtual network and an initial folder through an encapsulation isolation technology.
S106: respectively matching preset identifiers of the load balancing software of the plurality of nanotubes with the access parameters to determine the load balancing software to be started; and the preset identifier is used for representing a supporting protocol of the load balancing software and supporting concurrent traffic.
The method comprises the steps that a user tags load balancing software in advance, concurrent flow which can be supported by the load balancing software is identified, protocol is supported, and aspects of adequacy are supported, so that preset identification of the load balancing software is obtained.
Specifically, the communication protocol in the access parameters is first determined, then the supporting protocols of the plurality of managed load balancing software are respectively matched with the communication protocol, and the effective load balancing software is determined.
Then, concurrent traffic in the access parameters is determined, and a difference between the supported concurrent traffic of the payload balancing software and the concurrent traffic in the access parameters is determined. For example, the difference between the supported concurrent traffic of the payload balancing software and the concurrent traffic in the access parameters is calculated by a preset formula. And finally, taking the effective load balancing software with the smallest difference value as the load balancing software to be started. Thus, the concurrent access requirement of the specific communication protocol is realized, and only the service of the specific protocol is provided.
S108: and calling a preset configuration template of the load balancing software to be started, and generating a configuration file of the load balancing software to be started according to the preset configuration template and the access parameters.
The preset configuration template comprises a virtual IP address, a virtual network port number and the like of the load balancing software to be started.
S110: and creating a virtual network port and a process space by using an encapsulation isolation technology.
S112: and adding the virtual network port into the initial virtual network to obtain a starting virtual network, and adding the configuration file into the initial folder to obtain a starting file.
S114: and starting the load balancing software to be started according to the starting virtual network, the starting file and the process space.
In some embodiments of the present application, after starting load balancing software to be started, a load balancer is obtained according to the software to be started, and then, based on a preset load balancing model, a virtual machine server to be provided with an access service is determined among a plurality of virtual machine servers. Then, the access request is forwarded to the virtual machine server that is to provide the access service through the switch according to the preset virtual IP address.
More intuitively, fig. 2 is a system structure diagram of an SDN-based load balancing software nanotube provided by the present application. As shown in fig. 2, the network server includes a load balancer 1, an sdn controller nanotube and two load balancing software, and both load balancing software are started to obtain the load balancer 1 and the load balancer 2 respectively.
For the access between the internal networks, the VM3 in the left virtual machine server initiates an access request to the load balancer 1, and the load balancer 1 is connected with the VM1 of the right virtual machine server through the network 1 and the switch, that is, the VM1 of the right virtual machine server is the virtual machine server that will provide the access service, and the VM1 of the right virtual machine server returns the access result to the VM3 of the left virtual machine server.
Meanwhile, for the access to the external network, the load balancer 2 is connected to the VM3 of the right virtual machine server through the network 2 and the switch, that is, the VM3 of the right virtual machine server is the virtual machine server that is to provide the access service. At the same time, VM3 in the right virtual machine server returns the access result to the client that initiated the access request.
Further, based on a preset load balancing algorithm, when a virtual machine server providing the access service is to be provided in the plurality of virtual machine servers, load information corresponding to the plurality of virtual machine servers is acquired. Wherein the load information includes at least one of: CPU utilization information and memory utilization information.
And then, determining the request type of the access request, and searching a load balancing model corresponding to the request type in a preset load balancing model database. That is, different request types correspond to different load balancing models. And finally, determining the virtual machine server to be provided with the access service according to the load balancing model and the load information.
Further, when determining the virtual machine server to be provided with the access service according to the load balancing model and the load information, the plurality of virtual machine servers are respectively ordered according to the load information to determine the priority level of each virtual machine server. And then, determining the virtual machine server to be provided with the access service according to the preset scheduling rule corresponding to the load balancing model and the priority level of the virtual machine server. Wherein, the higher the priority level, the smaller the load pressure of the virtual machine server. For example, a plurality of priority levels of a virtual machine server that is to provide an access service are first determined, and then concurrent traffic in an access parameter is divided into a plurality of sets of concurrent traffic corresponding to the plurality of priority levels, that is, one priority level corresponds to each set of concurrent traffic. Each set of concurrent traffic is then evenly distributed to the virtual machine servers of the same priority level.
In some embodiments of the present application, after the load balancing software to be started is started, an update access request that is re-uploaded by the user is obtained. Wherein the update access request includes update access parameters required by the user at the time of access. And then, according to the update access parameters, updating the load balancing software to be started, and generating an update configuration file corresponding to the updated load balancing software to be started. And then deleting the starting file, and adding the updating configuration file into the initial folder to obtain the updating starting file.
And finally, starting the updated load balancing software to be started according to the starting virtual network, the updated starting file and the process space. That is, when the user modifies the load balancing service required by the user, the content of the above steps is updated again according to the new parameters required by the user.
By adding the identifier to the load balancing software through the method of fig. 1, the capacity of the SDN controller for identifying a plurality of load balancing software, such as supporting a protocol, supporting concurrent traffic, and the like, can be realized, so that a plurality of load balancing software of the nano tube can be realized, and the load balancing software matched with the concurrent traffic of different orders and different communication protocols can be automatically selected in time to provide services, so that the nano tube efficiency is improved, and the performance waste of the load balancing software is avoided.
And based on the encapsulation isolation linux nasespace technology, the process, the configuration file and the network port of the newly started load balancing service on the network server are isolated in each nasespace, are isolated and invisible from each other, and cannot influence each other.
It should be noted that, although the embodiment of the present application is described with reference to fig. 1 for sequentially describing steps S102 to S114, this does not represent that steps S102 to S114 must be performed in strict sequence. The steps S102 to S114 are sequentially described according to the sequence shown in fig. 1 according to the embodiment of the present application, so as to facilitate the understanding of the technical solution of the embodiment of the present application by those skilled in the art. In other words, in the embodiment of the present application, the sequence between the steps S102 to S114 may be appropriately adjusted according to the actual needs.
Based on the same thought, some embodiments of the present application further provide an apparatus, a device, and a non-volatile computer storage medium corresponding to the above method.
Fig. 3 is a schematic structural diagram of a load balancing software nanotube device based on SDN, which is provided in an embodiment of the present application and is applied to an SDN controller, where the device includes:
an acquisition module 302, for acquiring an access request of a user; the access request comprises access parameters and access services required by the user when the user accesses the mobile terminal;
a first new modeling block 304, which creates an initial virtual network and an initial folder through encapsulation isolation technology;
the matching module 306 respectively matches preset identifiers of the load balancing software of the plurality of nanotubes with the access parameters to determine the load balancing software to be started; the preset identifier is used for representing a supporting protocol and supporting concurrent flow of the load balancing software;
the generating module 308 invokes a preset configuration template of the load balancing software to be started, and generates a configuration file of the load balancing software to be started according to the preset configuration template and the access parameter;
a second new module 310 for creating a virtual network port and a process space by encapsulation and isolation technology;
a joining module 312, configured to join the virtual network port into the initial virtual network to obtain a start virtual network, and join the configuration file into the initial folder to obtain a start file;
and a starting module 314, for starting the load balancing software to be started according to the starting virtual network, the starting file and the process space.
Fig. 4 is a schematic structural diagram of a load balancing software nanotube device based on SDN, provided in an embodiment of the present application, where the load balancing software nanotube device is applied to an SDN controller, and includes:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring an access request of a user; the access request comprises access parameters and access services required by the user when the user accesses the mobile terminal;
creating an initial virtual network and an initial folder through an encapsulation isolation technology;
respectively matching preset identifiers of the load balancing software of the plurality of nanotubes with the access parameters to determine the load balancing software to be started; the preset identifier is used for representing a supporting protocol and supporting concurrent flow of the load balancing software;
calling a preset configuration template of the load balancing software to be started, and generating a configuration file of the load balancing software to be started according to the preset configuration template and the access parameters;
creating a virtual network port and a process space through a packaging isolation technology;
adding the virtual network port into the initial virtual network to obtain a starting virtual network, and adding the configuration file into the initial folder to obtain a starting file;
and starting the load balancing software to be started according to the starting virtual network, the starting file and the process space.
Some embodiments of the present application provide an SDN-based load balancing software nanotube non-volatile computer storage medium storing computer executable instructions applied to an SDN controller, the computer executable instructions configured to:
acquiring an access request of a user; the access request comprises access parameters and access services required by the user when the user accesses the mobile terminal;
creating an initial virtual network and an initial folder through an encapsulation isolation technology;
respectively matching preset identifiers of the load balancing software of the plurality of nanotubes with the access parameters to determine the load balancing software to be started; the preset identifier is used for representing a supporting protocol and supporting concurrent flow of the load balancing software;
calling a preset configuration template of the load balancing software to be started, and generating a configuration file of the load balancing software to be started according to the preset configuration template and the access parameters;
creating a virtual network port and a process space through a packaging isolation technology;
adding the virtual network port into the initial virtual network to obtain a starting virtual network, and adding the configuration file into the initial folder to obtain a starting file;
and starting the load balancing software to be started according to the starting virtual network, the starting file and the process space.
The embodiments of the present application are described in a progressive manner, and the same and similar parts of the embodiments are all referred to each other, and each embodiment is mainly described in the differences from the other embodiments. In particular, for apparatus, devices and media embodiments, the description is relatively simple as it is substantially similar to method embodiments, with reference to the description of method embodiments in part.
The devices, the devices and the media provided by the embodiments of the present application are in one-to-one correspondence with the methods, so that the devices, the devices and the media also have similar beneficial technical effects as the corresponding methods, and since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices, the devices and the media are not described again here.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), random Access Memory (RAM) of other origin, read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by the computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the technical principle of the present application should fall within the protection scope of the present application.

Claims (10)

1. A load balancing software nano-tube method based on a software defined network SDN, the method comprising;
the SDN controller obtains an access request of a user; the access request comprises access parameters and access services required by the user when the user accesses the mobile terminal;
creating an initial virtual network and an initial folder through an encapsulation isolation technology;
respectively matching preset identifiers of the load balancing software of the plurality of nanotubes with the access parameters to determine the load balancing software to be started; the preset identifier is used for representing a supporting protocol and supporting concurrent flow of the load balancing software;
calling a preset configuration template of the load balancing software to be started, and generating a configuration file of the load balancing software to be started according to the preset configuration template and the access parameters;
creating a virtual network port and a process space through a packaging isolation technology;
adding the virtual network port into the initial virtual network to obtain a starting virtual network, and adding the configuration file into the initial folder to obtain a starting file;
and starting the load balancing software to be started according to the starting virtual network, the starting file and the process space.
2. The method according to claim 1, wherein the matching the preset identifiers of the load balancing software of the plurality of nanotubes with the access parameters respectively determines the load balancing software to be started, and specifically includes:
determining a communication protocol in the access parameters;
respectively matching the support protocols of the load balancing software of the plurality of nanotubes with the communication protocol to determine effective load balancing software;
determining concurrent traffic in the access parameters;
determining a difference between the supported concurrent traffic of the payload balancing software and the concurrent traffic in the access parameter;
and taking the effective load balancing software with the smallest difference as the load balancing software to be started.
3. The method according to claim 1, wherein after the load balancing software to be started is started according to the start-up virtual network, the start-up file and the process space, the method comprises:
determining a virtual machine server to provide the access service from a plurality of virtual machine servers based on a preset load balancing model;
and forwarding the access request to a virtual machine server which is to provide the access service through a switch according to a preset virtual Internet Protocol (IP) address.
4. A method according to claim 3, wherein the virtual machine server that is to provide the access service among the plurality of virtual machine servers based on a preset load balancing algorithm, specifically comprises:
load information corresponding to each of the plurality of virtual machine servers is obtained;
determining a request type of the access request;
searching a load balancing model corresponding to the request type in a preset load balancing model database;
and determining a virtual machine server which is to provide the access service according to the load balancing model and the load information.
5. The method according to claim 4, wherein the determining, according to the load balancing model and the load information, the virtual machine server that is to provide the access service, specifically comprises:
according to the load information, sequencing the plurality of virtual machine servers respectively to determine the priority level of each virtual machine server;
and determining the virtual machine server which is to provide the access service according to the preset scheduling rule corresponding to the load balancing model and the priority level of the virtual machine server.
6. The method of claim 5, wherein the load information comprises at least one of:
CPU utilization information and memory utilization information.
7. The method of claim 1, wherein after the starting the load balancing software to be started according to the start-up virtual network, the start-up file, and the process space, the method further comprises:
acquiring an update access request uploaded by the user again; the update access request comprises update access parameters required by the user when the user accesses the user;
updating the load balancing software to be started according to the update access parameters, and generating an update configuration file corresponding to the updated load balancing software to be started;
deleting the starting file, and adding the updating configuration file into the initial folder to obtain an updating starting file;
and starting the updated load balancing software to be started according to the starting virtual network, the updated starting file and the process space.
8. An SDN-based load balancing software nanotube device, for application to an SDN controller, the device comprising:
the acquisition module acquires an access request of a user; the access request comprises access parameters and access services required by the user when the user accesses the mobile terminal;
the first newly-built module is used for creating an initial virtual network and an initial folder through a packaging isolation technology;
the matching module is used for respectively matching the preset identifiers of the load balancing software of the plurality of nanotubes with the access parameters to determine the load balancing software to be started; the preset identifier is used for representing a supporting protocol and supporting concurrent flow of the load balancing software;
the generating module is used for calling a preset configuration template of the load balancing software to be started, and generating a configuration file of the load balancing software to be started according to the preset configuration template and the access parameters;
the second newly-built module establishes a virtual network port and a process space through a packaging isolation technology;
the adding module adds the virtual network port into the initial virtual network to obtain a starting virtual network, and adds the configuration file into the initial folder to obtain a starting file;
and the starting module starts the load balancing software to be started according to the starting virtual network, the starting file and the process space.
9. An SDN-based load balancing software nanotube device, applied to an SDN controller, comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring an access request of a user; the access request comprises access parameters and access services required by the user when the user accesses the mobile terminal;
creating an initial virtual network and an initial folder through an encapsulation isolation technology;
respectively matching preset identifiers of the load balancing software of the plurality of nanotubes with the access parameters to determine the load balancing software to be started; the preset identifier is used for representing a supporting protocol and supporting concurrent flow of the load balancing software;
calling a preset configuration template of the load balancing software to be started, and generating a configuration file of the load balancing software to be started according to the preset configuration template and the access parameters;
creating a virtual network port and a process space through a packaging isolation technology;
adding the virtual network port into the initial virtual network to obtain a starting virtual network, and adding the configuration file into the initial folder to obtain a starting file;
and starting the load balancing software to be started according to the starting virtual network, the starting file and the process space.
10. An SDN-based load balancing software nanotube non-volatile computer storage medium storing computer executable instructions, characterized in that applied to an SDN controller, the computer executable instructions are configured to:
acquiring an access request of a user; the access request comprises access parameters and access services required by the user when the user accesses the mobile terminal;
creating an initial virtual network and an initial folder through an encapsulation isolation technology;
respectively matching preset identifiers of the load balancing software of the plurality of nanotubes with the access parameters to determine the load balancing software to be started; the preset identifier is used for representing a supporting protocol and supporting concurrent flow of the load balancing software;
calling a preset configuration template of the load balancing software to be started, and generating a configuration file of the load balancing software to be started according to the preset configuration template and the access parameters;
creating a virtual network port and a process space through a packaging isolation technology;
adding the virtual network port into the initial virtual network to obtain a starting virtual network, and adding the configuration file into the initial folder to obtain a starting file;
and starting the load balancing software to be started according to the starting virtual network, the starting file and the process space.
CN202210278533.0A 2022-03-21 2022-03-21 SDN-based load balancing software nanotube method, device, equipment and medium Active CN114826919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210278533.0A CN114826919B (en) 2022-03-21 2022-03-21 SDN-based load balancing software nanotube method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210278533.0A CN114826919B (en) 2022-03-21 2022-03-21 SDN-based load balancing software nanotube method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN114826919A CN114826919A (en) 2022-07-29
CN114826919B true CN114826919B (en) 2023-09-22

Family

ID=82530546

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210278533.0A Active CN114826919B (en) 2022-03-21 2022-03-21 SDN-based load balancing software nanotube method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN114826919B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007006721A1 (en) * 2005-07-08 2007-01-18 Ahmed Lbath Method for generating software applications for supplying contextualized services and system for implementing said method
CN107733991A (en) * 2017-09-19 2018-02-23 大唐网络有限公司 One kind provides load balancing service implementation method based on OpenStack frameworks
CN108063783A (en) * 2016-11-08 2018-05-22 上海有云信息技术有限公司 The dispositions method and device of a kind of load equalizer
CN109656569A (en) * 2018-10-16 2019-04-19 平安普惠企业管理有限公司 Multi-environment application dispositions method, equipment, storage medium and device
CN109885311A (en) * 2019-01-28 2019-06-14 平安科技(深圳)有限公司 A kind of generation method and equipment of application program
CN110287021A (en) * 2019-05-17 2019-09-27 平安科技(深圳)有限公司 Load balancing application management method, device, computer equipment and storage medium
CN110289983A (en) * 2019-05-17 2019-09-27 平安科技(深圳)有限公司 Load balancing application creation method, device, computer equipment and storage medium
CN111935238A (en) * 2020-07-16 2020-11-13 浪潮思科网络科技有限公司 Cloud platform load balancing management system, method, equipment and medium
CN112099915A (en) * 2020-09-07 2020-12-18 紫光云(南京)数字技术有限公司 Soft load balancing dynamic issuing configuration method and system
CN112231053A (en) * 2020-09-29 2021-01-15 新华三信息安全技术有限公司 Load balancing service distribution method and device
US11061667B1 (en) * 2020-04-27 2021-07-13 Citrix Systems, Inc. Selecting a version of an application

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8776038B2 (en) * 2008-08-07 2014-07-08 Code Systems Corporation Method and system for configuration of virtualized software applications
US9973566B2 (en) * 2013-11-17 2018-05-15 Nimbix, Inc. Dynamic creation and execution of containerized applications in cloud computing

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007006721A1 (en) * 2005-07-08 2007-01-18 Ahmed Lbath Method for generating software applications for supplying contextualized services and system for implementing said method
CN108063783A (en) * 2016-11-08 2018-05-22 上海有云信息技术有限公司 The dispositions method and device of a kind of load equalizer
CN107733991A (en) * 2017-09-19 2018-02-23 大唐网络有限公司 One kind provides load balancing service implementation method based on OpenStack frameworks
CN109656569A (en) * 2018-10-16 2019-04-19 平安普惠企业管理有限公司 Multi-environment application dispositions method, equipment, storage medium and device
CN109885311A (en) * 2019-01-28 2019-06-14 平安科技(深圳)有限公司 A kind of generation method and equipment of application program
CN110287021A (en) * 2019-05-17 2019-09-27 平安科技(深圳)有限公司 Load balancing application management method, device, computer equipment and storage medium
CN110289983A (en) * 2019-05-17 2019-09-27 平安科技(深圳)有限公司 Load balancing application creation method, device, computer equipment and storage medium
US11061667B1 (en) * 2020-04-27 2021-07-13 Citrix Systems, Inc. Selecting a version of an application
CN111935238A (en) * 2020-07-16 2020-11-13 浪潮思科网络科技有限公司 Cloud platform load balancing management system, method, equipment and medium
CN112099915A (en) * 2020-09-07 2020-12-18 紫光云(南京)数字技术有限公司 Soft load balancing dynamic issuing configuration method and system
CN112231053A (en) * 2020-09-29 2021-01-15 新华三信息安全技术有限公司 Load balancing service distribution method and device

Also Published As

Publication number Publication date
CN114826919A (en) 2022-07-29

Similar Documents

Publication Publication Date Title
CN110287197B (en) Data storage method, migration method and device
US10664331B2 (en) Generating an application programming interface
CN112463290A (en) Method, system, apparatus and storage medium for dynamically adjusting the number of computing containers
CN108196787B (en) Quota management method of cluster storage system and cluster storage system
US20130227232A1 (en) Partition aware quality of service feature
CN106375360B (en) A method, device and system for updating map data
CN112699219B (en) Log searching method and device
EP3432132B1 (en) Data storage method and device
US9021478B1 (en) Provisioning virtual machines from template by splitting and building index for locating content portions via content-centric network
CN109104368B (en) A method, device, server and computer-readable storage medium for requesting connection
US10887249B2 (en) Resource trees by management controller
CN108446110A (en) Lua scenario generation methods, device, terminal and computer-readable medium
CN117692401A (en) Message sending method, device, server and storage medium
CN114826919B (en) SDN-based load balancing software nanotube method, device, equipment and medium
US11893373B2 (en) Exposure and de-duplication of input parameters for complex Helm chart deployment
US10452295B1 (en) Data routing in information processing system utilizing persistent memory
CN115134358B (en) Cross-cluster traffic forwarding method and device, computer equipment and storage medium
CN110968599B (en) Inquiry method and device based on Impala
CN113873052A (en) Domain name resolution method, device and equipment of Kubernetes cluster
CN112583740A (en) Network communication method and device
CN110290202A (en) A kind of information of Service Gateway is attached to method, apparatus and relevant device
US12229536B1 (en) Deduplication of shared dependencies in micro frontends
CN114528007B (en) Component processing method, device, electronic device and storage medium
CN108733805A (en) File interaction method, system, computer equipment and storage medium
CN114760279B (en) Method for identifying device type, server side and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 250101 s01-6 / F, No. 1036, Langchao Road, high tech Zone, Jinan City, Shandong Province

Patentee after: Inspur Network Technology (Shandong) Co.,Ltd.

Country or region after: China

Address before: 250101 s01-6 / F, No. 1036, Langchao Road, high tech Zone, Jinan City, Shandong Province

Patentee before: INSPUR CISCO NETWORK TECHNOLOGY Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address