CN106897810A - Method for processing business and system, workflow engine and system, operation system - Google Patents

Method for processing business and system, workflow engine and system, operation system Download PDF

Info

Publication number
CN106897810A
CN106897810A CN201510959011.7A CN201510959011A CN106897810A CN 106897810 A CN106897810 A CN 106897810A CN 201510959011 A CN201510959011 A CN 201510959011A CN 106897810 A CN106897810 A CN 106897810A
Authority
CN
China
Prior art keywords
node
workflow
operation system
information
pending
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.)
Granted
Application number
CN201510959011.7A
Other languages
Chinese (zh)
Other versions
CN106897810B (en
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
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 CN201510959011.7A priority Critical patent/CN106897810B/en
Publication of CN106897810A publication Critical patent/CN106897810A/en
Application granted granted Critical
Publication of CN106897810B publication Critical patent/CN106897810B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of method for processing business and system, workflow engine and system, operation system, wherein, method includes:Flow instance request to create is received, the corresponding flow ID of system identifier in request to create is obtained from workflow database;From workflow database obtain workflow in start node nodal information, including node ID and nodal community parameter value;Using start node as pending node, the nodal information of pending node is returned to operation system;Wherein, pending node is set in advance in operation system;The executing result message of operation system return is received, the nodal information of whereabouts node is obtained from workflow database, and using whereabouts node as pending node, perform the operation of the nodal information that pending node is returned to operation system.The embodiment of the present invention can improve the configurability and durability of workflow.

Description

Method for processing business and system, workflow engine and system, operation system
Technical field
Draw the present invention relates to data processing technique, especially a kind of method for processing business and system, workflow Hold up and system, operation 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 method for processing business is provided and is System, workflow engine and system, operation 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 business Processing method, including:
Flow instance request to create in response to receiving operation system transmission, obtains from workflow database The corresponding flow ID of system identifier in the request to create;Wherein, business system described in system identifier unique mark System, one workflow of flow ID unique marks;
The node letter of start node during the flow ID identifies workflow is obtained from workflow database Breath, the nodal information includes the parameter value of node ID and nodal community;
Using start node as pending node, the node for returning to the pending node to operation system is believed Breath, to perform the pending node by the operation system;Wherein, the pending node is advance It is arranged in the operation system;
It is finished the executing result message that the pending node returns in response to receiving operation system, The whereabouts node of the circulation condition that source Nodes are the pending node is obtained from workflow database, from Workflow database obtains the nodal information of the whereabouts node, and using the whereabouts node as pending Node, performs the operation of the nodal information that the pending node is returned to operation system.
In the method for processing business of another embodiment, the operation system performs the pending node bag Include:
The operation system is obtained and performed from operation system according to the nodal information of the pending node The pending node, carries out information exchange and the data that user submits to is processed with user, records The data that user submits to and the operation for performing.
In the method for processing business of another embodiment, also include:
After the operation system is finished to the data processing that user submits to, obtain and perform data result and deposit Storage, and return to executing result message to workflow engine.
In the method for processing business of another embodiment, the workflow database includes procedure information Table, the process base information for storing each workflow, the process base packet of each workflow Include system identifier and flow ID;
The corresponding flow ID of system identifier includes in the acquisition request to create from workflow database: The corresponding flow ID of system identifier in the request to create is inquired about from procedure information table.
In the method for processing business of another embodiment, the workflow database includes nodal information Table, the nodal basis information for storing each node, the nodal basis information of each node includes node The parameter of the flow ID, the parameter value of node type and nodal community of the workflow belonging to ID, node Value;
The node that start node during the flow ID identifies workflow is obtained from workflow database Information includes:Being obtained from informational table of nodes includes all nodal basis letter of the corresponding flow ID Breath;The parameter value that node type is obtained from all nodal basis information is the node base of start node Plinth information;It is acquisition node ID and section in the nodal basis information of start node from the parameter value of node type The parameter value of point attribute.
In the method for processing business of another embodiment, the parameter value of node type includes:Start node, End node, circulation condition node, ordinary node, branch node or aggregation;
The nodal community includes the corresponding business model of node type or circulation condition, the business model Executive role and treatment people including logic of business functions unit, task, the circulation condition include coming Source node, whereabouts node and conditional expression;
When the parameter value of node type is circulation condition node, branch node or aggregation, corresponding section Point attribute is circulation condition, and the parameter value of the nodal community 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, corresponding nodal community is industry Business model, the parameter value of the nodal community is specially:The user of executive role ID and treatment people ID。
Other side according to embodiments of the present invention, there is provided a kind of workflow engine, including:
First receiving unit, the message for receiving operation system transmission;
First acquisition unit, the flow instance wound for receiving operation system transmission in the first receiving unit When building request, the corresponding flow ID of system identifier in the request to create is obtained from workflow database;Its In, operation system described in system identifier unique mark, one workflow of flow ID unique marks;
Second acquisition unit, in identifying workflow from the workflow database acquisition flow ID The nodal information of start node, the nodal information includes the parameter value of node ID and nodal community;
First transmitting element, for using start node as pending node, being returned to operation system described The nodal information of pending node, to perform the pending node by the operation system;Wherein, The pending node is set in advance in the operation system;
3rd acquiring unit, described waits to hold for receiving operation system and being finished in the first receiving unit During the executing result message that row node is returned, it is described pending to obtain source Nodes from workflow database The whereabouts node of the circulation condition of node, the node letter of the whereabouts node is obtained from workflow database Breath, and using the whereabouts node as pending node, execution is described to be waited to hold to described in operation system return The operation of the nodal information of row node.
Another aspect according to embodiments of the present invention, there is provided a kind of operation system, including:
Second transmitting element, for workflow engine transmission flow example request to create, the establishment please Asking includes system identifier;Wherein, operation system described in system identifier unique mark;And draw to workflow Hold up return executing result message;
Second receiving unit, the nodal information of the pending node for receiving workflow engine return;
Service Processing Unit, for the nodal information according to the pending node, obtains simultaneously from node repository The pending node is performed, information exchange is carried out with user and the data that user submits to is processed, The user data submitted to and the operation for performing are recorded in Service Database;And in the data submitted to user After being disposed, obtain and perform data result and store in Service Database, and indicate second to send Unit returns to executing result message to workflow engine;Wherein, each node for constituting workflow sets in advance Put in the node repository.
Another aspect according to embodiments of the present invention, there is provided a kind of Workflow system, its feature exists In, including the workflow engine described in the above embodiment of the present invention
Other side according to embodiments of the present invention, there is provided a kind of transaction processing system, including this hair The operation system described in workflow engine and any of the above-described embodiment of the invention described in bright above-described embodiment. The method for processing business and system, workflow engine and system, industry provided based on the above embodiment of the present invention Business system, each node for constituting workflow is set in advance in operation system, nodal information, including section The parameter value of point ID and nodal community, stores in workflow database, and operation system calls workflow When, can by a device, such as workflow engine, according to flow path from workflow database according to Secondary query node information is sent to operation system, and respective nodes are performed by operation system.The embodiment of the present invention In, each node needed for constituting workflow is separately provided, setting and its property parameters of node Configuration is independent process, and workflow engine no longer belongs to one together and is with business operation system on coding System, realizes the decoupling of code aspect;On the data store, workflow database only preserves flow correlation Information only keeps Business Entity data without preserving flow phase without preserving Business Entity data, operation system Pass information, realizes the decoupling of data plane, when Business Entity data change, workflow Without change, the configurability and durability of workflow are improve.
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 method for processing business one embodiment of the present invention.
Fig. 2 is the flow chart of another embodiment of method for processing business of the present invention.
Fig. 3 is the flow chart of another embodiment of method for processing business of the present invention.
Fig. 4 is the flow chart of method for processing business further embodiment of the present invention.
Fig. 5 is the flow chart of method for processing business a still further embodiment of the present invention.
Fig. 6 is the structural representation of workflow engine one embodiment of the present invention.
Fig. 7 is the structural representation of another embodiment of workflow engine of the present invention.
Fig. 8 is the structural representation of operation system one embodiment of the present invention.
Fig. 9 is the structural representation of another embodiment of operation system of the present invention.
Figure 10 is the structural representation of Workflow system one embodiment of the present invention.
Figure 11 is the structural representation of transaction processing 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 method for processing business one embodiment of the present invention.The industry of various embodiments of the present invention Business processing method can specifically be performed by the device outside an operation system, such as workflow engine.Such as Shown in Fig. 1, the method for processing business of the embodiment includes:
102, the flow instance request to create in response to receiving operation system transmission, from workflow database Obtain the corresponding flow ID of system identifier in request to create.
Wherein, one operation system of system identifier unique mark, one workflow of flow ID unique marks Journey.
In a specific example of the invention, can in workflow database Stored Procedure information table, To store the process base information of each workflow, the process base information of each workflow can include System identifier and flow ID, it can in addition contain include creation time, last modification time, the flow of flow The information such as title.The corresponding flow of system identifier in request to create can be then inquired about from procedure information table ID。
Workflow be exactly it is a series of be mutually linked, the business activity that carries out automatically or task;Can will be whole Individual business procedure regards Yi Tiaohe as, wherein the river for flowing through is exactly pending list.
104, obtained flow ID is identified in workflow in request to create since workflow database and saved Point nodal information, including node ID and nodal community parameter value;And using start node as pending Node, performs operation 106.
In a specific example of the invention, can in workflow database memory node information table, Nodal basis information for storing each node, the nodal basis information of each node can include node The parameter of the flow ID, the parameter value of node type and nodal community of the workflow belonging to ID, node Value, it can in addition contain the information such as including the establishment of node, last modification time.Then can be by such as lower section Formula obtains the nodal information of start node:Being obtained from informational table of nodes includes all sections of above-mentioned flow ID Point Back ground Information;The parameter value that node type is obtained from all nodal basis information is the section of start node Point Back ground Information;Node ID is obtained from the nodal basis information that the parameter value of node type is start node With the parameter value of nodal community.
Wherein, the parameter value of node type can for example include:Start node, end node, circulation bar Part node, ordinary node, branch node or aggregation;Nodal community includes the corresponding industry of node type Business model or circulation condition, business model can include logic of business functions unit, the executive role of task With treatment people, circulation condition can include source Nodes, whereabouts node and conditional expression.
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.
Wherein, circulation condition node be one with conditional vectorial node, implied terms is true.This The condition judgment of node finally produces true or false, to determine whether circulation to next in workflow Node.Ordinary node is typically the node of binding data model, can typically be rendered as data operating The form such as list, for man-machine interaction, there is user to carry out the treatment such as examining to list.Aggregation A kind of special joint, for converging the branch in workflow, this node be a binding data model, The automatic node for performing.The effect of branch node is the parallel circulation for realizing workflow, because branch saves The functional characteristic of point, determines under it at least to there is two lines of outflow.In a workflow, Can there are multiple circulation condition nodes, ordinary node, branch node, aggregation.
When the parameter value of node type is circulation condition node, branch node or aggregation, corresponding section Point attribute is circulation condition, and the parameter value of nodal community is specially:Source Nodes ID, whereabouts node ID With actual conditions expression formula.
When node type value is start node, end node or ordinary node, corresponding nodal community is industry Business model, the parameter value of nodal community is specially:The ID of executive role ID and treatment people.
In a specific example of the invention, above-mentioned procedure information table and informational table of nodes can be by one Device, such as workflow designer, the property parameters of each node to constituting workflow in operation system Generated during configuration parameter value, property parameters therein include node ID parameter, node type and node category Property.
106, the nodal information of pending node is returned to operation system, treated to perform this by operation system Perform node.
Wherein, each pending node is each node for constituting workflow, is set in advance in operation system In.
Exemplarily, operation system performs the pending node, i.e.,:Operation system is according to the pending section The nodal information of point, obtains and performs pending node from operation system, and information exchange is carried out simultaneously with user The data that user submits to are processed, it is possible to optionally record data and execution that user submits to Operation.In addition, after operation system is finished to the data processing that user submits to, obtaining after performing data result Can also store, and executing result message is returned to workflow engine.
108, it is finished the executing result message that pending node returns in response to receiving operation system, The whereabouts node of the circulation condition that source Nodes are pending node is obtained from workflow database.
Based on the example in operation 104, the node of corresponding flow ID can be inquired about from informational table of nodes Back ground Information, obtains the whereabouts in the parameter value of the circulation condition that source Nodes ID is pending node ID Node ID.
110, the nodal information of whereabouts node is obtained from workflow database, and using whereabouts node as waiting to hold Row node, performs operation 106.
Based on the method for processing business that the above embodiment of the present invention is provided, each node for constituting workflow is pre- First it is arranged in operation system, nodal information is stored in workflow database, and operation system calls work During flow, can be by a device, such as workflow engine, according to flow path from Work stream data Query node information is sent to operation system successively in storehouse, and respective nodes are performed by operation system.It is of the invention real Apply in example, each node needed for constituting workflow is separately provided, the setting of node is joined with its attribute Several configurations is independent process, and workflow engine no longer belongs to one together with business operation system on coding System, realizes the decoupling of code aspect;On the data store, workflow database only preserves flow phase Pass information only keeps Business Entity data without preserving flow without preserving Business Entity data, operation system Relevant information, realizes the decoupling of data plane, when Business Entity data change, workflow Cheng Wuxu is changed, and improves the configurability and durability of workflow.
In another embodiment of method for processing business of the present invention, if in the parameter value of circulation condition also Including actual conditions expression formula, correspondingly, also include in the executing result message received in operation 108 The numerical value submitted to by user during pending node is performed, such as user submits in flow of asking for leave Ask for leave number of days;Then in the operation 108, the numerical value that can be submitted user to is used as in actual conditions expression formula The value of free variable is calculated, and whereabouts node ID is determined according to result of calculation, so as to obtain whereabouts node ID is (i.e.:Next node ID).For example in flow of asking for leave, the condition of asking for leave 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, then the number of days of asking for leave submitted user to is used as specific The value of free variable is calculated in conditional expression, just can know next node be manager examination & approval or Chief inspector examines.
As shown in Fig. 2 being the flow chart of method for processing business one embodiment of the present invention.With shown in Fig. 1 Embodiment is compared, and the embodiment can also include before the flow of embodiment illustrated in fig. 1:
202, operation system receives the example sent after User logs in and creates instruction, and the example is created in indicating Including ID.
Wherein, the user for being registered in ID unique mark operation system.
204, operation system query case from user information database creates the corresponding execution of ID in indicating Role ID, and request to create is sent to workflow engine, the request to create includes system identifier, performs angle Color ID and ID.
In addition, after operation 104, also including:
206, the parameter value of the nodal community according to start node to the executive role ID in request to create with ID carries out purview certification.
When executive role ID only in request to create passes through purview certification with ID, behaviour is just performed Make 106, the nodal information of start node is returned to operation system.Otherwise, the embodiment of the present invention is not performed Other operation.
Fig. 3 is the flow chart of another embodiment of method for processing business of the present invention.As shown in figure 3, the reality The method for processing business for applying example includes:
302, the flow instance request to create in response to receiving operation system transmission, from workflow database Obtain the corresponding flow ID of system identifier in request to create.
Wherein, one operation system of system identifier unique mark, one workflow of flow ID unique marks Journey.
304, create above-mentioned flow ID and identify the workflow example of workflow, and be the workflow Journey example allocation flow instance ID.
Wherein, one workflow example of flow instance ID unique marks.
306, the stream that flow ID identifies workflow is recorded in the flow instance table of workflow database Journey example information, and setting procedure example state is unfinished.
Wherein, flow instance information can include flow instance ID, workflow example belonging workflow journey Flow ID, system identifier and flow instance state, flow instance state includes not completing or having completed. In addition, flow instance information can also include creation time, last modification time, the flow of flow instance The information the such as whether state of example normal.
308, obtained flow ID is identified in workflow in request to create since workflow database and saved Point nodal information, including node ID and nodal community parameter value;And using start node as pending Node, performs operation 310.
310, the nodal information of pending node is returned to operation system, treated to perform this by operation system Perform node.
312, it is finished the executing result message that pending node returns in response to receiving operation system, According to the nodal information of above-mentioned pending node, recognize pending node whether end node.
If pending node is not end node, operation 314 is performed.If pending node is to terminate section Point, performs operation 316.
314, the whereabouts of the circulation condition that source Nodes are above-mentioned pending node is obtained from workflow database Node.
Afterwards, the subsequent operation of the present embodiment is not performed.
316, it is to have completed by the flow instance Status Change in flow instance information.
Fig. 4 is the flow chart of method for processing business further embodiment of the present invention.As shown in figure 4, with figure 3 illustrated embodiments are compared, and in the embodiment, after operation 308, are also included:402, activation starts Node, the node state of start node is changed to have activated it is pending, and in the reality of workflow database The node instance information of start node is recorded in example node table, the node instance information includes flow instance ID, the node ID of start node, node state, the parameter value of nodal community, it can in addition contain include section The information such as creation time, the last modification time of point example information;Node state includes:Un-activation, treat Treatment, treatment in or complete.
After operation 310, also include:404, the node state of start node is changed in treatment.
Further, referring back to Fig. 4, in another embodiment of method for processing business of the present invention, also Can be performed after operation 314:
406, whereabouts node is activated, whereabouts node is changed to pending node, and by the section of source Nodes Dotted state is changed to complete.
408, the node state of pending node is changed to have activated it is pending, and in workflow database Instant node table in record the node instance information of the pending node, the node instance information includes stream Journey example ID, the node ID of pending node, node state, the parameter value of nodal community.
In addition, in the further embodiment of method for processing business of the present invention, after operation 406, if Receive operation system and perform the execution failed message that pending node is returned not successfully, source Nodes are become More pending node, and the node state of the source Nodes is changed to have activated pending, then hold Row 310 returns to the operation of the nodal information of pending node to operation system.
In an optional example of the invention, business model can also include backtracking process mode, backtracking Whether the parameter value of processing mode specially needs same treatment people treatment backtracking task.The then example In, backtracking process is also included in the nodal information of the pending node returned to operation system in operation 310 The parameter value of mode, so that operation system determines to perform this subtask according to the parameter value of backtracking process mode Treatment people ID, realize task distribution reasonability, the high efficiency of flow.
In addition, in another embodiment of method for processing business of the present invention, by operation 310 to business After system returns to the nodal information of pending node, can also include:Operation system is to pending node The ID transmission processe task notifications message of executive role ID and treatment people in nodal information, with Just corresponding User logs in post-processes this subtask.
After User logs in, by the operation of following examples of the present invention, it can be seen that need by the user The task of reason:
After User logs in operation system receives task notifications message, task requests message is sent, the task please Seeking message includes asking the ID and allocated executive role ID of user;
The task requests message is transmitted to workflow engine by operation system;
Instant node table in workflow engine inquiry workflow database, obtains node state to have activated It is pending and including the node of executive role ID and ID in task requests message, to operation system The node ID of the node that return gets;
The node ID that operation system sends according to workflow engine, display respective nodes in task so as to by Request user processes this subtask.
In another embodiment of method for processing business of the present invention, business model can also be including task point With strategy, the parameter value of Task Assigned Policy is specially the type of Task Assigned Policy, for example, can include Appointment type, competitive type, dynamic countersign type or equal distribution type.
If the type of configuration task allocation strategy is appointment type, in the parameter value of nodal community, tool is configured with The executive role ID of body and the ID for the treatment of people;
If the type of configuration task allocation strategy is competitive type, in the parameter value of nodal community, tool is configured with The executive role ID of body does not configure the ID for the treatment of people;
If the type of configuration task allocation strategy is dynamic countersign type, in the parameter value of nodal community, configuration Specific executive role ID, the parameter value for the treatment of people is configured to tasks carrying efficiency in executive role ID Highest treatment people;
If the type of configuration task allocation strategy is equal distribution type, in the parameter value of nodal community, configuration There is a specific executive role ID, the parameter value for the treatment of people is configured as in executive role ID according to successively The treatment people that alternating mode determines.
Then when business model can also include Task Assigned Policy, in operation system display respective nodes Task is specifically, the node ID that operation system sends according to workflow engine, from including the node ID The parameter value of business model is obtained in nodal information, the parameter value according to the business model determines to process this The ID of task;And to the ID for processing this subtask show task in the node for getting with Just user treatment.
Fig. 5 is the flow chart of method for processing business a still further embodiment of the present invention.As shown in figure 5, with this The method for processing business of invention the various embodiments described above is compared, in the embodiment, business to process this After the ID of business shows the task in the node for getting, also include:
502, the flow instance progress display request that the user of this subtask sends is processed in response to receiving, Operation system shows and asks that the flow instance progress shows please to workflow engine forwarding process example progress Asking includes flow instance ID and ID.
504, workflow engine obtains corresponding flow according to flow instance ID from workflow database ID, flow ID related informational table of nodes and the related node instance information of flow instance ID are simultaneously Return to operation system.
506, informational table of nodes and node instance information that operation system is returned according to workflow engine, display Current workflow path and workflow example progress, obtain and are representing workflow example progress Each node on display processing task ID and the operation information that carries out of user.
In the method for processing business of various embodiments of the present invention, operation system specifically can be by calling coupling The application programming interfaces (API) of the workflow engine of setting, for example with HTTP (HTTP), information exchange is carried out with workflow engine.
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. 6 is the structural representation of workflow engine one embodiment of the present invention.The workflow of the embodiment Engine can be used to realize the above-mentioned each method for processing business embodiment of the present invention.As shown in fig. 6, the embodiment Workflow engine include the first receiving unit, first acquisition unit, second acquisition unit, first send Unit and the 3rd acquiring unit.Wherein:
First receiving unit, the message for receiving operation system transmission.
First acquisition unit, the flow instance wound for receiving operation system transmission in the first receiving unit When building request, the corresponding flow ID of system identifier in request to create is obtained from workflow database.Wherein, One operation system of system identifier unique mark, one workflow of flow ID unique marks.
Second acquisition unit, work is identified for obtaining flow ID in request to create from workflow database The nodal information of start node in flow, including node ID and nodal community parameter value.
First transmitting element, for using start node as pending node, being returned to operation system and waiting to hold The nodal information of row node, to perform pending node by operation system.Wherein, pending node, I.e.:Each node of workflow is constituted, is set in advance in operation system.
3rd acquiring unit, is finished pending section for receiving operation system in the first receiving unit During the executing result message that point is returned, the stream that source Nodes are pending node is obtained from workflow database Turn the whereabouts node of condition, the nodal information of whereabouts node is obtained from workflow database, and with whereabouts section Point performs the node that pending node is returned to operation system as pending node from the first transmitting element The operation of information.
Based on the workflow engine that the above embodiment of the present invention is provided, each node for constituting workflow is advance Be arranged in operation system, nodal information, including node ID and nodal community parameter value, store in work Make in flow database, when operation system calls workflow, workflow engine is according to flow path from work Query node information is sent to operation system to flow database successively, and respective nodes are performed by operation system.This In inventive embodiments, constitute workflow needed for each node be separately provided, the setting of node and its The configuration of property parameters is independent process, and workflow engine is no longer same with business operation system on coding One system of category, realizes the decoupling of code aspect;On the data store, workflow database is only preserved Flow relevant information only keeps Business Entity data without protecting without preserving Business Entity data, operation system Flow relevant information is deposited, the decoupling of data plane is realized, when Business Entity data change, Workflow improves the configurability and durability of workflow without change.
As a specific example of workflow engine embodiment, flow can be included in workflow database Information table, the process base information for storing each workflow, the process base letter of each workflow Breath includes system identifier and flow ID.Correspondingly, first acquisition unit is specifically inquired about from procedure information table The corresponding flow ID of system identifier in request to create.
As another specific example of workflow engine embodiment, section can be included in workflow database Point information table, the nodal basis information for storing each node, the nodal basis information of each node includes The ginseng of the flow ID, the parameter value of node type and nodal community of the workflow belonging to node ID, node Numerical value.Correspondingly, second acquisition unit, specifically being obtained from informational table of nodes includes corresponding flow ID All nodal basis information;The parameter value of node type is obtained from all nodal basis information to open The nodal basis information of beginning node;Parameter value from node type is in the nodal basis information of start node Obtain the parameter value of node ID and nodal community.
Specifically, the parameter value of node type can include:Start node, end node, circulation condition Node, ordinary node, branch node or aggregation.Nodal community can include that node type is corresponding Business model or circulation condition, business model include logic of business functions unit, the executive role of task with Treatment people, circulation condition includes source Nodes, whereabouts node and conditional expression.
When the parameter value of node type is circulation condition node, branch node or aggregation, corresponding section Point attribute is circulation condition, and the parameter value of nodal community is specially:Source Nodes ID, whereabouts node ID With actual conditions expression formula.
When node type value is start node, end node or ordinary node, corresponding nodal community is industry Business model, the parameter value of nodal community is specially:The ID of executive role ID and treatment people.
In a specific example, above-mentioned procedure information table and informational table of nodes can be by a devices, example Such as workflow designer, the property parameters configuration parameter of each node to constituting workflow in operation system Generated during value, property parameters therein include node ID parameter, node type and nodal community.
Used as another specific example of workflow engine embodiment, the 3rd acquiring unit is from Work stream data When storehouse acquisition source Nodes are the whereabouts node of circulation condition of pending node, can specifically believe from node The nodal basis information of corresponding flow ID is inquired about in breath table, it is pending node to obtain source Nodes ID Whereabouts node ID in the parameter value of the circulation condition of ID.
In further specific example, can also be expressed including actual conditions in the parameter value of the condition that circulates Formula, is additionally may included in the number submitted to by user during performing pending node in executing result message Value.Then the 3rd acquiring unit obtains the parameter value of the circulation condition that source Nodes ID is pending node ID In whereabouts node ID when, the numerical value for specifically submitting user to is used as free variable in actual conditions expression formula Value calculated, whereabouts node ID is determined according to result of calculation.
In addition, business model can also include Task Assigned Policy, the parameter value of Task Assigned Policy is specific It is the type of Task Assigned Policy, for example, can includes appointment type, competitive type, dynamic countersign type or flat Equal distribution type.
If the type of configuration task allocation strategy is appointment type, in the parameter value of nodal community, tool is configured with The executive role ID of body and the ID for the treatment of people;
If the type of configuration task allocation strategy is competitive type, in the parameter value of nodal community, tool is configured with The executive role ID of body does not configure the ID for the treatment of people;
If the type of configuration task allocation strategy is dynamic countersign type, in the parameter value of nodal community, configuration Specific executive role ID, the parameter value for the treatment of people is configured to tasks carrying efficiency in executive role ID Highest treatment people;
If the type of configuration task allocation strategy is equal distribution type, in the parameter value of nodal community, configuration There is a specific executive role ID, the parameter value for the treatment of people is configured as in executive role ID according to successively The treatment people that alternating mode determines.
Fig. 7 is the structural representation of another embodiment of workflow engine of the present invention.As shown in fig. 7, with Embodiment shown in Fig. 6 is compared, and also includes that flow instance is managed in the workflow engine of the embodiment single Unit, for obtaining the corresponding flow of system identifier in request to create from workflow database in first acquisition unit After ID:The workflow example that flow ID identifies workflow is created, and is the workflow reality Example allocation flow example ID;Wherein, one workflow example of flow instance ID unique marks;And The flow instance letter that flow ID identifies workflow is recorded in the flow instance table of workflow database Breath, and setting procedure example state is unfinished;Flow instance information includes flow instance ID, flow ID, system identifier and flow instance state, flow instance state include not completing or having completed.
Further, referring back to Fig. 7, in another embodiment of workflow engine, can also include Recognition unit, is finished what pending node was returned for receiving operation system in the first receiving unit After executing result message, according to the nodal information of pending node, recognize whether pending node terminates section Point.Correspondingly, in this embodiment, the 3rd acquiring unit with specific reference to recognition unit recognition result, When pending node is not end node, it is pending to perform and obtain source Nodes from workflow database The operation of the whereabouts node of the circulation condition of node.Flow instance administrative unit is additionally operable to according to recognition unit Recognition result, when pending node is end node, by the flow instance shape in flow instance information State is changed to complete.
Further, referring back to Fig. 7, in the further embodiment of workflow engine, can also include Node instance administrative unit, is identified for obtaining flow ID from workflow database in second acquisition unit In workflow after the nodal information of start node, start node is activated, by the node state of start node It is changed to have activated pending, and the section of start node is recorded in the instant node table of workflow database Point example information, the node instance information includes flow instance ID, the node ID of start node, node shape The parameter value of state, nodal community;Node state includes:It is in un-activation, pending, treatment or complete Into;And after the nodal information that the first transmitting element returns to pending node to operation system, will start The node state of node is changed in treatment.
In addition, in a further embodiment, node instance administrative unit can be additionally used in the 3rd acquiring unit After being the whereabouts node of circulation condition of pending node from workflow database acquisition source Nodes, activation Whereabouts node, is changed to pending node, and the node state of source Nodes is changed to by whereabouts node Complete;And the node state of pending node is changed to have activated it is pending, and in Work stream data The node instance information of pending node is recorded in the instant node table in storehouse, the node instance information includes stream Journey example ID, the node ID of pending node, node state, the parameter value of nodal community.
Or, node instance administrative unit can be additionally used in the first receiving unit receive operation system not into When work(performs the execution failed message that pending node is returned, source Nodes are changed to pending node, And the node state of source Nodes is changed to have activated it is pending, so as to from the first transmitting element perform to Operation system returns to the operation of the nodal information of pending node.
In another embodiment of workflow engine, business model can also include backtracking process mode, The parameter value of backtracking process mode is specially:Whether same treatment people treatment backtracking task is needed.Phase Ying Di, also includes backtracking in the nodal information of the pending node that the first transmitting element is returned to operation system The parameter value of processing mode, so that operation system determines to perform this according to the parameter value of backtracking process mode The ID of the treatment people of task.
Referring back to Fig. 7, in the further embodiment of workflow engine, workflow engine also includes inquiry Unit.In the embodiment, the first receiving unit can also be used to receive the task requests that operation system sends Message, the task requests message includes asking the ID and allocated executive role ID of user. Correspondingly, query unit is used for the instant node table inquired about in workflow database, obtains node state and is Activate pending and including the node of executive role ID and ID in task requests message.First Transmitting element is additionally operable to be returned to operation system the node ID of the node that query unit gets.
Referring back to Fig. 7, in the further embodiment of workflow engine, workflow engine also includes the 4th Acquiring unit.In the embodiment, the first receiving unit can also be used to receive the flow reality that operation system sends Example progress display request, including flow instance ID and ID.4th acquiring unit is used for basis Flow instance ID in the display request of flow instance progress, corresponding flow is obtained from workflow database ID, flow ID related informational table of nodes and the related node instance information of flow instance ID. Correspondingly, the first transmitting element can also be used to return to the node that the 4th acquiring unit gets to operation system Information table and node instance information, so that operation system is according to the current workflow path of display and work Flow instance progress.
Fig. 8 is the structural representation of operation system one embodiment of the present invention.The device of the embodiment can industry Business system is used to realize the corresponding function of operation system in the above-mentioned each method for processing business embodiment of the present invention. As shown in figure 8, the operation system of the embodiment includes the second transmitting element, the second receiving unit and business Processing unit.Wherein:
Second transmitting element, for workflow engine transmission flow example request to create, in request to create Including system identifier.Wherein, one operation system of system identifier unique mark;And returned to workflow engine Return executing result message.
Second receiving unit, the nodal information of the pending node for receiving workflow engine return.
Service Processing Unit, for the nodal information according to pending node, obtains and performs from node repository Pending node, carries out information exchange and the data that user submits to is processed, in business number with user According to data and the operation for performing that user's submission is recorded in storehouse;And finished to the data processing that user submits to Afterwards, obtain and perform data result and store in Service Database, and indicate the second transmitting element to work Make stream engine and return to executing result message;Wherein, each node for constituting workflow is set in advance in node In storehouse.
Based on the operation system that the above embodiment of the present invention is provided, each node for pre-setting that is stored with is in industry In business system, nodal information is stored in workflow database, when operation system calls workflow, can So that by a device, such as workflow engine is inquired about successively according to flow path from workflow database Nodal information is sent to operation system, and respective nodes are performed by operation system.In the embodiment of the present invention, structure Each node into needed for workflow is separately provided, and the setting of node is with the configuration of its property parameters Independent process, workflow engine no longer belongs to a system together with business operation system on coding, realizes The decoupling of code aspect;On the data store, workflow database only preserve flow relevant information without Business Entity data are preserved, operation system only keeps Business Entity data without preserving flow relevant information, The decoupling of data plane is realized, when Business Entity data change, workflow is without becoming More, the configurability and durability of workflow are improve.
In another embodiment of operation system of the present invention, the second transmitting element can be also used for waiting to hold The ID transmission processe task notifications of executive role ID and treatment people in the nodal information of row node Message, so that corresponding User logs in post-processes this subtask.
Fig. 9 is the structural representation of another embodiment of operation system of the present invention.As shown in figure 9, with figure Embodiment shown in 8 is compared, and man-machine interaction unit is also included in the embodiment.In the embodiment, second Receiving unit can also be used to receive the task requests message that user sends, and the task requests message is stepped on by user Record operation system sends after receiving task notifications message, and the task requests message includes asking the use of user Family ID and allocated executive role ID;And in reception workflow engine inquiry workflow database The node ID returned after instant node table.Second transmitting element can also be used to be transmitted to task requests message Workflow engine.Man-machine interaction unit is used to show that the node ID that the second receiving unit is received identifies section Task in point, so as to by asking user to process this subtask.
Specifically, man-machine interaction unit can be from the node of the node ID received including the second receiving unit The parameter value of business model is obtained in information, the parameter value according to the business model determines to process this subtask ID;And to the ID for processing this subtask show task in the node for getting so as to The user is processed.
Further, in the further embodiment of operation system of the present invention, the second receiving unit also can use The flow instance progress sent in the user of reception processing this subtask shows request;And receive workflow Informational table of nodes and node instance information that engine is returned.Correspondingly, the second transmitting element can be additionally used in Workflow engine forwarding process example progress display request, flow instance progress display request includes flow Example ID and ID.Man-machine interaction unit can be additionally used in the nodal information returned according to workflow engine Table and node instance information, show current workflow path and workflow example progress, obtain simultaneously The behaviour that the ID of display processing task and user are carried out on each node for representing workflow example progress Make information.
Referring back to Fig. 9, in another embodiment of operation system of the present invention, node can also be included Any one or more in storehouse, Service Database and user information database.Wherein:
Node repository, each node of workflow is constituted for storing.
Service Database, data and the operation for performing, and implementing result number for storing user's submission According to.
User information database, for storing the user profile in operation system registered user, and executive role Corresponding relation between ID and ID, user profile includes ID.
In addition, the API that workflow engine is set can also be coupled in the operation system of the embodiment of the present invention, Second transmitting element and the second receiving unit specifically can enter row information by calling API with workflow engine Interaction.
Workflow system provided in an embodiment of the present invention, can include the work of any of the above-described embodiment of the invention Make stream engine, for realizing the above-mentioned each method for processing business embodiment of the present invention.
Based on the Workflow system that the above embodiment of the present invention is provided, each node for constituting workflow is advance It is arranged in operation system, nodal information is stored in workflow database, and operation system calls workflow Cheng Shi, can be believed according to flow path by workflow engine from workflow database successively query node Breath is sent to operation system, and respective nodes are performed by operation system.In the embodiment of the present invention, work is constituted Each node needed for flow is separately provided, and setting and the configuration of its property parameters of node are independent Process, workflow engine no longer belongs to a system together with business operation system on coding, realizes code The decoupling of aspect;On the data store, workflow database only preserves flow relevant information without preserving industry Pragmatic volume data, operation system only keeps Business Entity data without preserving flow relevant information, realizes Data plane it is decoupling, when Business Entity data change, workflow without change, improve The configurability and durability of workflow.
Figure 10 is the structural representation of Workflow system one embodiment of the present invention.As shown in Figure 10, should The Workflow system of embodiment also includes workflow designer, for respectively to each section of composition workflow The property parameters configuration parameter value of point, property parameters therein include node ID parameter, node type and section Point attribute.
Wherein, each node for constituting workflow is set in advance in operation system, node ID unique mark One node;Nodal community includes business model or circulation condition, and business model includes logic of business functions The executive role and treatment people of unit, task, circulation condition include source Nodes, whereabouts node and bar Part expression formula.
In addition, in another embodiment of Workflow system of the present invention, Work stream data can also be included Storehouse, for Stored Procedure information table, informational table of nodes, flow instance table and instant node table.Wherein:
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.
Also include workflow designer in the Workflow system of the above embodiment of the present invention, can be in business system Each node needed for constituting workflow is pre-set in system, then again individually to the property parameters of each node Configuration parameter value, you can generation workflow.Because each node needed for constituting workflow is individually to set Put, 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, delete Or modification node, it is only necessary to relevant configured parameter is changed, it is simple to operate, be easily achieved, improve The configurability and durability of workflow;Also, realize the workflow designer and business system of the method System is decoupling, can be used to provide all operation system workflows the configuration service of versatility.
Flow instance table, including flow ID identifies the flow instance information of workflow, flow instance letter Breath includes flow instance ID, flow ID, system identifier and flow instance state, and flow instance state includes Do not complete or completed.
Instant node table, including the node instance information of start node is recorded, node instance information includes stream Journey example ID, the node ID of start node, node state, the parameter value of nodal community;Node state bag Include: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.
Figure 11 is the structural representation of transaction processing system one embodiment of the present invention.The business of the embodiment Processing system can be used to realize the above-mentioned each method for processing business embodiment of the present invention.As shown in figure 11, the reality Applying the transaction processing system of example includes the workflow engine and operation system of any embodiment of the present invention.
In addition, in another embodiment of transaction processing system of the present invention, work fluxion can also be included According to storehouse, for Stored Procedure information table, informational table of nodes, flow instance table and instant node table.Its In:
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.
The node instance information of each node, node reality in instant node table, including writing task flow instance Example information includes flow instance ID, the node ID of start node, node state, the parameter of nodal community Value;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 embodiment of the invention provides following technical scheme:
1st, a kind of method for processing business, including:
Flow instance request to create in response to receiving operation system transmission, obtains from workflow database The corresponding flow ID of system identifier in the request to create;Wherein, business system described in system identifier unique mark System, one workflow of flow ID unique marks;
The node letter of start node during the flow ID identifies workflow is obtained from workflow database Breath, the nodal information includes the parameter value of node ID and nodal community;
Using start node as pending node, the node for returning to the pending node to operation system is believed Breath, to perform the pending node by the operation system;Wherein, the pending node is advance It is arranged in the operation system;
It is finished the executing result message that the pending node returns in response to receiving operation system, The whereabouts node of the circulation condition that source Nodes are the pending node is obtained from workflow database, from Workflow database obtains the nodal information of the whereabouts node, and using the whereabouts node as pending Node, performs the operation of the nodal information that the pending node is returned to operation system.
2nd, the method according to 1, the operation system performs the pending node to be included:
The operation system is obtained and performed from operation system according to the nodal information of the pending node The pending node, carries out information exchange and the data that user submits to is processed with user, records The data that user submits to and the operation for performing.
3rd, the method according to 2, also includes:
After the operation system is finished to the data processing that user submits to, obtain and perform data result and deposit Storage, and return to executing result message to workflow engine.
4th, the method according to 3, the workflow database includes procedure information table, for storing The process base information of each workflow, the process base information of each workflow includes system identifier with stream Journey ID;
The corresponding flow ID of system identifier includes in the acquisition request to create from workflow database: The corresponding flow ID of system identifier in the request to create is inquired about from procedure information table.
5th, the method according to 4, the workflow database includes informational table of nodes, for storing The nodal basis information of each node, the nodal basis information of each node is included belonging to node ID, node The parameter value of the flow ID, the parameter value of node type and nodal community of workflow;
The node that start node during the flow ID identifies workflow is obtained from workflow database Information includes:Being obtained from informational table of nodes includes all nodal basis letter of the corresponding flow ID Breath;The parameter value that node type is obtained from all nodal basis information is the node base of start node Plinth information;It is acquisition node ID and section in the nodal basis information of start node from the parameter value of node type The parameter value of point attribute.
6th, the method according to 5, the parameter value of node type includes:Start node, end node, Circulation condition node, ordinary node, branch node or aggregation;
The nodal community includes the corresponding business model of node type or circulation condition, the business model Executive role and treatment people including logic of business functions unit, task, the circulation condition include coming Source node, whereabouts node and conditional expression;
When the parameter value of node type is circulation condition node, branch node or aggregation, corresponding section Point attribute is circulation condition, and the parameter value of the nodal community 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, corresponding nodal community is industry Business model, the parameter value of the nodal community is specially:The user of executive role ID and treatment people ID。
7th, the method according to 6, it is described to obtain source Nodes for described pending from workflow database The whereabouts node of the circulation condition of node includes:
The nodal basis information of the corresponding flow ID is inquired about from informational table of nodes, source Nodes are obtained ID is the whereabouts node ID in the parameter value of the circulation condition of the pending node ID.
8th, the method according to 7, also expresses in the parameter value of the circulation condition including actual conditions Formula;
Submitted to by user during the execution pending node is additionally included in the executing result message Numerical value;
The acquisition source Nodes ID is going in the parameter value of the circulation condition of the pending node ID Include to node ID:Value of the numerical value that user is submitted to as free variable in the actual conditions expression formula Calculated, whereabouts node ID is determined according to result of calculation.
9th, the method according to 5 or 6, the procedure information table and the informational table of nodes are by workflow Given birth to when designer is to the property parameters configuration parameter value of each node that the workflow is constituted in operation system Into the property parameters include node ID parameter, node type and nodal community.
10th, the method according to 1 to 9 any one, also includes:
Operation system receives the example sent after User logs in and creates instruction, and the example creates and indicates to include ID;Wherein, the user for being registered in ID unique mark operation system;
Operation system inquires about the corresponding executive role ID of the ID from user information database, and to work Make stream engine and send the request to create, also include in the request to create executive role ID with it is described ID;
The nodal information of start node during the flow ID identifies workflow is obtained from workflow database Afterwards, also include:
The parameter value of the nodal community according to the start node is to the executive role ID in the request to create Purview certification is carried out with ID;
In response to the executive role ID in the request to create and ID by purview certification, to business System returns to the nodal information of the start node.
11st, the method according to 1 to 10 any one, obtaining the establishment from workflow database please After seeking the corresponding flow ID of system identifier, also include:
Create the flow ID and identify the workflow example of workflow, and be the workflow example Allocation flow example ID;Wherein, one workflow example of flow instance ID unique marks;
The flow that the flow ID identifies workflow is recorded in the flow instance table of workflow database Example information, and setting procedure example state is unfinished;The flow instance information includes the flow Example ID, the flow ID, the system identifier and flow instance state, the flow instance state bag Include and do not complete or completed.
12nd, the method according to 11, receives the operation system pending node that is finished and returns Executing result message after, also include:
According to the nodal information of the pending node, recognize the pending node whether end node;
It is not end node in response to the pending node, performs described next from workflow database acquisition Source node is the operation of the whereabouts node of the circulation condition of the pending node;
It is end node in response to the pending node, by the flow instance in the flow instance information Status Change is to have completed.
13rd, the method according to 12, obtains the flow ID and identifies work from workflow database In flow after the nodal information of start node, also include:
Activate the start node, the node state of the start node is changed to have activated it is pending, And the node instance information of the start node, the section are recorded in the instant node table of workflow database 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;
After returning to the nodal information of the pending node to operation system, also include:
The node state of the start node is changed in treatment.
14th, the method according to 13, it is the pending section to obtain source Nodes from workflow database After the whereabouts node of the circulation condition of point, also include:
The whereabouts node is activated, the whereabouts node is changed to pending node, and by the source The node state of node is changed to complete;
The node state of the pending node is changed to have activated it is pending, and in workflow database Instant node table in record the node instance information of the pending node, the node instance information includes The flow instance ID, the node ID of the pending node, node state, the parameter of nodal community Value.
15th, the method according to 14, after the completion of the node state of the source Nodes is changed to, also Including:
The execution for performing the pending node return not successfully in response to receiving operation system unsuccessfully disappears The source Nodes are changed to pending node, and the node state of the source Nodes is changed by breath It is pending to have activated, then perform the nodal information that the pending node is returned to operation system Operation.
16th, the method according to 15, the business model also includes backtracking process mode, the backtracking The parameter value of processing mode includes:Whether same treatment people treatment backtracking task is needed;
Also include the backtracking process side in the nodal information of the described pending node returned to operation system The parameter value of formula, so that the operation system determines to perform sheet according to the parameter value of the backtracking process mode The ID of the treatment people of subtask.
17th, the method according to 13 to 16 any one, the pending section is returned to operation system After the nodal information of point, also include:
Operation system is to the executive role ID and the use for the treatment of people in the nodal information of the pending node Family ID transmission processe task notifications message, so that corresponding User logs in post-processes this subtask.
18th, the method according to 17, also includes:
After User logs in operation system receives task notifications message, task requests message is sent, the task please Seeking message includes asking the ID and allocated executive role ID of user;
The task requests message is transmitted to workflow engine by operation system;
Instant node table in workflow engine inquiry workflow database, obtains node state to have activated It is pending and including the node of executive role ID and ID in task requests message, to operation system The node ID of the node that return gets;
Operation system shows the task in the node for getting to process this by the request user Task.
19th, the method according to 17, the business model also includes Task Assigned Policy;The task The parameter value of allocation strategy is specially the type of Task Assigned Policy.
20th, the method according to 19, the type of the Task Assigned Policy includes appointment type, competition Type, dynamic countersign type or equal distribution type;
If the type of configuration task allocation strategy is appointment type, in the parameter value of the nodal community, configuration There is the ID of specific executive role ID and treatment people;
If the type of configuration task allocation strategy is competitive type, in the parameter value of the nodal community, configuration There is specific executive role ID not configure the ID for the treatment of people;
If the type of configuration task allocation strategy is dynamic countersign type, in the parameter value of the nodal community, Specific executive role ID is configured, the parameter value for the treatment of people is configured to task in the executive role ID Execution efficiency highest treatment people;
If the type of configuration task allocation strategy is equal distribution type, in the parameter value of the nodal community, Specific executive role ID is configured with, the parameter value for the treatment of people is configured as in the executive role ID According to the treatment people that alternating mode successively determines.
21st, the method according to 20, the operation system shows the task in the node for getting Including:
The node ID of the node that operation system gets according to, believes from the node including the node ID The parameter value of business model is obtained in breath, the parameter value according to the business model determines to process this subtask ID;
Operation system to the ID for processing this subtask show described in task in the node that gets so as to The user is processed.
22nd, the method according to 21, operation system shows described to the ID for processing this subtask After task in the node for getting, also include:
The flow instance progress display request that the user of this subtask sends, business are processed in response to receiving System forwards the flow instance progress display request to workflow engine, and the flow instance progress shows Request includes flow instance ID and ID;
Workflow engine according to the flow instance ID, from workflow database obtain corresponding flow ID, Flow ID related informational table of nodes and the related node instance information of the flow instance ID are simultaneously Return to the operation system;
Informational table of nodes and node instance information that operation system is returned according to workflow engine, display are current Workflow path and workflow example progress, obtain simultaneously represent workflow example progress it is each The operation information that the ID of display processing task and user are carried out on node.
23rd, the method according to 1 to 22 any one, the operation system is set by calling coupling Workflow engine application programming interfaces API, carry out information exchange with workflow engine.
24th, a kind of workflow engine, including:
First receiving unit, the message for receiving operation system transmission;
First acquisition unit, the flow instance wound for receiving operation system transmission in the first receiving unit When building request, the corresponding flow ID of system identifier in the request to create is obtained from workflow database;Its In, operation system described in system identifier unique mark, one workflow of flow ID unique marks;
Second acquisition unit, in identifying workflow from the workflow database acquisition flow ID The nodal information of start node, the nodal information includes the parameter value of node ID and nodal community;
First transmitting element, for using start node as pending node, being returned to operation system described The nodal information of pending node, to perform the pending node by the operation system;Wherein, The pending node is set in advance in the operation system;
3rd acquiring unit, described waits to hold for receiving operation system and being finished in the first receiving unit During the executing result message that row node is returned, it is described pending to obtain source Nodes from workflow database The whereabouts node of the circulation condition of node, the node letter of the whereabouts node is obtained from workflow database Breath, and using the whereabouts node as pending node, execution is described to be waited to hold to described in operation system return The operation of the nodal information of row node.
25th, the workflow engine according to 24, the workflow database includes procedure information table, Process base information for storing each workflow, the process base information of each workflow is including being System ID and flow ID;
The first acquisition unit, specifically inquires about system identifier pair in the request to create from procedure information table The flow ID for answering.
26th, the workflow engine according to 25, the workflow database includes informational table of nodes, Nodal basis information for storing each node, the nodal basis information of each node includes node ID, section The parameter value of the flow ID, the parameter value of node type and nodal community of the workflow belonging to point;
The second acquisition unit, specifically being obtained from informational table of nodes includes the corresponding flow ID's All nodal basis information;The parameter value of node type is obtained from all nodal basis information to open The nodal basis information of beginning node;Parameter value from node type is in the nodal basis information of start node Obtain the parameter value of node ID and nodal community.
27th, the workflow engine according to 26, the parameter value of node type includes:Start node, knot Shu Jiedian, circulation condition node, ordinary node, branch node or aggregation;
The nodal community includes the corresponding business model of node type or circulation condition, the business model Executive role and treatment people including logic of business functions unit, task, the circulation condition include coming Source node, whereabouts node and conditional expression;
When the parameter value of node type is circulation condition node, branch node or aggregation, corresponding section Point attribute is circulation condition, and the parameter value of the nodal community 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, corresponding nodal community is industry Business model, the parameter value of the nodal community is specially:The user of executive role ID and treatment people ID。
28th, the workflow engine according to 27, the business model also includes Task Assigned Policy;Institute State the type of the parameter value specially Task Assigned Policy of Task Assigned Policy.
29th, the workflow engine according to 28, 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, in the parameter value of the nodal community, configuration There is the ID of specific executive role ID and treatment people;
If the type of configuration task allocation strategy is competitive type, in the parameter value of the nodal community, configuration There is specific executive role ID not configure the ID for the treatment of people;
If the type of configuration task allocation strategy is dynamic countersign type, in the parameter value of the nodal community, Specific executive role ID is configured, the parameter value for the treatment of people is configured to task in the executive role ID Execution efficiency highest treatment people;
If the type of configuration task allocation strategy is equal distribution type, in the parameter value of the nodal community, Specific executive role ID is configured with, the parameter value for the treatment of people is configured as in the executive role ID According to the treatment people that alternating mode successively determines.
30th, the workflow engine according to 29, the 3rd acquiring unit is obtained from workflow database When source Nodes are the whereabouts node of the circulation condition of the pending node, specifically from informational table of nodes The nodal basis information of the corresponding flow ID is inquired about, it is the pending section to obtain source Nodes ID Whereabouts node ID in the parameter value of the circulation condition of point ID.
31st, the workflow engine according to 30, also includes specific bar in the parameter value of the circulation condition Part expression formula;
Submitted to by user during the execution pending node is additionally included in the executing result message Numerical value;
3rd acquiring unit obtains the circulation condition that source Nodes ID is the pending node ID During whereabouts node ID in parameter value, the numerical value for specifically submitting user to is used as the actual conditions expression formula The value of middle free variable is calculated, and whereabouts node ID is determined according to result of calculation.
32nd, the workflow engine according to 28 or 29, the procedure information table and the nodal information Table is configured by workflow designer to the property parameters that each node of the workflow is constituted in operation system Generated during parameter value, the property parameters include node ID parameter, node type and nodal community.
33rd, the workflow engine according to 26 to 32 any one, also manages single including flow instance Unit, it is corresponding for obtaining system identifier in the request to create from workflow database in first acquisition unit After flow ID:Create the flow ID and identify the workflow example of workflow, and be the work Flow instance allocation flow example ID;Wherein, one workflow reality of flow instance ID unique marks Example;And the flow ID is recorded in the flow instance table of workflow database identify workflow Flow instance information, and setting procedure example state is unfinished;The flow instance information includes described Flow instance ID, the flow ID, the system identifier and flow instance state, the flow instance shape State includes not completing or having completed.
34th, the workflow engine according to 33, also includes:
Recognition unit, is finished the pending section for receiving operation system in the first receiving unit After the executing result message that point is returned, according to the nodal information of the pending node, wait to hold described in identification Row node whether end node;
3rd acquiring unit, with specific reference to the recognition result of recognition unit, in the pending node When being not end node, execution is described to obtain source Nodes for the pending node from workflow database Circulation condition whereabouts node operation;
The flow instance administrative unit, is additionally operable to the recognition result according to recognition unit, waits to hold described It is complete by the flow instance Status Change in the flow instance information when row node is end node Into.
35th, the workflow engine according to 34, also including node instance administrative unit, for second Acquiring unit obtains the node of start node during the flow ID identifies workflow from workflow database After information:
Activate the start node, the node state of the start node is changed to have activated it is pending, And the node instance information of the start node, the section are recorded in the instant node table of workflow database 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;With And after the nodal information that the first transmitting element returns to the pending node to operation system, opened described The node state of beginning node is changed in treatment.
36th, the workflow engine according to 35, the node instance administrative unit, is additionally operable to the 3rd Acquiring unit obtains the whereabouts of the circulation condition that source Nodes are the pending node from workflow database After node:
The whereabouts node is activated, the whereabouts node is changed to pending node, and by the source The node state of node is changed to complete;And
The node state of the pending node is changed to have activated it is pending, and in workflow database Instant node table in record the node instance information of the pending node, the node instance information includes The flow instance ID, the node ID of the pending node, node state, the parameter of nodal community Value.
37th, the workflow engine according to 36, the node instance administrative unit, is additionally operable to first Receiving unit receives operation system and performs the execution failed message that the pending node is returned not successfully When, the source Nodes are changed to pending node, and the node state of the source Nodes is changed It is pending to have activated, it is described described pending to operation system return to be performed from the first transmitting element The operation of the nodal information of node.
38th, the workflow engine according to 37, the business model also includes backtracking process mode, institute The parameter value for stating backtracking process mode includes:Whether same treatment people treatment backtracking task is needed;
Also wrapped in the nodal information of the described pending node that first transmitting element is returned to operation system The parameter value of the backtracking process mode is included, so that the operation system is according to the backtracking process mode Parameter value determines the ID of the treatment people for performing this subtask.
39th, the workflow engine according to 33 to 38 any one, first receiving unit, also The task requests message for receiving operation system transmission, the task requests message includes asking user ID and allocated executive role ID;
The workflow engine also includes query unit, for the instant node inquired about in workflow database Table, obtains node state pending and including executive role ID and use in task requests message to have activated The node of family ID;
First transmitting element, is additionally operable to be returned to operation system the section of the node that query unit gets Point ID.
40th, the workflow engine according to 35 to 39 any one, first receiving unit, also Flow instance progress for receiving operation system transmission shows request, and the flow instance progress shows please Asking includes flow instance ID and ID;
The workflow engine also includes the 4th acquiring unit, for according to the flow instance ID, from work Make flow database and obtain the related informational table of nodes and the stream of corresponding flow ID, flow ID The related node instance information of journey example ID;
First transmitting element, is additionally operable to return to the node that the 4th acquiring unit gets to operation system Information table and node instance information, so that operation system is according to the current workflow path of display and work Flow instance progress.
41st, a kind of operation system, including:
Second transmitting element, for workflow engine transmission flow example request to create, the establishment please Asking includes system identifier;Wherein, operation system described in system identifier unique mark;And draw to workflow Hold up return executing result message;
Second receiving unit, the nodal information of the pending node for receiving workflow engine return;
Service Processing Unit, for the nodal information according to the pending node, obtains simultaneously from node repository The pending node is performed, information exchange is carried out with user and the data that user submits to is processed, The user data submitted to and the operation for performing are recorded in Service Database;And in the data submitted to user After being disposed, obtain and perform data result and store in Service Database, and indicate second to send Unit returns to executing result message to workflow engine;Wherein, each node for constituting workflow sets in advance Put in the node repository.
42nd, the operation system according to 41, second transmitting element, is additionally operable to described pending The ID transmission processe task notifications of executive role ID and treatment people in the nodal information of node disappear Breath, so that corresponding User logs in post-processes this subtask.
43rd, the operation system according to 42, second receiving unit is additionally operable to receive user's transmission Task requests message, after the task requests message receives task notifications message by User logs in operation system Send, the task requests message includes asking the ID and allocated executive role ID of user; And receive the node ID returned after the instant node table that workflow engine is inquired about in workflow database;
Second transmitting element, is additionally operable to for the task requests message to be transmitted to workflow engine;
The operation system also includes man-machine interaction unit, for showing that second receiving unit is received Node ID identify task in node, to process this subtask by the request user.
44th, the operation system according to 43, the man-machine interaction unit, specifically for:
The parameter of business model is obtained from the nodal information of the node ID received including the second receiving unit Value, the parameter value according to the business model determines to process the ID of this subtask;And
To the ID for processing this subtask show described in task in the node that gets so as to the user at Reason.
45th, the operation system according to 44, second receiving unit, be additionally operable to reception processing this The flow instance progress display request that the user of task sends;And receive the node that workflow engine is returned Information table and node instance information;
Second transmitting element, is additionally operable to be shown to the workflow engine forwarding flow instance progress and asks Ask, the flow instance progress display request includes flow instance ID and ID;
The man-machine interaction unit, is additionally operable to informational table of nodes and the node reality returned according to workflow engine Example information, shows current workflow path and workflow example progress, obtains and is representing work The operation information that the ID of display processing task and user are carried out on each node of flow instance progress.
46th, the operation system according to 41 to 45 any one, also includes:
Node repository, each node of workflow is constituted for storing;And/or
Service Database, data and the operation for performing, and implementing result number for storing user's submission According to;And/or
User information database, for storing the user profile in the operation system registered user, and performs Corresponding relation between role ID and ID, the user profile includes ID.
47th, the operation system according to 41 to 46 any one, the operation system coupling is provided with The application programming interfaces API of the workflow engine, second transmitting element receives single with described second Unit carries out information exchange especially by calling the API and workflow engine.
48th, a kind of Workflow system, including the workflow engine described in 24 to 40 any one;
49th, the Workflow system according to 48, also including workflow designer, for respectively to constituting The property parameters configuration parameter value of each node of workflow, the property parameters include node ID parameter, Node type and nodal community;
Wherein, each node for constituting workflow is set in advance in operation system, node ID unique mark One node;The nodal community includes business model or circulation condition, and the business model includes business The executive role and treatment people of logic function unit, task, the circulation condition include source Nodes, Whereabouts node and conditional expression.
50th, the Workflow system according to 48 or 49, also including workflow database, for depositing Storage:
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, the stream Journey example information includes the flow instance ID, the flow ID, the system identifier and flow instance shape State, the flow instance state includes not completing or having completed;
Instant node table, including the node instance information of the start node is recorded, the node instance letter Breath includes the flow instance ID, the node ID of the start node, node state, the ginseng of nodal community Numerical value;The node state includes:Un-activation, it is pending, treatment in or complete.
51st, a kind of transaction processing system, including the workflow engine described in 24 to 40 any one and 41 To the operation system described in 47 any one.
52nd, the transaction processing system according to 51, also including workflow database, for storing:
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.
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.
Methods and apparatus of the present invention may be achieved in many ways.For example, can be by software, hard Part, firmware or software, hardware, any combinations of firmware realize methods and apparatus of the present invention.With Said sequence the step of methods described is not limited merely to illustrate, the step of the method for the present invention In order described in detail above, unless specifically stated otherwise.Additionally, in some embodiments In, also the present invention can be embodied as recording program in the recording medium, these programs are included for realizing The machine readable instructions of the method according to the invention.Thus, the present invention also covering storage is for performing basis The recording medium of the program of the method for the present 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 method for processing business, it is characterised in that including:
Flow instance request to create in response to receiving operation system transmission, obtains from workflow database The corresponding flow ID of system identifier in the request to create;Wherein, business system described in system identifier unique mark System, one workflow of flow ID unique marks;
The node letter of start node during the flow ID identifies workflow is obtained from workflow database Breath, the nodal information includes the parameter value of node ID and nodal community;
Using start node as pending node, the node for returning to the pending node to operation system is believed Breath, to perform the pending node by the operation system;Wherein, the pending node is advance It is arranged in the operation system;
It is finished the executing result message that the pending node returns in response to receiving operation system, The whereabouts node of the circulation condition that source Nodes are the pending node is obtained from workflow database, from Workflow database obtains the nodal information of the whereabouts node, and using the whereabouts node as pending Node, performs the operation of the nodal information that the pending node is returned to operation system.
2. method according to claim 1, it is characterised in that the operation system perform described in treat Performing node includes:
The operation system is obtained and performed from operation system according to the nodal information of the pending node The pending node, carries out information exchange and the data that user submits to is processed with user, records The data that user submits to and the operation for performing.
3. method according to claim 2, it is characterised in that also include:
After the operation system is finished to the data processing that user submits to, obtain and perform data result and deposit Storage, and return to executing result message to workflow engine.
4. method according to claim 3, it is characterised in that the workflow database includes Procedure information table, the process base information for storing each workflow, the flow base of each workflow Plinth information includes system identifier and flow ID;
The corresponding flow ID of system identifier includes in the acquisition request to create from workflow database: The corresponding flow ID of system identifier in the request to create is inquired about from procedure information table.
5. method according to claim 4, it is characterised in that the workflow database includes Informational table of nodes, the nodal basis information for storing each node, the nodal basis packet of each node Include flow ID, the parameter value of node type and the nodal community of workflow belonging to node ID, node Parameter value;
The node that start node during the flow ID identifies workflow is obtained from workflow database Information includes:Being obtained from informational table of nodes includes all nodal basis letter of the corresponding flow ID Breath;The parameter value that node type is obtained from all nodal basis information is the node base of start node Plinth information;It is acquisition node ID and section in the nodal basis information of start node from the parameter value of node type The parameter value of point attribute.
6. method according to claim 5, it is characterised in that the parameter value of node type includes: Start node, end node, circulation condition node, ordinary node, branch node or aggregation;
The nodal community includes the corresponding business model of node type or circulation condition, the business model Executive role and treatment people including logic of business functions unit, task, the circulation condition include coming Source node, whereabouts node and conditional expression;
When the parameter value of node type is circulation condition node, branch node or aggregation, corresponding section Point attribute is circulation condition, and the parameter value of the nodal community 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, corresponding nodal community is industry Business model, the parameter value of the nodal community is specially:The user of executive role ID and treatment people ID。
7. a kind of workflow engine, it is characterised in that including:
First receiving unit, the message for receiving operation system transmission;
First acquisition unit, the flow instance wound for receiving operation system transmission in the first receiving unit When building request, the corresponding flow ID of system identifier in the request to create is obtained from workflow database;Its In, operation system described in system identifier unique mark, one workflow of flow ID unique marks;
Second acquisition unit, in identifying workflow from the workflow database acquisition flow ID The nodal information of start node, the nodal information includes the parameter value of node ID and nodal community;
First transmitting element, for using start node as pending node, being returned to operation system described The nodal information of pending node, to perform the pending node by the operation system;Wherein, The pending node is set in advance in the operation system;
3rd acquiring unit, described waits to hold for receiving operation system and being finished in the first receiving unit During the executing result message that row node is returned, it is described pending to obtain source Nodes from workflow database The whereabouts node of the circulation condition of node, the node letter of the whereabouts node is obtained from workflow database Breath, and using the whereabouts node as pending node, execution is described to be waited to hold to described in operation system return The operation of the nodal information of row node.
8. a kind of operation system, it is characterised in that including:
Second transmitting element, for workflow engine transmission flow example request to create, the establishment please Asking includes system identifier;Wherein, operation system described in system identifier unique mark;And draw to workflow Hold up return executing result message;
Second receiving unit, the nodal information of the pending node for receiving workflow engine return;
Service Processing Unit, for the nodal information according to the pending node, obtains simultaneously from node repository The pending node is performed, information exchange is carried out with user and the data that user submits to is processed, The user data submitted to and the operation for performing are recorded in Service Database;And in the data submitted to user After being disposed, obtain and perform data result and store in Service Database, and indicate second to send Unit returns to executing result message to workflow engine;Wherein, each node for constituting workflow sets in advance Put in the node repository.
9. a kind of Workflow system, it is characterised in that including the workflow engine described in claim 7.
10. a kind of transaction processing system, including workflow engine and claim described in claim 7 Operation system described in 8.
CN201510959011.7A 2015-12-17 2015-12-17 Business processing method and system, workflow engine and system and business system Active CN106897810B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510959011.7A CN106897810B (en) 2015-12-17 2015-12-17 Business processing method and system, workflow engine and system and business system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510959011.7A CN106897810B (en) 2015-12-17 2015-12-17 Business processing method and system, workflow engine and system and business system

Publications (2)

Publication Number Publication Date
CN106897810A true CN106897810A (en) 2017-06-27
CN106897810B CN106897810B (en) 2021-07-13

Family

ID=59191274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510959011.7A Active CN106897810B (en) 2015-12-17 2015-12-17 Business processing method and system, workflow engine and system and business system

Country Status (1)

Country Link
CN (1) CN106897810B (en)

Cited By (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107592230A (en) * 2017-09-22 2018-01-16 北京奇艺世纪科技有限公司 A kind of tracking information acquisition methods and device
CN107909330A (en) * 2017-08-31 2018-04-13 平安科技(深圳)有限公司 Work stream data processing method, device, storage medium and computer equipment
CN108205440A (en) * 2017-12-25 2018-06-26 国云科技股份有限公司 A kind of task flow framework implementation method for supporting rollback
CN108255584A (en) * 2018-01-30 2018-07-06 安徽水利开发股份有限公司 A kind of work flow processing method and system and computer readable storage medium
CN108683716A (en) * 2018-04-26 2018-10-19 网宿科技股份有限公司 Service logic study, means of defence based on big data and study, protective device
CN109241026A (en) * 2018-07-18 2019-01-18 阿里巴巴集团控股有限公司 The method, apparatus and system of data management
CN109241097A (en) * 2018-08-02 2019-01-18 平安科技(深圳)有限公司 A kind of configuration method of process, computer readable storage medium and terminal device
CN109472540A (en) * 2017-09-07 2019-03-15 北京京东尚科信息技术有限公司 Method and device for business processing
CN109636301A (en) * 2018-10-16 2019-04-16 深圳壹账通智能科技有限公司 Workflow configuration method, system, terminal and the readable storage medium storing program for executing of financial business
CN109697569A (en) * 2018-12-27 2019-04-30 金蝶软件(中国)有限公司 A kind of method and system defining workflow
CN109767198A (en) * 2018-10-25 2019-05-17 绍兴大明电力建设有限公司 Operation system intelligent management and device
CN109842500A (en) * 2017-11-24 2019-06-04 阿里巴巴集团控股有限公司 A kind of dispatching method and system, working node and monitoring node
CN109933908A (en) * 2019-03-14 2019-06-25 恒生电子股份有限公司 A kind of service node model store method, application method and device
CN110059233A (en) * 2019-03-01 2019-07-26 阿里巴巴集团控股有限公司 The methods of exhibiting and device of operation flow
CN110187938A (en) * 2019-05-24 2019-08-30 北京神州泰岳软件股份有限公司 A kind of assemble method and device of page workflow
CN110503408A (en) * 2019-08-28 2019-11-26 清大鲁班(北京)国际信息技术有限公司 It is a kind of based on the business process management system custom-configured
CN110610406A (en) * 2019-09-20 2019-12-24 上海同在互联网科技有限公司 Business process configuration method and device, computer equipment and storage medium
CN110717647A (en) * 2019-09-03 2020-01-21 深圳壹账通智能科技有限公司 Decision flow construction method and device, computer equipment and storage medium
CN110738389A (en) * 2019-09-03 2020-01-31 深圳壹账通智能科技有限公司 Workflow processing method and device, computer equipment and storage medium
CN110782223A (en) * 2019-10-14 2020-02-11 浙江讯盟科技有限公司 General workflow device of OA system and general workflow implementation method
CN110782169A (en) * 2019-10-29 2020-02-11 中国联合网络通信集团有限公司 Method and device for updating business process
CN110880091A (en) * 2018-09-05 2020-03-13 易保网络技术(上海)有限公司 Micro-service flow processing method and device
CN111090790A (en) * 2019-12-20 2020-05-01 联想(北京)有限公司 Data processing method and device and electronic equipment
CN111144837A (en) * 2019-12-13 2020-05-12 东软集团股份有限公司 Flow arrangement method and device, storage medium and electronic equipment
CN111178815A (en) * 2018-11-12 2020-05-19 北大方正集团有限公司 Method and device for generating process instance template and computer readable storage medium
CN111461656A (en) * 2020-03-31 2020-07-28 上海星移软件有限公司 Process data processing method and device of business process management system
CN111966454A (en) * 2020-07-31 2020-11-20 上海泛微网络科技股份有限公司 Flow prediction method and device
CN112181402A (en) * 2020-09-14 2021-01-05 珠海格力电器股份有限公司 Business processing method and device of business system, storage medium and electronic equipment
CN112347160A (en) * 2020-11-13 2021-02-09 广州太信信息科技有限公司 Work order management method, system and storage medium based on call center system
CN112732227A (en) * 2020-12-30 2021-04-30 城云科技(中国)有限公司 Workflow engine and configuration method and device thereof
CN112732763A (en) * 2021-01-20 2021-04-30 北京千方科技股份有限公司 Data aggregation method and device, electronic equipment and medium
CN113723797A (en) * 2021-08-26 2021-11-30 上海飞机制造有限公司 Management system and method in industrial operation
CN114169801A (en) * 2021-12-27 2022-03-11 中国建设银行股份有限公司 Workflow scheduling method and device
CN114969809A (en) * 2022-05-07 2022-08-30 苏州砺行信息科技有限公司 Cross-domain multi-source information access control method and system based on process engine
CN115129307A (en) * 2022-08-26 2022-09-30 湖南云畅网络科技有限公司 Action flow arrangement method and system based on low code visualization
WO2023093488A1 (en) * 2021-11-26 2023-06-01 北京字跳网络技术有限公司 Node state determination method and apparatus, electronic device, and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070055558A1 (en) * 2005-08-19 2007-03-08 Shanahan James G Method and apparatus for probabilistic workflow mining
CN101667156A (en) * 2009-09-22 2010-03-10 中兴通讯股份有限公司 Visual service flow debugging method and system
CN102043625A (en) * 2010-12-22 2011-05-04 中国农业银行股份有限公司 Workflow operation method and system
CN102999816A (en) * 2012-12-05 2013-03-27 福建邮科通信技术有限公司 Workflow engine capable of being personalized in business process customization
CN103065221A (en) * 2012-12-27 2013-04-24 北京仿真中心 Multidisciplinary collaborative optimization flow modeling and scheduling method and system based on business process execution language (BPEL)
US20130174169A1 (en) * 2007-08-31 2013-07-04 International Business Machines Corporation Updating workflow nodes in a workflow
CN103218706A (en) * 2013-03-20 2013-07-24 深圳市赛为智能股份有限公司 Method and device for generating workflow file and executing method and system for generating workflow file
CN105046408A (en) * 2015-06-25 2015-11-11 国网山东省电力公司 Configurable workflow realization method and system
CN105069567A (en) * 2015-08-05 2015-11-18 北京恒华伟业科技股份有限公司 Method and device for controlling engineering design process

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070055558A1 (en) * 2005-08-19 2007-03-08 Shanahan James G Method and apparatus for probabilistic workflow mining
US20130174169A1 (en) * 2007-08-31 2013-07-04 International Business Machines Corporation Updating workflow nodes in a workflow
CN101667156A (en) * 2009-09-22 2010-03-10 中兴通讯股份有限公司 Visual service flow debugging method and system
CN102043625A (en) * 2010-12-22 2011-05-04 中国农业银行股份有限公司 Workflow operation method and system
CN102999816A (en) * 2012-12-05 2013-03-27 福建邮科通信技术有限公司 Workflow engine capable of being personalized in business process customization
CN103065221A (en) * 2012-12-27 2013-04-24 北京仿真中心 Multidisciplinary collaborative optimization flow modeling and scheduling method and system based on business process execution language (BPEL)
CN103218706A (en) * 2013-03-20 2013-07-24 深圳市赛为智能股份有限公司 Method and device for generating workflow file and executing method and system for generating workflow file
CN105046408A (en) * 2015-06-25 2015-11-11 国网山东省电力公司 Configurable workflow realization method and system
CN105069567A (en) * 2015-08-05 2015-11-18 北京恒华伟业科技股份有限公司 Method and device for controlling engineering design process

Non-Patent Citations (4)

* 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 (47)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107909330A (en) * 2017-08-31 2018-04-13 平安科技(深圳)有限公司 Work stream data processing method, device, storage medium and computer equipment
CN107909330B (en) * 2017-08-31 2020-10-09 平安科技(深圳)有限公司 Workflow data processing method and device, storage medium and computer equipment
CN109472540A (en) * 2017-09-07 2019-03-15 北京京东尚科信息技术有限公司 Method and device for business processing
CN107592230B (en) * 2017-09-22 2023-02-21 北京奇艺世纪科技有限公司 Tracking information acquisition method and device
CN107592230A (en) * 2017-09-22 2018-01-16 北京奇艺世纪科技有限公司 A kind of tracking information acquisition methods and device
CN109842500B (en) * 2017-11-24 2022-05-10 阿里巴巴集团控股有限公司 Scheduling method and system, working node and monitoring node
CN109842500A (en) * 2017-11-24 2019-06-04 阿里巴巴集团控股有限公司 A kind of dispatching method and system, working node and monitoring node
CN108205440A (en) * 2017-12-25 2018-06-26 国云科技股份有限公司 A kind of task flow framework implementation method for supporting rollback
CN108255584A (en) * 2018-01-30 2018-07-06 安徽水利开发股份有限公司 A kind of work flow processing method and system and computer readable storage medium
CN108683716A (en) * 2018-04-26 2018-10-19 网宿科技股份有限公司 Service logic study, means of defence based on big data and study, protective device
EP3809675A1 (en) * 2018-04-26 2021-04-21 Wangsu Science & Technology Co., Ltd. Big-data-based business logic learning method and protection method and apparatuses thereof
CN108683716B (en) * 2018-04-26 2019-12-10 网宿科技股份有限公司 business logic learning and protecting method and learning and protecting device based on big data
WO2019205202A1 (en) * 2018-04-26 2019-10-31 网宿科技股份有限公司 Big data-based method for learning and protecting service logic and device for learning and protection
CN109241026A (en) * 2018-07-18 2019-01-18 阿里巴巴集团控股有限公司 The method, apparatus and system of data management
CN109241026B (en) * 2018-07-18 2021-10-15 创新先进技术有限公司 Data management method, device and system
CN109241097A (en) * 2018-08-02 2019-01-18 平安科技(深圳)有限公司 A kind of configuration method of process, computer readable storage medium and terminal device
CN110880091A (en) * 2018-09-05 2020-03-13 易保网络技术(上海)有限公司 Micro-service flow processing method and device
CN109636301A (en) * 2018-10-16 2019-04-16 深圳壹账通智能科技有限公司 Workflow configuration method, system, terminal and the readable storage medium storing program for executing of financial business
CN109767198A (en) * 2018-10-25 2019-05-17 绍兴大明电力建设有限公司 Operation system intelligent management and device
CN111178815A (en) * 2018-11-12 2020-05-19 北大方正集团有限公司 Method and device for generating process instance template and computer readable storage medium
CN109697569A (en) * 2018-12-27 2019-04-30 金蝶软件(中国)有限公司 A kind of method and system defining workflow
CN110059233A (en) * 2019-03-01 2019-07-26 阿里巴巴集团控股有限公司 The methods of exhibiting and device of operation flow
CN109933908A (en) * 2019-03-14 2019-06-25 恒生电子股份有限公司 A kind of service node model store method, application method and device
CN110187938A (en) * 2019-05-24 2019-08-30 北京神州泰岳软件股份有限公司 A kind of assemble method and device of page workflow
CN110503408A (en) * 2019-08-28 2019-11-26 清大鲁班(北京)国际信息技术有限公司 It is a kind of based on the business process management system custom-configured
CN110738389A (en) * 2019-09-03 2020-01-31 深圳壹账通智能科技有限公司 Workflow processing method and device, computer equipment and storage medium
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
CN110782223A (en) * 2019-10-14 2020-02-11 浙江讯盟科技有限公司 General workflow device of OA system and general workflow implementation method
CN110782169A (en) * 2019-10-29 2020-02-11 中国联合网络通信集团有限公司 Method and device for updating business process
CN111144837A (en) * 2019-12-13 2020-05-12 东软集团股份有限公司 Flow arrangement method and device, storage medium and electronic equipment
CN111090790B (en) * 2019-12-20 2024-03-29 联想(北京)有限公司 Data processing method and device and electronic equipment
CN111090790A (en) * 2019-12-20 2020-05-01 联想(北京)有限公司 Data processing method and device and electronic equipment
CN111461656A (en) * 2020-03-31 2020-07-28 上海星移软件有限公司 Process data processing method and device of business process management system
CN111966454A (en) * 2020-07-31 2020-11-20 上海泛微网络科技股份有限公司 Flow prediction method and device
CN112181402B (en) * 2020-09-14 2022-03-18 珠海格力电器股份有限公司 Business processing method and device of business system, storage medium and electronic equipment
CN112181402A (en) * 2020-09-14 2021-01-05 珠海格力电器股份有限公司 Business processing method and device of business system, storage medium and electronic equipment
CN112347160A (en) * 2020-11-13 2021-02-09 广州太信信息科技有限公司 Work order management method, system and storage medium based on call center system
CN112347160B (en) * 2020-11-13 2024-05-10 广州太信信息科技有限公司 Work order management method, system and storage medium based on call center system
CN112732227A (en) * 2020-12-30 2021-04-30 城云科技(中国)有限公司 Workflow engine and configuration method and device thereof
CN112732763A (en) * 2021-01-20 2021-04-30 北京千方科技股份有限公司 Data aggregation method and device, electronic equipment and medium
CN113723797A (en) * 2021-08-26 2021-11-30 上海飞机制造有限公司 Management system and method in industrial operation
WO2023093488A1 (en) * 2021-11-26 2023-06-01 北京字跳网络技术有限公司 Node state determination method and apparatus, electronic device, and storage medium
CN114169801A (en) * 2021-12-27 2022-03-11 中国建设银行股份有限公司 Workflow scheduling method and device
CN114969809A (en) * 2022-05-07 2022-08-30 苏州砺行信息科技有限公司 Cross-domain multi-source information access control method and system based on process engine
CN115129307A (en) * 2022-08-26 2022-09-30 湖南云畅网络科技有限公司 Action flow arrangement method and system based on low code visualization

Also Published As

Publication number Publication date
CN106897810B (en) 2021-07-13

Similar Documents

Publication Publication Date Title
CN106897810A (en) Method for processing business and system, workflow engine and system, operation system
CN106897809A (en) Workflow creation method, workflow designer and workflow system
CN106897806A (en) Workflow creation method and system, operation system
CN109710400A (en) The method and device of thread resources grouping
CN103309738B (en) User job dispatching method and device
CN109871200A (en) One kind being used for rapid build business approval systems approach
CN110348820B (en) Intelligent workflow management system
CN109615188A (en) A kind of predistribution combines the multi-robot Task Allocation of Hungary Algorithm
CN110008024A (en) Container dispatching method and device based on Delayed Decision under a kind of Multi-dimensional constraint
CN104199912B (en) A kind of method and device of task processing
CN107888660A (en) Cloud service resource allocation method, medium, device and computing device
CN109743346A (en) Session process configuration method, device and computer readable storage medium
CN110471923A (en) A kind of processing method and processing device of block chain transaction record
Parnreiter The global city tradition
CN107888787A (en) A kind of processing method and processing device of media access request
CN106557366A (en) Task distribution method, apparatus and system
CN106874109A (en) A kind of distributed job distribution processing method and system
Shahrbanoo et al. An Approach for agile SOA development using agile principals
CN106097102A (en) A kind of investment mission planning and management method and system
CN109902182A (en) Knowledge data processing method, device, equipment and storage medium
CN103064955A (en) Inquiry planning method and device
CN110503555A (en) The review method, apparatus and server of transaction data
CN104184685B (en) Data center resource distribution method, apparatus and system
CN106157138A (en) Group belonging to a kind of bank transaction data determines method and device
CN106708609A (en) Characteristics generation method and 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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220802

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.