A dynamic timeout processing method and device based on server connection

A timeout processing and server technology, applied in the computer field, can solve the problems of server load, multiple servers unable to return results normally, server delay increased, service without results, etc., to reduce the probability of service without results, reduce delay, Avoid the effect of timeout

Active Publication Date: 2019-04-26
BEIJING QIHOO TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] But in a bad situation, the load on the downstream server is too large, so that multiple servers cannot return the results normally, resulting in no result of the service, or the overall delay of the server is increased, and the access quality is poor

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
  • A dynamic timeout processing method and device based on server connection
  • A dynamic timeout processing method and device based on server connection
  • A dynamic timeout processing method and device based on server connection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056]Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0057] refer to figure 2 , which shows a flow chart of the steps of an embodiment of a server connection-based dynamic timeout processing method according to an embodiment of the present invention, which may specifically include the following steps:

[0058] Step 201, receiving a service request sent by a client;

[0059] In a specific implementation, a user can access a server (such as a search engine) from any mobile terminal, s...

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 a server connection-based dynamic timeout processing method and device. The method includes the following steps that: a service request sent by a client is received; a first connection request for connecting a first target server is initiated, so that business services which are provided by the first target server and corresponding to the service request are called; the first target server is correlated with a regular timeout time; a first dynamic timeout is set in the regular timeout time; and when the result of the business service is not received within the first dynamic timeout, the first connection request is maintained, and at the same time, a second connection request for connecting a second target server is initiated, so that business services which are provided by the second target server and corresponding to the service request are called. With the method and device provided by the embodiment of the invention adopted, entire reliance on the timeout of a downstream server can be avoided, and timeout time can be adjusted dynamically according to the quality of services, and therefore, the delay of the business services can be decreased, the probability of the ineffectiveness of the services can be reduced, and access quality can be improved.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a server connection-based dynamic timeout processing method and a server connection-based dynamic timeout processing device. Background technique [0002] In cloud computing, such as UCS (Unified Computing System, Unified Computing System), computer clusters usually provide unified computing, network, storage access and virtualization resources. [0003] When an upstream server, such as an application server, receives a service request from a client, it usually forwards it to a downstream server that provides business services for processing. [0004] Taking a search engine as an example, when an upstream server receives a search request from a client, it will forward it to a downstream server that provides search services for searching. [0005] However, due to the uneven complexity of the servers in the computer cluster, the stability conditions vary. [0006] When an upstr...

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 Patents(China)
IPC IPC(8): H04L29/08
CPCH04L67/14
Inventor 范禹张华刘志祥
Owner BEIJING QIHOO TECH CO LTD
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