CN108009696A - Custom Workflow engine and its implementation - Google Patents

Custom Workflow engine and its implementation Download PDF

Info

Publication number
CN108009696A
CN108009696A CN201610927941.9A CN201610927941A CN108009696A CN 108009696 A CN108009696 A CN 108009696A CN 201610927941 A CN201610927941 A CN 201610927941A CN 108009696 A CN108009696 A CN 108009696A
Authority
CN
China
Prior art keywords
process step
flow
option
definition module
stored procedure
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610927941.9A
Other languages
Chinese (zh)
Inventor
孙增庆
杨阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Wing Yi Internet Financial Information Service Co Ltd
Original Assignee
Shanghai Wing Yi Internet Financial Information Service Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Wing Yi Internet Financial Information Service Co Ltd filed Critical Shanghai Wing Yi Internet Financial Information Service Co Ltd
Priority to CN201610927941.9A priority Critical patent/CN108009696A/en
Publication of CN108009696A publication Critical patent/CN108009696A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides a kind of Custom Workflow engine, including:Storage engines, data are custom-configured for Stored Procedure;The user-defined flow configuration data includes at least:Process step title, flow state, flow object, process step, process step option and process step option details;Control routine engine, Stored Procedure control routine, whether Row control code is renewable to current process step to be verified, to prompt message can not be provided by the process step of Row control code verification, to can by the process step of Row control code verification carry out state renewal after further according in storage engines process step option perform follow-up process step.Present invention also offers a kind of implementation method of Custom Workflow engine.The present invention uses storage engines and each flow of control routine engine implementation.It can realize during present invention addition flow and be changed therewith without backstage, flow can be realized with business and separated, relatively more flexible, and versatility is high, available for any object.

Description

Custom Workflow engine and its implementation
Technical field
The present invention relates to computer realm, more particularly to a kind of Custom Workflow engine for Workflow Management. The invention also discloses a kind of Custom Workflow engine implementing method for Workflow Management.
Background technology
Workflow (Workflow), refers to " automation of a part or whole part of business procedure under computer application environment ". It is to being abstracted of business rule between workflow and its each operating procedure, is broadly described.In a computer, workflow belongs to meter A part for the collaborative work (CSCW) that calculation machine is supported.The latter is generally to study a colony how with the help of computer Realize what is cooperated.
The main problem that workflow mainly solves is:In order to realize some business objective, using computer in multiple participations Document, information or task are transmitted automatically by certain pre-defined rule between person.
Work stream concept originates from organization of production and Field of Office Automation, is to be directed in routine work to have fixed routine Activity and the concept proposed, it is therefore an objective to by by job analysis into good task or role is defined, according to certain rule Then perform these tasks with process and it is monitored, reach and improve work efficiency, preferably control process, enhancing to visitor The purpose of the servicing of family, effective management business flow.The workflow defining that Georgakopoulos is provided is:Workflow is by one Group task is organized to complete some business process:Define the trigger sequence and trigger condition of task, each task can be with Completed, can also be completed by one or a set of people by one or more software systems, can also be by one or more people and software Cooperative system is completed.
With the continuous complexity of operation flow, the continuous change of flow, the workflow or other work that former hard coded is realized The realization of stream, simple addition are required for changing code, send out version, therefore realize a Custom Workflow and meet simple addition stream The workflow that only needing backstage manager's addition configuration flow without change code in the case of journey can come into force just seems particularly It is important.
The content of the invention
Corresponding change (backstage need not be done from the background in changing process the technical problem to be solved in the present invention is to provide one kind Change, refer to background program change, backstage hair version change etc. background change) Custom Workflow engine.The present invention also carries The implementation method of the Custom Workflow engine is supplied.
In order to solve the above technical problems, the present invention provides a kind of Custom Workflow engine, including:
Storage engines and control routine engine;
Storage engines, data are custom-configured for Stored Procedure;
The user-defined flow configuration data includes at least:Process step title, flow state, flow object, flow step Suddenly, process step option and process step option details;
Control routine engine, Stored Procedure control routine, Row control code whether current process step may be updated into Row verification, to prompt message can not be provided by the process step of Row control code verification, to Row control code can be passed through After the process step progress state renewal of verification follow-up process step is performed further according to the process step option in storage engines.
Further improve, the storage engines are further divided into:Flow definition module, flow object definition module, stream Journey step definition module, process step option definition module and process step option details definition module
Whether flow definition module, Stored Procedure step title and the flow enable;
Flow object definition module, stores current process state and flow object;
Process step definition module, Stored Procedure step;
Process step option definition module, Stored Procedure step option;The process step option:Identify current process step Rapid specific implementation status;
Process step option details definition module, Stored Procedure step option details;The Stored Procedure step option is detailed Feelings:Process step option according to performed by current process step determines the process step to be performed in next step.
Wherein, the process step option includes at least:Agree to or refuse.
Wherein, the flow state includes at least:Current process step whether executed and the flow it is currently performed Process step option.
The present invention provides a kind of Custom Workflow engine implementing method, including:
To the title of a certain flow definition process name and each process step;
Check whether the flow has enabled, the flow not enabled prompt message is provided if not enabled;
To the flow setting flow object, testing process state;
To the flow setting process step;
To each process step setting procedure step option of the flow;The process step option:Identify current process The specific implementation status of step;
To the flow setting process step option details;The Stored Procedure step option details:According to current process Process step option performed by step determines the process step to be performed in next step.
Wherein, the process step option includes at least:Agree to or refuse.
Wherein, the flow state includes at least:Current process step whether executed and the flow it is currently performed Process step option.
The present invention is realized using storage engines (custom-configuring data) and control routine engine (Row control code) Each process step trend.
Because detecting the instant technological means that comes into force of configuration automatically present invention employs engine, (control routine is given birth at once after judging Effect) so in addition flow, it can realize and be changed therewith without backstage, i.e., only need backstage manager's maintenance process to meet Immediately come into force.The present invention is defined by Cheng Dingyi, flow object, process step defines, process step option definition and flow walk Rapid option details define optimized integration flow engine so flow can be realized with business separates, and relatively more flexible, versatility height, can use In any object.The technological means that the present invention is verified by control routine realizes open process invocation so flow is submitted and business Transaction controlling can be used
Embodiment
The present invention provides a kind of Custom Workflow engine, including:
Storage engines and control routine engine;
Storage engines, data are custom-configured for Stored Procedure;
The user-defined flow configuration data includes at least:Process step title, flow state, flow object, flow step Suddenly, process step option and process step option details;
Control routine engine, Stored Procedure control routine, Row control code whether current process step may be updated into Row verification, to prompt message can not be provided by the process step of Row control code verification, to Row control code can be passed through After the process step progress state renewal of verification follow-up process step is performed further according to the process step option in storage engines.
Further improve, the storage engines are further divided into:Flow definition module, flow object definition module, stream Journey step definition module, process step option definition module and process step option details definition module
Whether flow definition module, Stored Procedure step title and the flow enable;
Flow object definition module, stores current process state and flow object;
Process step definition module, Stored Procedure step;
Process step option definition module, Stored Procedure step option;The process step option:Identify current process step Rapid specific implementation status;
Process step option details definition module, Stored Procedure step option details;The Stored Procedure step option is detailed Feelings:Process step option according to performed by current process step determines the process step to be performed in next step.
Wherein, the process step option includes at least:Agree to or refuse.
Wherein, the flow state includes at least:Whether current process has renewal and the currently performed step of the flow Suddenly.
The present invention provides a kind of Custom Workflow engine implementing method, including:
To the title of a certain flow definition process name and each process step;
Check whether the flow has enabled, the flow not enabled prompt message is provided if not enabled;
To the flow setting flow object, testing process state;
To the flow setting process step;
To each process step setting procedure step option of the flow;The process step option:Identify current process The specific implementation status of step;
To the flow setting process step option details;The Stored Procedure step option details:According to current process Process step option performed by step determines the process step to be performed in next step.
Wherein, the process step option includes at least:Agree to or refuse.
Wherein, the flow state includes at least:Whether current process has renewal and the currently performed step of the flow Suddenly.
Brought into below by way of specific data and Custom Workflow engine of the present invention and its implementation are illustrated:
First, a kind of achievable data mode is provided to each module of the present invention, achievable data mode of the invention is not It is limited to the description below, those skilled in the art can expand following data modes according to specific requirement.
By flow definition module (Workflows), whether definitim flow step title and the process step enable;With The data mode realized exemplified by table 1 below to flow definition module (Workflows) is illustrated.
Table 1
By flow object definition module (WorkflowTables), current process state and flow object are stored;Below The data mode realized exemplified by table 2 to flow object definition module (WorkflowTables) is illustrated.
Table 2
Process step definition module (WorkflowSteps), Stored Procedure step;Process step is determined exemplified by table 3 below The data mode that adopted module (WorkflowSteps) is realized is illustrated.
Table 3
Process step option definition module (WorkflowStepItems), Stored Procedure step option;The process step Option:Identify the specific implementation status of current process step;To process step option definition module exemplified by table 4 below (WorkflowStepItems) data mode realized is illustrated.
Table 4
Process step option details definition module (WorkflowStepItemsDetails), Stored Procedure step option are detailed Feelings;The Stored Procedure step option details:Process step option according to performed by current process step determines next step institute The process step to be performed.To process step option details definition module (WorkflowStepItemsDetai exemplified by table 5 below Ls the data mode) realized is illustrated.
Table 5
Data relationship between above-mentioned each definition module is as follows:
The external key Workflow_Id of WorkflowSteps corresponds to (major key of Workflows)
The external key WorkflowStep_Id of WorkflowStepItems corresponds to (major key of WorkflowSteps)
The external key WorkflowStepItems_Id of WorkflowStepItemsDetails is corresponded to (major key of WorkflowStepItems)
The external key GoToWorkflowStep_Id of WorkflowStepItemsDetails corresponds to (WorkflowSteps's Major key)
The external key Workflow_Id of WorkflowTables corresponds to (major key of Workflows)
Hereinafter, illustrate that the present invention's realizes process hereby to lift an idiographic flow A.
Assuming that certain process name for A with, flow A has been enabled, and the object of flow A is B, flow A have order perform Process step a-d, to agree to or refusing, process step option details record follow-up performed by agreement process step option respectively Follow-up process step performed by process step and refusal;
When flow A starts to perform:
First, verified according to control routine to whether process step a has updated (is relatively with default process step a It is no to change), it is updated if process step a has updated can not to provide process step a by the verification of Row control code Prompt message (can also be miscue information);It can be selected if process step a is without renewal by the verification of Row control code Select process step option (agree to or refuse);If process step option performs process step in process step details to agree to Option for agree to pointed follow-up process step b (by taking process step b as an example or process step c or d, with specific reference to Subject to setting);If process step option is refusal, it is that refusal is pointed to perform process step option in process step details Follow-up process step (by taking process step c as an example or process step b or d, subject to setting);Process step Option can interrupt flow, the upper process step of return, Returning process initial position or perform follow-up for refusal subsequent step A certain process step etc..
Hereinafter, hereby to lift another specific flow is asked for leave illustrating that the present invention's realizes process.
Process name:Ask for leave flow
Process step:Group leader examines, manager's examination & approval, general manager's examination & approval, president's examination & approval, and examination & approval terminate
Step option:
Group leader examines:Agree to
Manager's examination & approval:Agree to, refusal
General manager examines:Agree to, refusal
President examines:Agree to
Step option details:
Group leader examines:Agree to-→ in next step-→ manager's examination & approval
Manager's examination & approval:Agreement-→ next step-→ general manager examines
Refusal-→ next step-→ group leader examines
General manager examines:Agreement-→ next step-→ president examines
Refusal-→ in next step-→ manager's examination & approval
President examines:Agreement-→ next step-→ examination & approval terminate
Refusal-next step-general manager's examination & approval
When an application of asking for leave is submitted, then flow auto-initiation engine and first step option is obtained, i.e. pop-up is examined Interface is criticized, which, which includes, examines remarks, selection operation (such as:Agree to), submitting button.
Verify whether the step data have updated (i.e. whether process step has updated) during submission, such as updated, then prompted Data have updated, and ask refresh page, and otherwise engine, which is found, agrees to that the next step of option configuration is examined for manager, jumps to this Step, while update the state that current state is configured by manager's examination & approval.Similarly, all as above, manager examines for each step examination & approval below When load current procedures option (agree to and refusal), choosing is agreed to first verify when submitting, and is verified, and looks for and agrees to option configuration Next step general manager examines, and updates current state, and refusal, which is then found, refuses configured next step manager's examination & approval, updates current shape State.Until examination & approval terminate, this flow terminates.
The present invention is described in detail above by embodiment and embodiment, but these are not composition pair The limitation of the present invention.Without departing from the principles of the present invention, those skilled in the art can also make many deformations and change Into these also should be regarded as protection scope of the present invention.

Claims (8)

  1. A kind of 1. Custom Workflow engine, it is characterised in that including:Storage engines and control routine engine;
    Storage engines, data are custom-configured for Stored Procedure;
    The user-defined flow configuration data includes at least:Process step title, process step state, process step object, stream Journey step details, process step control option and process step control option details;
    Control routine engine, Stored Procedure control routine;
    The Row control code verifies that process step is if having updated to whether the process step that will be performed has updated Can not be by Row control code verification, control routine engine provides process step and has updated prompt message;If process step nothing Renewal then can be by Row control code verification, to that can carry out flow state more by the process step of Row control code verification After new follow-up process step is performed further according to the process step option details in storage engines.
  2. 2. Custom Workflow engine as claimed in claim 1, it is characterised in that:
    The storage engines are further divided into:Flow definition module, flow object definition module, process step definition module, Process step option definition module and process step option details definition module
    Whether flow definition module, Stored Procedure step title and the flow enable;
    Flow object definition module, stores current process state and flow object;
    Process step definition module, Stored Procedure step;
    Process step option definition module, Stored Procedure step option;The process step option:Identify current process step Specific implementation status;
    Process step option details definition module, Stored Procedure step option details;The Stored Procedure step option details:Root The process step to be performed in next step is determined according to the process step option performed by current process step.
  3. 3. Custom Workflow engine as claimed in claim 1, it is characterised in that:The process step option includes at least: Agree to or refuse.
  4. 4. Custom Workflow engine as claimed in claim 1, it is characterised in that:The flow state includes at least:Currently Process step whether executed and the currently performed process step option of the flow.
  5. A kind of 5. Custom Workflow engine implementing method, it is characterised in that including:
    To the title of a certain flow definition process name and each process step;
    Check whether the flow has enabled, the flow not enabled prompt message is provided if not enabled;
    To the flow setting flow object, testing process state;
    To the flow setting process step;
    To each process step setting procedure step option of the flow;The process step option:Identify current process step Specific implementation status;
    To the flow setting process step option details;The Stored Procedure step option details:According to current process step Performed process step option determines the process step to be performed in next step.
  6. 6. Custom Workflow engine implementing method as claimed in claim 5, it is characterised in that:The process step option is extremely Include less:Agree to or refuse.
  7. 7. Custom Workflow engine implementing method as claimed in claim 5, it is characterised in that:The flow state at least wraps Include:The step that whether current process has updated and the flow is currently performed.
  8. 8. Custom Workflow engine implementing method as claimed in claim 6, it is characterised in that:The process step option is During refusal, subsequent step can be interrupt flow, return to a upper process step, Returning process initial position or perform subsequently certain One process step.
CN201610927941.9A 2016-10-31 2016-10-31 Custom Workflow engine and its implementation Pending CN108009696A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610927941.9A CN108009696A (en) 2016-10-31 2016-10-31 Custom Workflow engine and its implementation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610927941.9A CN108009696A (en) 2016-10-31 2016-10-31 Custom Workflow engine and its implementation

Publications (1)

Publication Number Publication Date
CN108009696A true CN108009696A (en) 2018-05-08

Family

ID=62047863

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610927941.9A Pending CN108009696A (en) 2016-10-31 2016-10-31 Custom Workflow engine and its implementation

Country Status (1)

Country Link
CN (1) CN108009696A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109670664A (en) * 2018-09-11 2019-04-23 深圳平安财富宝投资咨询有限公司 Flow implementation method, user equipment, storage medium and device based on workflow

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882255A (en) * 2009-05-07 2010-11-10 中兴通讯股份有限公司 Workflow device, system and configuration method based on service-oriented architecture
US20120185293A1 (en) * 2009-09-28 2012-07-19 Zhaohui Wu Workflow management system and method for implementing workflow definition tool
CN103064658A (en) * 2011-10-21 2013-04-24 镇江金软计算机科技有限责任公司 Work flow (WF) engine applied in purchase-sale-stock system
CN103279840A (en) * 2013-06-08 2013-09-04 北京首钢自动化信息技术有限公司 Workflow engine implement method based on dynamic language and event processing mechanism
CN104850405A (en) * 2015-05-25 2015-08-19 武汉众联信息技术股份有限公司 Intelligent configurable workflow engine and implementation method therefor
CN105760991A (en) * 2016-02-04 2016-07-13 北京慧友云商科技有限公司 Workflow engine establishment method of changeable service flow

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882255A (en) * 2009-05-07 2010-11-10 中兴通讯股份有限公司 Workflow device, system and configuration method based on service-oriented architecture
US20120185293A1 (en) * 2009-09-28 2012-07-19 Zhaohui Wu Workflow management system and method for implementing workflow definition tool
CN103064658A (en) * 2011-10-21 2013-04-24 镇江金软计算机科技有限责任公司 Work flow (WF) engine applied in purchase-sale-stock system
CN103279840A (en) * 2013-06-08 2013-09-04 北京首钢自动化信息技术有限公司 Workflow engine implement method based on dynamic language and event processing mechanism
CN104850405A (en) * 2015-05-25 2015-08-19 武汉众联信息技术股份有限公司 Intelligent configurable workflow engine and implementation method therefor
CN105760991A (en) * 2016-02-04 2016-07-13 北京慧友云商科技有限公司 Workflow engine establishment method of changeable service flow

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109670664A (en) * 2018-09-11 2019-04-23 深圳平安财富宝投资咨询有限公司 Flow implementation method, user equipment, storage medium and device based on workflow

Similar Documents

Publication Publication Date Title
Liu et al. FogWorkflowSim: An automated simulation toolkit for workflow performance evaluation in fog computing
US7761393B2 (en) Creating and managing activity-centric workflow
Wang et al. On a unified definition of the service system: What is its identity?
CN106371918A (en) Task cluster scheduling management method and apparatus
CN105786605A (en) Task management method and system in robot
US20120185293A1 (en) Workflow management system and method for implementing workflow definition tool
CN109358847B (en) Service management platform
CN107146074A (en) Work order task cooperation processing method, device and computer-readable recording medium
CN104750522A (en) Dynamic execution method and system for tasks or processes
CN104851052A (en) Intelligent error preventing method and system used for outputting dispatching operation ticket
CN108364224A (en) Credit risk joint control method, apparatus, equipment and readable storage medium storing program for executing
CN104991816A (en) Process scheduling method and apparatus
CN108446977A (en) A kind of acquisition of stock value distribution and rendering method and related device
CN114897511A (en) Service flow scheduling processing method and system based on RPA technology
Liang et al. Dynamic service selection with QoS constraints and inter-service correlations using cooperative coevolution
CN113452852B (en) Method and device for regulating and controlling number of outbound calls of machine, electronic equipment and storage medium
CN108009696A (en) Custom Workflow engine and its implementation
CN106845991A (en) A kind of rules process method and equipment
Manda Leadership and trust as key pillars in “smart governance” for inclusive growth in the 4th Industrial Revolution (4IR): Evidence from South Africa
CN113095776B (en) Business process management method, device, computer equipment and storage medium
US20090024424A1 (en) System and method for dynamic linking of business processes
CN101110022A (en) Method for implementing workflow model by software
Ebert et al. Technology trends: Winning with ACES
US20220138574A1 (en) Method of training models in ai and electronic device
CN111522843B (en) Control method, system, equipment and storage medium of data platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180508

WD01 Invention patent application deemed withdrawn after publication