CN102043625A - Workflow operation method and system - Google Patents

Workflow operation method and system Download PDF

Info

Publication number
CN102043625A
CN102043625A CN201010601175XA CN201010601175A CN102043625A CN 102043625 A CN102043625 A CN 102043625A CN 201010601175X A CN201010601175X A CN 201010601175XA CN 201010601175 A CN201010601175 A CN 201010601175A CN 102043625 A CN102043625 A CN 102043625A
Authority
CN
China
Prior art keywords
flow
task
definition
node
instance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201010601175XA
Other languages
Chinese (zh)
Inventor
刘旭
牛志嘉
刘博�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN201010601175XA priority Critical patent/CN102043625A/en
Publication of CN102043625A publication Critical patent/CN102043625A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a workflow operation method and a system thereof. The method comprises the steps: presetting a flow definition model and a flow operation model, wherein the flow definition model comprises preset task definition, flow definition, node and migration objects, the flow operation model comprises preset flow instance, flow branch, task instance and flow variable objects; creating a flow instance according to the preset flow definition, and creating an execution thread corresponding to the flow instance; triggering the execution thread to flow, so as to acquire migration flow direction of a left flow at an initial node of the flow instance; and calling the migration flow direction of the flow to trigger workflow to operate. The method and the system provided by the invention can firstly meet workflow operation requirements of high data quantity and high concurrent load, secondly reduces application difficulty of development, testing and management, and finally has simple technical architecture and low hardware requirement while meeting performance requirement and also meets the low cost intensification requirement.

Description

A kind of work flow operation method and system
Technical field
The present invention relates to data processing field, particularly relate to a kind of work flow operation method and system.
Background technology
Work flow operation work is finished by workflow engine, and workflow engine is the core component of Workflow system, is responsible for the process of analysis definition, keeps the environment of flow instance operation.Its route between can the Coordination Treatment flow nodes, the request (as starting flow process, submission task, query task, flow monitoring) of client, assignment and scheduling, the resources allocation etc. of task.Flow definition is to carry out abstract and a cover " computation model " that form to the actual services process, and it can be understood by workflow engine and as the rules of order of process flow operation, it is by sub-process and movable the composition.Sub-process also is a flow process, and it can be nested by flow process.The flow definition model be a cover be used for describing " flow definition " with and the model object of relevant definition object.Movable definition is abstract to task, matters, work item, step and link etc. in the actual services process, and it is the minimum working cell in the flow performing, can be finished automatically by computing machine.Task definition is the human activity definition.It is an activity that needs artificial participation to finish.Flow instance is the object that the execution each time of flow definition is generated, it safeguards a cover one's own " running environment and data ", comprise state, data and the control information of flow process, the state of task instances, data and control information, and some interim execution information etc.The process flow operation model be a cover be used for describing " flow instance " with and the model object of relevant operation object.Task instances is the object that the execution each time of task definition is generated, and task instances also has state, data and control information.
Have much for work flow operation method or product in the prior art, but each working flow products of the prior art all can have own unique work flow operation flow process, different according to the demand of work flow operation and application scenarios, its control flow also has nothing in common with each other, but because these work flow operation methods at application scenarios little, therefore, various work flow operation flow processs can only be adapted to work flow operation more among a small circle.
Therefore there are following shortcoming in existing work flow operation method and product: at first, be difficult to satisfy the work flow operation demand of big data quantity and big concurrent high capacity, secondly, model and Data Structure Design complexity, also increased the application difficulty of exploitation, test and management, last, satisfying under the possibility of performance requirement, Technical Architecture too complexity or hsrdware requirements is too high, can't satisfy the requirement of low-cost intensification again.
Therefore, need the urgent technical matters that solves of those skilled in the art to be exactly at present: how can propose a kind of work flow operation method, in order to solve the problem that prior art is difficult to satisfy the work flow operation demand of big data quantity and big concurrent high capacity.
Summary of the invention
Technical matters to be solved by this invention provides a kind of work flow operation method, in order to solve the problem that prior art is difficult to satisfy the work flow operation demand of big data quantity and big concurrent high capacity, further, its model and Data Structure Design are simple, have also reduced the application difficulty of exploitation, test and management.
Another object of the present invention is that above-mentioned design is applied in the concrete applied environment, and a kind of work flow operation system is provided, thereby guarantees the realization and the application of this method.
For solving the problems of the technologies described above, the embodiment of the invention provides a kind of work flow operation method, comprise: set in advance flow definition model and process flow operation model, described flow definition model comprises task definition, flow definition, node and migration four class objects that preset, described flow definition is made of node and migration, described node comprises start node, end node and/or task node, and described task definition is subordinated to a described task node; Described process flow operation model comprises flow instance, flow process branch, task instances and flow process variable four class objects that preset;
According to the flow definition visioning procedure example that presets, and the establishment execution thread corresponding with described flow instance;
Trigger described execution thread circulation, obtain the flow process migration of leaving with start node and flow at described flow instance;
Calling described flow process migration flows to trigger the operation of workflow.
Preferably, described operation of calling the described flow process migration flow direction with the triggering workflow specifically comprises:
Target approach node after the call flow migration flows to;
When described destination node is task node, according to task definition creation task example that presets and execution.
Preferably, after task definition creation task example that described foundation presets and the execution, also comprise:
In the data one-time write database with described flow instance and task instances.
Preferably, after task definition creation task example that described foundation presets and the execution, also comprise:
Call the ending method of described task instances;
Submission is used for the flow process variable of Stored Procedure data or business datum;
Create execution thread and obtain task immigration and flow to;
Enter next goal task node according to the described task immigration flow direction.
Preferably, after task definition creation task example that the goal task node that described foundation enters presets and the execution, also comprise:
Be updated in the present node of the correspondence of task instances described in the flow instance;
Write new task instances data and flow process variable data;
Upgrade the flow process variable data that has existed.
Preferably, when migration flowed to zero, described zero migration flowed to the end node corresponding to described flow instance; When migration flows to when a plurality of, described a plurality of migrations flow to corresponding to concurrent branch or select the situation of branch; The all migrations of described concurrent branching representation flow to simultaneously to be carried out, and described selection branching representation is carried out in described a plurality of migration flow direction.
The embodiment of the invention also provides a kind of work flow operation system, comprising: flow definition model and process flow operation model;
Described flow definition model comprises task definition, flow definition, node and migration four class objects that preset, described process flow operation model comprises flow instance, flow process branch, task instances and flow process variable four class objects that preset, described flow definition is made of node and migration, described node comprises start node, end node and/or task node, and described task definition is subordinated to a described task node; Described task definition and flow definition are two communication centers between described flow definition model and the described process flow operation model, described task definition and task instances are to concern that 1:0...* is corresponding, described flow definition and flow instance are to concern that 1:0...* is corresponding, and the described 1:0...* of relation represents 1 and 0 corresponding relation to any one numerical value between arbitrary natural number.
Preferably, described flow process variable comprises the flow process variable of task instances level, the flow process variable of flow instance level and the flow process variable of flow process branch level.
Preferably, N flow process variable corresponding stored is in a Map data structure.
Preferably, the flow instance table in described process flow operation model and the database, task instances surface low journey branch list and flow process argument table;
Wherein, described flow instance table is used for the state and the data message of Stored Procedure example;
Described task instances table is used for the state and the data message of store tasks example;
Described flow process branch list is used for the state and the data message of Stored Procedure branch;
Described flow process argument table is used for storing the flow process variable data that the work flow operation process is used.
Compared with prior art, the present invention has the following advantages:
In the present embodiment, the work flow operation system comprises flow definition model and process flow operation model, wherein, described flow definition model comprises task definition, flow definition, node and the transition of presetting totally four class objects, described process flow operation model comprises the flow instance, flow process branch, task instances and the flow process variable that preset totally four class objects, and described task definition and flow definition are two communication centers between described flow definition model and the described process flow operation model.When carrying out work flow operation based on above-mentioned model, can be according to the flow definition visioning procedure example that presets, and the establishment execution thread corresponding with described flow instance; Trigger described execution thread circulation, obtain the flow process migration of leaving with start node and flow at described flow instance; Calling described flow process migration flows to trigger the operation of workflow.Because flow definition model and process flow operation model is simple and general, therefore also can satisfy the work flow operation demand of big data quantity and big concurrent high capacity during work flow operation, secondly, also reduced the application difficulty of exploitation, test and management, at last, satisfying under the possibility of performance requirement, Technical Architecture can be too not complicated, hsrdware requirements can be not too high yet, can satisfy the requirement of low-cost intensification again.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the structural representation of a kind of work flow operation system embodiment of the present invention;
Fig. 2 is the process flow diagram of a kind of work flow operation method embodiment 1 of the present invention;
Fig. 3 is the process flow diagram of step 203 among the method embodiment 1 of the present invention;
Fig. 4 is the process flow diagram of a kind of work flow operation method embodiment 2 of the present invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
The present invention can be used in numerous general or special purpose computingasystem environment or the configuration.For example: personal computer, server computer, handheld device or portable set, plate equipment, multicomputer system, comprise distributed computing environment of above any system or equipment or the like.
The present invention can describe in the general context of the computer executable instructions of being carried out by computing machine, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract, program, object, assembly, data structure or the like.Also can in distributed computing environment, put into practice the present invention, in these distributed computing environment, by by communication network connected teleprocessing equipment execute the task.In distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
In embodiments of the present invention, the work flow operation system has comprised flow definition model and process flow operation model; Wherein, with reference to shown in Figure 1, described flow definition model 11 comprises flow definition 111, task definition 112, the node 113 that presets and moves 114 totally two class objects, described flow definition is made of node and migration, described node has the subtype of multiple expansion, for example: start node, end node and task node or the like, but node not necessarily comprises all subtype simultaneously; Described task definition is subordinated to a described task node; Described migration can represent that the migration of work flow operation flows to; Described process flow operation model 12 comprises the flow instance 121, flow process branch 122, flow process variable 123 and the task instances 124 that preset totally four class objects, described task definition and flow definition are two communication centers between described flow definition model and the described process flow operation model, described task definition and task instances are to concern that 1:0...* is corresponding, described flow definition and flow instance are to concern that 1:0...* is corresponding, and the described 1:0...* of relation represents 1 and 0 corresponding relation to any one numerical value between arbitrary natural number.
Need to prove that described flow definition model can also comprise object models such as various types of nodes, the flow direction and incident.And have only two communication centers between flow definition model and the process flow operation model, be respectively flow definition and flow instance to concern the 1:0...* correspondence, represent a flow definition corresponding 0 or a plurality of flow instance, promptly be if a flow definition was not performed, then corresponding 0 flow instance is if be performed repeatedly then corresponding a plurality of flow instance (after for example being performed 5 times then corresponding 5 flow instances).Task definition and task instances are to concern the 1:0...* correspondence, represent a task definition corresponding 0 or a plurality of task instances, promptly be if a task definition was not performed, then corresponding 0 task instances, and if had been performed repeatedly could corresponding a plurality of task instances (after for example being performed 6 times then corresponding 6 task instances).
Introduce the emphasis process flow operation model of the embodiment of the invention below.Process flow operation model has in embodiments of the present invention specifically comprised flow instance, flow process branch, task instances and the four class kernel objects of flow process variable, is used to describe state and data during the process flow operation.Wherein, flow instance and flow process branch have realized the flow performing interface simultaneously.Described flow performing interface is the one group of operation that takes out the relevant flow performing thread of flow instance and flow process branch, the all corresponding execution thread of each flow instance or flow process branch, each thread is only managed and the processing threads internal affairs, and each flow process branch also can capablely not be contrary to and be independent of each other yet under the concurrent situation of multipaths branch like this.
In the process flow operation model, flow instance, flow process branch and task instances can be managed the flow process variable of own level respectively, like this can be so that the clear and access-controlled of the ownership of flow process variable, and the interactivity and the security that also can improve flow data.1 flow process variable respectively corresponding 1 flow instance, perhaps 0 or 1 task instances, perhaps 0 or 1 flow process branch.Because the flow process variable must be associated with flow process, 1 task instances of the flow process variable of task instances level association simultaneously, then corresponding 0 task instances of flow process variable that does not belong to the task instances level, in like manner, related 1 the branch's example of the flow process variable of flow process branch level does not belong to then corresponding 0 flow process branch of flow process variable of flow process branch stage.
In the process flow operation model, flow instance is the object that the once execution of flow definition is produced.Corresponding 1 flow definition of 1 flow instance, realization flow executive's interface, 1 flow instance and corresponding 0 or a plurality of flow process branch, perhaps 1 flow instance corresponding 0 or a plurality of task instances, perhaps corresponding 0 or a plurality of flow process variable.In embodiments of the present invention, then corresponding 0 flow process branch when flow process does not have the situation of concurrent flow process branch, at promptly corresponding 0 task instances of 1 flow instance of flow process of 0 task, and 1 corresponding 0 flow process variable of flow instance when not having the flow process variable.
In the process flow operation model, task instances is the object that the once execution of task definition is produced.1 just corresponding 1 flow definition of task instances, and 1 corresponding 1 flow instance of task instances, 1 corresponding 0 or 1 flow process variable of task instances because there is not corresponding 0 the flow process variable of the task instances of flow process variable, has corresponding 1 flow process variable of task instances of flow process variable.1 corresponding 0 or 1 flow process branch of task instances simultaneously because do not belong to then corresponding 0 flow process branch of task instances in the flow process branch, belongs to then corresponding 1 the flow process branch of task instances in the flow process branch.
In the process flow operation model, flow process branch is the object that the once execution of the concurrent branch of flow process is produced, its realization flow executive's interface.Corresponding 1 flow instance of 1 flow process branch, and 1 flow process branch correspondence 0 (when then corresponding 0 task instances during without any task instances in 1 flow process branch) or a plurality of task instances, 1 corresponding 0 or 1 flow process variable of flow process branch.Corresponding 0 the flow process variable of flow process branch that does not have the flow process variable has then corresponding 1 flow process variable of flow process branch of flow process variable.
For the flow process variable of mentioning in the embodiment of the invention, can adopt one group of key-value pair to realize, and use mapping (Map) data structure to preserve this group key-value pair, like this in data base persistenceization with when reading, carry out the operation of serializing and unserializing, just a plurality of flow process variable key-value pairs can be merged into a Map, thus a record that can correspondence database.The stored number that the implementation of this flow process variable in the embodiment of the invention can be saved database, and can improve the reading performance of database.
Need to prove, because the flow definition model is seldom changed at system's run duration, also be newly-increased operation in the new technological process in issue, therefore can total caching in internal memory, can further save the read operation of database like this, and then the overall performance of raising system operation.Because for the workflow service of using database as the state persistence, all need frequent data base read-write, belong to the intensive system of database access, so flow definition model and process flow operation model can fulfillment database optimization in Properties and liftings in the embodiment of the invention.
With reference to figure 2, show the process flow diagram of a kind of work flow operation method embodiment 1 of the present invention, present embodiment can be thought the process of start flow, can may further comprise the steps:
Step 201: according to the flow definition visioning procedure example that presets, and the establishment execution thread corresponding with described flow instance.
At first need according to flow definition visioning procedure example.Can carry out and read flow definition and visioning procedure example operation this moment, wherein reads the flow process definition of data because carry out in tangible buffer memory and the internal memory, therefore there is no actual database read extract operation.And because the flow definition data storage is in internal memory, so reading speed is very fast.The flow instance data of creating in this step also are stored in the internal memory, promptly are to there is no database to write operation when this step is carried out.
Simultaneously, also need to create the execution thread corresponding and return with described flow instance.Execution thread is that an engine is carried out object, it is held by " flow performing " interface, obtain execution thread to liking because it is the object of working control and operating process example or flow process branch, the operation of all flow instances and flow process branch all needs so just to have unified operation interface by execution thread.
Step 202: trigger described execution thread circulation, obtain the flow process migration of leaving with start node and flow at described flow instance.
Trigger execution thread and carry out circulation, behind the start flow, first node of whole flow process is a start node, and flow process begins circulation from start node and advances.In the embodiment of the invention, do not do the stop of flow state, so directly leave start node at start node.But before leaving start node, at first to obtain its migration of leaving and flow to.For the process flow operation model, each node is possibility corresponding 0 or a plurality of migration flow direction all, and it promptly is end node that 0 migration flows to general last node corresponding to flow process, because flow process finishes, so have the migration flow direction again.Generally corresponding to the situation of concurrent branch or selection branch, concurrent branch is exactly that all migrations flow to all execution simultaneously to the situation that a plurality of migrations flow to, and the situation of selecting branch is to carry out all to move one that flows to wherein.
Step 203: call described flow process migration and flow to trigger the operation of workflow.
After getting access to the described flow process migration flow direction, can select one or more migration to flow to and call, to trigger the operation of workflow according to the actual conditions of process flow operation.
With reference to shown in Figure 3, the operation of workflow specifically can may further comprise the steps in the described step 203:
Step 301: target approach node after the call flow migration flows to.
Call migration flow to finish after, promptly enter the destination node that migration flows to an other end.
Step 302: when described destination node is task node, according to task definition creation task example that presets and execution.
Behind the target approach node, carry out node at once and carry out,, will create " task instances " if node is a task node.According to node defined " task definition ", can generation 0 or a plurality of " task instances " after the execution.Need to prove that " task instances " also deposited in the internal memory at this moment, there is no database and write operation this moment.
After all steps were all finished, described method can also comprise:
Step 303: in the data one-time write database with described flow instance and task instances.
In step 303, can be with newly-generated object one-time write database, corresponding to the method for present embodiment, can write a flow instance and 0 or many task instances data.
In actual applications, for the situation of more complicated having " flow process branch " and " flow process variable ", it is also very similar that it carries out flow process.Promptly for the flow process that has " flow process branch ", can create a plurality of execution threads corresponding to flow process branch, above-mentioned execution sequential from " execution thread " beginning is also abideed by in the execution of each execution thread.For the situation of in the process of operation, having used " flow process variable ", then can create a plurality of flow process variablees corresponding to flow instance, flow process branch or task instances.After the whole operation sequential is finished, the one-time write database.
In the present embodiment, because adopted flow definition model and process flow operation model, while is based on the work flow operation pattern of described flow definition model and process flow operation model, can satisfy the work flow operation demand of big data quantity and big concurrent high capacity, secondly, flow definition model and process flow operation Model Design have simply also reduced the application difficulty of exploitation, test and management, and satisfy the requirement of low-cost intensification.
With reference to figure 4, show the process flow diagram of a kind of work flow operation method embodiment 2 of the present invention, present embodiment introduces the processing sequential of finishing the work, and after the step 302 of embodiment 1, can also may further comprise the steps:
Step 401: the ending method that calls described task instances.
At first call the ending method of described task instances, begin whole process of finishing the work.
Step 402: submit the flow process variable that is used for Stored Procedure data or business datum to.
In actual applications, can submit some flow process variablees when finishing the work to, be used to store this task and finish involved flow data or business datum.The flow process variable of submitting to this moment can be associated with the host object of self according to the level (flow instance level, flow process branch level or task instances level) of flow process variable self respectively.This moment, the flow process variable was deposited in the internal memory, and therefore not carrying out database writes operation.
Step 403: create execution thread and obtain task immigration flowing to.
In this step, the execution thread of creation task example, and get access to the task immigration flow direction.The introduction that the acquisition flow process of " start flow " migration flows in can reference example 1.
Step 404: flow to the target approach task node according to described task immigration.
Execution thread can be selected one or more migration to flow to and call according to the actual conditions of process flow operation.Leave the current task node, and call the migration flow direction that chooses and call.Call migration flow to finish after, promptly enter the destination node that migration flows to an other end.
Step 405: the present node that is updated in the correspondence of task instances described in the flow instance.
With the flow process among the embodiment 1, after all steps are all finished, can be with newly-generated object one-time write database, corresponding to this " finishing the work " time sequential routine, it can upgrade a flow instance, because variation has taken place the present node of flow instance, but, upgrade the present node operation so only do because exist.
Step 406: write new task instances data and flow process variable data.
And this moment for the task instances data in the database, then be to write 0 or many task instances data, perhaps flow process variable data.
Step 407: upgrade the flow process variable data that has existed.
And, then just upgrade the flow process variable data that has existed for the flow process variable data.
Need to prove that for the situation of more complicated having " flow process branch ", its time sequential routine is also very similar.Promptly form the flow process of a plurality of " flow process branches " for the back of finishing the work, can create a plurality of execution threads corresponding to flow process branch, the execution sequential of " start flow " time sequential routine from " execution thread " beginning also abideed by in the execution of each execution thread.
In embodiments of the present invention, because flow definition model and process flow operation model itself is succinct, so the operation of correspondence database is very intensive, all has only limited state persistence and the operation of reading.
Need to prove, for aforesaid each method embodiment, for simple description, so it all is expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not subjected to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the instructions all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
Need to prove that each embodiment in this instructions all adopts the mode of going forward one by one to describe, what each embodiment stressed all is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For system class embodiment, because it is similar substantially to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
Need to prove, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby make and comprise that process, method, article or the equipment of a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or also be included as this process, method, article or equipment intrinsic key element.Do not having under the situation of more restrictions, the key element that limits by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
More than a kind of work flow operation method provided by the present invention and work flow operation system are described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. work flow operation method, it is characterized in that, set in advance flow definition model and process flow operation model, described flow definition model comprises task definition, flow definition, node and migration four class objects that preset, described flow definition is made of node and migration, described node comprises start node, end node and/or task node, and described task definition is subordinated to a described task node; Described process flow operation model comprises flow instance, flow process branch, task instances and flow process variable four class objects that preset, and this method comprises:
According to the flow definition visioning procedure example that presets, and the establishment execution thread corresponding with described flow instance;
Trigger described execution thread circulation, obtain the flow process migration of leaving with start node and flow at described flow instance;
Calling described flow process migration flows to trigger the operation of workflow.
2. the method for claim 1 is characterized in that, described operation of calling the described flow process migration flow direction with the triggering workflow specifically comprises:
Target approach node after the call flow migration flows to;
When described destination node is task node, according to task definition creation task example that presets and execution.
3. method as claimed in claim 2 is characterized in that, after task definition creation task example that described foundation presets and the execution, also comprises:
In the data one-time write database with described flow instance and task instances.
4. method as claimed in claim 2 is characterized in that, after task definition creation task example that described foundation presets and the execution, also comprises:
Call the ending method of described task instances;
Submission is used for the flow process variable of Stored Procedure data or business datum;
Create execution thread and obtain task immigration and flow to;
Enter next goal task node according to the described task immigration flow direction.
5. method as claimed in claim 4 is characterized in that, after task definition creation task example that the goal task node that described foundation enters presets and the execution, also comprises:
Be updated in the present node of the correspondence of task instances described in the flow instance;
Write new task instances data and flow process variable data;
Upgrade the flow process variable data that has existed.
6. the method for claim 1 is characterized in that, when migration flowed to zero, described zero migration flowed to the end node corresponding to described flow instance; When migration flows to when a plurality of, described a plurality of migrations flow to corresponding to concurrent branch or select the situation of branch; The all migrations of described concurrent branching representation flow to simultaneously to be carried out, and described selection branching representation is carried out in described a plurality of migration flow direction.
7. a work flow operation system is characterized in that, comprising: flow definition model and process flow operation model;
Described flow definition model comprises task definition, flow definition, node and migration four class objects that preset, described process flow operation model comprises flow instance, flow process branch, task instances and flow process variable four class objects that preset, described flow definition is made of node and migration, described node comprises start node, end node and/or task node, and described task definition is subordinated to a described task node; Described task definition and flow definition are two communication centers between described flow definition model and the described process flow operation model, described task definition and task instances are to concern that 1:0...* is corresponding, described flow definition and flow instance are to concern that 1:0...* is corresponding, and the described 1:0...* of relation represents 1 and 0 corresponding relation to any one numerical value between arbitrary natural number.
8. system as claimed in claim 7 is characterized in that, described flow process variable comprises the flow process variable of task instances level, the flow process variable of flow instance level and the flow process variable of flow process branch level.
9. system as claimed in claim 7 is characterized in that, N flow process variable corresponding stored is in a Map data structure.
10. system as claimed in claim 7 is characterized in that, the flow instance table in described process flow operation model and the database, task instances surface low journey branch list and flow process argument table;
Wherein, described flow instance table is used for the state and the data message of Stored Procedure example;
Described task instances table is used for the state and the data message of store tasks example;
Described flow process branch list is used for the state and the data message of Stored Procedure branch;
Described flow process argument table is used for storing the flow process variable data that the work flow operation process is used.
CN201010601175XA 2010-12-22 2010-12-22 Workflow operation method and system Pending CN102043625A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010601175XA CN102043625A (en) 2010-12-22 2010-12-22 Workflow operation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010601175XA CN102043625A (en) 2010-12-22 2010-12-22 Workflow operation method and system

Publications (1)

Publication Number Publication Date
CN102043625A true CN102043625A (en) 2011-05-04

Family

ID=43909784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010601175XA Pending CN102043625A (en) 2010-12-22 2010-12-22 Workflow operation method and system

Country Status (1)

Country Link
CN (1) CN102043625A (en)

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609809A (en) * 2012-01-18 2012-07-25 西安交通大学 Method for realizing workflow cycle control by looking up table
CN102831122A (en) * 2011-06-15 2012-12-19 阿里巴巴集团控股有限公司 Data storage method, inquiring method and inquiring device for workflow table
CN103426045A (en) * 2012-05-22 2013-12-04 阿里巴巴集团控股有限公司 Take method and device of process virtual machine
CN103440553A (en) * 2013-08-28 2013-12-11 复旦大学 Workflow matching and finding system, based on provenance, facing proteomic data analysis
CN103488533A (en) * 2013-09-06 2014-01-01 乐视致新电子科技(天津)有限公司 Program executing method, program executing equipment and program executing system
CN104217309A (en) * 2014-09-25 2014-12-17 中国人民解放军信息工程大学 Method and device for managing information objects of system resources
CN104361435A (en) * 2014-10-29 2015-02-18 中国建设银行股份有限公司 Business process management method and business process management device
CN104376054A (en) * 2014-11-04 2015-02-25 东软集团股份有限公司 Persistent instance object processing method and device
CN104679488A (en) * 2013-11-29 2015-06-03 亿阳信通股份有限公司 Flow path customized development platform and method
CN104751276A (en) * 2015-03-20 2015-07-01 七朵云(贵州)科技股份有限公司 Working process managing method based on database
CN105447626A (en) * 2015-11-12 2016-03-30 东软集团股份有限公司 Workflow variable storing method, workflow variable storing device, workflow variable reading method and workflow variable reading device
CN103778519B (en) * 2014-03-04 2017-01-25 南京大学 Safe state based workflow instance transferability judging method
CN106384211A (en) * 2016-11-08 2017-02-08 国云科技股份有限公司 System for quickly constructing work flow and realizing method thereof
CN106815676A (en) * 2016-12-08 2017-06-09 国网北京市电力公司 For the method for designing and device of the O&M procedure engine of power distribution communication net
CN106897810A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 Method for processing business and system, workflow engine and system, operation system
CN107437140A (en) * 2017-07-14 2017-12-05 清华大学 A kind of dynamic moving method of operation flow and system
CN108292208A (en) * 2015-11-24 2018-07-17 微软技术许可有限责任公司 Parallel front end applications and workflow development
CN108595557A (en) * 2018-04-11 2018-09-28 浙江大学 A kind of workflow executing method for flexible process
CN110032571A (en) * 2019-04-18 2019-07-19 腾讯科技(深圳)有限公司 Business flow processing method, apparatus, storage medium and calculating equipment
CN110443587A (en) * 2019-08-12 2019-11-12 北京神舟航天软件技术有限公司 A kind of workflow schedule method
CN110674083A (en) * 2019-10-10 2020-01-10 深圳前海微众银行股份有限公司 Workflow migration method, device, equipment and computer readable storage medium
CN112068936A (en) * 2020-07-16 2020-12-11 石化盈科信息技术有限责任公司 Workflow management platform and workflow management system
CN112087326A (en) * 2020-08-24 2020-12-15 烽火通信科技股份有限公司 Multi-instance dynamic deployment transceiving method and system
CN114048196A (en) * 2022-01-13 2022-02-15 山东中创软件商用中间件股份有限公司 Workflow system data processing method, device, equipment and storage medium
CN112068936B (en) * 2020-07-16 2024-05-31 石化盈科信息技术有限责任公司 Workflow management platform and workflow management system

Cited By (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831122A (en) * 2011-06-15 2012-12-19 阿里巴巴集团控股有限公司 Data storage method, inquiring method and inquiring device for workflow table
CN102831122B (en) * 2011-06-15 2015-07-15 阿里巴巴集团控股有限公司 Data storage method, inquiring method and inquiring device for workflow table
CN102609809B (en) * 2012-01-18 2015-07-01 西安交通大学 Method for realizing workflow cycle control by looking up table
CN102609809A (en) * 2012-01-18 2012-07-25 西安交通大学 Method for realizing workflow cycle control by looking up table
CN103426045A (en) * 2012-05-22 2013-12-04 阿里巴巴集团控股有限公司 Take method and device of process virtual machine
CN103426045B (en) * 2012-05-22 2016-06-29 阿里巴巴集团控股有限公司 A kind of circulation method and apparatus of process virtual machine
CN103440553A (en) * 2013-08-28 2013-12-11 复旦大学 Workflow matching and finding system, based on provenance, facing proteomic data analysis
CN103488533A (en) * 2013-09-06 2014-01-01 乐视致新电子科技(天津)有限公司 Program executing method, program executing equipment and program executing system
CN104679488A (en) * 2013-11-29 2015-06-03 亿阳信通股份有限公司 Flow path customized development platform and method
CN104679488B (en) * 2013-11-29 2018-12-21 亿阳信通股份有限公司 A kind of flow custom development platform and flow custom development approach
CN103778519B (en) * 2014-03-04 2017-01-25 南京大学 Safe state based workflow instance transferability judging method
CN104217309A (en) * 2014-09-25 2014-12-17 中国人民解放军信息工程大学 Method and device for managing information objects of system resources
CN104361435A (en) * 2014-10-29 2015-02-18 中国建设银行股份有限公司 Business process management method and business process management device
CN104376054A (en) * 2014-11-04 2015-02-25 东软集团股份有限公司 Persistent instance object processing method and device
CN104376054B (en) * 2014-11-04 2017-12-29 东软集团股份有限公司 A kind of processing method and processing device of persisted instances object
CN104751276A (en) * 2015-03-20 2015-07-01 七朵云(贵州)科技股份有限公司 Working process managing method based on database
CN105447626A (en) * 2015-11-12 2016-03-30 东软集团股份有限公司 Workflow variable storing method, workflow variable storing device, workflow variable reading method and workflow variable reading device
CN108292208A (en) * 2015-11-24 2018-07-17 微软技术许可有限责任公司 Parallel front end applications and workflow development
CN106897810A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 Method for processing business and system, workflow engine and system, operation system
CN106897810B (en) * 2015-12-17 2021-07-13 北京奇虎科技有限公司 Business processing method and system, workflow engine and system and business system
CN106384211A (en) * 2016-11-08 2017-02-08 国云科技股份有限公司 System for quickly constructing work flow and realizing method thereof
CN106815676A (en) * 2016-12-08 2017-06-09 国网北京市电力公司 For the method for designing and device of the O&M procedure engine of power distribution communication net
CN107437140A (en) * 2017-07-14 2017-12-05 清华大学 A kind of dynamic moving method of operation flow and system
CN108595557A (en) * 2018-04-11 2018-09-28 浙江大学 A kind of workflow executing method for flexible process
CN110032571A (en) * 2019-04-18 2019-07-19 腾讯科技(深圳)有限公司 Business flow processing method, apparatus, storage medium and calculating equipment
CN110032571B (en) * 2019-04-18 2023-04-18 腾讯科技(深圳)有限公司 Business process processing method and device, storage medium and computing equipment
CN110443587A (en) * 2019-08-12 2019-11-12 北京神舟航天软件技术有限公司 A kind of workflow schedule method
CN110674083A (en) * 2019-10-10 2020-01-10 深圳前海微众银行股份有限公司 Workflow migration method, device, equipment and computer readable storage medium
CN110674083B (en) * 2019-10-10 2023-11-28 深圳前海微众银行股份有限公司 Workflow migration method, device, equipment and computer readable storage medium
CN112068936A (en) * 2020-07-16 2020-12-11 石化盈科信息技术有限责任公司 Workflow management platform and workflow management system
CN112068936B (en) * 2020-07-16 2024-05-31 石化盈科信息技术有限责任公司 Workflow management platform and workflow management system
CN112087326A (en) * 2020-08-24 2020-12-15 烽火通信科技股份有限公司 Multi-instance dynamic deployment transceiving method and system
CN114048196A (en) * 2022-01-13 2022-02-15 山东中创软件商用中间件股份有限公司 Workflow system data processing method, device, equipment and storage medium
CN114048196B (en) * 2022-01-13 2022-05-13 山东中创软件商用中间件股份有限公司 Workflow system data processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102043625A (en) Workflow operation method and system
CN107391653B (en) Distributed NewSQL database system and picture data storage method
CN101005486B (en) Resource access control method and system
CN110008018B (en) Batch task processing method, device and equipment
CN103080903A (en) Scheduler, multi-core processor system, and scheduling method
CN108090153A (en) A kind of searching method, device, electronic equipment and storage medium
CN106569896A (en) Data distribution and parallel processing method and system
CN113821332B (en) Method, device, equipment and medium for optimizing efficiency of automatic machine learning system
CN109831520A (en) A kind of timed task dispatching method and relevant apparatus
CN102855173B (en) A kind of software performance testing method and device
CN111813517B (en) Task queue allocation method and device, computer equipment and medium
CN109614270A (en) Data read-write method, device, equipment and storage medium based on Hbase
CN103064955A (en) Inquiry planning method and device
CN100531070C (en) Network resource scheduling simulation system
Takeda et al. Sensory uncertainty field for mobile robot navigation
CN101727624A (en) Method for showing task list and system thereof
CN104182295A (en) Data backup method and data backup device
CN103365740A (en) Data cold standby method and device
CN102024051A (en) Data updating method for distributed memory database
US8473954B2 (en) Executing operations via asynchronous programming model
CN103810258A (en) Data aggregation scheduling method based on data warehouse
CN103809947A (en) Automatic release method and system for development requirement
CN113448967B (en) Method and device for accelerating database operation
CN110348669A (en) Intelligent rules generation method, device, computer equipment and storage medium
Wang et al. OPTAS: Optimal data placement in MapReduce

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110504