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

Concurrent and asynchronous task processing method and equipment

A processing method and technology of asynchronous tasks, applied in the field of computing and communication, can solve the problems of slow server processing and response, limited server, consumption of server resources, etc., to achieve the effect of improving task response processing speed and concurrent processing capability

Pending Publication Date: 2020-05-08
北京讯鸟软件有限公司
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] From the perspective of the server side, high-concurrency server-side processing requests need to consume server-side resources, such as the number of processes that can be opened at the same time, the number of threads that can be run at the same time, the number of network connections, CPU, I / O, memory, etc., due to the resources on the server side is limited, then the requests that the server can process at the same time are also limited; the processing and response on the server side will become slower and slower, and even some requests will be discarded and not processed, and more seriously, it will cause the server to crash

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
  • Concurrent and asynchronous task processing method and equipment
  • Concurrent and asynchronous task processing method and equipment
  • Concurrent and asynchronous task processing method and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The technical content of the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0033] It should be noted that well-known modules, units and their mutual connections, links, communications or operations are not shown or described in detail. Also, the described features, architectures, or functions may be combined in any manner in one or more embodiments. It should be understood by those skilled in the art that the various embodiments described below are only for illustration, rather than limiting the protection scope of the present invention. It can also be easily understood that the modules or units or processing methods in the embodiments described herein and shown in the drawings can be combined and designed in various configurations.

[0034] The following is a brief description of the scenarios involved in the embodiment of the present invention. In the cloud voice call system, the client is ...

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 invention discloses a concurrent and asynchronous task processing method and equipment. Through a multi-thread Reactor and multi-process Worker architecture, an epoll based reactor can process anunlimited number of connection requests, so that the concurrent processing capability of the server side in response to client requests can be improved; two processes are created at the same time, wherein one process is a common worker process, the other is a task worker process, the task process is used for processing a request with short time consumption, the task worker process is used for processing a request with long time consumption, all asynchronous tasks can be averagely distributed to the task process to be executed, and the task response processing speed of the server side is further improved.

Description

technical field [0001] The invention relates to a method for processing concurrent and asynchronous tasks on a server side, and at the same time relates to a computer device for processing concurrent and asynchronous tasks on a server side, belonging to the technical field of computing and communication. Background technique [0002] In the cloud voice call system, a large number of requests from the client arrive at the server at the same time or in a very short period of time. Each request requires the server to consume resources for processing, and make corresponding feedback, and return feedback to the requesting client data. [0003] From the perspective of the server side, high-concurrency server-side processing requests need to consume server-side resources, such as the number of processes that can be opened at the same time, the number of threads that can be run at the same time, the number of network connections, CPU, I / O, memory, etc., due to the resources on the s...

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/08H04L29/06G06F9/48G06F9/50
CPCH04L67/02H04L69/22H04L69/162G06F9/4881G06F9/5072H04L67/56
Inventor 涂海郭书伟
Owner 北京讯鸟软件有限公司
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