Check patentability & draft patents in minutes with Patsnap Eureka AI!

Task processing method, device and electronic device

A task processing and task technology, applied in the direction of multi-program device, electronic digital data processing, program control design, etc., can solve the problems of request loss, system too late to process, and untimely response, so as to avoid loss, improve processing speed, The effect of improving system throughput

Active Publication Date: 2021-12-21
WUHAN CITMS TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This is not a problem under low-concurrency requests. Once the number of concurrent requests is large, the existing sequential execution method will become unresponsive or the system will not be able to process it in time, resulting in request loss

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
  • Task processing method, device and electronic device
  • Task processing method, device and electronic device
  • Task processing method, device and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of this application.

[0034] Embodiments of the present application provide a task processing method, device, electronic equipment, and storage medium. Any task processing apparatus provided in the embodiments of the present application may be integrated into an electronic device. The electronic device includes a user terminal and a server, and the electronic device includes but is not limited to a smart phone, a tablet computer, a notebook computer, a smart TV, a smart robot, a personal computer (PC, Personal Compu...

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

Embodiments of the present application provide a task processing method, device, and electronic equipment, which relate to the technical field of data processing. Among them, the producer consumer mode is introduced, and the observer thread is introduced at the same time, and each producer thread, task container thread and consumer thread are created through the observer thread, wherein the observer thread, producer thread, task container thread and The four roles of the consumer thread are independent of each other, which can completely separate the producer thread and the consumer thread, so that the producer thread will not cause the resource shortage of the producer thread due to a large number of concurrent service requests. And use the observer thread to monitor each producer thread, task container thread and each consumer thread. When the observer thread detects that there is accumulation of work task objects, by increasing the consumer thread, all work task objects will be processed. Improve the processing speed of service requests, improve concurrent processing performance, and avoid service request loss.

Description

technical field [0001] The present application relates to the technical field of smart cities, in particular to a task processing method, device and electronic equipment. Background technique [0002] In the field of smart transportation, the video monitoring signaling server will receive the SIP request from the client and process the SIP request. The SIP request can be the monitoring data captured by the target camera. When the video monitoring signaling server receives a SIP request, it needs to process it immediately. The existing processing method is to compile a corresponding processing method for each request. When a request comes, the processing method is called sequentially for processing and returns. This is not a problem under low-concurrency requests. Once the number of concurrent requests is large, the existing sequential execution method will become unresponsive or the system will not be able to process it in time, resulting in request loss. Contents of the...

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): G06F9/48
CPCG06F9/4881
Inventor 王洵罗伦文谢晓帆袁宏旭
Owner WUHAN CITMS TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More