Task processing method and system

A task processing and task technology, applied in the field of task processing, can solve the problems of waste of resources, few subtasks, and many subtasks, and achieve the effect of avoiding the reduction of running speed, avoiding waste of resources, and balancing the number of subtasks

Active Publication Date: 2015-06-24
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF8 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the large number of subtasks allocated, it is easy to appear that some task processing nodes need to process more subtasks, while other task processing nodes need to process less subtasks
When there are many subtasks to be processed, the load on the task processin

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 and system
  • Task processing method and system
  • Task processing method and system

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0065] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0066] Such as figure 1 As shown, a task processing method provided by an embodiment of the present invention is applied to a task distribution node, and the task distribution node is connected to multiple task processing nodes. The method may include:

[0067] S100. Obtain a task to be processed, and split the task to be processed into multiple subtasks;

[0068] Wherein, the task distribution node may also be connected to the task interfac...

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 embodiment of the invention provides a task processing method and system. A task to be processed is dismantled into multiple sub tasks, the sub tasks are distributed to task processing nodes, after the task processing nodes receive the sub tasks, whether the number of the sub tasks which are processed currently is not lower than a preset number threshold value is determined, if the number of the sub tasks which are processed currently is not lower than the preset number threshold value, processing rejection information to the sub tasks is fed back to task allocation nodes, and after the task allocation nodes receive the processing rejection information, the sub tasks are allocated to the task processing nodes which do not feed back processing rejection information to the sub tasks. In this way, when the sub tasks allocated to a certain task processing node are many, the task processing node can reject processing of subsequent allocated sub tasks, the task allocation nodes allocate the sub tasks rejected by the task processing node to other task processing nodes, balance of the number of the sub tasks of the task processing nodes is achieved, the situation that the operation speed of the task processing nodes is reduced due to the fact that the sub tasks are too many is avoided, and the situation that resources are wasted due to the fact that the sub tasks are too few is also avoided.

Description

technical field [0001] The invention relates to the technical field of task processing, in particular to a task processing method and system. Background technique [0002] With the development of science and technology, the processing capability of electronic equipment is getting higher and higher, and correspondingly, the tasks to be handled by electronic equipment are also becoming more and more complex. By splitting a complex task into multiple subtasks and distributing the subtasks to multiple task processing nodes for processing, the processing speed of the task can be improved. [0003] The specific process after each electronic device receives a task is as follows: [0004] First split the complex task into multiple subtasks; [0005] Then each subtask is randomly assigned to multiple task processing nodes for processing. [0006] The inventor found through research that: when the electronic device receives many tasks, it needs to split and allocate the tasks frequ...

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
IPC IPC(8): G06F9/50
Inventor 张志伟邵明星邢常亮
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products