Font Size: a A A

Research And Implementation Of User-defined Workflow Technology In Housing Defect Management System

Posted on:2018-10-22Degree:MasterType:Thesis
Country:ChinaCandidate:Y C XuFull Text:PDF
GTID:2429330596452979Subject:Information and Communication Engineering
Abstract/Summary:PDF Full Text Request
Workflow technology separates the basic information and process of the enterprise business.When the enterprise business process changes,only the revised business process model is needed,which is beneficial to process management and optimization.However,due to the separation of modeling and operation in traditional workflow,and the process definition is completely carried out by the software developer,there are needs to redefine the process,compile and publish it in the production environment when business process changes.Which is an expensive and complex process results in the difficulty for traditional workflow technology to adapt the needs of enterprises.Therefore,it is important for an unprofessional user to easily customize the workflow.Based on this background,this paper studied the custom workflow technology in the housing defect management system.Taking the housing defect management system as the application scenario,we analyzed the workflow system reference model,studied the realization principle of the custom workflow technology and applied it to actual application.Finally,we realized and verified the system.The main work is listed as follow:(1)Research on custom workflow model and architecture for microservices.We analyzed the data structure of workflow's engine,and achieved online process modeling with Web technology.Which is friendly for user to define model when process is running.This paper analyzed the workflow management system model,separated the application system from the workflow management system with the microservices oriented architecture.Therefore,we can split the application program and the business process,and extract the online modeling service from the workflow management system,reducing the overall complexity of the system.At last,we archived a workflow management system serving multiple applications to reduce workflow management costs.(2)Research on packaging business node and custom online definition of the process.We analyzed the relationship between business process and workflow model,and adopted the object-oriented thought of encapsulation.The service node and model node are encapsulated by a method of parameterization at the same time to realize the reuse of service nodes.And the package of process is also implemented in the modeling service to facilitate modeling so that we simplified the modeling process by calling and reusing the sub process.Finally,we achieved that business staff can define process model online.(3)Research on declarative programming method for the logic implementation of business node.We analyzed the current business node logic and found that we need to modify the source code,compile,build and deploy it later to achieve changing business logic.Therefore,we proposed the declarative programming method in which business logic code are written in the rules file and the business rules are loaded through the rule engine and then business logics are matched with the fact logic,finally right business logics are executed.On the basis of workflow separating process,we further separated the business logic and the foundation information of the business node,finally achieved online business logics change.Thereby,we realized the whole online user-defined workflow technology finally.(4)Research on mechanism of online update for workflow model.In order to solve the problem that the workflow instance is not synchronized when workflow is deployed,a mechanism of update for workflow model is proposed.We provided the function of online process updates,so that the end user can choose the corresponding strategy of updates according to the actual situation.In addition to removing the old instance and using the old process definition to run the old instance,we also provided a strategy to migration instance for the process instance,comparing the new process instance with the abstract process definition,and finding the change node location,migrating the workflow instance which haven't running to the change node.
Keywords/Search Tags:housing defect management, user-defined workflow, microservices oriented, node encapsulation, declarative programming
PDF Full Text Request
Related items