Method and system for processing workflow

A workflow and task node technology, applied in the computer field, can solve problems such as difficulty in data query and modification, loss of task status, etc., to achieve the effect of improving server performance, improving reliability, and avoiding single-point problems

Active Publication Date: 2015-04-22
BEIJING JINGDONG 360 DEGREE E COMMERCE CO LTD
View PDF5 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The working status of all tasks and the status of executors are managed by the scheduler, which is easy to form a single point problem in a distributed system. If the scheduler goes down, task scheduling may

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 system for processing workflow
  • Method and system for processing workflow
  • Method and system for processing workflow

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0026] figure 1 is a schematic diagram of the basic structure of the workflow engine system according to the embodiment of the present invention. Such as figure 1 As shown, the workflow engine system of the embodiment of the present invention can adopt a zookeeper cluster 11 and multiple executors 121, 122, . . . , 12N. Zookeeper stores task status and execution plan. ...

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 method and system for processing workflow. The method and system for processing workflow can avoid a single-point problem in a distribution system, and improve reliability of task execution. The method for processing workflow comprises that a tree structure execution plan converted into by workflow which comprises a plurality of task nodes is saved, and in the execution plan, a task node with a plurality of father nodes appears repeatedly in a branch which the father node exists in, and for the task nodes which appear repeatedly, the task nodes with child nodes are used as execution nodes of the task nodes, and the other task nodes are used as non-execution nodes of the task nodes; the execution plan is traversed, and when a task node which the task is not executed at is traversed, the task node is occupied; all father nodes of the task node are confirmed to be executed, and then the execution node of the task node is executed.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and system for processing workflow. Background technique [0002] Workflow is the automation of part or the whole of a business process in a computer application environment. It mainly solves the process of automatically transferring documents, information or tasks among multiple participants according to certain predefined rules. to achieve a desired business objective, or to contribute to the achievement of that objective. [0003] In the existing workflow engine technical solution, a relational database is used as the context storage system of the workflow engine. The workflow engine will read the workflow execution status saved in the database and assign it to a specific task executor on a local or remote server node. Execute these tasks, and manage the state of the subtasks in the workflow until the execution of the entire workflow is completed. [0004] The wor...

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/46
Inventor 马文金
Owner BEIJING JINGDONG 360 DEGREE E COMMERCE 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