Font Size: a A A

Design And Implementation Of Lightweight Flexible Workflow Engine For Cooperation

Posted on:2024-03-06Degree:MasterType:Thesis
Country:ChinaCandidate:Z H JiaFull Text:PDF
GTID:2568307079960739Subject:Software engineering
Abstract/Summary:
Workflow technology is a process control technology that realizes the automatic processing of business processes.With the rise of paperless office mode,more and more enterprises have applied workflow technology to information construction projects.As the core component of workflow technology,workflow engine has gradually become a research hotspot.Business process changes occur from time to time in practical applications.The existing process engine has a high cost to deal with such changes,involving the redevelopment and start of process definition,and cannot establish a smooth demand uncertainty processing mechanism.In view of this,A flexible and lightweight workflow engine for collaboration scenarios is designed and implemented in this thesis,which uses a single task as a carrier to complete the process management and monitoring records of collaboration processes,and provides an open interface for upstream control services as a reusable underlying driver.This thesis has the following research content:1.Workflow model based on multi-dimensional collaboration scenario.This thesis first analyzes and summarizes two types of scenarios,free collaboration and limited collaboration,in different dimensions,and then extracts the collaboration constraints of common scenarios for workflow modeling.This model encapsulates common business requirements into business-independent common patterns,and proposes a unified and effective solution for collaboration scenarios of different dimensions,It ensures the high synchronization of online information and offline operations,and the seamless connection of uncertain processes from free to orderly evolution.2.Flexible design of collaboration engine based on configuration.The workflow engine designed in this thesis has the feature of "collaborative process configuration".The workflow instance performs process rotation and state transformation according to the configuration items of the collaboration template.The configuration changes take effect immediately when the process needs to be changed frequently due to the immature business.It does not need to re-define the process definition and start a new process instance as the traditional process engine does,nor does it affect the instance running before the process modification,In addition,it also includes the fallback and resurrection functions of tasks.Even after the end of the collaboration process,the collaboration tasks can be restored,greatly enhancing the flexibility and convenience of the workflow engine.3.Task adaptation strategy based on ant colony algorithm.For the sake of improving the structure and reusability of the workflow engine,this thesis provides a unified task adapter access assignment strategy to select the appropriate target executor for collaborative tasks.Developers can implement task adaptation algorithms based on their needs.At the same time,a task adaptation algorithm based on the principle of ant colony algorithm is designed and implemented.The algorithm converts the preconfigured target transfer strategy in the collaboration template into a directed network diagram and generates a collaboration cost matrix by comprehensively considering such indicators as task priority,load,and historical efficiency.Then,an artificial ant colony was placed and path optimization was carried out based on the mathematical model.Finally,the search solution was returned and the engine completed the subsequent process management.
Keywords/Search Tags:Workflow Engine, Workflow Model, Flexibility, Cooperation, Task Adaptation
Related items