Task processing method and device

A task processing and task technology, applied in the field of data processing, can solve problems such as low task processing efficiency and achieve the effect of improving efficiency

Inactive Publication Date: 2017-07-21
ALIBABA GRP HLDG LTD
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present invention provides a method and device for task processing, which can solve the problem of low task processing efficiency in the prior art when task dependencies are complex

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] 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.

[0046] An embodiment of the present invention provides a task processing method, the method is mainly applied to the task processing system side, such as figure 1 As shown, the method mainly includes:

[0047] 101. Determine whether the task to be processed contains a dependent task.

[0048] Wherein, the dependent task is a task on which the task to be processed depends. When the task processing system receives the task sent by ...

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 processing method and device and relates to the field of data processing technology. Through the task processing method and device, the problem that in the prior art, task processing efficiency is low when task dependency is complicated can be solved. The method mainly comprises the steps that whether a to-be-processed task contains a dependent task is judged, wherein the dependent task is a task which the to-be-processed task depends on; if the to-be-processed task contains the dependent task, the to-be-processed task is made to subscribe callback service of the dependent task; and after a callback notice of the dependent task is monitored, the to-be-processed task is processed. The method is mainly suitable for scenes where tasks in dependency are processed.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a task processing method and device. Background technique [0002] In the era of popularization of the Internet, it is often necessary to update data by processing tasks, such as synchronizing two data tables and updating the system. In practical applications, due to foreign key dependencies between data tables, there may be dependencies between different tasks, for example, task 1 depends on the execution result of task 2. However, in practical applications, the tasks received by the task processing system may be out of order, that is, the corresponding tasks are not received sequentially according to the order of dependencies, which leads to difficulties in task processing. For example, task 1 depends on the execution result of task 2, but the task processing system receives task 1 first, so that task 1 cannot be processed. [0003] In order to solve the above...

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/48G06F9/46
CPCG06F9/46G06F9/4806
Inventor 袁自诚连琨汪一鸣
Owner ALIBABA GRP HLDG 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