NODEJS-based reverse proxy method, server and system

A reverse proxy and server technology, applied in the network field, can solve the problems of raising the access threshold, maintenance difficulty, and inconvenient configuration, and achieve the effect of lowering the access threshold and improving maintenance and supervision.

Inactive Publication Date: 2016-11-23
MICRO DREAM TECHTRONIC NETWORK TECH CHINACO
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The disadvantage of existing technology is that its configuration is not convenient enough
Personnel with certain server knowledge are required to set it up well, which raises the threshold for access; secondly, for front-end developers, it is also difficult to maintain

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
  • NODEJS-based reverse proxy method, server and system
  • NODEJS-based reverse proxy method, server and system
  • NODEJS-based reverse proxy method, server and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0023] Such as figure 1 As shown, it is a flowchart of a NODEJS-based reverse proxy method according to an embodiment of the present invention, and the method includes:

[0024] 101. The reverse proxy server uses the NODEJS service to obtain the network service access request sent by the client;

[0025] 102. Read the address of the destination host requesting access in the network service access request;

[0026] 103. Using the preset corresponding relation...

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 NODEJS-based reverse proxy method, server and system. The NODEJS-based reverse proxy method comprises the steps that a network service access request, sent by a client, is acquired by the reverse proxy server on the basis of NODEJS service; a destination host address, required to be able to access, in the network service access request is read; agent jump is conducted by using the corresponding relation between a preset host address and a content server address, and the destination host address, required to be able to access, in the network service access request is replaced with the corresponding content server address; and the address-replaced network service access request is sent to a corresponding content server of the content server address, and after being received, the feedback information is transferred to the client. The reverse proxy method, the reverse proxy server and the reverse proxy system have the beneficial effects as follows that reverse proxy is developed on the basis of NODEJS multiple concurrent service, so that the access threshold is reduced for front-end developers, and besides, maintenance and supervision can facilitated.

Description

technical field [0001] The invention relates to the field of network technology, in particular to a NODEJS-based reverse proxy method, a reverse proxy server and a system. Background technique [0002] Reverse proxy refers to using a proxy server to receive connection requests on the internet (Internet), then forwards the requests to servers on the internal network, and returns the results obtained from the servers to the clients requesting connections on the internet. The server behaves as a reverse proxy server externally. [0003] At present, the existing reverse proxy includes: Nginx reverse proxy service, when the client sends a request to the server, it is forwarded to the target server by the proxy server in the middle. When the server returns the request information, it can be captured by the proxy server and the content in the returned information can be intercepted and processed accordingly. However, it is necessary to know something about Nginx to properly config...

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/08H04L12/24
CPCH04L41/08H04L67/02H04L67/562H04L67/56H04L67/568
Inventor 刘伟
Owner MICRO DREAM TECHTRONIC NETWORK TECH CHINACO
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products