Process Design--design concept

Source: Internet
Author: User
Tags fsm

The SDP Workflow Management System functional model is as follows:

The corresponding relationship between the functional model of the SDP Workflow system and the reference model is as follows:

The design of the SDP Workflow engine framework is based on the process function model and design principles, as shown in the framework of the Designed workflow engine:

Operating principle

Workflow Business management refers to a set of software systems that run on one or more workflow engines that define, implement, and manage workflows. It interacts with the workflow performer (person, application), advances the execution of the workflow instance, and monitors the running state of the workflow, which works as follows:

System architectureSDP Workflow Management system software composition

1. Modeling tools: Used to generate an XML file, and provide a parsing of the XML, and the data into the process data table.

2. Process engine: Advance scheduling to execute workflow processes and activities. Maintain automated activities and human activities, providing data for external system calls and participants ' task lists, respectively

3, monitoring and management: the operation of the process, activities and monitoring, the implementation of notification information management mechanism.

4. External System data call: Invoke and execute external executable file, DLL, event, stored procedure, script, etc.

5, the operating platform: the user Web-initiated process, the process of the work of the task to carry out the implementation, as well as the process of tracking and monitoring management.

SDP Workflow Management System data

(1), workflow data

Process data: It is divided into model libraries and runtime libraries. The data from the model library is derived from parsing the XML file. When instantiating a model library, instantiate the model library data and import the runtime library. Instantiation includes generating sequence IDs, initial states, and so on.

Related data: Used in the routing activity to determine the subsequent activity change data ID, type, initial value.

Control data: The precursor activity ID of the transition table, the subsequent activity ID, the Workflow object state and other data.

Formal parameter data: the type and number of parameters specified in the external tools,exe.

Personnel data: The participant roles defined here need to be mapped with external employee data to correspond to employees.

(2), external data

Form attribute data: Data that requires control over page elements when designing a human activity interface

External Application Data: Data required for external data execution.

External System data: When the workflow system needs to interact with the participants, it is necessary to reference the employee data, the Employee role mapping table to correspond to the employees, there are 3 kinds of decision staff policy: first Login first assignment, task minimum assignment, the only corresponding assignment.

Three, SDP workflow management system functions

The performance of the SDP workflow management system needs to be completed in three phases (model definition, model instance, model execution) to complete. So the workflow management system function contains three parts, the function is described as follows:

Model Definition Phase functionality: The main implementation of workflow processes and related activities of the definition and modeling capabilities.

Model instance phase function: to instantiate the process of the business of the process that needs to be executed, complete the process instance, the activity instance, the work task creation process function.

Model Execution Phase function: Perform the established workflow process, and according to the rules to dispatch the corresponding activities, through the engine scheduling system, the activity generated by the work task to the processor, the processor through the system provided by the human-computer interaction function to complete the work task. At the same time, the process and activities of the implementation of monitoring and tracking.

Iv. design principles of SDP workflow management system

Our SDP workflow engine uses the core scheduling algorithm is FSM (finite state machine), based on the scheduling algorithm to complete the flow of the process. An FSM is defined as a calculation model that contains a set of state sets (states), a starting state (start), a set of input symbol sets (alphabet), a transformation function that maps the input symbol and the current state to the next state (transition function). When the symbol string is entered, the model enters the starting state. It's going to change to a new state, depending on the conversion function. In finite state machines, there are many variables, for example, a state machine has many actions associated with an action (actions) Transformation (mealy) or state (mole machine), multiple start states, a conversion based on no input symbols, or multiple transformations that specify symbols and states (non-finite state machines). One or more states assigned to the receive state (the recognizer), and so on.

The SDP workflow object is divided into three parts, the process, the activity, the work task, and each object pushes the process through the state change of each object after the process instance is started. After the model instantiation, the specific objects have the following state content:

(1), process example

The basic state of the process can be summarized as follows six kinds:

Initial (initiated), run (Running), suspend (Suspend), Interrupt (abort),

Termination (Terminate), completion (complete)

(2), activity example

The basic status of the activity can be summarized as follows six kinds:

Initial (initiated), run (Running), suspend (Suspend), Interrupt (abort),

Termination (Terminate), completion (complete)

(3), Work tasks

The basic status of the work task can be summarized as follows seven kinds:

Initial (initiated), run (Running), receive (receive), Suspend (Suspend),

Reject (Reject), Terminate (Terminate), Finish (complete).

The relationship between the states of each process object and the order of their changes are described in detail in the following sections.












 

Process Design--design concept

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.