Supercharge Your Innovation With Domain-Expert AI Agents!

Load balancing method based on HTTP cluster server

A cluster server and load balancing technology, applied in the direction of digital transmission system, electrical components, transmission system, etc., can solve the problems of HTTP access authentication failure, HTTP server unsynchronized authentication, etc., to achieve the effect of ensuring the balance effect and simple addition method

Active Publication Date: 2022-01-11
CHENGDU DBAPP SECURITY
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Solve the problem that multiple HTTP short connections initiated by one device are loaded to multiple HTTP servers after passing through the load balancer, and the HTTP access authentication fails because the authentication information is not synchronized between the HTTP 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
  • Load balancing method based on HTTP cluster server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0057] A kind of load balancing method based on HTTP cluster server of the present embodiment, such as figure 1 As shown, the IP and header fields of the HTTP server in this embodiment are inherent information that comes with the HTTP server. In this embodiment, there is no need to configure it, and it can be directly extracted. Configure the authentication signature ticket module and authentication signature ticket module interface of the HTTP server on the load balancer, read the authentication signature ticket of the HTTP server according to the authentication signature ticket module interface, and store the authentication signature ticket of the HTTP server in the authentication signature ticket module , you can use the HTTP server.

[0058] First, you need to complete the operation of adding an HTTP server. The HTTP server is connected to the network and is located behind the load balancer. At the server configuration point, the administrator is allowed to configure the H...

Embodiment 2

[0061] This embodiment is further optimized on the basis of Embodiment 1. The load balancer in this embodiment is configured with an authentication feature ticket module interface of the HTTP server for reading the list of authentication feature tickets of the HTTP server. The load balancer reads the authentication feature ticket list and maintains it in the authentication feature ticket module of the load balancer. The addition of the HTTP server is completed. The reason for adding the HTTP server is that in the HTTP server cluster deployment mode, different servers have their own authentication service modules. , multiple HTTP short connections initiated by the same user will be distributed to different HTTP servers after being loaded by the load balancer due to different request source ports. The authentication information obtained from the previous authentication cannot pass on other HTTP servers, and HTTP authentication fails. , the request access fails, and the HTTP authe...

Embodiment 3

[0064] This embodiment is further optimized on the basis of Embodiment 1. The input parameter format of the encrypted script is required to be {parameter number, data decrypted by the decrypted script...}, and the output parameter format is {header field (such as the Authorization field) }; The input parameter format of the decryption script is {header field (such as the Authorization field)}, and the output parameter format is {number of parameters, authentication feature ticket, other parameters...}. The header field (such as the Authorization field) is the header of the HTTP protocol request field, that is, the header field. During HTTP basic authentication, it is used to carry information such as the authentication method used in basic authentication, authentication feature tickets, etc., which are calculated by the above items through a certain encryption algorithm. . It is used for the subsequent HTTP server to detect that the authentication feature ticket information car...

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 relates to the technical field of load balancing, and discloses a load balancing method based on an HTTP cluster server, which comprises the following steps of: configuring an HTTP server on a load balancer; the load balancer obtains the authentication feature bill of the HTTP server to complete the addition of the HTTP server; a user initiates an HTTP request, and the HTTP request is distributed to a corresponding HTTP server through a load balancing decision; the load balancer checks the distributed HTTP request received by the corresponding HTTP server, judges whether the user completes authentication on the load balancer or not, and carries out primary binding; the load balancer obtains authentication feature bill information; the load balancer uses an encryption script to generate a header field for authentication feature bill information, authentication is completed, and secondary binding is carried out; and the HTTP request is sent to the currently allocated HTTP server. The method is used for the load balancer to complete authentication information synchronization among different servers, and the problem of access failure caused by authentication failure after the HTTP request is subjected to load balancing to different servers is solved.

Description

technical field [0001] The present invention relates to the technical field of load balancing, specifically, a load balancing method based on HTTP cluster servers, which is used for a load balancer to complete authentication information synchronization between different servers, and solve the problem of HTTP requests being load balanced to different servers. Access failures caused by authorization failures. Background technique [0002] With the continuous development of Internet technology and the increasing demand for the network, the establishment of HTTP servers is becoming more and more frequent, and the performance and capacity requirements of HTTP are also getting higher and higher. At this time, how to quickly and easily build and expand HTTP servers has become our One direction to focus on. Distributed deployment can certainly solve the problem, but the required professional capabilities, additionally configured unified authentication server, and post-maintenance a...

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): H04L67/02H04L67/1004H04L9/40H04L69/22
CPCH04L67/02H04L67/1004H04L63/08H04L63/083H04L69/22
Inventor 郝志兵范渊吴永越郑学新刘韬
Owner CHENGDU DBAPP SECURITY
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More