Method and device for treating abnormality of task flows

A processing method and task flow technology, applied in the direction of multi-program device, program startup/switching, etc., can solve the problems of increased error rate, error-prone, low efficiency, etc., and achieve the goal of reducing data volume, reducing error rate, and improving efficiency Effect

Inactive Publication Date: 2013-02-13
ALIBABA GRP HLDG LTD
View PDF5 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For an e-commerce website, the task flow often involves the transaction data of the user, and such processing is obviously unreasonable; moreover, in the case of deleting half of the inserted data, although it can ensure that the data is consistent as a whole, However, it still does not respond correctly to the completion of the request, which may easily cause the user's important data to be discarded.
[0006] 2. When the system fails to process a certain task flow in the background at a certain moment, a single manual recovery method is adopted, which cannot timely and targetedly respond to various abnormalities (for example, system dirty data, sys

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
  • Method and device for treating abnormality of task flows
  • Method and device for treating abnormality of task flows
  • Method and device for treating abnormality of task flows

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The method and device for processing abnormal task flow according to the present application will now be described in detail with reference to the accompanying drawings.

[0035] refer to figure 1 , according to an embodiment, when a user request is received, first, in step S11, the user request is converted into a task flow composed of a plurality of task nodes (ie, subtasks), and the task flow is executed.

[0036] Next, in step S22, it is judged whether the execution of each task node is abnormal. There are many reasons for processing exceptions, such as data not yet synchronized, system logic errors, external dependent systems not available, calculation results of other required data not yet obtained, dirty data in the system (that is, existing and actual logic) inconsistent data) and data errors in external systems, etc.

[0037] Afterwards, if it is judged in step S22 that there is an abnormality in the execution of a certain task node, then the process proceeds...

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 relates to a method and a device for treating abnormality of task flows. The method comprises the following steps of: (1) converting a user request into a task flow consisting of a plurality of task nodes, and performing the task flow; (2) judging whether the task nodes are performed abnormally or not; (3) temporarily stopping performing the task flow if a certain task node is performed abnormally, and placing the information of the abnormal task node into multi-level waiting queues which respectively indicate a plurality of different waiting time; and (4) performing the abnormal task node according to the information of the node. By the method and the device, the request can be performed completely, the final integrity and the consistency of the data and the state of the request are guaranteed, manual recovery efficiency is improved, and a uniform and stable interface is formed.

Description

technical field [0001] The invention relates to a method and device for processing abnormal task flow. Background technique [0002] Task flow is a background processing process of website business. In the business system of the website, there are some complete large tasks composed of multiple subtasks. These subtasks are only used to complete a certain kind of work, and these subtasks are highly reusable, so these subtasks cannot be completely integrated. Subtasks are integrated into a larger task. In order to complete such a large task, it is necessary to define some task flows, connect all subtasks, and execute them to completion. Taking the completion of message communication requests on e-commerce websites as an example, this major task includes: the sender sends some in-site messages to the recipient, the sender sees the message in his sending record, and the recipient sees the message in his See the message in the inbox of the sender, that is, from the time the sen...

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/48
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