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

Task processing method, device and electronic device

A task processing and electronic equipment technology, applied in the computer field, can solve problems such as large queues, unfavorable maintenance of electronic equipment, and increase the complexity of the task processing process, so as to reduce the load, reduce the complexity, and reduce the number of queues.

Active Publication Date: 2021-07-02
HANGZHOU HIKVISION DIGITAL TECH
View PDF14 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] When the number of interfaces is large, the number of queues that electronic equipment needs to maintain is also large, thus increasing the complexity of task processing and making electronic equipment unfavorable for maintenance

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

[0098] In order to make the purpose, technical solutions and advantages of the present invention clearer, the following will further describe in detail the embodiments of the present invention in conjunction with the accompanying drawings.

[0099] An embodiment of the present invention provides a task processing method, which is applied to an electronic device, and the electronic device may be a server or a terminal. like figure 1 As shown, the electronic device includes: interface queue, waiting queue, thread pool and object pool.

[0100] The interface queue is used to maintain the interfaces that all tasks need to call. Waiting queues are used to maintain interfaces in a waiting state. When the electronic device receives the interface calling requests of multiple tasks, the interfaces carried by the multiple interface calling requests are added to the interface queue for queuing, so as to process the multiple interface calling requests in an orderly manner. Each interfa...

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 provides a task processing method, device and electronic equipment, belonging to the technical field of computers. The method includes: receiving multiple interface call requests, each interface call request carrying an interface to be called corresponding to the task; adding the received multiple interfaces to an interface queue, and the interface queue is a first-in-first-out queue; according to The order of the interfaces in the interface queue in the interface queue is to process the interfaces. The present invention greatly reduces the number of queues that electronic equipment needs to maintain, thereby reducing the complexity of task processing and reducing the load of electronic equipment.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a task processing method, device and electronic equipment. Background technique [0002] Today, with the rapid development of the information industry, the concurrent processing capabilities of electronic devices are getting stronger and stronger. There is often a scene in life: multiple clients can send multiple tasks to the electronic device at the same time. Among these multiple tasks, each task needs to call multiple interfaces sequentially, and realize the functions corresponding to multiple interfaces in turn. This task is considered complete. [0003] In view of the above scenario, the following method is usually used to process multiple tasks at present: multiple clients send multiple tasks to the electronic device at the same time, and among the multiple interfaces that each task needs to call, each interface is controlled by a queue for maintenance. For one...

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/54
CPCG06F9/546G06F2209/548
Inventor 周胜凯浦世亮周明耀
Owner HANGZHOU HIKVISION DIGITAL TECH
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