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

Task execution method and device, storage medium and electronic equipment

A task execution and task technology, applied in the field of task processing, can solve problems such as sudden increase in task volume, reduction in task processing efficiency, and inability to change the execution order, so as to achieve the effect of improving processing efficiency and speeding up execution

Pending Publication Date: 2021-03-30
BEIJING GRIDSUM TECH CO LTD
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The inventor found that when the existing method is used to execute tasks, the execution order of each task in the queue cannot be changed, and a certain task cannot be executed for a long time, and when the application program or the application platform has batch When a large number of tasks are generated, the amount of tasks in the queue increases suddenly, and the tasks in the queue are prone to congestion, which reduces the efficiency of task processing by the application system or application platform

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 execution method and device, storage medium and electronic equipment
  • Task execution method and device, storage medium and electronic equipment
  • Task execution method and device, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0066] The embodiment of the present invention provides a task execution method, the method is applied to a queue set, the queue set can be set in various system platforms, the bearing hardware of the system platform can be PC, terminal or other processing equipment, the The subject of execution of the method may be a processor of the system platform. Multiple queues are set in the queue set, and each queue is set with a priority c...

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 task execution method, which is applied to a queue set, a plurality of queues are arranged in the queue set, each queue is provided with a priority corresponding to the queue, each task to be executed is distributed to the corresponding queue according to the task attribute of the task, and the method comprises the following steps: in a preset polling period, executing the task according to the priority of the task to be executed; according to the sequence of the priorities of all the queues from high to low, executing the tasks of the target number in each queue in sequence, wherein the priorities of the queues are in positive correlation with the target number. By applying the method, a plurality of queues can be set in the queue set, the queues are started in apolling mode according to the priority sequence of the queues, the number of tasks executed each time in the polling process is set for each queue according to the priority of each queue, the numberof tasks executed by the queues with the high priorities is large, and the tasks are executed in a multi-queue polling mode. Therefore, task execution is accelerated, the problem of queue congestion caused when a large number of tasks need to be executed is avoided, and then the task processing efficiency is improved.

Description

technical field [0001] The present invention relates to the technical field of task processing, in particular to a task execution method and device, a storage medium and electronic equipment. Background technique [0002] With the development of science and technology, a variety of application systems and application platforms have emerged. When each application system or application platform is working, it will generate a large number of tasks. Tasks can be processes or threads in the system or platform; application The system and the application platform ensure the realization of the functions of the application system or the application platform by executing the generated tasks. [0003] When the application system and the application platform execute tasks, they usually save the generated tasks in the queue according to certain placement rules, and execute the tasks stored in the queue according to the execution rules, so as to ensure the orderly execution of tasks and i...

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): G06F9/48
CPCG06F9/4881G06F2209/484
Inventor 段秋华
Owner BEIJING GRIDSUM TECH 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