CN101615269A - Backing method in a kind of Workflow Management System and device - Google Patents
Backing method in a kind of Workflow Management System and device Download PDFInfo
- Publication number
- CN101615269A CN101615269A CN200910090805A CN200910090805A CN101615269A CN 101615269 A CN101615269 A CN 101615269A CN 200910090805 A CN200910090805 A CN 200910090805A CN 200910090805 A CN200910090805 A CN 200910090805A CN 101615269 A CN101615269 A CN 101615269A
- Authority
- CN
- China
- Prior art keywords
- rollback
- activity
- path
- flow performing
- directed graph
- 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
Links
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses backing method and device in a kind of Workflow Management System.This method comprises: the step of flow performing in the writing task flow management system successively; Make up the flow performing directed graph of execution sequence between each step of reflection according to the step of record; When receiving back-off instruction, determine the rollback path according to the flow performing directed graph of back-off instruction and structure; Return back to the specified step of back-off instruction according to the rollback path.The present invention can realize any rollback, has strengthened the dirigibility of business realizing.
Description
Technical field
The present invention relates to the workflow technology field, particularly relate to backing method and device in a kind of Workflow Management System.
Background technology
Workflow (Workflow) is exactly for realizing certain business objective, between a plurality of participants, utilizing computing machine to transmit the workflow of document, information or task automatically by pre-defined rule.Workflow need rely on Workflow Management System to realize, removes definition, execution and management work stream by Workflow Management System by the support of computer technology, between working in the co-ordination stream implementation and the information interaction between the group member.
Utilize Workflow Management System can realize the workflow of various Enterprise Resources Plan management, such as, procurement process, Inventory Process, sale flow process and reimbursement flow process etc.With the reimbursement flow process is example, at first the staff need utilize Workflow Management System to fill in reimbursement document, the reimbursement document that fills sends the approving person to by Workflow Management System, by the approving person reimbursement document of filling in is examined, if the debt number etc. of reimbursement examine by, then the approving person can typing examining pass through mark in Workflow Management System, afterwards, utilize Workflow Management System from the financial budget of enterprise, to deduct the debt of the number of submitting an expense account by the budget personnel, if examining, the debt number of reimbursement etc. do not pass through approving person's mark that then typing examining do not passed through in Workflow Management System.Workflow Management System is that the resource planning management of enterprise has brought very big convenience.
When utilizing Workflow Management System to realize the miscellaneous service flow process, the flow process of operating before often need returning back to is so that can revise related data.Such as, in above-mentioned reimbursement flow process, if the last result that examines examines not pass through, then the staff fills in the original state of the activity of reimbursement document before need returning back to, so that fill in the reimbursement debt number that meets accrediting criterion again on reimbursement document.
At present, a kind of backing method of Workflow Management System is: (activity is made up of a plurality of steps to certain specific activity by the Process Designer in advance, it is the elementary cell of operation flow, finish a kind of conversion or operation, such as, fill in reimbursement document formed an activity in steps) or piece (set of a plurality of activities), write corresponding compensation activity code, this compensation activity code can realize the activity of correspondence or the reverse function of piece; After Workflow Management System executes an activity or piece, then can carry out the compensation activity code of this activity or piece correspondence, thereby realize rollback at this activity or piece.Such as, for above-mentioned reimbursement flow process, after the staff has filled in reimbursement document, rewrite if desired, then carry out the compensation activity code of filling in the reimbursement document activity, the budget personnel deduct the debt of the number of submitting an expense account from the financial budget of enterprise after, withhold again if desired, then carry out the compensation activity code of deduction budget activity correspondence, thereby realize rollback.
By above description as can be seen, prior art can only be carried out rollback at the activity or the piece of current execution when realizing rollback, and any one activity of carrying out before can't optionally returning back to.Such as, for above-mentioned reimbursement flow process, when the budget personnel deduct the debt of the number of submitting an expense account from the financial budget of enterprise after, excess budget the amount of money if find the debt number of reimbursement, then because the activity of current execution is deduction budget activity, therefore, can only return back to the original state of the deduction number activity of submitting an expense account from the financial budget of enterprise, and the reimbursement document activity of filling in before can't returning back to again.As seen, this way that can only carry out rollback at the activity or the piece of current execution of prior art can't realize any rollback, has greatly limited the dirigibility of business realizing.
In addition, prior art is when realizing rollback, owing to be to write the compensation activity code at a specific piece or activity in advance, therefore for complicated and structure real-time in the Workflow Management System, as structure and people's activities (human activity) of participation in real time such as parallel and circulations,, therefore can't work out out the compensation activity code of correspondence in advance owing to can't pre-determine actual flow performing order, thereby can't realize corresponding rollback, limit professional realization greatly.
Summary of the invention
The present invention proposes backing method and device in a kind of Workflow Management System, can realize any rollback.
In order to achieve the above object, technical scheme of the present invention is achieved in that
Backing method in a kind of Workflow Management System, this method comprises:
The step of flow performing in the writing task flow management system successively;
According to the step of record, make up the flow performing directed graph of execution sequence between each step of reflection;
When receiving back-off instruction, determine the rollback path according to the flow performing directed graph of back-off instruction and structure;
Return back to the specified step of back-off instruction according to the rollback path.
Wherein, described step according to the step structure flow performing directed graph that writes down comprises:
When the process definition language of the corresponding sequential organization of the step of record, each activity in this sequential organization is connected successively, in flow performing directed graph, add this cascaded structure;
And/or,
When the process definition language of step respective conditions choice structure of record, each activity that selected branch comprises is connected successively, in flow performing directed graph, add this cascaded structure;
And/or,
When the process definition language of the corresponding parallel organization of the step of record, at first produce two dummy activities, will be movable in parallel by parallel each, and the structure after the parallel connection is connected between described two dummy activities, in flow performing directed graph, add this cascaded structure;
And/or,
When the process definition language of the corresponding loop structure of the step of record, repeat this series connection, the cascaded structure that interpolation finally obtains in flow performing directed graph at first with each the movable series connection in the loop structure, and according to cycle index.
Wherein, described flow performing directed graph according to back-off instruction and structure determines that the rollback path comprises:
According to the termination rollback nodal information that comprises in the back-off instruction, activity corresponding from flow performing directed graph begins from up to down to travel through, if traverse in parallel when movable, order according to breadth First is added the activity of parallel connection on the traverse path to, if when traversing dummy activity, on traverse path, remove this dummy activity, if when traversing repeat to connect movable, the activity of last series connection in only repeating of traversing being connected is added on the traverse path, the activity of the initial rollback nodal information correspondence that in traversing back-off instruction, comprises, with the reverse path of the traverse path that obtains as the rollback path.
Particularly, this method further comprises: be that all activities that comprise artificial participation activity are provided with corresponding rollback interface and corresponding compensation activity code respectively;
Describedly return back to the specified step of back-off instruction according to the rollback path and comprise:, call on the rollback path each movable corresponding rollback interface successively and carry out corresponding compensation activity code according to the order of each activity on the rollback path.
Preferable, behind definite rollback path, further comprise: on the rollback path all are movably arranged in the affairs scope;
When returning back to the specified step of back-off instruction according to the rollback path, further comprise: detect on the rollback path the whether success of each movable rollback operation, if any one movable rollback operation failure, then whole rollback flow process failure.
Backspace mechanism in a kind of Workflow Management System, this device comprises:
The flow performing logging modle is used for the step of writing task flow management system flow performing successively;
The digraph generation module is used for the step according to described flow performing logging modle record, makes up the flow performing directed graph of execution sequence between each step of reflection;
Rollback path determination module is used for when receiving back-off instruction, determines the rollback path according to the flow performing directed graph of back-off instruction and described digraph generation module structure;
The rollback execution module is used for the rollback path definite according to described rollback path determination module, return back to the specified step of back-off instruction.
Wherein, described digraph generation module is used for,
When the process definition language of the corresponding sequential organization of step of described flow performing logging modle record, each activity in this sequential organization is connected successively, in flow performing directed graph, add this cascaded structure;
And/or,
When the process definition language of the step respective conditions choice structure of described flow performing logging modle record, each activity that selected branch comprises is connected successively, in flow performing directed graph, add this cascaded structure;
And/or,
When the process definition language of the corresponding parallel organization of step of described flow performing logging modle record, at first produce two dummy activities, each that will be walked abreast is movable in parallel, and the structure after the parallel connection is connected between described two dummy activities, adds this cascaded structure in flow performing directed graph;
And/or,
When the process definition language of the corresponding loop structure of step of described flow performing logging modle record, at first with each the movable series connection in the loop structure, and repeat this series connection according to cycle index, in flow performing directed graph, add the cascaded structure that finally obtains.
Wherein, described rollback path determination module, according to the termination rollback nodal information that comprises in the back-off instruction, activity corresponding from flow performing directed graph begins from up to down to travel through, if traverse in parallel when movable, order according to breadth First is added the activity of parallel connection on the traverse path to, if when traversing dummy activity, on traverse path, remove this dummy activity, if when traversing repeat to connect movable, the activity of last series connection in only repeating of traversing being connected is added on the traverse path, the activity of the initial rollback nodal information correspondence that in traversing back-off instruction, comprises, with the reverse path of the traverse path that obtains as the rollback path.
Particularly, described rollback execution module, according to the order of each activity on the rollback path, calling successively is rollback interface of each movable setting on the rollback path and the compensation activity code of carrying out each movable correspondence in advance.
Preferable, described rollback execution module further is movably arranged on the rollback path all in the affairs scope; Whether each movable rollback operation is successful on the detection rollback path, if any one movable rollback operation failure then finishes whole rollback flow process.
As seen, the present invention has following advantage:
1, in the present invention, owing to made up flow performing directed graph, by this flow performing directed graph write down that flow performing is crossed in Workflow Management System in steps and the execution sequence between the step, like this, when follow-up rollback, the institute of performed mistake in steps and the information of relative execution sequence before then can determining by flow performing directed graph, then can return back to any one step before according to this information, realize any rollback, thereby strengthened the dirigibility of business realizing greatly.
2, in the present invention, owing to adopted the method that makes up flow performing directed graph, therefore for complexity and structure real-time, as structure and people's activities of participation in real time such as parallel and circulations, also can write down the actual execution sequence of the activity that structure such as this parallel and circulation and people participate in real time by flow performing directed graph, then can determine the path of rollback according to this actual execution sequence, thereby realize rollback, increase professional range of application greatly.
3, in the present invention, because on the rollback path all are movably arranged in the affairs scope; To any one movable rollback operation failure, then whole rollback flow process failure like this, then can guarantee the consistance of data in the Workflow Management System.
Description of drawings
The process flow diagram of the realization rollback that Fig. 1 provides for the embodiment of the invention;
Fig. 2 is the flow performing directed graph of corresponding sequential organization in the embodiment of the invention;
Fig. 3 is the flow performing directed graph of respective conditions choice structure in the embodiment of the invention;
Fig. 4 is the flow performing directed graph of corresponding parallel organization in the embodiment of the invention;
Fig. 5 is the flow performing directed graph of corresponding loop structure in the embodiment of the invention;
Fig. 6 is the final a kind of flow performing directed graph that forms in the embodiment of the invention;
The structure drawing of device that Fig. 7 provides for the embodiment of the invention.
Embodiment
In order to make the purpose, technical solutions and advantages of the present invention clearer, describe the present invention below in conjunction with the drawings and specific embodiments.
The present invention proposes the backing method in a kind of Workflow Management System, the core concept of this method is: the step of flow performing in the writing task flow management system; Make up the flow performing directed graph of execution sequence between each step of reflection according to the step of record; When receiving back-off instruction, determine the rollback path according to the flow performing directed graph of back-off instruction and structure; Return back to the specified step of back-off instruction according to the rollback path.
As seen, in the present invention, owing to made up flow performing directed graph, by this flow performing directed graph write down that flow performing is crossed in Workflow Management System in steps and the execution sequence between the step, like this, when follow-up rollback, the institute of performed mistake in steps and the information of relative execution sequence before then can determining by flow performing directed graph, then can return back to any one step before according to this information, realize any rollback.
In Workflow Management System,, finish a kind of conversion or operation because activity is the elementary cell of operation flow, such as, the institute of filling in reimbursement document has formed an activity in steps, therefore, preferable, in the present invention, can be a rollback unit with an activity, that is to say, when making up flow performing directed graph, in order to simplify processing, can be with the activity formed by a plurality of steps a node as digraph, and record each activity and relative execution sequence thereof of carrying out.
The process flow diagram of the realization rollback that Fig. 1 provides for the embodiment of the invention.Referring to Fig. 1, in one embodiment of the invention, when being a rollback unit, realize that in Workflow Management System the process of rollback specifically can may further comprise the steps with an activity:
Step 101: be that all activities that comprise artificial participation activity are provided with corresponding rollback interface and corresponding compensation activity code respectively in advance.
Here, for each activity all is provided with corresponding rollback interface and compensation activity code, is in order in subsequent process, can to carry out the compensation activity code of this activity, thereby realizes rollback at an activity by the rollback interface that calls an activity.
Step 102: when utilizing Workflow Management System work, each activity of writing down flow performing successively.
Here, an activity is made up of some steps, can finish specific operation or conversion.Such as, for the reimbursement flow process, record is to fill in reimbursement document activity → examine activity → deduction budget activity etc. successively.
Step 103:, make up the flow performing directed graph of execution sequence between each activity of reflection according to the activity of record successively.
The implementation procedure that this step is concrete comprises:
If 1031 each activities that have execution architecture in order to write down successively that is to say, during the process definition language of the movable corresponding sequential organization of forming by a plurality of steps of record, such as, process definition language is
<Sequence>
<Activity?A1?/>
<Activity?A2?/>
<Activity?A3?/>
…
</Sequence>
In process definition language, activity of each " Activity " expression.So, each activity in this sequential organization is connected successively, in flow performing directed graph, add this cascaded structure.Such as, the cascaded structure after the interpolation is as shown in Figure 2.
If 1032 have each activity of selecting the execution architecture record according to condition, that is to say, during the process definition language of the activity respective conditions choice structure of forming by a plurality of steps of record, such as, process definition language is
<Decision>
<Branch1>
<Activity?A4?/>
<Activity?A5?/>
<Branch1?/>
…
</Decision>
So, each activity that selected branch comprises is connected successively, in flow performing directed graph, add this cascaded structure.Such as, the cascaded structure after the interpolation is as shown in Figure 3.
If 1033 have each activity according to executed in parallel structure record, that is to say, during the process definition language of the movable corresponding parallel organization of forming by a plurality of steps of record, such as, process definition language is
<Prallel>
<Activity?A6?/>
<Activity?A7?/>
…
</Parallel>
So, at first produce two dummy activities, each that will be walked abreast is movable in parallel, and the structure after the parallel connection is connected between described two dummy activities (being designated as Empty), adds this cascaded structure in flow performing directed graph.Such as, the cascaded structure after the interpolation is as shown in Figure 4.
If 1034 have each activity according to circulation execution architecture record, that is to say, during the process definition language of the movable corresponding loop structure of forming by a plurality of steps of record, such as, process definition language is
<While>
<Activity?A8?/>
<Activity?A9?/>
…
</While>
So, repeat this series connection, in flow performing directed graph, add the cascaded structure that finally obtains at first with each the movable series connection in the loop structure, and according to cycle index.Such as, the cascaded structure after the interpolation is as shown in Figure 5.
According to the realization principle of above-mentioned steps 1031 ~ 1034, then can make up the flow performing directed graph that can reflect actual flow process execution in step and sequencing thereof.
Step 104: Workflow Management System receives back-off instruction.
Here, initial rollback nodal information and termination rollback nodal information have been comprised in the back-off instruction.Such as, for above-mentioned reimbursement flow process, after deduction budget activity, if the discovery mistake need return back to the reimbursement document activity of filling in, so, initial rollback node correspondence be exactly the budget activity of deducting, what stop rollback node correspondence is exactly to fill in the reimbursement document activity.
Step 105: determine the rollback path according to back-off instruction and the flow performing directed graph that made up.
The specific implementation process of this step can comprise: according to the termination rollback nodal information that comprises in the back-off instruction, activity corresponding from flow performing directed graph begins from up to down to travel through, if traverse in parallel when movable, order according to breadth First is added to the activity of parallel connection on the traverse path successively, if when traversing dummy activity, on traverse path, remove this dummy activity, if when traversing repeat to connect movable, the activity of last series connection in only repeating of traversing being connected is added on the traverse path, the activity of the initial rollback nodal information correspondence that in traversing back-off instruction, comprises, with the reverse path of the traverse path that obtains as the rollback path.Such as, the flow performing directed graph that constructs need return back to A from E as shown in Figure 6, that is to say, initial rollback node is E, and stopping the rollback node is A, so, processing mode according to this step, node A from Fig. 6 begins from up to down to traverse E, and traverse path is A → B → C → D → E, and its reverse path is that the rollback path is exactly E → D → B → C → A, certainly, the order between B and the C can be exchanged or be determined according to specifying in advance.
Step 106:, call each movable corresponding rollback interface and the corresponding compensation activity code of execution on the rollback path successively according to the order of each activity on the rollback path.
Such as, the rollback path is E → D → B → C → A, so, at first call the rollback interface of movable E correspondence, and the compensation activity code of executed activity E correspondence, call the rollback interface of movable D correspondence then, and the compensation activity code of executed activity D correspondence, by that analogy, until the rollback interface that calls movable A correspondence, and the compensation activity code of executed activity A correspondence.
When the rollback flow process is carried out in the rollback path that comprises a plurality of activities according to, if the success of the rollback operation of piecemeal activity, and the failure of the rollback operation of piecemeal activity then could cause the data in the system inconsistent.For instance, for above-mentioned reimbursement flow process, if after deduction budget activity, need return back to the activity of filling in reimbursement document, if the rollback operation success of deduction budget activity, then do not deduct the debt that needs reimbursement in the system in the budget amount, fail and examine movable rollback operation, the state of system still remains to be examined successfully, according to the result who examines success, the staff can think the debt of having deducted reimbursement in the budget amount of system, and in fact because the rollback operation success of deduction budget activity, in the system in the budget amount actual deduction need the debt of reimbursement, thereby caused the inconsistency of data.For fear of this kind situation, guarantee data consistency, preferable, can be in advance on the rollback path all be movably arranged in the affairs scope, in the implementation of step 106, whether each movable rollback operation is successful on the detection rollback path, that is to say, call each movable rollback interface and carry out its for the whether success of operation of compensation activity code, if any one movable rollback operation failure, then whole rollback flow process failure, only when all movable rollback operations were all successful, whole rollback flow process is success.Like this, for above-mentioned reimbursement flow process, if examine movable rollback operation failure, even the rollback operation success of deduction budget activity is because the activity of examining belongs to an affairs scope with deduction budget activity, therefore, whole rollback flow process failure, the state of deducting debt when deduction budget activity still keeps not having rollback, thus data consistency guaranteed, improved the reliability of system.
Need to prove, in the above embodiment of the present invention, be to be a rollback unit with an activity.In other embodiments of the invention, also can adopt other flexible modes, such as, with one or arbitrarily several steps be a rollback unit, be a rollback unit etc. with piece (set of a plurality of activities) perhaps, the process of describing in the process of its specific implementation rollback and the foregoing description that is rollback unit with an activity is identical.
In addition, the invention allows for backspace mechanism in a kind of Workflow Management System.Referring to Fig. 7, this device comprises:
The flow performing logging modle is used for the step of writing task flow management system flow performing successively;
The digraph generation module is used for the step according to described flow performing logging modle record, makes up the flow performing directed graph of execution sequence between each step of reflection;
Rollback path determination module is used for when receiving back-off instruction, determines the rollback path according to the flow performing directed graph of back-off instruction and described digraph generation module structure;
The rollback execution module is used for the rollback path definite according to described rollback path determination module, return back to the specified step of back-off instruction.
In a specific embodiment of backspace mechanism of the present invention, described digraph generation module is used for,
When the process definition language of the corresponding sequential organization of step of described flow performing logging modle record, each activity in this sequential organization is connected successively, in flow performing directed graph, add this cascaded structure;
And/or,
When the process definition language of the step respective conditions choice structure of described flow performing logging modle record, each activity that selected branch comprises is connected successively, in flow performing directed graph, add this cascaded structure;
And/or,
When the process definition language of the corresponding parallel organization of step of described flow performing logging modle record, at first produce two dummy activities, each that will be walked abreast is movable in parallel, and the structure after the parallel connection is connected between described two dummy activities, adds this cascaded structure in flow performing directed graph;
And/or,
When the process definition language of the corresponding loop structure of step of described flow performing logging modle record, at first with each the movable series connection in the loop structure, and repeat this series connection according to cycle index, in flow performing directed graph, add the cascaded structure that finally obtains.
When utilizing backspace mechanism of the present invention to realize rollback, a concrete embodiment is: described rollback path determination module, according to the termination rollback nodal information that comprises in the back-off instruction, activity corresponding from flow performing directed graph begins from up to down to travel through, in parallel when movable when traversing, order according to breadth First is added to the activity of parallel connection on the traverse path successively, when traversing dummy activity, on traverse path, remove this dummy activity, when traversing repeat to connect movable, the activity of last series connection in only repeating of traversing being connected is added on the traverse path, the activity of the initial rollback nodal information correspondence that in traversing back-off instruction, comprises, with the reverse path of the traverse path that obtains as the rollback path.
Particularly, described rollback execution module, according to the order of each activity on the rollback path, calling successively is rollback interface of each movable setting on the rollback path and the compensation activity code of carrying out each movable correspondence in advance.
Preferable, in order to guarantee data consistency, in the backspace mechanism that the present invention proposes, described rollback execution module further is movably arranged on the rollback path all in the affairs scope; Whether each movable rollback operation is successful on the detection rollback path, if any one movable rollback operation failure then finishes whole rollback flow process.
Backspace mechanism of the present invention can be integrated in the Workflow Management System, also can be the equipment that is independent of Workflow Management System.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.
Claims (10)
1, the backing method in a kind of Workflow Management System is characterized in that, this method comprises:
The step of flow performing in the writing task flow management system successively;
According to the step of record, make up the flow performing directed graph of execution sequence between each step of reflection;
When receiving back-off instruction, determine the rollback path according to the flow performing directed graph of back-off instruction and structure;
Return back to the specified step of back-off instruction according to the rollback path.
2, method according to claim 1 is characterized in that, the step that described step according to record makes up flow performing directed graph comprises:
When the process definition language of the corresponding sequential organization of the step of record, each activity in this sequential organization is connected successively, in flow performing directed graph, add this cascaded structure;
And/or,
When the process definition language of step respective conditions choice structure of record, each activity that selected branch comprises is connected successively, in flow performing directed graph, add this cascaded structure;
And/or,
When the process definition language of the corresponding parallel organization of the step of record, at first produce two dummy activities, will be movable in parallel by parallel each, and the structure after the parallel connection is connected between described two dummy activities, in flow performing directed graph, add this cascaded structure;
And/or,
When the process definition language of the corresponding loop structure of the step of record, repeat this series connection, the cascaded structure that interpolation finally obtains in flow performing directed graph at first with each the movable series connection in the loop structure, and according to cycle index.
3, method according to claim 2 is characterized in that, described flow performing directed graph according to back-off instruction and structure determines that the rollback path comprises:
According to the termination rollback nodal information that comprises in the back-off instruction, activity corresponding from flow performing directed graph begins from up to down to travel through, if traverse in parallel when movable, order according to breadth First is added the activity of parallel connection on the traverse path to, if when traversing dummy activity, on traverse path, remove this dummy activity, if when traversing repeat to connect movable, the activity of last series connection in only repeating of traversing being connected is added on the traverse path, the activity of the initial rollback nodal information correspondence that in traversing back-off instruction, comprises, with the reverse path of the traverse path that obtains as the rollback path.
4, according to claim 1,2 or 3 described methods, it is characterized in that this method further comprises: be that all activities that comprise artificial participation activity are provided with corresponding rollback interface and corresponding compensation activity code respectively;
Describedly return back to the specified step of back-off instruction according to the rollback path and comprise:, call on the rollback path each movable corresponding rollback interface successively and carry out corresponding compensation activity code according to the order of each activity on the rollback path.
5, according to claim 1,2 or 3 described methods, it is characterized in that, behind definite rollback path, further comprise: on the rollback path all are movably arranged in the affairs scope;
When returning back to the specified step of back-off instruction according to the rollback path, further comprise: detect on the rollback path the whether success of each movable rollback operation, if any one movable rollback operation failure, then whole rollback flow process failure.
6, the backspace mechanism in a kind of Workflow Management System is characterized in that, this device comprises:
The flow performing logging modle is used for the step of writing task flow management system flow performing successively;
The digraph generation module is used for the step according to described flow performing logging modle record, makes up the flow performing directed graph of execution sequence between each step of reflection;
Rollback path determination module is used for when receiving back-off instruction, determines the rollback path according to the flow performing directed graph of back-off instruction and described digraph generation module structure;
The rollback execution module is used for the rollback path definite according to described rollback path determination module, return back to the specified step of back-off instruction.
7, device according to claim 6 is characterized in that, described digraph generation module is used for,
When the process definition language of the corresponding sequential organization of step of described flow performing logging modle record, each activity in this sequential organization is connected successively, in flow performing directed graph, add this cascaded structure;
And/or,
When the process definition language of the step respective conditions choice structure of described flow performing logging modle record, each activity that selected branch comprises is connected successively, in flow performing directed graph, add this cascaded structure;
And/or,
When the process definition language of the corresponding parallel organization of step of described flow performing logging modle record, at first produce two dummy activities, each that will be walked abreast is movable in parallel, and the structure after the parallel connection is connected between described two dummy activities, adds this cascaded structure in flow performing directed graph;
And/or,
When the process definition language of the corresponding loop structure of step of described flow performing logging modle record, at first with each the movable series connection in the loop structure, and repeat this series connection according to cycle index, in flow performing directed graph, add the cascaded structure that finally obtains.
8, device according to claim 7, it is characterized in that, described rollback path determination module, according to the termination rollback nodal information that comprises in the back-off instruction, activity corresponding from flow performing directed graph begins from up to down to travel through, if traverse in parallel when movable, order according to breadth First is added the activity of parallel connection on the traverse path to, if when traversing dummy activity, on traverse path, remove this dummy activity, if when traversing repeat to connect movable, the activity of last series connection in only repeating of traversing being connected is added on the traverse path, the activity of the initial rollback nodal information correspondence that in traversing back-off instruction, comprises, with the reverse path of the traverse path that obtains as the rollback path.
9, according to claim 6,7 or 8 described devices, it is characterized in that, described rollback execution module, according to the order of each activity on the rollback path, calling successively is rollback interface of each movable setting on the rollback path and the compensation activity code of carrying out each movable correspondence in advance.
According to claim 6,7 or 8 described devices, it is characterized in that 10, described rollback execution module further is movably arranged on the rollback path all in the affairs scope; Whether each movable rollback operation is successful on the detection rollback path, if any one movable rollback operation failure then finishes whole rollback flow process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910090805.9A CN101615269B (en) | 2009-08-11 | 2009-08-11 | Retroversion method and device in workflow management system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910090805.9A CN101615269B (en) | 2009-08-11 | 2009-08-11 | Retroversion method and device in workflow management system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101615269A true CN101615269A (en) | 2009-12-30 |
CN101615269B CN101615269B (en) | 2015-05-27 |
Family
ID=41494897
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910090805.9A Expired - Fee Related CN101615269B (en) | 2009-08-11 | 2009-08-11 | Retroversion method and device in workflow management system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101615269B (en) |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103714414A (en) * | 2013-11-30 | 2014-04-09 | 北京科东电力控制系统有限责任公司 | Process node returning method used for intelligent power grid dispatching |
CN105205652A (en) * | 2015-11-04 | 2015-12-30 | 用友网络科技股份有限公司 | Revision method and revision system of ERP (enterprise resource planning) documents |
CN106033560A (en) * | 2015-03-11 | 2016-10-19 | 北京慧正通软科技有限公司 | Algorithm for multi-path branch return flowing mode of work flow |
CN106327332A (en) * | 2016-08-18 | 2017-01-11 | 深圳市金证科技股份有限公司 | Liquidation method and system for supporting partial returning |
WO2017067392A1 (en) * | 2015-10-21 | 2017-04-27 | 中兴通讯股份有限公司 | Method and system for handling work flow exception |
CN106651112A (en) * | 2016-11-01 | 2017-05-10 | 金蝶软件(中国)有限公司 | Method and system for reverse approval of workflow |
CN106909543A (en) * | 2015-12-22 | 2017-06-30 | 阿里巴巴集团控股有限公司 | The method for mode matching and device of a kind of regulation engine |
CN107016083A (en) * | 2017-03-31 | 2017-08-04 | 清华大学 | A kind of stream data processing method for supporting that processing unit switches online |
CN107316139A (en) * | 2017-06-21 | 2017-11-03 | 广州支点网络科技股份有限公司 | A kind of cancelling method of workflow and the device using this method |
CN107908494A (en) * | 2017-11-10 | 2018-04-13 | 泰康保险集团股份有限公司 | Processing method, device, electronic equipment and the storage medium of anomalous event |
CN107943705A (en) * | 2017-12-08 | 2018-04-20 | 中国银行股份有限公司 | A kind of test method and device of workflow examination and approval class system |
CN110134505A (en) * | 2019-05-15 | 2019-08-16 | 湖南麒麟信安科技有限公司 | A kind of distributed computing method of group system, system and medium |
CN110147268A (en) * | 2019-04-16 | 2019-08-20 | 清华大学无锡应用技术研究院 | Handle method, apparatus, concurrent control system and the storage medium of concurrent transaction |
CN110288317A (en) * | 2019-06-24 | 2019-09-27 | 北京奇艺世纪科技有限公司 | A kind of cancelling method of workflow, device, electronic equipment and medium |
CN110619473A (en) * | 2019-09-19 | 2019-12-27 | 福建博思软件股份有限公司 | Method for realizing reverse circulation based on Activiti workflow |
CN111080250A (en) * | 2019-12-10 | 2020-04-28 | 东软集团股份有限公司 | Flow backspacing compensation method and device, storage medium and electronic equipment |
CN112258139A (en) * | 2020-09-15 | 2021-01-22 | 远光软件股份有限公司 | Method and device for multi-layer gateway rollback |
CN112825031A (en) * | 2019-11-21 | 2021-05-21 | 中盈优创资讯科技有限公司 | JSON format-based flow description method and device |
CN113391953A (en) * | 2021-06-07 | 2021-09-14 | 北京同创永益科技发展有限公司 | DAG-based complex disaster recovery backup switching flow rollback method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030018508A1 (en) * | 2001-07-19 | 2003-01-23 | Schwanke Robert W. | Data-triggered workflow processes |
CN1858783A (en) * | 2006-06-05 | 2006-11-08 | 上海宏迅软件有限公司 | Data driving method in work flow managing system |
CN101393620A (en) * | 2008-10-27 | 2009-03-25 | 山东中创软件工程股份有限公司 | Model for human activity description |
-
2009
- 2009-08-11 CN CN200910090805.9A patent/CN101615269B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030018508A1 (en) * | 2001-07-19 | 2003-01-23 | Schwanke Robert W. | Data-triggered workflow processes |
CN1858783A (en) * | 2006-06-05 | 2006-11-08 | 上海宏迅软件有限公司 | Data driving method in work flow managing system |
CN101393620A (en) * | 2008-10-27 | 2009-03-25 | 山东中创软件工程股份有限公司 | Model for human activity description |
Cited By (28)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103714414A (en) * | 2013-11-30 | 2014-04-09 | 北京科东电力控制系统有限责任公司 | Process node returning method used for intelligent power grid dispatching |
CN103714414B (en) * | 2013-11-30 | 2018-01-16 | 北京科东电力控制系统有限责任公司 | A kind of flow nodes backing method for intelligent grid scheduling |
CN106033560A (en) * | 2015-03-11 | 2016-10-19 | 北京慧正通软科技有限公司 | Algorithm for multi-path branch return flowing mode of work flow |
WO2017067392A1 (en) * | 2015-10-21 | 2017-04-27 | 中兴通讯股份有限公司 | Method and system for handling work flow exception |
CN106611297A (en) * | 2015-10-21 | 2017-05-03 | 中兴通讯股份有限公司 | Workflow abnormity handling method and system |
CN105205652A (en) * | 2015-11-04 | 2015-12-30 | 用友网络科技股份有限公司 | Revision method and revision system of ERP (enterprise resource planning) documents |
CN105205652B (en) * | 2015-11-04 | 2020-04-03 | 用友网络科技股份有限公司 | Revision method and revision system of ERP (enterprise resource planning) document |
CN106909543A (en) * | 2015-12-22 | 2017-06-30 | 阿里巴巴集团控股有限公司 | The method for mode matching and device of a kind of regulation engine |
CN106909543B (en) * | 2015-12-22 | 2020-08-25 | 阿里巴巴集团控股有限公司 | Pattern matching method and device of rule engine |
CN106327332A (en) * | 2016-08-18 | 2017-01-11 | 深圳市金证科技股份有限公司 | Liquidation method and system for supporting partial returning |
CN106651112A (en) * | 2016-11-01 | 2017-05-10 | 金蝶软件(中国)有限公司 | Method and system for reverse approval of workflow |
CN107016083A (en) * | 2017-03-31 | 2017-08-04 | 清华大学 | A kind of stream data processing method for supporting that processing unit switches online |
CN107016083B (en) * | 2017-03-31 | 2020-02-07 | 清华大学 | Stream data processing method supporting online switching of processing units |
CN107316139A (en) * | 2017-06-21 | 2017-11-03 | 广州支点网络科技股份有限公司 | A kind of cancelling method of workflow and the device using this method |
CN107908494B (en) * | 2017-11-10 | 2021-05-07 | 泰康保险集团股份有限公司 | Abnormal event processing method and device, electronic equipment and storage medium |
CN107908494A (en) * | 2017-11-10 | 2018-04-13 | 泰康保险集团股份有限公司 | Processing method, device, electronic equipment and the storage medium of anomalous event |
CN107943705A (en) * | 2017-12-08 | 2018-04-20 | 中国银行股份有限公司 | A kind of test method and device of workflow examination and approval class system |
CN110147268A (en) * | 2019-04-16 | 2019-08-20 | 清华大学无锡应用技术研究院 | Handle method, apparatus, concurrent control system and the storage medium of concurrent transaction |
CN110134505A (en) * | 2019-05-15 | 2019-08-16 | 湖南麒麟信安科技有限公司 | A kind of distributed computing method of group system, system and medium |
CN110288317A (en) * | 2019-06-24 | 2019-09-27 | 北京奇艺世纪科技有限公司 | A kind of cancelling method of workflow, device, electronic equipment and medium |
CN110619473A (en) * | 2019-09-19 | 2019-12-27 | 福建博思软件股份有限公司 | Method for realizing reverse circulation based on Activiti workflow |
CN110619473B (en) * | 2019-09-19 | 2022-03-15 | 福建博思软件股份有限公司 | Method for realizing reverse circulation based on Activiti workflow |
CN112825031A (en) * | 2019-11-21 | 2021-05-21 | 中盈优创资讯科技有限公司 | JSON format-based flow description method and device |
CN112825031B (en) * | 2019-11-21 | 2024-03-12 | 中盈优创资讯科技有限公司 | Process description method and device based on JSON format |
CN111080250A (en) * | 2019-12-10 | 2020-04-28 | 东软集团股份有限公司 | Flow backspacing compensation method and device, storage medium and electronic equipment |
CN111080250B (en) * | 2019-12-10 | 2023-04-18 | 东软集团股份有限公司 | Flow backspacing compensation method and device, storage medium and electronic equipment |
CN112258139A (en) * | 2020-09-15 | 2021-01-22 | 远光软件股份有限公司 | Method and device for multi-layer gateway rollback |
CN113391953A (en) * | 2021-06-07 | 2021-09-14 | 北京同创永益科技发展有限公司 | DAG-based complex disaster recovery backup switching flow rollback method |
Also Published As
Publication number | Publication date |
---|---|
CN101615269B (en) | 2015-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101615269A (en) | Backing method in a kind of Workflow Management System and device | |
Baker et al. | Model-driven engineering in a large industrial context—Motorola case study | |
US8635056B2 (en) | System and method for system integration test (SIT) planning | |
Younas et al. | Non-functional requirements elicitation guideline for agile methods | |
Kazman et al. | The essential components of software architecture design and analysis | |
CN103646104A (en) | Hard real-time fault diagnosis method and system | |
US8214245B2 (en) | Method and system for synchronizing inclusive decision branches | |
Lavrov et al. | Automation of assessing the reliability of operator's activities in contact centers that provide access to information resources | |
Berry et al. | Requirements determination is unstoppable: an experience report | |
CN113570468A (en) | Enterprise payment wind control service platform | |
Migliorini et al. | Pattern-based evaluation of scientific workflow management systems | |
CN107957945B (en) | Monetary fund system automatic performance test method, device, equipment and storage medium | |
CN110134585A (en) | System Test Plan generation method and terminal device | |
Hassan et al. | Purification of requirement engineering model for rapid application development | |
CN112990780A (en) | Workflow construction method, device and equipment | |
Gupta et al. | Leveraging temporal and spatial separations with the 24-hour knowledge factory paradigm | |
Satyarthi et al. | Framework for Requirement Management using Requirement Traceability. | |
Passos et al. | Qualitative analysis of workflow nets using linear logic: Soundness verification | |
CN109272292A (en) | The processing method and system of meeting summary based on block chain | |
Souri | Formal specification and verification of a data replication approach in distributed systems | |
Shawky | A cost-effective approach for hybrid migration to the cloud | |
CN115545627A (en) | Approval task processing method and device, storage medium and electronic equipment | |
Bindal et al. | Survey on software development processing models | |
Xie et al. | Design and implementation of bank financial business automation testing framework based on QTP | |
Aggarwal et al. | Swift Tack: A new development approach |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C41 | Transfer of patent application or patent right or utility model | ||
TR01 | Transfer of patent right |
Effective date of registration: 20160301 Address after: 100094 Beijing City, North Road, Haidian District, No. 68, building 2, floor 2 Patentee after: You Pu Information Technology Co., Ltd of UFSOFT Address before: 100094 Beijing city Haidian District North Road No. 68, UFIDA Software Park Patentee before: UFIDA Software Co., Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150527 Termination date: 20180811 |