Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Service request processing method and apparatus, electronic device, and storage medium

A technology of service requests and processing methods, applied in the computer field, can solve problems affecting user experience, crashes, and high utilization of server resources, and achieve the effects of avoiding processing efficiency reduction, improving stability, and improving user experience

Active Publication Date: 2019-03-08
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF13 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The service request processing method, device, electronic equipment, and storage medium proposed in this application are used to solve the service request processing method in the related art. When the concurrent service requests are large, a large number of coroutines are required to process the service requests. As a result, the resource utilization rate of the server is high, resulting in a decrease in the processing efficiency of the server or even a crash, which affects the user experience.

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
  • Service request processing method and apparatus, electronic device, and storage medium
  • Service request processing method and apparatus, electronic device, and storage medium
  • Service request processing method and apparatus, electronic device, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals designate the same or similar elements throughout. The embodiments described below by referring to the figures are exemplary, and are intended to explain the present application, and should not be construed as limiting the present application.

[0019] The embodiment of the present application is aimed at the service request processing method in the related art. When the service request has a large amount of concurrency, a large number of coroutines are required to process the service request, so that the resource utilization rate of the server is high, resulting in a high processing efficiency of the server. Reduce or even crash, and affect the user experience, and propose a service request processing method.

[0020] The service request processing method provided by the embodiment of the pr...

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 application provides a service request processing method and apparatus, an electronic device, and a storage medium, and belongs to the technical field of computers. The method includes steps: a network server monitors whether currently there is a coroutine entering an idle state; the network server determines a current to-be-distributed target service request according to acquisition times requested by servers in a service request queue if monitoring that a first coroutine enters the idle state; and the network server distributes the target service request to the first coroutine to enablethe first coroutine to respond to the target service request. Therefore, according to the service request processing method, reduction of the processing efficiency or even crash of the server can be avoided, the stability of network services is improved, and the user experience is improved.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a service request processing method, device, electronic equipment and storage medium. Background technique [0002] With the popularity of the Internet and computers, more and more users obtain information through the Internet. Internet information is generally stored on servers linked to the network, and users can access these servers to obtain information. Nowadays, the number of visits to websites is increasing, for example, the number of page views of some websites has even reached tens of millions or even hundreds of millions of times. [0003] In related technologies, when a web server based on the Go language is processing a service request, it usually assigns a coroutine to the service request every time it obtains a service request to respond to the service request, that is, the number of coroutines can be unlimited of. However, this service request pr...

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/08
CPCH04L67/60H04L67/62
Inventor 肖建昕
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products