Abnormal task retrying method and device

A task and exception technology, applied in the information field, can solve problems such as inability to identify invalid abnormal tasks, increase system overhead, server impact, etc., and achieve the effect of avoiding operating resource overhead and reducing operating risks

Inactive Publication Date: 2018-04-27
NANJING TUNIU TECHNOLOGY CO LTD
View PDF6 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The inventor found that in the traditional Activiti process engine task retry method, invalid abnormal tasks cannot be identified, resulting in repeated retri

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
  • Abnormal task retrying method and device
  • Abnormal task retrying method and device
  • Abnormal task retrying method and device

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0045] In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, not all the embodiments. The components of the embodiments of the present invention generally described and illustrated in the drawings herein may be arranged and designed in various different configurations.

[0046] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ...

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 an abnormal task retrying method and device. The method and device are applied to a task management server in communication with a task execution server. The method includes thesteps of obtaining an abnormal task record of the task execution server, starting a first thread, screening out an abnormal task meeting retrying conditions to serve as the target abnormal task fromthe abnormal task record at the interval of first preset time, sending a retrying instruction of the target abnormal task to the task execution server, starting a second thread, obtaining a retrying result of the target abnormal task from the task execution server at the interval of second preset time, and identifying the execution state of the target abnormal task in the abnormal task record according to the retrying result. Thus, additional running resource expenditures caused by the task execution server for repeatedly retrying an invalid abnormal task are avoided, and the running risks caused by repeated retrying to other associated servers are reduced.

Description

technical field [0001] The invention relates to the field of information technology, in particular to a method and device for retrying abnormal tasks based on the Activiti process engine. Background technique [0002] With the continuous advancement of information technology, the ability of various software to handle business is getting stronger and stronger. As the business handled by the software is becoming more and more complex, its processing flow is gradually adopting standardized and standardized business process management (Business Process Management, BPM). The Acticiti process engine is widely used as one of the outstanding open source BPM platforms. [0003] In the business processing method based on the Activiti process engine in the prior art, when an abnormal task occurs in the business process, the Activiti process engine will generally automatically retry the abnormal task. [0004] The research of the inventors found that in the traditional Activiti proces...

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): G06F11/14
CPCG06F11/1438
Inventor 周广生
Owner NANJING TUNIU TECHNOLOGY 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