CN106897809A - Workflow creation method, workflow designer and workflow system - Google Patents

Workflow creation method, workflow designer and workflow system Download PDF

Info

Publication number
CN106897809A
CN106897809A CN201510958995.7A CN201510958995A CN106897809A CN 106897809 A CN106897809 A CN 106897809A CN 201510958995 A CN201510958995 A CN 201510958995A CN 106897809 A CN106897809 A CN 106897809A
Authority
CN
China
Prior art keywords
node
workflow
parameter value
type
configuration
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
CN201510958995.7A
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.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510958995.7A priority Critical patent/CN106897809A/en
Publication of CN106897809A publication Critical patent/CN106897809A/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

Abstract

The embodiment of the invention discloses a kind of workflow creation method, workflow designer and Workflow system, wherein, method includes:Start design interface;The flow chart of workflow is generated on design interface, including is respectively packaged with the node icon of property parameters, property parameters include node ID parameter, node type and nodal community;Each node for constituting workflow is set in advance in operation system;Nodal community includes business model or circulation condition;Obtain the system identifier of operation system and the flow ID of workflow;Respectively for each node icon in flow chart, the node represented by node icon is obtained from operation system, by the node ID that the node ID parameter configuration in the property parameters of node icon is represented node, and indicated to the node type in property parameters and nodal community configuration parameter value according to user.The embodiment of the present invention can improve the configurability and durability of workflow.

Description

Workflow creation method, workflow designer and Workflow system
Technical field
The present invention relates to data processing technique, especially a kind of workflow creation method, workflow design Device and Workflow system.
Background technology
Workflow refer to the movable flow direction of work item sequentially, including the building ring in practical work process Section, step and program.In the conventional implementation of operation flow, many companies using paper list, The mode transmitted by hand, one-level one-level is signed after examination, and operating efficiency is very low, for statistical report form work( Can not then can realize.
With the development and popularization of computer technology, network technology and database technology, all kinds of enterprises and individual The information-based application of people is emerged in an endless stream, and workflow (WorkFlow) is arisen at the historic moment.Workflow is exactly workflow The computation model of journey, the how front and rear logical sum rule for organizing together of work that will be in workflow exists It is indicated and to the calculation that plays tricks in fact with appropriate model in computer.The workflow subject matter to be solved It is:To realize certain business objective, between multiple participants, using computer, by certain pre- set pattern It is then automatic to transmit document, information or task.Using working flow software, user need to only fill out on computers With list is closed, task can down be carried out automatically according to the flow for defining, and next stage approver will receive To related data, it is possible to as needed change, tracking, management, inquiry, statistics, printing etc., phase For the conventional implementation of workflow, efficiency is substantially increased, realize information management, improved The core competitiveness of company.
However, realize it is of the invention during, inventor find:In operation systems such as existing sale In, by the direct configuration work flow of hard coded mode, because workflow is directly to configure in business A set of hard coded in system, once configuration is completed, the business change amount that adjustment workflow causes is huge Greatly.
The content of the invention
An embodiment of the present invention technical problem to be solved is:A kind of workflow establishment side is provided Method, workflow designer and Workflow system, to improve the configurability and durability of workflow.
In order to solve the above technical problems, one side according to embodiments of the present invention, there is provided a kind of work Flow creation method, including:
Call request in response to receiving operation system transmission, starts design interface;
Indicated according to user, the flow chart of the workflow, the flow chart are generated on design interface Each node icon including representing each node for constituting workflow respectively, the node icon is packaged with category Property parameter;The property parameters include node identification ID parameters, node type and nodal community;Constitute work Each node for making flow is set in advance in the operation system, one node of node ID unique mark;Institute Stating nodal community includes business model or circulation condition, and the business model includes logic of business functions list Unit, the executive role and treatment people of task, the circulation condition include source Nodes, whereabouts node and Conditional expression;
Obtain the system identifier of the operation system;Wherein, one operation system of system identifier unique mark;
Obtain the flow ID of the workflow;Wherein, one workflow of flow ID unique marks;
Respectively for each node icon in the flow chart, obtained represented by node icon from operation system Node, by the node that the node ID parameter configuration in the property parameters of node icon is represented node ID, and indicated to the node type in property parameters and nodal community configuration parameter value according to user.
In another embodiment of workflow creation method of the present invention, the parameter value bag of the node type Include:Start node, end node, circulation condition node, ordinary node, branch node or polymerization section Point;
When the parameter value of node type is circulation condition node, branch node or aggregation, specifically to section Circulation condition configuration parameter value in point attribute, the parameter value of the circulation condition of configuration is specially:Source section Point ID, whereabouts node ID and actual conditions expression formula;
When the node type value is start node, end node or ordinary node, specifically to nodal community In business model configuration parameter value, the parameter value of the business model of configuration is specially:Executive role ID with The ID for the treatment of people.
In another embodiment of workflow creation method of the present invention, to node type configuration parameter value bag Include:
Please in response to receiving the configuration that the parameter value of the node type of present node is configured into start node Ask, detection is constituted in each node of the workflow, if the parameter value of the node type of existing node It is configured as start node;
In response in each node for constituting the workflow, there is no the parameter value quilt of the node type of node Start node is configured to, the parameter value of the node type of present node is configured to start node.
In another embodiment of workflow creation method of the present invention, the business model also includes task Allocation strategy;
Task Assigned Policy configuration parameter value in property parameters is specially:Configuration task allocation strategy Type.
In another embodiment of workflow creation method of the present invention, the type of the Task Assigned Policy Including appointment type, competitive type, dynamic countersign type or equal distribution type;
If the type of configuration task allocation strategy is appointment type, to the executive role in nodal community and treatment During rostered staff factor value, specific parameter value is configured for executive role and treatment people;
If the type of configuration task allocation strategy is competitive type, to the executive role in nodal community and treatment During rostered staff factor value, specific parameter value is configured without configuration treatment people only for executive role Parameter value;
If the type of configuration task allocation strategy is dynamic countersign type, to the executive role in nodal community and During treatment people configuration parameter value, specific parameter value is configured for executive role, configuration treatment people Parameter value be configuration executive role parameter value in tasks carrying efficiency highest treatment people;
If the type of configuration task allocation strategy is equal distribution type, to the executive role in nodal community and During the configuration parameter value for the treatment of people, specific parameter value is configured for executive role, by treatment people Parameter value is configured to the treatment people determined according to alternating mode successively in the parameter value of the executive role of configuration Member.
In another embodiment of workflow creation method of the present invention, the business model also includes backtracking Processing mode;
The parameter value of the backtracking process mode includes:Whether same treatment people treatment backtracking is needed to appoint Business.
In another embodiment of workflow creation method of the present invention, the node type carries node Type parameter value option;Node type configuration parameter value is included:Selected from node type parameter value option Select a parameter value as the node type;
The nodal community carries nodal community parameter value option;To nodal community configuration parameter value bag Include:A parameter value as the nodal community is selected from nodal community parameter value option.
In another embodiment of workflow creation method of the present invention, also include:
The process base information of the record workflow is marked by procedure information in workflow database, The process base information includes the system identifier and the flow ID.
Other side according to embodiments of the present invention, there is provided a kind of workflow designer, including:
Receiving unit, the message for receiving operation system transmission;
Design interface, for carrying out man-machine interaction with user;
Service Processing Unit, during for the call request that operation system transmission is received in receiving unit, opens Dynamic design interface;And indicated according to user, the flow of the workflow is generated on design interface Figure, the flow chart includes representing respectively each node icon of each node for constituting workflow, the section Point icon is packaged with property parameters;The property parameters include node identification ID parameters, node type and section Point attribute;Each node for constituting workflow is set in advance in the operation system, and node ID is uniquely marked Know a node;The nodal community includes business model or circulation condition, and the business model includes industry Business logic function unit, the executive role and treatment people of task, the circulation condition include that source is saved Point, whereabouts node and conditional expression;
First acquisition unit, the system identifier for obtaining the operation system;Wherein, system identifier is unique One operation system of mark;
Second acquisition unit, the flow ID for obtaining the workflow;Wherein, flow ID is unique One workflow of mark;
Dispensing unit, for each node icon being directed to respectively in the flow chart, obtains from operation system Node represented by node icon, is institute's table by the node ID parameter configuration in the property parameters of node icon Show the node ID of node, and indicated to configure the node type in property parameters and nodal community according to user Parameter value.
Another aspect according to embodiments of the present invention, there is provided a kind of Workflow system, including workflow Workflow designer described in database and any of the above-described embodiment of the invention;
The workflow database is used to store:
Procedure information table, including workflow process base information, the process base information include be System ID and flow ID;
Informational table of nodes, including constitute the nodal basis information of each node of the workflow, the section Point Back ground Information includes flow ID, the parameter value of node type of the workflow belonging to node ID, node With the parameter value of nodal community;
Flow instance table, including the flow ID identifies the flow instance information of workflow example, institute Stating flow instance information includes the flow instance ID, the flow ID, the system identifier and flow reality Example state, the flow instance state includes not completing or having completed;
The node instance information of each node, the section in instant node table, including writing task flow instance Point example information includes the flow instance ID, the node ID of the start node, node state, node The parameter value of attribute;The node state includes:Un-activation, it is pending, treatment in or complete.
Workflow creation method, workflow designer and workflow system based on the above embodiment of the present invention A kind of system, it is possible to achieve method for creating workflow, can pre-set composition work in operation system Each node needed for making flow, then again individually to the property parameters configuration parameter value of each node, you can raw Into workflow.Due to constitute workflow needed for each node be separately provided, and node setting It is independent process with the configuration of its property parameters, after generation workflow, if certain node needs change Function, only modifies to individual node;If desired increase, node is deleted or modified, it is only necessary to be right Relevant configured parameter is changed, simple to operate, be easily achieved, and need not be complete reconfigure is a set of Workflow, compared with mode of the prior art by the direct configuration work flow of hard coded mode, improves The configurability and durability of workflow;Also, realize the workflow designer and business of the method Solutions of Systems is coupled, and can be used to provide all operation system workflows the configuration service of versatility.
Below by drawings and Examples, technical scheme is described in further detail.
Brief description of the drawings
The Description of Drawings embodiments of the invention of a part for specification are constituted, and together with description For explaining principle of the invention.
Referring to the drawings, according to following detailed description, the present invention can be more clearly understood from, wherein:
Fig. 1 is the flow chart of workflow creation method one embodiment of the present invention.
Fig. 2 is the flow chart of another embodiment of workflow creation method of the present invention.
Fig. 3 is the structural representation of workflow designer one embodiment of the present invention.
Fig. 4 is the structural representation of another embodiment of workflow designer of the present invention.
Fig. 5 is the structural representation of Workflow system one embodiment of the present invention.
Specific embodiment
Describe various exemplary embodiments of the invention in detail now with reference to accompanying drawing.It should be noted that:Remove Part and positioned opposite, the numeral of step non-to illustrate in addition, otherwise illustrate in these embodiments Expression formula and numerical value are not limited the scope of the invention.
Simultaneously, it should be appreciated that for the ease of description, the size of the various pieces shown in accompanying drawing is not It is to be drawn according to actual proportionate relationship.
The description only actually at least one exemplary embodiment is illustrative, never conduct below To the present invention and its application or any limitation for using.
May not make to beg in detail for technology, method and apparatus known to person of ordinary skill in the relevant By, but in the appropriate case, the technology, method and apparatus should be considered as a part for specification.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once It is defined in a certain Xiang Yi accompanying drawing, then it need not be further begged in subsequent accompanying drawing By.
Fig. 1 is the flow chart of workflow creation method one embodiment of the present invention.Various embodiments of the present invention Workflow creation method can by one independently of operation system outside device, such as workflow sets Gauge is realized.As shown in figure 1, the workflow creation method of the embodiment includes:
102, the call request in response to receiving operation system transmission starts design interface.
104, indicated according to user, the flow chart of workflow is generated on design interface.
Briefly, workflow is exactly a series of to be mutually linked, the business activity that carries out automatically or appoint Business;Whole business procedure can be regarded as Yi Tiaohe, wherein the river for flowing through is exactly pending table It is single.
Wherein, flow chart includes representing respectively each node icon of each node for constituting workflow, each Node icon is packaged with property parameters, and property parameters can for example include node identification (ID) parameter, section Vertex type and nodal community.One node of node ID unique mark.
Each node for constituting workflow is set in advance in operation system.
Nodal community can for example include business model or circulation condition.Exemplarily, business model can be with Including logic of business functions unit, the executive role and treatment people of task for realizing nodal function, Circulation condition can for example include source Nodes, whereabouts node and conditional expression.
106, obtain the system identifier of operation system.
Wherein, one operation system of system identifier unique mark.
108, obtain the flow ID of workflow.
Wherein, one workflow of flow ID unique marks.Flow ID can by user set, from Business provides extraction, or can also be automatically generated by workflow designer.
110, respectively for flow chart in each node icon, from operation system obtain node icon represented by Node, by the node that the node ID parameter configuration in the property parameters of node icon is represented node ID, and indicated to the node type in property parameters and nodal community configuration parameter value according to user.
The above embodiment of the present invention provides a kind of method for creating workflow, can be in operation system Each node needed for constituting workflow is pre-set, then the property parameters again individually to each node are configured Parameter value, you can generation workflow.Because each node needed for constituting workflow is to be separately provided , and the setting and the configuration of its property parameters of node are independent processes, after generation workflow, if Certain node needs change function, and only individual node is modified;If desired increase, delete or Modification node, it is only necessary to change relevant configured parameter, it is simple to operate, be easily achieved, improve work Make the configurability and durability of flow;Also, realize the workflow designer and operation system of the method It is decoupling, operation system is carried out with separate with the design of workflow, workflow designer with The mode of service provides workflow and creates function to operation system, can be used to work all operation systems Flow provides the configuration service of versatility.
An according to embodiments of the present invention specific example and it is unrestricted, the parameter value of node type for example may be used To be:Start node, end node, circulation condition node, ordinary node, branch node or polymerization section Point.
Wherein, start node, end node are a kind of special nodes, can fix initialization task or Ending ends task.In a workflow, only one of which start node can have multiple end sections Point.
Circulation condition node be one with conditional vectorial node, implied terms is true.This node Condition judgment finally produces true or false, to determine whether circulation to the next node in workflow. Ordinary node is typically the node of binding data model, typically data can be rendered as into manipulable list Etc. form, for man-machine interaction, there is user to carry out the treatment such as examining to list.Aggregation is also a kind of Special joint, for converging the branch in workflow, this node is a binding data model, holds automatically Capable node.The effect of branch node is the parallel circulation for realizing workflow, because the work(of branch node Energy characteristic, determines under it at least to there is two lines of outflow.In a workflow, Ke Yiyou Multiple circulation condition nodes, ordinary node, branch node, aggregation.
Wherein, when the parameter value of node type is circulation condition node, branch node or aggregation, behaviour Make in 110, specifically to the circulation condition configuration parameter value in nodal community, the ginseng of the circulation condition of configuration Numerical value can for example be expressed as:Source Nodes ID, whereabouts node ID and actual conditions expression formula.
It is specific right in operation 110 when node type value is start node, end node or ordinary node Business model configuration parameter value in nodal community, the parameter value of the business model of configuration can for example be represented For:The ID of executive role ID and treatment people.
Due in a workflow, only one of which start node, therefore, node type is configured and is joined During numerical value, can specifically realize in the following way:
Please in response to receiving the configuration that the parameter value of the node type of present node is configured into start node Ask, detection is constituted in each node of workflow, if the parameter value of the node type of existing node is matched somebody with somebody It is set to start node;
If constituting in each node of workflow, the parameter value of the node type without node is configured as out Beginning node, start node is configured to by the parameter value of the node type of present node.
In another embodiment of workflow creation method of the present invention, business model can also include appointing Business allocation strategy.Correspondingly, the Task Assigned Policy configuration parameter value in property parameters is specially:Match somebody with somebody Put the type of Task Assigned Policy.
In a specific example of the embodiment of the present invention, the type of Task Assigned Policy for example can refer to Send type, competitive type, dynamic countersign type or equal distribution type.
Specifically, if the type of configuration task allocation strategy is appointment type, to the execution angle in nodal community When color and treatment people configuration parameter value, specific parameter is configured for executive role and treatment people Value.If the type of configuration task allocation strategy is competitive type, to the executive role in nodal community and treatment During rostered staff factor value, specific parameter value is configured without configuration treatment people only for executive role Parameter value.If the type of configuration task allocation strategy is dynamic countersign type, to the execution angle in nodal community When color and treatment people configuration parameter value, specific parameter value, configuration treatment people are configured for executive role Member parameter value be configuration executive role parameter value in tasks carrying efficiency highest treatment people.If The type of configuration task allocation strategy is equal distribution type, to the executive role in nodal community and treatment people During the configuration parameter value of member, specific parameter value is configured for executive role, by the parameter value for the treatment of people It is configured to the treatment people determined according to alternating mode successively in the parameter value of the executive role of configuration.
After configuring the parameter value of above-mentioned Task Assigned Policy based on actual demand, follow-up business system calls work When carrying out Business Processing as flow, corresponding role, user in operation system just can be processed according to configuration Corresponding task.
In another embodiment of workflow creation method of the present invention, business model can also include industry Business model also includes backtracking process mode, and the parameter value of backtracking process mode is specially:Whether need same Individual treatment people processes backtracking task.So, follow-up business system calls the workflow to carry out Business Processing During, when flow is recalled, just may determine whether to also need to by treatment as before Personnel process the task, realize reasonability, the high efficiency of flow of task distribution.
Property parameters in the embodiment of the present invention are set to readable WriteMode, to property parameters configuration parameter value When, the parameter value for can directly fill in every property parameters.In addition, in order to reduce user's operation, Improve the normalization of allocative efficiency and configuration, in a specific example of the embodiment of the present invention, node class Type is preconfigured to be and carries node type parameter value option, so, to node type configuration parameter value When, a parameter value as node type can be directly selected from node type parameter value option.Together Sample, nodal community can also be configured as carrying nodal community parameter value option, and nodal community is matched somebody with somebody When putting parameter value, a ginseng as nodal community can be directly selected from nodal community parameter value option Numerical value.
In addition, in another embodiment of workflow creation method of the present invention, can be in work fluxion According to the process base information for marking record workflow in storehouse by procedure information, the process base information includes System identifier and flow ID, when calling workflow in order to follow-up business system, inquire about according to system identifier Which workflow what procedure information table just can know that operation system calls is.
Further, in another embodiment of workflow creation method of the present invention, can also be respectively The nodal basis for recording each node for constituting workflow by informational table of nodes in workflow database are believed Breath, the nodal basis information includes flow ID, the node type of the workflow belonging to node ID, node Parameter value and nodal community parameter value.
Further, in another embodiment of workflow creation method of the present invention, can also obtain Position of each node of workflow on design interface is constituted, and passes through node in workflow database Position table records the node location information of each node respectively, and the node location information includes work belonging to node Positions of the flow ID, node ID and node of flow on design interface.
Each node in process base information, the workflow of writing task flow in the workflow database After nodal basis information and node location information, follow-up business system just can according to process base information, The nodal basis information of each node calls execution respective nodes successively in workflow;Can also be in workflow Flow chart is reappeared on the design interface of designer, to be modified to the workflow.
Fig. 2 is the flow chart of another embodiment of workflow creation method of the present invention.As shown in Fig. 2 Compared with the embodiment shown in Fig. 1, the embodiment after embodiment illustrated in fig. 1, also including following behaviour Make:
202, request is obtained in response to receiving flow, the acquisition of acquisition flow please from workflow database Seek the nodal basis information and node location information of middle system identifier and the corresponding all nodes of flow ID.
204, respectively according to the node location information of each node in all nodes, shown on design interface and taken Each node with nodal basis information is with flow for displaying figure.
Operation 202~204 based on embodiment illustrated in fig. 2, by a work of Work stream data library storage Make the nodal basis information and node location information of all nodes in flow, just can realize the workflow Reproduction, in order to be modified to workflow.
For example, in the further embodiment of workflow creation method of the present invention, can be referred to according to user Show and the node shown on design interface is modified, and according to amended nodal basis information and/or position Put, the respective nodes Back ground Information and/or positional information in workflow database are updated.
Specifically, the node shown on design interface is modified to be:
Adjust the order between the node for constituting workflow and/or the Back ground Information to node is modified;
Or, one or more nodes for constituting workflow are deleted, and between other interdependent nodes Order and/or nodal basis information are adjusted accordingly;
Or, indicated to add new node icon in flow charts according to user, and obtain pre- from operation system New node represented by first set, new node icon, by the node in the property parameters of new node icon ID parameter configurations are the node ID of new node, and according to user indicate property parameters to new node icon Node type and nodal community configuration parameter value, and to constituting other interdependent nodes of workflow Order and/or nodal basis information are adjusted accordingly.
In the further embodiment of workflow creation method of the present invention, a workflow can also be deleted Journey.Can specifically be realized by following operation:
The flow removal request that user sends is received, the flow removal request includes that workflow is deleted in request The flow ID of journey;
Process base information, the section of flow ID correlations in flow removal request are deleted from workflow database Point Back ground Information and node location information.
Application to the embodiment of the present invention by taking a specific application example as an example below is illustrated.For example System ask for leave (i.e.:Realization is asked for leave the operation system of flow) needed for requirements of process of asking for leave include following three Individual node:First node is to carry false single, and second node is manager's examination & approval, and the 3rd node is chief inspector Examination & approval.After above three node is set in the system of asking for leave, design circle of the user in workflow designer Face generates the flow chart of flow of asking for leave, and it also includes other nodes in addition to above three node, for example, flow Turn condition node, branch node etc., then workflow designer accesses system of asking for leave and obtains system identifier and stream Journey ID, and obtain three nodes during these three nodes are allocated to flow chart respectively from the system of asking for leave, and by User configures to the parameter value of its property parameters respectively, including sets executive role ID, treatment people ID etc..
When flow of asking for leave changes, for example the condition of asking for leave changes, ask before vacation in a day need through Reason examination & approval, ask vacation in three days to need chief inspector to examine, and condition of asking for leave now change is:Please less than five days false only need Manager's examination & approval, ask vacation in more than five days to need chief inspector to examine, at this moment by the design interface of workflow designer Flow chart can be recalled, the parameter value of circulation condition is simply changed, the change of flow just can be completed.
In addition, if node changes, for example, a role for chief of ship branch is introduced again, only need to be in industry Business system increases the node, and the thing that it to be done is set, by the design interface of workflow designer Flow chart can be recalled, the node icon of the node is added in flow charts and is configured, and nothing Need to realize that code is modified to whole flow process.
One of ordinary skill in the art will appreciate that:Realize all or part of step of above method embodiment Can be completed by the related hardware of programmed instruction, foregoing program can be stored in a computer-readable Take in storage medium, the program upon execution, performs the step of including above method embodiment;And it is foregoing Storage medium include:ROM, RAM, magnetic disc or CD etc. are various can be with Jie of store program codes Matter.
Fig. 3 is the structural representation of workflow designer one embodiment of the present invention.The work of the embodiment Stream designer can be used to realize the above-mentioned each workflow creation method embodiment of the present invention.As shown in figure 3, The workflow designer of the embodiment includes that receiving unit, design interface, Service Processing Unit, first are obtained Take unit, second acquisition unit and dispensing unit.Wherein:
Receiving unit, the message for receiving operation system transmission.
Design interface, for carrying out man-machine interaction with user.
Service Processing Unit, during for the call request that operation system transmission is received in receiving unit, opens Dynamic design interface;And indicated according to user, the flow chart of workflow is generated on design interface, should Flow chart includes representing respectively each node icon of each node for constituting workflow, each node icon encapsulation There are property parameters, including node ID parameter, node type and nodal community, node ID unique mark one Individual node.Wherein, each node for constituting workflow is set in advance in operation system, nodal community bag Include business model or circulation condition;Business model includes logic of business functions unit, the executive role of task With treatment people, circulation condition include source Nodes, whereabouts node and conditional expression.
First acquisition unit, the system identifier for obtaining operation system.Wherein, system identifier unique mark One operation system.
Second acquisition unit, the flow ID for obtaining workflow.Wherein, flow ID unique marks One workflow.
Dispensing unit, for each node icon being directed to respectively in flow chart, node is obtained from operation system Node represented by icon, is represented section by the node ID parameter configuration in the property parameters of node icon The node ID of point, and indicated to the node type in property parameters and nodal community configuration parameter according to user Value.
A kind of workflow designer of the above embodiment of the present invention, it is possible to achieve side of establishment workflow Method, can pre-set each node needed for constituting workflow in operation system, then individually right again The property parameters configuration parameter value of each node, you can generation workflow.Due to needed for composition workflow Each node be separately provided, and the setting and the configuration of its property parameters of node are independent processes, After generation workflow, if certain node needs change function, only individual node is modified; If desired increase, node is deleted or modified, it is only necessary to which relevant configured parameter is changed, simple to operate, It is easily achieved, improves the configurability and durability of workflow;Also, realize the work of the method Stream designer is decoupling with operation system, can be used to provide versatility to all operation system workflows Configuration service.
Wherein, the parameter value of node type can be:Start node, end node, circulation conditional sections Point, ordinary node, branch node or aggregation.
Specifically, when the parameter value of node type is circulation condition node, branch node or aggregation, Dispensing unit is specifically to the circulation condition configuration parameter value in nodal community, the parameter of the circulation condition of configuration Value is specially:Source Nodes ID, whereabouts node ID and actual conditions expression formula;
When node type value is start node, end node or ordinary node, dispensing unit is specifically to node Business model configuration parameter value in attribute, the parameter value of the business model of configuration is specially:Executive role The ID of ID and treatment people.
In a specific example of workflow designer embodiment of the present invention, dispensing unit is to node type During configuration parameter value, the parameter value of the node type of present node specifically is configured to start section receiving During the configuring request of point, detection is constituted in each node of workflow, if the node type of existing node Parameter value be configured as start node;And in each node for constituting workflow, there is no node When the parameter value of node type is configured as start node, the parameter value of the node type of present node is matched somebody with somebody It is set to start node.
In another embodiment of workflow designer of the present invention, business model also includes that task distributes plan Slightly.Correspondingly, in the embodiment, dispensing unit is to the Task Assigned Policy configuration parameter in property parameters During value, the type of concrete configuration Task Assigned Policy.
The type of Task Assigned Policy for example includes appointment type, competitive type, dynamic countersign type or average mark Distribution type.
If the type of configuration task allocation strategy is appointment type, dispensing unit is to the execution angle in nodal community When color and treatment people configuration parameter value, specific parameter is configured for executive role and treatment people Value;
If the type of configuration task allocation strategy is competitive type, dispensing unit is to the execution angle in nodal community When color and treatment people configuration parameter value, only for executive role configure specific parameter value without configuration at The parameter value of reason personnel;
If the type of configuration task allocation strategy is dynamic countersign type, dispensing unit to nodal community in hold When row role and treatment people configuration parameter value, specific parameter value is configured for executive role, at configuration The parameter value of reason personnel be configuration executive role parameter value in tasks carrying efficiency highest treatment people Member;
If the type of configuration task allocation strategy be equal distribution type, dispensing unit to nodal community in hold During the configuration parameter value of row role and treatment people, specific parameter value is configured for executive role, will located The parameter value of reason personnel be configured to configuration executive role parameter value according to alternating mode successively determine Treatment people.
In another embodiment of workflow designer of the present invention, business model also includes backtracking process side Formula, the parameter value of the backtracking process mode of configuration of described dispensing unit is specially:Whether same treatment people is needed Member's treatment backtracking task.
In a specific example of the embodiment of the present invention, node type is configured as carrying node type Parameter value option;Correspondingly, when dispensing unit is to node type configuration parameter value, specifically from node type A parameter value as node type is selected in parameter value option.Equally, nodal community can also be matched somebody with somebody Put and carry nodal community parameter value option, correspondingly, dispensing unit is to nodal community configuration parameter value When, a parameter value as nodal community is specifically selected from nodal community parameter value option.
Fig. 4 is the structural representation of another embodiment of workflow designer of the present invention.As shown in figure 4, Compared with the embodiment shown in Fig. 3, the workflow designer of the embodiment also includes recording unit, is used for The process base information of record workflow, stream therein are marked by procedure information in workflow database Journey Back ground Information includes system identifier and flow ID.
In addition, recording unit can be also used for being recorded by informational table of nodes in workflow database respectively Constitute workflow each node nodal basis information, nodal basis information therein include node ID, The parameter value of the flow ID, the parameter value of node type and nodal community of the workflow belonging to node.
Further, recording unit can also be used to obtain each node for constituting workflow on design interface Position, and in workflow database by node location table record respectively each node node location believe Breath, node location information therein includes flow ID, node ID and the node of node belonging workflow journey Position on design interface.
Referring back to Fig. 4, in another embodiment of workflow designer of the present invention, the can also be included Three acquiring units, for when receiving unit receives flow and obtains request, being obtained from workflow database Take nodal basis information and node that flow obtains system identifier and the corresponding all nodes of flow ID in request Positional information, and respectively according to the node location information of each node in all nodes, show on design interface Show each node for carrying nodal basis information with flow for displaying figure.
Further, referring back to Fig. 4, in the further embodiment of workflow designer of the present invention, also Updating block can be included, for being indicated to modify the node shown on design interface according to user, And according to amended nodal basis information and/or position, to the respective nodes basis in workflow database Information and/or positional information are updated.
Specifically, updating block is modified to the node shown on design interface, for example, can be:
Adjust the order between the node for constituting workflow and/or the Back ground Information to node is modified; Or
Delete constitute workflow one or more nodes, and to the order between other interdependent nodes and/ Or nodal basis information is adjusted accordingly;Or
Indicated to add new node icon in flow charts according to user, and pre-set from operation system acquisition , new node represented by new node icon, by the node ID parameter in the property parameters of new node icon The node ID of new node is configured to, and the node in the property parameters to new node icon is indicated according to user Type and nodal community configuration parameter value, and to constitute workflow other interdependent nodes order and/ Or nodal basis information is adjusted accordingly.
In addition, in the workflow designer of the various embodiments described above of the present invention, receiving unit can also be used to connect The flow removal request that user sends is received, the flow removal request includes that the stream of workflow is deleted in request Journey ID.Correspondingly, in the embodiment, recording unit can also be used to delete flow from workflow database Flow ID related process base information, nodal basis information and node location information in removal request.
In various embodiments of the present invention, the application programming interfaces (API) of workflow designer can be coupled It is arranged in operation system, then workflow designer just can carry out letter especially by API and operation system Breath interaction.Specifically, workflow designer can be by HTTP (HTTP) and business system System communication.
Fig. 5 is the structural representation of Workflow system one embodiment of the present invention.The workflow of the embodiment System can be used to realize the above-mentioned each workflow creation method embodiment of the present invention.As shown in figure 5, the reality The Workflow system for applying example includes workflow database and workflow designer.
Wherein, workflow designer for example can be by any embodiment described in Fig. 3 of the present invention or Fig. 4 Structure is realized.
Workflow database is used to store following information:
Procedure information table, including workflow process base information, process base information include system identifier With flow ID;
Informational table of nodes, including the nodal basis information of each node of workflow is constituted, nodal basis letter Breath includes flow ID, the parameter value of node type and the node category of the workflow belonging to node ID, node The parameter value of property;
Flow instance table, including flow ID identifies the flow instance information of workflow example, flow reality Example information includes flow instance ID, flow ID, system identifier and flow instance state, flow instance state Including not completing or having completed;
Instant node table, including writing task flow instance interior joint node instance information, node instance Information includes flow instance ID, the node ID of start node, node state, the parameter value of nodal community; Node state includes:Un-activation, it is pending, treatment in or complete.
Exemplarily, the workflow database in the embodiment of the present invention for example can be MySQL, MS The database of the types such as SQL, SqlServer, Oracle.
The Workflow system of the above embodiment of the present invention, can be to the composition work that is pre-set in operation system The property parameters configuration parameter value of each node needed for making flow, you can generation workflow.Due to constituting Each node needed for workflow is separately provided, and the setting of node is with the configuration of its property parameters Independent process, after generation workflow, if certain node needs change function, only enters to individual node Row modification;If desired increase, node is deleted or modified, it is only necessary to be to relevant configured parameter modification Can, it is simple to operate, be easily achieved, improve the configurability and durability of workflow;Also, it is real The workflow designer of existing the method is decoupling with operation system, can be used for all operation system workflows Journey provides the configuration service of versatility.
The embodiment of the invention provides following technical scheme:
1st, a kind of workflow creation method, including:
Call request in response to receiving operation system transmission, starts design interface;
Indicated according to user, the flow chart of the workflow, the flow chart are generated on design interface Each node icon including representing each node for constituting workflow respectively, the node icon is packaged with category Property parameter;The property parameters include node identification ID parameters, node type and nodal community;Constitute work Each node for making flow is set in advance in the operation system, one node of node ID unique mark;Institute Stating nodal community includes business model or circulation condition, and the business model includes logic of business functions list Unit, the executive role and treatment people of task, the circulation condition include source Nodes, whereabouts node and Conditional expression;
Obtain the system identifier of the operation system;Wherein, one operation system of system identifier unique mark;
Obtain the flow ID of the workflow;Wherein, one workflow of flow ID unique marks;
Respectively for each node icon in the flow chart, obtained represented by node icon from operation system Node, by the node that the node ID parameter configuration in the property parameters of node icon is represented node ID, and indicated to the node type in property parameters and nodal community configuration parameter value according to user.
2nd, the method according to 1, the parameter value of the node type includes:Start node, end section Point, circulation condition node, ordinary node, branch node or aggregation;
When the parameter value of node type is circulation condition node, branch node or aggregation, specifically to section Circulation condition configuration parameter value in point attribute, the parameter value of the circulation condition of configuration is specially:Source section Point ID, whereabouts node ID and actual conditions expression formula;
When the node type value is start node, end node or ordinary node, specifically to nodal community In business model configuration parameter value, the parameter value of the business model of configuration is specially:Executive role ID with The ID for the treatment of people.
3rd, the method according to 2, includes to node type configuration parameter value:
Please in response to receiving the configuration that the parameter value of the node type of present node is configured into start node Ask, detection is constituted in each node of the workflow, if the parameter value of the node type of existing node It is configured as start node;
In response in each node for constituting the workflow, there is no the parameter value quilt of the node type of node Start node is configured to, the parameter value of the node type of present node is configured to start node.
4th, the method according to 1 to 3 any one, the business model also includes that task distributes plan Slightly;
Task Assigned Policy configuration parameter value in property parameters is specially:Configuration task allocation strategy Type.
5th, the method according to 4, the type of the Task Assigned Policy include appointment type, competitive type, Dynamic countersign type or equal distribution type;
If the type of configuration task allocation strategy is appointment type, to the executive role in nodal community and treatment During rostered staff factor value, specific parameter value is configured for executive role and treatment people;
If the type of configuration task allocation strategy is competitive type, to the executive role in nodal community and treatment During rostered staff factor value, specific parameter value is configured without configuration treatment people only for executive role Parameter value;
If the type of configuration task allocation strategy is dynamic countersign type, to the executive role in nodal community and During treatment people configuration parameter value, specific parameter value is configured for executive role, configuration treatment people Parameter value be configuration executive role parameter value in tasks carrying efficiency highest treatment people;
If the type of configuration task allocation strategy is equal distribution type, to the executive role in nodal community and During the configuration parameter value for the treatment of people, specific parameter value is configured for executive role, by treatment people Parameter value is configured to the treatment people determined according to alternating mode successively in the parameter value of the executive role of configuration Member.
6th, the method according to 1 to 5 any one, the business model also includes backtracking process side Formula;
The parameter value of the backtracking process mode includes:Whether same treatment people treatment backtracking is needed to appoint Business.
7th, the method according to 1 to 6 any one, the node type carries node type parameter Value option;Node type configuration parameter value is included:A work is selected from node type parameter value option It is the parameter value of the node type;
The nodal community carries nodal community parameter value option;To nodal community configuration parameter value bag Include:A parameter value as the nodal community is selected from nodal community parameter value option.
8th, the method according to 1 to 7 any one, also includes:
The process base information of the record workflow is marked by procedure information in workflow database, The process base information includes the system identifier and the flow ID.
9th, the method according to 8, also includes:
Each node for constituting the workflow is recorded by informational table of nodes in workflow database respectively Nodal basis information, the nodal basis information includes the stream of node ID, workflow belonging to node The parameter value of journey ID, the parameter value of node type and nodal community.
10th, the method according to 9, also includes:
Position of each node for constituting the workflow on design interface is obtained, and in Work stream data Record the node location information of each node, the node location information bag in storehouse respectively by node location table Include the position of the flow ID, node ID and node of node belonging workflow journey on design interface.
11st, the method according to 10, also includes:
Request is obtained in response to receiving flow, the flow is obtained from workflow database and is obtained request The nodal basis information and node location information of middle system identifier and the corresponding all nodes of flow ID, and point Not according to the node location information of each node in all nodes, display carries node base on design interface Each node of plinth information is showing the flow chart.
12nd, the method according to 11, also includes:
Indicated to modify the node shown on design interface according to user, and according to amended node Back ground Information and/or position, enter to the respective nodes Back ground Information and/or positional information in workflow database Row updates.
13rd, the method according to 12, it is described on design interface show node modify including:
Adjust the order between the node for constituting the workflow and/or the Back ground Information to node is repaiied Change;Or
One or more nodes for constituting the workflow are deleted, and to suitable between other interdependent nodes Sequence and/or nodal basis information are adjusted accordingly;Or
Indicated to add new node icon in the flow chart according to user, and obtain advance from operation system New node represented by set, the new node icon, by the section in the property parameters of new node icon Point ID parameter configurations are the node ID of the new node, and are indicated to the new node icon according to user Property parameters in node type and nodal community configuration parameter value, and to constituting the workflow Other interdependent nodes order and/or nodal basis information adjust accordingly.
14th, the method according to 10 to 13 any one, also includes:
The flow removal request that user sends is received, the flow removal request includes that workflow is deleted in request The flow ID of journey;
The process base letter of flow ID correlations in the flow removal request is deleted from workflow database Breath, nodal basis information and node location information.
15th, a kind of workflow designer, including:
Receiving unit, the message for receiving operation system transmission;
Design interface, for carrying out man-machine interaction with user;
Service Processing Unit, during for the call request that operation system transmission is received in receiving unit, opens Dynamic design interface;And indicated according to user, the flow of the workflow is generated on design interface Figure, the flow chart includes representing respectively each node icon of each node for constituting workflow, the section Point icon is packaged with property parameters;The property parameters include node identification ID parameters, node type and section Point attribute;Each node for constituting workflow is set in advance in the operation system, and node ID is uniquely marked Know a node;The nodal community includes business model or circulation condition, and the business model includes industry Business logic function unit, the executive role and treatment people of task, the circulation condition include that source is saved Point, whereabouts node and conditional expression;
First acquisition unit, the system identifier for obtaining the operation system;Wherein, system identifier is unique One operation system of mark;
Second acquisition unit, the flow ID for obtaining the workflow;Wherein, flow ID is unique One workflow of mark;
Dispensing unit, for each node icon being directed to respectively in the flow chart, obtains from operation system Node represented by node icon, is institute's table by the node ID parameter configuration in the property parameters of node icon Show the node ID of node, and indicated to configure the node type in property parameters and nodal community according to user Parameter value.
16th, the workflow designer according to 15, the parameter value of the node type includes:Start section Point, end node, circulation condition node, ordinary node, branch node or aggregation;
When the parameter value of node type is circulation condition node, branch node or aggregation, the configuration Specifically to the circulation condition configuration parameter value in nodal community, the parameter value of the circulation condition of configuration has unit Body is:Source Nodes ID, whereabouts node ID and actual conditions expression formula;
When the node type value is start node, end node or ordinary node, the dispensing unit tool Body is specially to the business model configuration parameter value in nodal community, the parameter value of the business model of configuration: The ID of executive role ID and treatment people.
17th, the workflow designer according to 16, the dispensing unit is to node type configuration parameter value When, specifically receive by the parameter value of the node type of present node be configured to start node configuration please When asking, detection is constituted in each node of the workflow, if the parameter of the node type of existing node Value is configured as start node;And in each node for constituting the workflow, there is no the section of node When the parameter value of vertex type is configured as start node, the parameter value of the node type of present node is configured It is start node.
18th, the workflow designer according to 15 to 17 any one, the business model also includes Task Assigned Policy;
When the dispensing unit is to Task Assigned Policy configuration parameter value in property parameters, concrete configuration is appointed The type of business allocation strategy.
19th, the workflow designer according to 18, the type of the Task Assigned Policy includes assigning Type, competitive type, dynamic countersign type or equal distribution type;
If the type of configuration task allocation strategy be appointment type, the dispensing unit to nodal community in hold When row role and treatment people configuration parameter value, specific ginseng is configured for executive role and treatment people Numerical value;
If the type of configuration task allocation strategy be competitive type, the dispensing unit to nodal community in hold When row role and treatment people configuration parameter value, configure specific parameter value only for executive role and be unworthy of Put the parameter value for the treatment of people;
If the type of configuration task allocation strategy is dynamic countersign type, the dispensing unit is in nodal community Executive role and during treatment people configuration parameter value, configure specific parameter value for executive role, match somebody with somebody The parameter value for putting treatment people be configuration executive role parameter value in tasks carrying efficiency highest treatment Personnel;
If the type of configuration task allocation strategy is equal distribution type, the dispensing unit is in nodal community Executive role and treatment people configuration parameter value when, configure specific parameter value for executive role, It is true according to alternating mode successively in the parameter value of the executive role that the parameter value for the treatment of people is configured to configure Fixed treatment people.
20th, the workflow designer according to 15 to 19 any one, the business model also includes Backtracking process mode;
The parameter value of the backtracking process mode includes:Whether same treatment people treatment backtracking is needed to appoint Business.
21st, the workflow designer according to 15 to 20 any one, the node type is carried Node type parameter value option;When the dispensing unit is to node type configuration parameter value, specifically from node A parameter value as the node type is selected in type parameter value option;
The nodal community carries nodal community parameter value option;The dispensing unit is matched somebody with somebody to nodal community When putting parameter value, a ginseng as the nodal community is specifically selected from nodal community parameter value option Numerical value.
22nd, the workflow designer according to 15 to 21 any one, also includes:
Recording unit, for marking the record workflow by procedure information in workflow database Process base information, the process base information includes the system identifier and the flow ID.
23rd, the workflow designer according to 22, the recording unit is additionally operable to respectively in workflow The nodal basis information of each node for constituting the workflow is recorded in database by informational table of nodes, The nodal basis information includes node ID, the flow ID of workflow belonging to node, node type The parameter value of parameter value and nodal community.
24th, the workflow designer according to 23, the recording unit is additionally operable to obtain described in composition Position of each node of workflow on design interface, and pass through node location in workflow database Table records the node location information of each node respectively, and the node location information includes node belonging workflow Positions of the flow ID, node ID and node of journey on design interface.
25th, the workflow designer according to 24, also includes:
3rd acquiring unit, for when receiving unit receives flow and obtains request, from Work stream data The nodal basis that the flow obtains system identifier and the corresponding all nodes of flow ID in request are obtained in storehouse Information and node location information, and set according to the node location information of each node in all nodes respectively Display carries each node of nodal basis information to show the flow chart on meter interface.
26th, the workflow designer according to 25, also includes:Updating block, for being referred to according to user Show and the node shown on design interface is modified, and according to amended nodal basis information and/or position Put, the respective nodes Back ground Information and/or positional information in workflow database are updated.
27th, the workflow designer according to 26, section of the updating block to display on design interface When point is modified, specifically for:
Adjust the order between the node for constituting the workflow and/or the Back ground Information to node is repaiied Change;Or
One or more nodes for constituting the workflow are deleted, and to suitable between other interdependent nodes Sequence and/or nodal basis information are adjusted accordingly;Or
Indicated to add new node icon in the flow chart according to user, and obtain advance from operation system New node represented by set, the new node icon, by the section in the property parameters of new node icon Point ID parameter configurations are the node ID of the new node, and are indicated to the new node icon according to user Property parameters in node type and nodal community configuration parameter value, and to constituting the workflow Other interdependent nodes order and/or nodal basis information adjust accordingly.
28th, the workflow designer according to 24 to 27 any one, the receiving unit is also used In the flow removal request that user sends is received, the flow removal request includes that workflow is deleted in request Flow ID;
The recording unit, is additionally operable to delete flow in the flow removal request from workflow database ID related process base information, nodal basis information and node location information.
29th, the workflow designer according to 25 to 28 any one, the workflow designer Application programming interfaces API couplings are arranged in the operation system;
The workflow designer carries out information exchange especially by the API with the operation system.
30th, the work described in a kind of Workflow system, including workflow database and 15 to 29 any one Make stream designer;
The workflow database is used to store:
Procedure information table, including workflow process base information, the process base information include be System ID and flow ID;
Informational table of nodes, including constitute the nodal basis information of each node of the workflow, the section Point Back ground Information includes flow ID, the parameter value of node type of the workflow belonging to node ID, node With the parameter value of nodal community;
Flow instance table, including the flow ID identifies the flow instance information of workflow example, institute Stating flow instance information includes the flow instance ID, the flow ID, the system identifier and flow reality Example state, the flow instance state includes not completing or having completed;
Instant node table, including writing task flow instance interior joint node instance information, the node Example information includes the flow instance ID, the node ID of the start node, node state, node category The parameter value of property;The node state includes:Un-activation, it is pending, treatment in or complete.
Each embodiment is described by the way of progressive in this specification, what each embodiment was stressed All it is the difference with other embodiments, same or analogous part cross-reference between each embodiment .For system embodiment, because it is substantially corresponding with embodiment of the method, so the ratio of description Relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
The method of the present invention, device and system may be achieved in many ways.For example, can be by soft Part, hardware, firmware or software, hardware, firmware any combinations come realize the method for the present invention, dress Put and system.The said sequence of the step of for methods described is merely to illustrate, side of the invention The step of method, is not limited to order described in detail above, unless specifically stated otherwise.Additionally, In some embodiments, also the present invention can be embodied as recording program in the recording medium, these program bags Include the machine readable instructions for realizing the method according to the invention.Thus, the present invention also covering storage is used In the recording medium of the program for performing the method according to the invention.
Description of the invention in order to example and description for the sake of and be given, and be not exhaustively or Limit the invention to disclosed form.Many modifications and variations are for one of ordinary skill in the art Speech is obvious.Selection and description embodiment be in order to more preferably illustrate principle of the invention and practical application, And make one of ordinary skill in the art it will be appreciated that the present invention is suitable to carrying for special-purpose so as to design The various embodiments of various modifications.

Claims (10)

1. a kind of workflow creation method, it is characterised in that including:
Call request in response to receiving operation system transmission, starts design interface;
Indicated according to user, the flow chart of the workflow, the flow chart are generated on design interface Each node icon including representing each node for constituting workflow respectively, the node icon is packaged with category Property parameter;The property parameters include node identification ID parameters, node type and nodal community;Constitute work Each node for making flow is set in advance in the operation system, one node of node ID unique mark;Institute Stating nodal community includes business model or circulation condition, and the business model includes logic of business functions list Unit, the executive role and treatment people of task, the circulation condition include source Nodes, whereabouts node and Conditional expression;
Obtain the system identifier of the operation system;Wherein, one operation system of system identifier unique mark;
Obtain the flow ID of the workflow;Wherein, one workflow of flow ID unique marks;
Respectively for each node icon in the flow chart, obtained represented by node icon from operation system Node, by the node that the node ID parameter configuration in the property parameters of node icon is represented node ID, and indicated to the node type in property parameters and nodal community configuration parameter value according to user.
2. method according to claim 1, it is characterised in that the parameter value bag of the node type Include:Start node, end node, circulation condition node, ordinary node, branch node or polymerization section Point;
When the parameter value of node type is circulation condition node, branch node or aggregation, specifically to section Circulation condition configuration parameter value in point attribute, the parameter value of the circulation condition of configuration is specially:Source section Point ID, whereabouts node ID and actual conditions expression formula;
When the node type value is start node, end node or ordinary node, specifically to nodal community In business model configuration parameter value, the parameter value of the business model of configuration is specially:Executive role ID with The ID for the treatment of people.
3. method according to claim 2, it is characterised in that to node type configuration parameter value bag Include:
Please in response to receiving the configuration that the parameter value of the node type of present node is configured into start node Ask, detection is constituted in each node of the workflow, if the parameter value of the node type of existing node It is configured as start node;
In response in each node for constituting the workflow, there is no the parameter value quilt of the node type of node Start node is configured to, the parameter value of the node type of present node is configured to start node.
4. the method according to claims 1 to 3 any one, it is characterised in that the business mould Type also includes Task Assigned Policy;
Task Assigned Policy configuration parameter value in property parameters is specially:Configuration task allocation strategy Type.
5. method according to claim 4, it is characterised in that the type of the Task Assigned Policy Including appointment type, competitive type, dynamic countersign type or equal distribution type;
If the type of configuration task allocation strategy is appointment type, to the executive role in nodal community and treatment During rostered staff factor value, specific parameter value is configured for executive role and treatment people;
If the type of configuration task allocation strategy is competitive type, to the executive role in nodal community and treatment During rostered staff factor value, specific parameter value is configured without configuration treatment people only for executive role Parameter value;
If the type of configuration task allocation strategy is dynamic countersign type, to the executive role in nodal community and During treatment people configuration parameter value, specific parameter value is configured for executive role, configuration treatment people Parameter value be configuration executive role parameter value in tasks carrying efficiency highest treatment people;
If the type of configuration task allocation strategy is equal distribution type, to the executive role in nodal community and During the configuration parameter value for the treatment of people, specific parameter value is configured for executive role, by treatment people Parameter value is configured to the treatment people determined according to alternating mode successively in the parameter value of the executive role of configuration Member.
6. the method according to claim 1 to 5 any one, it is characterised in that the business mould Type also includes backtracking process mode;
The parameter value of the backtracking process mode includes:Whether same treatment people treatment backtracking is needed to appoint Business.
7. the method according to claim 1 to 6 any one, it is characterised in that the node class Type carries node type parameter value option;Node type configuration parameter value is included:From node type ginseng A parameter value as the node type is selected in numerical value option;
The nodal community carries nodal community parameter value option;To nodal community configuration parameter value bag Include:A parameter value as the nodal community is selected from nodal community parameter value option.
8. the method according to claim 1 to 7 any one, it is characterised in that also include:
The process base information of the record workflow is marked by procedure information in workflow database, The process base information includes the system identifier and the flow ID.
9. a kind of workflow designer, it is characterised in that including:
Receiving unit, the message for receiving operation system transmission;
Design interface, for carrying out man-machine interaction with user;
Service Processing Unit, during for the call request that operation system transmission is received in receiving unit, opens Dynamic design interface;And indicated according to user, the flow of the workflow is generated on design interface Figure, the flow chart includes representing respectively each node icon of each node for constituting workflow, the section Point icon is packaged with property parameters;The property parameters include node identification ID parameters, node type and section Point attribute;Each node for constituting workflow is set in advance in the operation system, and node ID is uniquely marked Know a node;The nodal community includes business model or circulation condition, and the business model includes industry Business logic function unit, the executive role and treatment people of task, the circulation condition include that source is saved Point, whereabouts node and conditional expression;
First acquisition unit, the system identifier for obtaining the operation system;Wherein, system identifier is unique One operation system of mark;
Second acquisition unit, the flow ID for obtaining the workflow;Wherein, flow ID is unique One workflow of mark;
Dispensing unit, for each node icon being directed to respectively in the flow chart, obtains from operation system Node represented by node icon, is institute's table by the node ID parameter configuration in the property parameters of node icon Show the node ID of node, and indicated to configure the node type in property parameters and nodal community according to user Parameter value.
10. the workflow described in a kind of Workflow system, including workflow database and claim 9 sets Gauge;
The workflow database is used to store:
Procedure information table, including workflow process base information, the process base information include be System ID and flow ID;
Informational table of nodes, including constitute the nodal basis information of each node of the workflow, the section Point Back ground Information includes flow ID, the parameter value of node type of the workflow belonging to node ID, node With the parameter value of nodal community;
Flow instance table, including the flow ID identifies the flow instance information of workflow example, institute Stating flow instance information includes the flow instance ID, the flow ID, the system identifier and flow reality Example state, the flow instance state includes not completing or having completed;
Instant node table, including writing task flow instance interior joint node instance information, the node Example information includes the flow instance ID, the node ID of the start node, node state, node category The parameter value of property;The node state includes:Un-activation, it is pending, treatment in or complete.
CN201510958995.7A 2015-12-17 2015-12-17 Workflow creation method, workflow designer and workflow system Pending CN106897809A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510958995.7A CN106897809A (en) 2015-12-17 2015-12-17 Workflow creation method, workflow designer and workflow system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510958995.7A CN106897809A (en) 2015-12-17 2015-12-17 Workflow creation method, workflow designer and workflow system

Publications (1)

Publication Number Publication Date
CN106897809A true CN106897809A (en) 2017-06-27

Family

ID=59189994

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510958995.7A Pending CN106897809A (en) 2015-12-17 2015-12-17 Workflow creation method, workflow designer and workflow system

Country Status (1)

Country Link
CN (1) CN106897809A (en)

Cited By (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391203A (en) * 2017-07-28 2017-11-24 上海振华重工电气有限公司 A kind of automatic dock track crane collocation method
CN107705028A (en) * 2017-10-17 2018-02-16 深圳易嘉恩科技有限公司 The table structure of Work-flow control is realized for cloud account mill platform
CN109144486A (en) * 2018-09-10 2019-01-04 佛山市众联成云科技有限公司 A kind of workflow implementation method statelessly changed
CN109447406A (en) * 2018-09-20 2019-03-08 武汉达梦数据库有限公司 A kind of method of visioning procedure and the device of visioning procedure
CN109636306A (en) * 2018-10-29 2019-04-16 平安医疗健康管理股份有限公司 Node-flow shifting method, device, terminal and storage medium
CN109725884A (en) * 2018-02-28 2019-05-07 平安好房(上海)电子商务有限公司 Air control ' In System Reconfiguration Method, device, equipment and readable storage medium storing program for executing
CN109784792A (en) * 2017-11-10 2019-05-21 菜鸟智能物流控股有限公司 Configuration method of storage space management system and related equipment
CN109816754A (en) * 2018-12-28 2019-05-28 航天信息股份有限公司 Creation method, display methods and the system and storage medium of flow chart
CN109858727A (en) * 2018-11-28 2019-06-07 深圳中广核工程设计有限公司 A kind of user control and its construction method and Work-flow control method
CN109976745A (en) * 2017-12-27 2019-07-05 航天信息股份有限公司 A kind of processing method for service stream and device
CN110009299A (en) * 2019-03-12 2019-07-12 平安普惠企业管理有限公司 Method, apparatus, equipment and the storage medium of business data processing
CN110007902A (en) * 2019-03-12 2019-07-12 中国平安财产保险股份有限公司 The method and device of business processing flow configuration
CN110187938A (en) * 2019-05-24 2019-08-30 北京神州泰岳软件股份有限公司 A kind of assemble method and device of page workflow
CN110264035A (en) * 2019-05-10 2019-09-20 平安科技(深圳)有限公司 Configuration method, device, terminal and the storage medium of workflow
CN110310088A (en) * 2019-06-14 2019-10-08 平安科技(深圳)有限公司 Workflow configuration method and Related product
CN110321107A (en) * 2018-03-30 2019-10-11 优酷网络技术(北京)有限公司 The generation method and server of data processing module
CN110321119A (en) * 2018-03-30 2019-10-11 优酷网络技术(北京)有限公司 The generation method of data processing module, server and client side
CN110515600A (en) * 2019-09-02 2019-11-29 政采云有限公司 A kind of method and apparatus of workflow conditional configuration
CN110610406A (en) * 2019-09-20 2019-12-24 上海同在互联网科技有限公司 Business process configuration method and device, computer equipment and storage medium
CN110708202A (en) * 2019-10-15 2020-01-17 深圳前海微众银行股份有限公司 Configuration method, device and equipment of plug-in node and storage medium
CN110717647A (en) * 2019-09-03 2020-01-21 深圳壹账通智能科技有限公司 Decision flow construction method and device, computer equipment and storage medium
CN110956672A (en) * 2018-09-26 2020-04-03 北京国双科技有限公司 Marketing strategy construction method and device
CN111078094A (en) * 2019-12-04 2020-04-28 北京邮电大学 Distributed machine learning visualization device
CN111324629A (en) * 2020-02-19 2020-06-23 望海康信(北京)科技股份公司 Business data processing method and device, electronic equipment and computer storage medium
CN111415135A (en) * 2020-03-18 2020-07-14 浩云科技股份有限公司 Process executor configuration method
CN111652580A (en) * 2020-05-29 2020-09-11 平安医疗健康管理股份有限公司 Method and device for processing data of nodes
CN112015656A (en) * 2020-09-01 2020-12-01 中国银行股份有限公司 Visual debugging method and device for workflow designer
CN112148353A (en) * 2020-09-22 2020-12-29 京东数字科技控股股份有限公司 Data processing method and device
CN112163840A (en) * 2020-10-29 2021-01-01 银川安翰互联网医院有限公司 Workflow definition method, cross-region management method and device of example
CN112181378A (en) * 2020-10-15 2021-01-05 浙江大搜车软件技术有限公司 Method and device for realizing business process
CN112183982A (en) * 2020-09-21 2021-01-05 中国建设银行股份有限公司 Workflow creating method and device, computer equipment and storage medium
CN112667236A (en) * 2020-12-28 2021-04-16 珠海新华通软件股份有限公司 Method, system and medium for implementing workflow of gridding layout
CN112686580A (en) * 2021-01-31 2021-04-20 重庆渝高科技产业(集团)股份有限公司 Workflow definition method and system capable of customizing flow
CN112951397A (en) * 2021-03-29 2021-06-11 深圳市科曼医疗设备有限公司 Perioperative period process management system and method
CN115129695A (en) * 2022-07-29 2022-09-30 南京维拓科技股份有限公司 Method for online transmitting design data of industrial product
CN115204736A (en) * 2022-08-03 2022-10-18 医利捷(上海)信息科技有限公司 Business system and workflow engine interaction method and system
CN112148353B (en) * 2020-09-22 2024-05-17 京东科技控股股份有限公司 Data processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7656404B1 (en) * 2006-03-21 2010-02-02 Intuit Inc. Line trimming and arrow head placement algorithm
CN102486730A (en) * 2010-12-06 2012-06-06 上海协讯软件有限公司 Workflow realization method and workflow system capable of customizing flow in user-defined manner
CN102663569A (en) * 2012-05-07 2012-09-12 广东优迈信息通信技术有限公司 Visualized workflow engine system
CN103218706A (en) * 2013-03-20 2013-07-24 深圳市赛为智能股份有限公司 Method and device for generating workflow file and executing method and system for generating workflow file
US8751283B2 (en) * 2007-12-28 2014-06-10 International Business Machines Corporation Defining and using templates in configuring information technology environments

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7656404B1 (en) * 2006-03-21 2010-02-02 Intuit Inc. Line trimming and arrow head placement algorithm
US8751283B2 (en) * 2007-12-28 2014-06-10 International Business Machines Corporation Defining and using templates in configuring information technology environments
CN102486730A (en) * 2010-12-06 2012-06-06 上海协讯软件有限公司 Workflow realization method and workflow system capable of customizing flow in user-defined manner
CN102663569A (en) * 2012-05-07 2012-09-12 广东优迈信息通信技术有限公司 Visualized workflow engine system
CN103218706A (en) * 2013-03-20 2013-07-24 深圳市赛为智能股份有限公司 Method and device for generating workflow file and executing method and system for generating workflow file

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LXT008: "eworkflow自定义工作流***的博客文章", 《HTTPS://WWW.DOCIN.COM/P-141397542.HTML》 *
NEWAPPLE1212: "eWorkFlow操作手册", 《HTTPS://WWW.DOCIN.COM/P-636433469.HTML》 *

Cited By (51)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391203A (en) * 2017-07-28 2017-11-24 上海振华重工电气有限公司 A kind of automatic dock track crane collocation method
CN107705028A (en) * 2017-10-17 2018-02-16 深圳易嘉恩科技有限公司 The table structure of Work-flow control is realized for cloud account mill platform
CN109784792A (en) * 2017-11-10 2019-05-21 菜鸟智能物流控股有限公司 Configuration method of storage space management system and related equipment
CN109784792B (en) * 2017-11-10 2023-08-08 菜鸟智能物流控股有限公司 Configuration method of storage space management system and related equipment
CN109976745A (en) * 2017-12-27 2019-07-05 航天信息股份有限公司 A kind of processing method for service stream and device
CN109725884A (en) * 2018-02-28 2019-05-07 平安好房(上海)电子商务有限公司 Air control ' In System Reconfiguration Method, device, equipment and readable storage medium storing program for executing
CN110321119A (en) * 2018-03-30 2019-10-11 优酷网络技术(北京)有限公司 The generation method of data processing module, server and client side
CN110321107A (en) * 2018-03-30 2019-10-11 优酷网络技术(北京)有限公司 The generation method and server of data processing module
CN109144486A (en) * 2018-09-10 2019-01-04 佛山市众联成云科技有限公司 A kind of workflow implementation method statelessly changed
CN109447406A (en) * 2018-09-20 2019-03-08 武汉达梦数据库有限公司 A kind of method of visioning procedure and the device of visioning procedure
CN110956672A (en) * 2018-09-26 2020-04-03 北京国双科技有限公司 Marketing strategy construction method and device
CN109636306A (en) * 2018-10-29 2019-04-16 平安医疗健康管理股份有限公司 Node-flow shifting method, device, terminal and storage medium
CN109858727A (en) * 2018-11-28 2019-06-07 深圳中广核工程设计有限公司 A kind of user control and its construction method and Work-flow control method
CN109858727B (en) * 2018-11-28 2021-05-04 深圳中广核工程设计有限公司 User control, construction method thereof and workflow control method
CN109816754A (en) * 2018-12-28 2019-05-28 航天信息股份有限公司 Creation method, display methods and the system and storage medium of flow chart
CN110007902B (en) * 2019-03-12 2023-11-24 中国平安财产保险股份有限公司 Method and device for configuring business processing flow
CN110007902A (en) * 2019-03-12 2019-07-12 中国平安财产保险股份有限公司 The method and device of business processing flow configuration
CN110009299A (en) * 2019-03-12 2019-07-12 平安普惠企业管理有限公司 Method, apparatus, equipment and the storage medium of business data processing
CN110264035A (en) * 2019-05-10 2019-09-20 平安科技(深圳)有限公司 Configuration method, device, terminal and the storage medium of workflow
CN110264035B (en) * 2019-05-10 2023-11-10 平安科技(深圳)有限公司 Workflow configuration method, workflow configuration device, terminal and storage medium
CN110187938A (en) * 2019-05-24 2019-08-30 北京神州泰岳软件股份有限公司 A kind of assemble method and device of page workflow
CN110310088A (en) * 2019-06-14 2019-10-08 平安科技(深圳)有限公司 Workflow configuration method and Related product
CN110310088B (en) * 2019-06-14 2023-06-20 平安科技(深圳)有限公司 Workflow configuration method and related products
CN110515600A (en) * 2019-09-02 2019-11-29 政采云有限公司 A kind of method and apparatus of workflow conditional configuration
CN110717647A (en) * 2019-09-03 2020-01-21 深圳壹账通智能科技有限公司 Decision flow construction method and device, computer equipment and storage medium
CN110610406B (en) * 2019-09-20 2022-12-02 上海同在互联网科技有限公司 Business process configuration method and device, computer equipment and storage medium
CN110610406A (en) * 2019-09-20 2019-12-24 上海同在互联网科技有限公司 Business process configuration method and device, computer equipment and storage medium
CN110708202A (en) * 2019-10-15 2020-01-17 深圳前海微众银行股份有限公司 Configuration method, device and equipment of plug-in node and storage medium
CN110708202B (en) * 2019-10-15 2023-12-05 深圳前海微众银行股份有限公司 Configuration method, device, equipment and storage medium of plug-in node
CN111078094A (en) * 2019-12-04 2020-04-28 北京邮电大学 Distributed machine learning visualization device
CN111078094B (en) * 2019-12-04 2021-12-07 北京邮电大学 Distributed machine learning visualization device
CN111324629B (en) * 2020-02-19 2023-08-15 望海康信(北京)科技股份公司 Service data processing method and device, electronic equipment and computer storage medium
CN111324629A (en) * 2020-02-19 2020-06-23 望海康信(北京)科技股份公司 Business data processing method and device, electronic equipment and computer storage medium
CN111415135A (en) * 2020-03-18 2020-07-14 浩云科技股份有限公司 Process executor configuration method
CN111652580A (en) * 2020-05-29 2020-09-11 平安医疗健康管理股份有限公司 Method and device for processing data of nodes
CN111652580B (en) * 2020-05-29 2023-02-14 深圳平安医疗健康科技服务有限公司 Method and device for processing data of nodes
CN112015656A (en) * 2020-09-01 2020-12-01 中国银行股份有限公司 Visual debugging method and device for workflow designer
CN112015656B (en) * 2020-09-01 2023-08-15 中国银行股份有限公司 Visual debugging method and device for workflow designer
CN112183982A (en) * 2020-09-21 2021-01-05 中国建设银行股份有限公司 Workflow creating method and device, computer equipment and storage medium
CN112148353B (en) * 2020-09-22 2024-05-17 京东科技控股股份有限公司 Data processing method and device
CN112148353A (en) * 2020-09-22 2020-12-29 京东数字科技控股股份有限公司 Data processing method and device
CN112181378B (en) * 2020-10-15 2023-02-24 浙江大搜车软件技术有限公司 Method and device for realizing business process
CN112181378A (en) * 2020-10-15 2021-01-05 浙江大搜车软件技术有限公司 Method and device for realizing business process
CN112163840A (en) * 2020-10-29 2021-01-01 银川安翰互联网医院有限公司 Workflow definition method, cross-region management method and device of example
CN112667236A (en) * 2020-12-28 2021-04-16 珠海新华通软件股份有限公司 Method, system and medium for implementing workflow of gridding layout
CN112686580B (en) * 2021-01-31 2023-05-16 重庆渝高科技产业(集团)股份有限公司 Workflow definition method and system capable of customizing flow
CN112686580A (en) * 2021-01-31 2021-04-20 重庆渝高科技产业(集团)股份有限公司 Workflow definition method and system capable of customizing flow
CN112951397A (en) * 2021-03-29 2021-06-11 深圳市科曼医疗设备有限公司 Perioperative period process management system and method
CN115129695B (en) * 2022-07-29 2023-10-20 南京维拓科技股份有限公司 Industrial product design data online transmission method
CN115129695A (en) * 2022-07-29 2022-09-30 南京维拓科技股份有限公司 Method for online transmitting design data of industrial product
CN115204736A (en) * 2022-08-03 2022-10-18 医利捷(上海)信息科技有限公司 Business system and workflow engine interaction method and system

Similar Documents

Publication Publication Date Title
CN106897809A (en) Workflow creation method, workflow designer and workflow system
CN106897806A (en) Workflow creation method and system, operation system
CN105700888B (en) A kind of visualization quick development platform based on jbpm workflow engine
CN105117835B (en) A kind of electric network information computer room three-dimensional visualization management platform based on B/S frameworks
CN103208046B (en) Workflow engine architecture method based on interactive dynamic flow diagram and system
CN106803150A (en) Municipal Engineering Construction progress msg management method and system based on BIM
CN112561386A (en) Method, device and equipment for acquiring business process
CN107977236A (en) Generation method, terminal device, storage medium and the question answering system of question answering system
CN105278936B (en) A kind of common software modeling method based on software meta-model construction software model
CN106408170A (en) Electronic worksheet processing method, workflow engine and electronic worksheet system
CN104572068B (en) For keeping the method and system of product behavioral data via catalogue
CN109035060A (en) A kind of structured processes management system and management method
JP2018165982A (en) Maintenance management method by virtual reality and system of the same
CN107967140A (en) The initiating method of software modification, the method and device for issuing metadata
CN107729668A (en) Technological design coordination management system and its method based on threedimensional model
CN108399547A (en) A kind of method, system and medium for sentencing duty according to express mail circulation node and problem types
CN107209773A (en) Automatically unified visualization interface is called
CN110348820A (en) A kind of intelligent work Workflow Management System
CN106557366A (en) Task distribution method, apparatus and system
CN106127365A (en) Quantitative remote sensing On-line Product interactive mode autonomous production method
CN108255964B (en) Method for displaying process flow route
CN106952024A (en) It is a kind of to strengthen the workflow engine method and system of net O&M scenarios suitable for ground
Abersfelder et al. Application and validation of an existing industry 4.0 guideline for the development of specific recommendations for implementation
CN114385150B (en) Low code development method based on intelligent engine
CN109302459B (en) Service compiling device and method of service-oriented intelligent power grid dispatching control system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170627

RJ01 Rejection of invention patent application after publication