Supercharge Your Innovation With Domain-Expert AI Agents!

HTTP request processing method and device

A request processing and processor technology, applied in the field of network communication, can solve the problem of unbalanced web server load, and achieve the effect of load balancing

Pending Publication Date: 2022-02-15
HILLSTONE NETWORKS CORP
View PDF0 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 application is to provide an HTTP request processing method and device to solve the problem of unbalanced web server load caused by HOST field rewriting in the prior art

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
  • HTTP request processing method and device
  • HTTP request processing method and device
  • HTTP request processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The technical solution in the present application embodiment will be described below in conjunction with the drawings in the present application embodiment.

[0026] See figure 1 , figure 1 A flowchart of an HTTP request processing method provided in the present application embodiment, which is applied to the proxy server, the proxy server, and a plurality of web server, which may include the following steps:

[0027] Step 101: Receive the first HTTP request sent by the client, where the first HTTP request includes a Host field.

[0028] Step 102: Determine the target web server corresponding to the client from the plurality of web servers based on the HOST field and the preset load balancing policy.

[0029] Step 103: Generate a second HTTP request based on the first HTTP request, where the content of the HOST field in the second HTTP request is the IP address of the target web server.

[0030] The above steps will be described below.

[0031] Step 101: Receive the first H...

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 an HTTP request processing method and device, the method is applied to a proxy server, the proxy server is connected with a plurality of web servers, the method comprises the following steps: receiving a first HTTP request sent by a client, the first HTTP request comprising a HOST field; according to the HOST field and a preset load balancing strategy, determining a target web server corresponding to the client from a plurality of web servers; generating a second HTTP request based on the first HTTP request, the content of the HOST field in the second HTTP request is the IP address of the target web server, and load balancing of the web servers is achieved in the scene that the proxy server is connected with the multiple web servers at the same time.

Description

Technical field [0001] The present application relates to the field of network communications, and in particular, there is an HTTP request processing method and device. Background technique [0002] Hyper Text Transfer Protocol (HTTP) is a transfer protocol for transmitting hypertext to local browsers from the World Wide Web server. In the prior art, when the proxy server receives the client sends an HTTP request, the HTTP request in the HTTP request is rewritten as the address of the corresponding web server, thereby implementing HTTP access. However, the existing Host field rewrite only supports the address of the HST field in the HTTP request to a fixed web server. Even if the proxy server is connected to multiple web server, when the proxy server receives the HTTP request sent by the client, the proxy server rewrite the Host field in the HTTP request as a fixed web server, which is easy to cause the web server load into unbalance. The problem. Inventive content [0003] The ...

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/1004H04L67/562H04L47/125
CPCH04L67/02H04L67/1004H04L47/125
Inventor 马炎磊王铭铖刘畅李亮常钰
Owner HILLSTONE NETWORKS CORP
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