Response method and device for service request

A business request, business type technology, applied in the computer field, can solve problems such as poor applicability

CN106936867AActive Publication Date: 2017-07-07ADVANCED NEW TECH CO LTD
8 Cites 8 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2017-07-07

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The application discloses a response method and device for a service request. The method comprises the steps of: by a server, receiving the service request; acquiring each current operation parameter of the server; according to each operation parameter, determining a bearing capacity predicted value representing that the server processes the service request; according to the bearing capacity predicted value, determining a time-out period corresponding to the service request; and according to the time-out period, carrying out processing on the service request. Different from the prior art, the response method and device disclosed by the application predict out an operation state of the server after the server processes the service request according to each service request and an operation state of the server at a current moment so as to allocate the corresponding time-out period to the service request according to the predicted operation state. Such mode not only ensures that the reasonable time-out period is set for the fickle service request, but also ensures that the operation state of the server cannot generate an overload phenomenon.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present application relates to the field of computer technology, in particular to a service request response method and device. Background technique

[0002] With the development of information technology, servers (such as web servers) can provide various users with various business services.

[0003] In the prior art, during the process of interaction between the user and the server, the server often sets a corresponding timeout period for the processed service. Specifically: after the user sends a business request to the server to obtain a business service, the server will process the received business request, and for the user, it will wait for the server to return a response result. In order to avoid the situation where the user has been waiting, when the actual waiting time of the user exceeds the timeout period, the server will perform operations such as sending a failure notification for the user or changing a third-party server for the use...

Examples

Embodiment Construction

[0023] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with specific embodiments of the present application and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0024] figure 1 The response process of the business request provided by the embodiment of this application, the process specifically includes the following steps:

[0025] S101: The server receives a service request.

[0026] In the embodiment of the present application, the server may be a backend server of a service provider (such as a website), ...