Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Load balancing method, load balancer and user terminal

A load balancer and load balancing technology, applied in the field of computing and processing, can solve the problems affecting the efficiency of users to establish connections or complete tasks, and the way the load balancer allocates servers is not perfect, so as to ensure performance and reduce the number of interactions. Effect

Inactive Publication Date: 2015-11-18
BEIJING JIAXUN FEIHONG ELECTRIC CO LTD
View PDF11 Cites 38 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] From the above content, it can be seen that the way the load balancer allocates servers is not perfect, which affects the efficiency of users to establish connections or complete tasks

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Load balancing method, load balancer and user terminal
  • Load balancing method, load balancer and user terminal
  • Load balancing method, load balancer and user terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0065] see figure 2 , this embodiment provides a load balancing method, which is described by taking the description from the load balancer side as an example, and includes the following steps:

[0066] Step 100, monitor the task request sent by the user.

[0067] The task request carries the number of communication needs of the user; the number of communication needs indicates the size of the number of tasks and / or connections that the user needs to create.

[0068] The task and connection that the user needs to create can be a document or music download task, or a connection for voice and video calls with other users, or other tasks issued by the user that can only be performed through the network and / or connections, which will not be described here one by one.

[0069] Step 101, according to the current load information and communication demand quantity of each server, determine the server allocated to the user and the communication quantity corresponding to each server ...

Embodiment 2

[0118] see image 3 The specific flow chart of the load balancing method shown is described by taking the description from the load balancer side as an example, including the following steps:

[0119] The content of step 200 is the same as that described in step 100 in Embodiment 1, so it will not be repeated here.

[0120] Step 201, divide the communication demand quantity into one or more communication quantity subsets according to the communication demand quantity and the maximum task assignment quantity.

[0121] Step 202, according to the current load parameters of each server and the number of tasks and / or connections that have been allocated to each server, determine the load of each server one by one, and select the communication number corresponding to each subset according to the order of load from light to heavy server.

[0122] Step 203: Update the assigned tasks and / or connection numbers corresponding to the selected server in the preset task list according to t...

Embodiment 3

[0148] see Figure 7 , this embodiment provides a load balancing method, the method is described from the user terminal side as an example, including the following steps:

[0149] Step 500, sending a task request to the load balancer, the task request carrying the number of communication needs of the user; the number of communication needs is used to indicate the size of the number of tasks and / or connections that the user needs to create.

[0150] The user terminal can send a task request to the load balancer according to the preset acquisition time threshold and communication demand quantity threshold, so the process of the task request sent by the user terminal to the load balancer includes steps (2-1) to (2-4 ):

[0151] (2-1), the user terminal obtains the communication requirement sent by the user, and the communication requirement is used to indicate the task and / or connection that the user needs to create;

[0152] (2-2), the user terminal judges whether the number o...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a load balancing method, a load balancer and a user terminal. The load balancer determines servers distributed to a user from a server cluster and communication quantity corresponding to each server according to required user communication quantity carried in a task request sent by the user, so that the load balancer can monitor the task requests of the user in real time, and can distribute the servers at a time for a plurality of tasks requested by the user while monitoring the task requests of the user, thus ensuring that the load balancer plays a role in load balancing while distributing the servers for the user tasks, avoiding the defect that the servers for executing the corresponding tasks can be requested only through many times of interaction with the load balancer when the user needs to deal with a lot of tasks, reducing interaction times between the user and the load balancer, and ensuring the performance of the load balancer.

Description

technical field [0001] The present invention relates to the field of calculation processing, in particular, to a load balancing method, a load balancer and a user terminal. Background technique [0002] A load balancer is a device that distributes user task requests to any currently lightly loaded server in a server cluster to process user task requests, thereby managing network data traffic and network bandwidth. It plays an increasingly important role in the process of network data interaction. [0003] Existing load balancers usually implement load balancing by redirecting servers. In this method, the user first obtains the server address from the load balancer, and then the user performs request / response interaction with the directed server. Such as transport layer DNS load balancing and VS / DR load balancing. In the method of redirecting servers, the load balancer distributes user requests to each server in a relatively balanced manner, which can make the entire server...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L29/08
CPCH04L67/1004H04L67/1001
Inventor 龙放
Owner BEIJING JIAXUN FEIHONG ELECTRIC CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products