CN107682442A - A kind of Web connection methods and device - Google Patents

A kind of Web connection methods and device Download PDF

Info

Publication number
CN107682442A
CN107682442A CN201710971252.2A CN201710971252A CN107682442A CN 107682442 A CN107682442 A CN 107682442A CN 201710971252 A CN201710971252 A CN 201710971252A CN 107682442 A CN107682442 A CN 107682442A
Authority
CN
China
Prior art keywords
web server
web
reverse proxy
load equalizer
request message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710971252.2A
Other languages
Chinese (zh)
Other versions
CN107682442B (en
Inventor
徐景良
包蕾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Unionpay Co Ltd
Original Assignee
China Unionpay Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Unionpay Co Ltd filed Critical China Unionpay Co Ltd
Priority to CN201710971252.2A priority Critical patent/CN107682442B/en
Publication of CN107682442A publication Critical patent/CN107682442A/en
Application granted granted Critical
Publication of CN107682442B publication Critical patent/CN107682442B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1034Reaction to server failures by a load balancer

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer And Data Communications (AREA)

Abstract

This application discloses a kind of Web connection methods and device, this method to include:Load equalizer sends probe messages by the first Reverse Proxy to the first WWW Web server is connected with first Reverse Proxy;If the load equalizer does not receive the response message that first Web server returns in preset time period, then determine that the link between the load equalizer and first Web server is in malfunction, and will send to the first request message of first Web server, sent by the second Reverse Proxy to the second Web server;First request message is the message for having been sent to first Web server but not receiving the first response message that first Web server returns.

Description

A kind of Web connection methods and device
Technical field
The application is related to communication technical field, more particularly to a kind of Web connection methods and device.
Background technology
With Internet popularization and the development of WWW (WORLD WIDE WEB, Web) technology, computer network carries Increasing service and application are supplied, while explosive growth also occur in network traffics.Except the increase of flow, network Connect High Availabitity with web to server performance using the development of itself and it is also proposed higher requirement.
In the prior art, load equalizer can not find the connecting fault of web server and by user in Web connections system The request of equipment continues to issue the Web server of failure, causes the request that user equipment is sent cannot respond to, user equipment is continuous Ground sends HTTP (HyperText Transfer Protocol, HTTP) request, so as to occupy substantial amounts of band Width, time overhead increase, efficiency are low.Further, since load equalizer is unknowable to the Web server of connecting fault, therefore The session information of user equipment on the Web server of failure can not be transferred to the normal Web service of connection by load equalizer Device, and then influence Consumer's Experience.
In the prior art, it can only by hand fix a breakdown, have impact on when Web server is connected failure with load equalizer The high availability of Web applications, and then bad Consumer's Experience is brought for user, improve the cost safeguarded and investigate failure.
Therefore, a kind of Web connection methods are needed badly at present, caused user please during solving Web server failure Ask the problem of cannot respond to.
The content of the invention
The embodiment of the present application provides a kind of Web connection methods and device, solves caused during Web server failure The problem of user's request cannot respond to.
The embodiment of the present application provides a kind of Web connection methods, including:
Load equalizer is connected the first Web by the first Reverse Proxy to first Reverse Proxy Server sends probe messages;
If the load equalizer does not receive the response report that first Web server returns in preset time period Text, it is determined that the link between the load equalizer and first Web server is in malfunction, and will send to institute The first request message of the first Web server is stated, is sent by the second Reverse Proxy to the second Web server;It is described First request message is for having been sent to first Web server but not receiving that first Web server returns The message of one response message.
A kind of possible implementation, the load equalizer will be sent to the first request of first Web server After message, methods described also includes:
The load equalizer sends the spy by first Reverse Proxy to first Web server Observe and predict text;
If the load equalizer receives the response report that first Web server returns in the preset time period Text, it is determined that first Web server is in normal condition.
A kind of possible implementation, methods described also include:
The load equalizer receives the second request message;
The load equalizer sends second request message in normal condition by Reverse Proxy Web server.
A kind of possible implementation, the load equalizer by the first Reverse Proxy to it is described first anti- Before connecting the first Web server transmission probe messages to proxy server, methods described also includes:
The load equalizer sends N number of spy by first Reverse Proxy to first Web server Text is observed and predicted, and does not receive the response message that first Web server returns, N is the integer more than 0.
The embodiment of the present application provides a kind of Web attachment means, including:
Transmit-Receive Unit, for being connected first to first Reverse Proxy by the first Reverse Proxy Web server sends probe messages;
Processing unit, returned if not receiving first Web server in preset time period for the Transmit-Receive Unit The response message returned, it is determined that the link between load equalizer and first Web server is in malfunction, and will hair The first request message of first Web server is delivered to, is sent by the second Reverse Proxy to the second Web service Device;First request message returns to have been sent to first Web server but not receiving first Web server The message of the first response message returned.
A kind of possible implementation, the Transmit-Receive Unit, for by first Reverse Proxy to described First Web server sends the probe messages;
The processing unit, if receiving the first Web clothes in the preset time period for the Transmit-Receive Unit The response message that business device returns, it is determined that first Web server is in normal condition.
A kind of possible implementation, the Transmit-Receive Unit, it is additionally operable to receive the second request message;
The processing unit, it is additionally operable to by Reverse Proxy send second request message in normal The Web server of state.
A kind of possible implementation, the Transmit-Receive Unit, for by first Reverse Proxy to described First Web server sends N number of probe messages, and does not receive the response message that first Web server returns, and N is Integer more than 0.
In the embodiment of the present application, load equalizer is by sending probe messages, monitoring the first Reverse Proxy connection The first Web server, and determine first Web server and the load equalizer connection whether failure.By negative The connection status that balanced device obtains first Web server is carried, and then optimizes the distribution of resource, Web server is solved and goes out The problem of caused user's request cannot respond to during existing failure, and system resource, the utilization rate of Internet resources are improved, improve The high availability of Web applications, improves Consumer's Experience, improves the efficiency that service side investigates Web server connecting fault.
Brief description of the drawings
Fig. 1 is a kind of configuration diagram of Web connection methods in the embodiment of the present application;
Fig. 2 is a kind of schematic flow sheet of Web connection methods in the embodiment of the present application;
Fig. 3 is a kind of structural representation of Web attachment means in the embodiment of the present application.
Embodiment
Web server, major function are to provide network information and browse service.WWW is the multimedia of Internet Resource discovery tool, is the service just to grow up in recent years on Internet, and with fastest developing speed and at present widest Service.With Internet popularization and the development of Web technologies, computer network provides increasing service and application, Also there is explosive growth in network traffics simultaneously.WWW is using browser/server structure, for arranging and storing Various WWW resources, and the request of customer in response end software, the resource needed for client are sent in client.
Except the increase of network traffics, performances and web connection availability of the Web using the development of itself to Web server Propose higher requirement.To improve the high availability of Web applications, the framework of Web server can use load balancing and anti- To the mode of agency.
It is vital that load equalizer builds load balancing in Web system, and it opens the effect formed a connecting link.It is negative Equalizer input is carried to after the connection request of client, according to the resource situation of Web server, the connection request is sent to On Web server, with reach it is a kind of load, the poised state of resource occupation.Load equalizer has diversified form, except Outside as the load equalizer of autonomous device, some load equalizers can be integrated in switching equipment, be placed in server with Between Internet links, this function is then integrated into client by some with two pieces of network adapter, and one piece is connected to Internet, one piece of internal network for being connected to back-end server.
Load equalizer can be Web in Web server is images serve, safe socket layer conversation or db transaction Server optimizes.When needing to carry out Web server upgrading or system maintenance, load equalizer can ensure stable Web server exits service to avoid service disruption.When some selected Web server exits service, load equalizer will not Any new user is assigned to the server.But it can require that the Web server completes the company to having received client Connect the response of request.So as to ensure that the good service of no interruption, and simplify the management of server.Taken by new Web When business device introduces server zone, to avoid new Web server, because emergent flow attack causes the system failure, load is Weighing apparatus is assigned to the flow of the Web server by being incrementally increased, until reaching complete disposal ability.Pass through load balancing Device, it ensure that client exits service and Web server during startup and when application program starts in Web server, visitor Family end can obtain the persistent service of Web applications.
When Web server externally provides service, existing domain name has the network address of public network again, therefore, when connecting Internet, Some potential safety hazards be present in Web server.Current solution is that can do network address by Reverse Proxy to turn (Network Address Translation, NAT) is changed, to protect the real IP address of Web server.Reverse proxy service Device externally shows as a Web server, the Web server that external network can be it as a standard, it is not necessary to specific Configuration.Also, Reverse Proxy does not preserve the True Data of any webpage, all static Web page or general network Interface (Common Gateway Interface, CGI) program is closed, is all stored on the Web server of inside.Therefore to reverse The attack of proxy server can't cause info web to be destroyed, and enhance the security of Web server.
With reference to Reverse Proxy and load equalizer, the embodiment of the present application provides a kind of framework of Web connection methods Schematic diagram.As shown in figure 1, including Web server 114-117, Reverse Proxy 104-107, load equalizer 100, visitor Family end 101-103.Load equalizer 100 is established with multiple Reverse Proxy 104-107 connect respectively, reverse proxy service Each Reverse Proxy and the one-to-one connection of Web server in device 104-107.In the embodiment of the present application, reverse generation It can be Apache etc. to manage server.
In the embodiment of the present application, there is provided a kind of Web connection methods, may comprise steps of:
Step 1: load equalizer 100 receives the second request message;
Step 2: load equalizer 100 sends second request message to Web by Reverse Proxy 104 Server 114.Web server 114 is the Web server in normal condition.Normal condition herein refers to Web service The connection of device 114 and load equalizer 100 is normal condition.
In step 2, a kind of possible implementation, comprise the following steps:
Step 1: resource situation of the load equalizer according to Web server, second is sent to by second request message On second Reverse Proxy of the corresponding connection of Web server;
Step 2: second Reverse Proxy is according to second request message, by second request message It is forwarded on second Web server.
Step 3: second Web server responds to second request message, and the described second request is disappeared The response message of breath is sent to second Reverse Proxy;
Step 4: second request that second Reverse Proxy sends second Web server disappears The response message of breath is sent to the load equalizer.
Step 5: the load equalizer sends the response message to second request message by Internet Client.
In the prior art, it is corresponding to connect the anti-of Web server in the connecting fault of Web server and load equalizer To proxy server can not Web server described in notification payload balanced device connecting fault, therefore, load equalizer continues to Connection request is sent to Reverse Proxy, after Reverse Proxy receives the request, the connection can only be asked Ask discarding.Therefore, the delay processing of the failures such as machine of Web application processes needs to carry out manual exclusion so that time overhead increases and Web The joint efficiency of application is low, causes to waste substantial amounts of Internet resources, reduces Consumer's Experience.
As shown in Fig. 2 the embodiment of the present application provides a kind of Web connection methods so that web is connected to without handling by hand, To realize the High Availabitity of Web applications.In the embodiment of the present application, Web connection idiographic flows mainly include the following steps that:
Step 201:Load equalizer is connected by the first Reverse Proxy to first Reverse Proxy Connect the first Web server and send probe messages.
Step 202:If the load equalizer does not receive what first Web server returned in preset time period Response message, it is determined that the link between the load equalizer and first Web server is in malfunction, and will hair The first request message of first Web server is delivered to, is sent by the second Reverse Proxy to the second Web service Device.
In step 201, the probe messages can be heartbeat packet, for detect first Web server with it is described Whether load equalizer connects normally.The mode for sending probe messages can be the mode periodically sent.Specific real During applying, the load equalizer can periodically send probe messages to all Reverse Proxies, with monitoring Whether the Web server of all Reverse Proxy connections connects normally.The probe messages can be to the Web service The connection request of Web applications on device.
In specific implementation process, if the load equalizer receives second Web service in preset time period The response message that device returns, it is determined that the link between the load equalizer and first Web server is in normal shape State, after the load equalizer sends the probe messages to the Reverse Proxy, detailed process is as follows:
Step 1: the probe requests thereby is forwarded to institute by first Reverse Proxy according to the probe messages State on the first Web server.
Step 2: first Web server responds to the probe messages, and by the response of the probe messages Message is sent to first Reverse Proxy.
Step 3: the response message that first Reverse Proxy sends first Web server is sent out Deliver to the load equalizer.
Step 4: the load equalizer sends the response message to the of the connection request by Internet One client.
In step 202, if the load equalizer does not receive first Web server in preset time period and returned The response message returned, it is determined that the link between the load equalizer and first Web server is in malfunction.
A kind of possible implementation, when first Reverse Proxy breaks down, the load equalizer The response message that first Web server returns is not received in preset time period, then load equalizer determines described the The connecting fault of first Web server corresponding to one Reverse Proxy and the load equalizer.
A kind of possible implementation, when the Web processes on first Reverse Proxy, which are dodged, moves back, described first TCP between Reverse Proxy and the web applications on first Web server links disconnection.Therefore, the load is equal Weighing apparatus can not receive the response message that first Web server returns in preset time period, then can determine described the The connecting fault of one Web server and the load equalizer.
A kind of possible implementation, when web server delays machine, first Reverse Proxy and described first TCP links between Web server disconnect, and therefore, the load equalizer can not receive described the in preset time period The response message that one Web server returns, then it can determine the connection event of first Web server and the load equalizer Barrier.
A kind of possible implementation, when occur network break failure when, first Reverse Proxy and described the TCP links between one Web server disconnect, and therefore, the load equalizer can not receive described in preset time period The response message that first Web server returns, then can determine the connection of first Web server and the load equalizer Failure.
A kind of possible implementation, when web processes are ossified, now first Reverse Proxy and described the TCP links between one Web server are not broken, but because process is ossified, load equalizer nothing in preset time period Method receives the response message that first Web server returns, then can determine first Web server and the load The connecting fault of balanced device.
No matter, can in addition, which kind of situation is the connecting fault of the load equalizer and first Web server be According to the probe messages, determine whether the connection of first Web server and the load equalizer is normal.So that institute State the connection status that load equalizer knows current all Web servers.
In specific implementation process, the load equalizer is if it is determined that first Web server and the load balancing The connecting fault of device, then it will send to the first request message of first Web server, pass through the second Reverse Proxy Send to the second Web server.First request message is has been sent to first Web server but does not receive institute State the message of the first response message of the first Web server return.Second Web server is under the load equalizer The Web server of the normal connection of same Web applications is loaded, to ensure the high availability of the Web applications, solves Web clothes The problem of caused user asks cannot respond to when business device breaks down, improves system resource, the utilization rate of Internet resources, carries Consumer's Experience has been risen, has improved the efficiency that service side investigates Web server connecting fault.
Further to improve the high availability of Web applications, the on-line time after the Web server fault recovery is reduced, The embodiment of the present application combination Fig. 2, there is provided a kind of Web connection methods, the load equalizer will be sent to first Web service After first request message of device, methods described also includes:
Step 1: the load equalizer is sent out by first Reverse Proxy to first Web server Send the probe messages;
If returned Step 2: the load equalizer receives first Web server in the preset time period Response message, it is determined that first Web server is in normal condition.Load equalizer still can be by the probe messages Send to the Web server for being defined as failure.When the connecting fault of the Web server and the load equalizer is recovered, First Web server can return to the response message for the probe messages, and therefore, the load equalizer is by described in The link of first Web server and the load equalizer is arranged to normal condition.The normal condition refers to described first The connection of Web server and the load equalizer can use, and the Web applications loaded on first Web server can be just Often respond the second request message that the client is sent.
In step 202, the preset time period can determine according to being actually needed, and not limit herein.It is described default Time can be the time for sending N number of probe messages, and N is the integer more than 0.N value can be set according to actual conditions, This is not limited.
A kind of possible implementation, the load equalizer by the first Reverse Proxy to it is described first anti- Before connecting the first Web server transmission probe messages to proxy server, the load equalizer is reverse by described first Proxy server sends N number of probe messages to first Web server, and does not receive first Web server and return The response message returned.
Assuming that there are 8 web servers to provide service for domain name baidu.com, IP corresponding to this 8 web servers difference Address and domain name baidu.com corresponding relation have been stored in load equalizer.The load equalizer is according to the response Message determines the Web server to be broken down in described ten Web servers with the connection of the load equalizer.If it is determined that institute The connection for stating the first Web server is broken down, and other 7 Web server connections are normal, then the load equalizer will newly connect Second request message received is sent to one of server in other 7 Web servers for determining normally to connect In;And by the Session Hand-off of the first received request message in first Web server to other described 7 Web In one of server in server.
Therefore, the method in the embodiment of the present application, Web application processes delay the failures such as machine processing no longer need carry out by hand Exclude, realize the high availability of Web applications, improve Consumer's Experience, improve service side and investigate Web server connecting fault Efficiency.
As shown in figure 3, the embodiment of the present application provides a kind of Web attachment means, including:
Transmit-Receive Unit 301, for being connected by the first Reverse Proxy to first Reverse Proxy First Web server sends probe messages;
Processing unit 302, if not receiving first Web server in preset time period for Transmit-Receive Unit 301 The response message of return, it is determined that the link between load equalizer and first Web server is in malfunction, and will Send to the first request message of first Web server, sent by the second Reverse Proxy to the second Web service Device;First request message returns to have been sent to first Web server but not receiving first Web server The message of the first response message returned.
A kind of possible implementation, Transmit-Receive Unit 301, for by first Reverse Proxy to described One Web server sends the probe messages;
Processing unit 302, if receiving first Web service in the preset time period for Transmit-Receive Unit 301 The response message that device returns, it is determined that first Web server is in normal condition.
A kind of possible implementation, Transmit-Receive Unit 301, it is additionally operable to receive the second request message;
Processing unit 302, it is additionally operable to by Reverse Proxy send second request message in normal The Web server of state.
A kind of possible implementation, Transmit-Receive Unit 301, for by first Reverse Proxy to described One Web server sends N number of probe messages, and does not receive the response message that first Web server returns, and N is big In 0 integer.
In the embodiment of the present application, for avoid Web server when breaking down caused user request cannot respond to, Web should Need to carry out manual exclusion with the delay processing of the failures such as machine of process so that the joint efficiency that time overhead increases and Web is applied is low Under, cause to waste substantial amounts of Internet resources, reduce Consumer's Experience.The embodiment of the present application provide a kind of Web connection methods and Device, load equalizer is by sending probe messages, the first Web server of monitoring the first Reverse Proxy connection, and Determine first Web server and the load equalizer connection whether failure.Described is obtained by load equalizer The connection status of one Web server, and then optimize the distribution of resource, solve caused user during Web server failure The problem of request cannot respond to, and system resource, the utilization rate of Internet resources are improved, improve the High Availabitity of Web applications Property, Consumer's Experience is improved, improves the efficiency that service side investigates Web server connecting fault.
Division in the application to unit is schematical, only a kind of division of logic function, can be with when actually realizing There is other dividing mode, in addition, each functional unit in each embodiment of the application can integrate within a processor, also may be used To be individually to be physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated unit both may be used Realize, can also be realized in the form of software function module in the form of using hardware.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without departing from this hair to the embodiment of the present invention The spirit and scope of bright embodiment.So, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention And its within the scope of equivalent technologies, then the present invention is also intended to comprising including these changes and modification.

Claims (8)

  1. A kind of 1. Web connection methods, it is characterised in that including:
    Load equalizer is connected the first WWW by the first Reverse Proxy to first Reverse Proxy Web server sends probe messages;
    If the load equalizer does not receive the response message that first Web server returns in preset time period, Determine that the link between the load equalizer and first Web server is in malfunction, and will send to described the First request message of one Web server, sent by the second Reverse Proxy to the second Web server;Described first Request message is the first sound for having been sent to first Web server but not receiving the first Web server return Answer the message of message.
  2. 2. the method as described in claim 1, it is characterised in that the load equalizer will be sent to first Web service After first request message of device, methods described also includes:
    The load equalizer sends the detection to first Web server by first Reverse Proxy and reported Text;
    If the load equalizer receives the response message that first Web server returns in the preset time period, Then determine that first Web server is in normal condition.
  3. 3. the method as described in claim 1, it is characterised in that methods described also includes:
    The load equalizer receives the second request message;
    The load equalizer sends second request message to the Web in normal condition by Reverse Proxy Server.
  4. 4. the method as described in claim 1, it is characterised in that the load equalizer by the first Reverse Proxy to It is connected with first Reverse Proxy before the first Web server transmission probe messages, methods described also includes:
    The load equalizer sends N number of detection to first Web server by first Reverse Proxy and reported Text, and do not receive the response message that first Web server returns, N is the integer more than 0.
  5. A kind of 5. Web attachment means, it is characterised in that including:
    Transmit-Receive Unit, for being connected the first Web to first Reverse Proxy by the first Reverse Proxy Server sends probe messages;
    Processing unit, if not receiving what first Web server returned in preset time period for the Transmit-Receive Unit Response message, it is determined that the link between load equalizer and first Web server is in malfunction, and will send extremely First request message of first Web server, sent by the second Reverse Proxy to the second Web server;Institute It is to have been sent to first Web server but do not receive first Web server to return to state the first request message The message of first response message.
  6. 6. device as claimed in claim 1, it is characterised in that the Transmit-Receive Unit, for passing through first reverse proxy Server sends the probe messages to first Web server;
    The processing unit, if receiving first Web server in the preset time period for the Transmit-Receive Unit The response message of return, it is determined that first Web server is in normal condition.
  7. 7. device as claimed in claim 1, it is characterised in that the Transmit-Receive Unit, be additionally operable to receive the second request message;
    The processing unit, it is additionally operable to by Reverse Proxy send second request message in normal condition Web server.
  8. 8. device as claimed in claim 1, it is characterised in that the Transmit-Receive Unit, for passing through first reverse proxy Server sends N number of probe messages to first Web server, and does not receive what first Web server returned Response message, N are the integer more than 0.
CN201710971252.2A 2017-10-18 2017-10-18 Web connection method and device Active CN107682442B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710971252.2A CN107682442B (en) 2017-10-18 2017-10-18 Web connection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710971252.2A CN107682442B (en) 2017-10-18 2017-10-18 Web connection method and device

Publications (2)

Publication Number Publication Date
CN107682442A true CN107682442A (en) 2018-02-09
CN107682442B CN107682442B (en) 2020-12-18

Family

ID=61140687

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710971252.2A Active CN107682442B (en) 2017-10-18 2017-10-18 Web connection method and device

Country Status (1)

Country Link
CN (1) CN107682442B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110162424A (en) * 2019-05-23 2019-08-23 腾讯科技(深圳)有限公司 Fault handling method, system, device and storage medium
CN113395255A (en) * 2021-04-30 2021-09-14 西安交通大学 Autossh reverse proxy detection method, system, device and readable storage medium
CN113596170A (en) * 2021-08-03 2021-11-02 上海浦东发展银行股份有限公司 Load balancing equipment-based shutdown processing method, device, medium and equipment
CN113708992A (en) * 2021-08-13 2021-11-26 绿盟科技集团股份有限公司 Reverse proxy test method, device, electronic equipment and storage medium
CN117593817A (en) * 2024-01-18 2024-02-23 昆山佰奥智能装备股份有限公司 Switch control method and system of intelligent money box electronic lock

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070061282A1 (en) * 2005-09-14 2007-03-15 Nec Laboratories America, Inc. Data network information distribution
CN104580538A (en) * 2015-02-12 2015-04-29 山东大学 Method for improving load balance efficiency of Nginx server
CN104618444A (en) * 2014-12-30 2015-05-13 北京奇虎科技有限公司 Reverse agent server processing request based method and device
CN106790289A (en) * 2017-03-07 2017-05-31 北京搜狐新媒体信息技术有限公司 A kind of dynamic load processing method and system based on Nginx servers

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070061282A1 (en) * 2005-09-14 2007-03-15 Nec Laboratories America, Inc. Data network information distribution
CN104618444A (en) * 2014-12-30 2015-05-13 北京奇虎科技有限公司 Reverse agent server processing request based method and device
CN104580538A (en) * 2015-02-12 2015-04-29 山东大学 Method for improving load balance efficiency of Nginx server
CN106790289A (en) * 2017-03-07 2017-05-31 北京搜狐新媒体信息技术有限公司 A kind of dynamic load processing method and system based on Nginx servers

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李晖: ""利用反向代理和负载均衡技术提高web服务器的响应速度"", 《万方》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110162424A (en) * 2019-05-23 2019-08-23 腾讯科技(深圳)有限公司 Fault handling method, system, device and storage medium
CN110162424B (en) * 2019-05-23 2022-03-22 腾讯科技(深圳)有限公司 Fault processing method, system, device and storage medium
CN113395255A (en) * 2021-04-30 2021-09-14 西安交通大学 Autossh reverse proxy detection method, system, device and readable storage medium
CN113395255B (en) * 2021-04-30 2022-07-12 西安交通大学 Autossh reverse proxy detection method, system, device and readable storage medium
CN113596170A (en) * 2021-08-03 2021-11-02 上海浦东发展银行股份有限公司 Load balancing equipment-based shutdown processing method, device, medium and equipment
CN113708992A (en) * 2021-08-13 2021-11-26 绿盟科技集团股份有限公司 Reverse proxy test method, device, electronic equipment and storage medium
CN117593817A (en) * 2024-01-18 2024-02-23 昆山佰奥智能装备股份有限公司 Switch control method and system of intelligent money box electronic lock

Also Published As

Publication number Publication date
CN107682442B (en) 2020-12-18

Similar Documents

Publication Publication Date Title
CN107682442A (en) A kind of Web connection methods and device
US10411956B2 (en) Enabling planned upgrade/downgrade of network devices without impacting network sessions
CN101443750B (en) Techniques for load balancing over a cluster of subscriber-aware application servers
CN105516080B (en) The processing method of TCP connection, apparatus and system
US20020073211A1 (en) System and method for securely communicating between application servers and webservers
US10491628B2 (en) Attack observation apparatus and attack observation method
CN104009938A (en) Method and system for long connections based on router level
CN104010001B (en) In mobile terminal, the method and system connecting communication is carried out in similar networking request
CN103701928B (en) It is applied to the method that load equalizer improves server and SSL gateway operational efficiency
CN103812913A (en) Remote access method and device based on VNC (virtual network computing)
CN107465666A (en) A kind of client ip acquisition methods and device
CN108737343B (en) Method and device for realizing secure access to network
CN106453669A (en) Load balancing method and server
CN103825777A (en) DMZ server switching method and device
CN108234208A (en) The visualization load balancing dispositions method and system of resource management based on business
WO2013112772A1 (en) Distributed information
US10084800B2 (en) Content request rate limiting in a content delivery system
Gasmelseed et al. Traffic pattern–based load‐balancing algorithm in software‐defined network using distributed controllers
CN108683561A (en) A kind of station state detection method and device
CN100370770C (en) Method for implementing long connection changeover of network
CN104202297A (en) Anti-attack method and device dynamically adapting to server performance
CN115037537A (en) Abnormal traffic interception and abnormal domain name identification method, device, equipment and medium
CN106161051B (en) Custom end intelligent route selection
CN113722126A (en) Request processing method and device
CN114885042A (en) Network data transmission method, client, server and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant