Method, device and system for processing service requests

A business request and business identification technology, applied in the computer field, can solve problems such as long waiting time in queue, achieve the effect of reducing waiting time in queue and improving reliability

CN104980468BActive Publication Date: 2019-05-14SHENZHEN TENCENT COMP SYST CO LTD
5 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2019-05-14

Smart Images

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

Abstract

The present invention provides a method for processing a service request, comprising: receiving an uploaded service request, extracting a resource locator of the service request; obtaining a service identifier corresponding to the resource locator, and obtaining a connection corresponding to the service identifier number and the limit of the number of connections; judge whether the number of connections is less than the limit of the number of connections, if so, forward the service request to the service node corresponding to the service identifier; otherwise, queue the service request. In addition, a device and a system for processing service requests are also provided. The above method and device for processing service requests can reduce the average waiting time of users.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the field of computer technology, in particular to a method, device and system for processing service requests. Background technique

[0002] Some existing large-scale websites or Internet applications usually face a sudden increase in access traffic, such as train ticket pre-purchase websites during the Spring Festival travel season, e-commerce websites during price reduction promotions, and newly opened game business nodes. In order to cope with the sudden increase in access traffic, the business nodes of websites or Internet applications usually introduce a queuing mechanism. In the case of concurrency, only a small number of business requests are processed in batches according to the order of receipt, and the subsequent business requests received Put it in the waiting queue so that the business node will not crash due to too many concurrent requests.

[0003] In traditional technology, the queuing process is usuall...

Examples

Embodiment Construction

[0051] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0052] In traditional techniques, such as figure 1 As shown, the queuing system is implemented by the application server, and the application server not only processes the service requests initiated by the terminal, but also maintains the entire queuing system (such asfigure 1 As shown, it is usually necessary not only to maintain the waiting queue for queuing processing, but also to manage the execution queue that executes specific business logic to process business requests). In a high-concurrency environment, especially in sudden application scenarios such as buying goods in e-commerce or bookin...