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

Method and device for dispersing load of servers

A server and master server technology, applied in the network field, can solve problems such as no response, timeout response, no clear diversion strategy and flow limiting measures

Inactive Publication Date: 2016-08-31
FEITIAN TECHNOLOGIES
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the current technology, in the process of the client accessing the server, there is no clear diversion strategy and flow limiting measures, which often causes the server to be overloaded and return a timeout response or no response to the client.
In the initial stage of the release of the new software version, the problem of overloading the server caused by the centralized upgrade of the client is more obvious. Therefore, how to effectively disperse the load of the server, reduce the resource consumption of the server, and improve the experience of the client has become an urgent problem to be solved.

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
  • Method and device for dispersing load of servers
  • Method and device for dispersing load of servers
  • Method and device for dispersing load of servers

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0184] Embodiment 1 of the present invention provides a method for distributing server load, such as figure 1 shown, including:

[0185] Step 101: the main server receives the request;

[0186] In this embodiment, when the main server is specifically an application server, step 101 is specifically: the main server receives the connection request sent by the client;

[0187] For example, the connection request sent by the client received by the main server is http: / / ip:port / reqtype=6;

[0188] In this embodiment, when the main server is a management server, step 101 specifically includes: the main server receives the server acquisition request sent by the application server;

[0189] Correspondingly, before step 101, the method further includes: the application server receives the connection request sent by the client.

[0190] Step 102: the master server acquires load parameters of multiple cluster servers in the cluster, and determines the optimal server among the multiple...

Embodiment 2

[0251] Embodiment 2 of the present invention provides a method for distributing server load, such as figure 2 shown, including:

[0252] Step 201: the client sends a first connection request to the application server;

[0253] Step 202: the application server waits for and receives the first connection request sent by the client;

[0254] For example, the first connection request sent by the client and received by the application server is http: / / ip:port / reqtype=6.

[0255] Step 203: the application server acquires the number of visits of the cluster server and selects the minimum number of visits;

[0256] In this embodiment, the application server obtains the number of visits of the cluster server, which may be: the application server accesses the database, and obtains the number of visits of the cluster server in the cluster server list in the database, wherein the cluster server list includes all clusters in the cluster server information;

[0257] Specifically, the a...

Embodiment 3

[0322] Embodiment 3 of the present invention provides a method for distributing server load, such as image 3 shown, including:

[0323] Step 301: the client sends a first connection request to the application server;

[0324] Step 302: the application server waits for and receives the first connection request sent by the client;

[0325] For example, the connection request sent by the client received by the application server is http: / / ip:port / reqtype=6.

[0326] Step 303: the application server obtains the traffic used by the cluster server and selects the minimum traffic;

[0327] In this embodiment, the application server obtains the traffic used by the cluster server, which may be: the application server accesses the database, and obtains the number of visits of the cluster server in the cluster server list in the database, wherein the cluster server list includes all cluster servers in the cluster Information;

[0328] Specifically, the application server shares the ...

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 discloses a method and device for dispersing load of servers. The method comprises that a master server receives a request and obtains load parameters of multiple cluster servers in a cluster; an optimum server is determined from the multiple cluster servers according to the obtained multiple load parameters; the IP address of the optimum server is obtained and is sent to a client; and the client accesses the optimum server according to the IP address. According to the technical scheme provided by the invention, the load of the servers in the cluster can be effectively dispersed, the resource consumption of the servers is reduced, and the experience of the client is improved.

Description

technical field [0001] The invention relates to the field of network technology, in particular to a method and device for distributing server loads. Background technique [0002] In the existing technology, there is no clear diversion strategy and flow limiting measures in the process of client accessing the server, which often causes the server to be overloaded and return a timeout response or no response to the client. In the initial stage of the release of the new software version, the problem of overloading the server caused by the centralized upgrade of the client is more obvious. Therefore, how to effectively disperse the load of the server, reduce the resource consumption of the server, and improve the experience of the client has become an urgent problem to be solved. . Contents of the invention [0003] The object of the present invention is to provide a method and device for distributing server loads in order to overcome the deficiencies of the prior art. [00...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08
CPCH04L67/1008H04L67/1023
Inventor 陆舟于华章
Owner FEITIAN TECHNOLOGIES
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