Unlock instant, AI-driven research and patent intelligence for your innovation.

Access request distribution method, load balancing equipment and electronic equipment

A load balancing device and access request technology, applied in the field of network communication, can solve problems such as poor distribution effect

Active Publication Date: 2020-08-18
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the embodiments of the present invention is to provide a method for allocating access requests, a load balancing device and an electronic device, so as to solve the problem in the prior art that the load balancing device has poor distribution effect when allocating access requests to back-end servers

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
  • Access request distribution method, load balancing equipment and electronic equipment
  • Access request distribution method, load balancing equipment and electronic equipment
  • Access request distribution method, load balancing equipment and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.

[0029] See figure 1 , figure 1 A method for allocating access requests provided by an embodiment of the present invention, applied to a load balancing device, includes:

[0030] Step 101, detecting whether the first server in the server cluster is in a normal working state;

[0031] The above load balancing device and the server cluster may belong to the same service platform, and the server cluster may include multiple servers, and the load balancing device may establish a connection with any server in the server cluster, and based on the established connection, perform data transmission. Users who use the services provided by the service platform usually establish connections with servers in the server cluster through load balancing devices. Forwarded to each server in the server cluster. Wherein...

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 embodiment of the invention provides an access request distribution method, load balancing equipment and electronic equipment. The method comprises the following steps: detecting whether a first server in a server cluster is in a normal working state; if yes, sending a first access request to the first server; if not, sending the first access request to a second server in the server cluster; under the condition that it is detected that the first server is not in the normal working state, detecting the number of connections kept by the first server every other preset duration; and when thenumber of connections retained by the first server is smaller than a preset value, disconnecting all connections retained by the first server, and removing the first server from the server cluster. The access request allocation method, the load balancing equipment and the electronic equipment provided by the embodiment of the invention can solve the problem of poor allocation effect when the loadbalancing device allocates the access request to the back-end server in the prior art.

Description

technical field [0001] The invention relates to the technical field of network communication, and relates to an access request distribution method, load balancing equipment and electronic equipment. Background technique [0002] In the prior art, as a data forwarding medium, a load balancing device is usually used to connect a client and multiple backend servers, and forward the received access request from the client to the corresponding server. However, when the load balancing device allocates access requests to the back-end servers, it usually judges whether the number of connections currently held by the back-end servers is saturated, and randomly distributes the received access requests to the servers whose connections are not saturated. server, however, when a certain back-end server is currently down, if an access request is sent to the server, the problem of access failure will result. It can be seen that in the prior art, the load balancing device is distributing ac...

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/1034H04L67/1008H04L67/1031
Inventor 刘桂林
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD