Workflow task state recovery method and device, storage medium, computing device

A task state and recovery method technology, applied in the field of data circulation, can solve the problems of increasing the complexity of event flow, low recovery efficiency, and reducing data flow efficiency, so as to improve event recovery efficiency, reduce complexity, and efficiently recover abnormal events. Effect

Active Publication Date: 2020-06-09
上海数据发展科技有限责任公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The number of events in the event stream is usually very large, the event status changes are complicated, and the event may contain a directed cycle graph, which further increases the complexity of the event stream flow
[0003] Once the task state of the work business flow is abnormal, the existing solution can adopt the simple event flow recovery method, but it needs to retrace the entire event flow, and the recovery efficiency of the work business flow task state is low; the traditional state machine recovery method can also be used, but the traditional The state machine cannot restore the events of the directed cycle graph. In extreme cases, it may be necessary to retrace the entire event flow to restore the task status of the work business flow, and the recovery efficiency is also very low.
Existing recovery methods will reduce data circulation efficiency

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
  • Workflow task state recovery method and device, storage medium, computing device
  • Workflow task state recovery method and device, storage medium, computing device
  • Workflow task state recovery method and device, storage medium, computing device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Those skilled in the art understand that, as mentioned in the background art, when the status of a workflow task is abnormal, if the recovery method of pure event flow is adopted, the entire event flow needs to be traced back. If the recovery method of the traditional state machine is adopted, it may be impossible to recover. To the event of the ring graph leads to re-tracing the entire event flow, and event recovery efficiency is low.

[0026] In the embodiment of the present invention, an event stream is created in the process of workflow task status transfer. The event stream may include multiple events, and the events are obtained by dividing and defining the transfer links of the workflow task status in advance; the event stream also It may include at least one snapshot, and each snapshot may include a collection of at least part of the information of the event stream at a single point in time. It can be seen that the snapshot can record various events and event inform...

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 recovery method and device of workflow task status, a storage medium and computing equipment. The recovery method includes: creating an event flow in a workflow task status circulation process, wherein the event flow contains a plurality of events and at least one snapshot, and each snapshot contains a set of at least partial information of the event flow at a single timepoint; and carrying out backtracking on the events in the event flow according to a newly available snapshot when an abnormality of the workflow task status occurs. Through the technical solution provided by the invention, abnormal workflow task status can highly efficiently recover for avoiding re-backtracking on the entire event flow, and event recovery efficiency is improved.

Description

Technical field [0001] The invention relates to the field of data circulation, in particular to a method and device for restoring the state of a workflow task, a storage medium, and a computing device. Background technique [0002] In the field of data circulation, the data circulation system is closely related to the state of workflow tasks. Due to the particularity of data assets (for example, data assets have high requirements for confidentiality), it is difficult to adopt a recovery mechanism for the state of workflow tasks in the process of data circulation. Third-party component implementation. Generally speaking, in the process of data circulation, the state circulation of workflow tasks often corresponds to the complete event flow circulation process. The number of events in the event stream is usually very large, the event state changes are complex, and the events may include a directed loop graph, which further increases the complexity of the event stream. [0003] Once...

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 Patents(China)
IPC IPC(8): G06F11/14
CPCG06F11/1402G06F11/1448
Inventor 汤奇峰蒋宇一
Owner 上海数据发展科技有限责任公司
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