CN102929602A - System for unified treatment of processes based on process engine - Google Patents

System for unified treatment of processes based on process engine Download PDF

Info

Publication number
CN102929602A
CN102929602A CN2012103714057A CN201210371405A CN102929602A CN 102929602 A CN102929602 A CN 102929602A CN 2012103714057 A CN2012103714057 A CN 2012103714057A CN 201210371405 A CN201210371405 A CN 201210371405A CN 102929602 A CN102929602 A CN 102929602A
Authority
CN
China
Prior art keywords
task
module
engine
flow
action
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
CN2012103714057A
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.)
Founder International Co Ltd
Original Assignee
Founder International Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Founder International Co Ltd filed Critical Founder International Co Ltd
Priority to CN2012103714057A priority Critical patent/CN102929602A/en
Publication of CN102929602A publication Critical patent/CN102929602A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a system for the unified treatment of processes based on a process engine. The system is characterized in that a unified process treatment module is arranged outside a kernel of the process engine, and comprises a task acquiring connector for acquiring the next action of a task, and a task configuration connector for configuring the task action; an interaction module for providing an interactive interface for a user is arranged on the outer side of the unified process treatment module; the task acquiring connector is in communication with the kernel of the process engine through calling a task action warehouse; and the task configuration connector is in communication with the kernel of the process engine through calling an action actuator module. The system is completely separated from the kernel of the engine to be convenient for the user to customize the own treatment strategy, change the treatment strategy defaulted by the system, and facilitate the showing operation of a foreground user interface.

Description

The process-based engine carries out the unified system that processes of flow process
Technical field
The invention belongs to flow engine workflow technology field, be specifically related to a kind of process-based engine and carry out the unified system that processes of flow process.
Background technology
In existing flow engine product, all provide a lot for the treatment of scheme strategies for example (return, transmit, endorse, turn do, recover, redirect etc..) each manufacturer of these logics can go to realize him with own standard, and processing logic is encapsulated in the engine, make the user be difficult to change the logic of these processing, and the strategy that manufacturer provides for the flow process product often the not enough secondary development that needs could realize complicated business function.At this moment just need processing policy framework a kind of and that flow engine is mutual to encapsulate this complexity and variability.
Flow process product on present society often needs to make the customized of a large amount of codes for user and flow process interactive interface when integrating with operation system, the agreement that comes to provide in the treatment scheme, disagree with, return, endorse, the order such as forwarding.Do not have a kind of unified processing framework with the interactive command of flow process, cause user's source code that in the time of oneself processing policy (returning as self-defined), often needs to be changed to flow engine of looking on the bright side of things just can finish.
When existing flow process product is worked as requiring of ungratified user, the source code that often needs to rewrite engine is finished some complicated business processing, some consider that the engine of this problem often also only can provide simple expansion interface, the user often will write the flow direction that a large amount of codes removes to control engine for different processing policies, all do not have a kind of engine to provide a kind of policy framework for user and convenient customized own strategy, do not need many engines to produce fully and change.
Existing flow process product only provides the strategy of acquiescence engine commonly used, for flow engine, only provide strategy commonly used inadequate often, the control of flow process is very complex, in case the user is difficult to change the strategy that engine provides when the default policy that provides is ungratified, and these default policies all are to write in the kernel of engine, and the user can only remove to change corresponding source code and finish processing.
Existing flow process product provides the strategy of acquiescence, and the circulation method of the engine of having opened to the outside world, although the user's strategy that can write oneself is controlled engine like this, but the own definition strategy of these users does not have the configuration file of unified uniform format, and the customized of front UI needs to judge that various logic comes processing policy.Do not have unified flow process policing action mouth, make code be difficult to safeguard readable very poor.
A lot of engines write on the complexity that engine internal has strengthened engine greatly with task processing policy logic, because strategy is with this professional often can changing of changing. like this engine kernel has been produced labile factor.The present invention therefore.
Summary of the invention
The object of the invention is to provide a kind of process-based engine to carry out the unified system that processes of flow process, solved in the prior art flow engine with task processing policy logic write on engine internal cause the engine complexity large, safeguard the readable problem such as poor.
In order to solve these problems of the prior art, technical scheme provided by the invention is:
A kind of process-based engine carries out the unified system that processes of flow process, it is characterized in that described system arranges the rational united process module outside the flow engine kernel, described rational united process module comprises the task interface of obtaining of next step action of the task of obtaining, the task configuration interface that task action is configured, described rational united process module arranged outside provides the interactive module of User Interface, the described task interface of obtaining is carried out communication by calling task action warehouse and flow engine kernel, and described task configuration interface carries out communication by call action executor module and flow engine kernel.
Preferably, described interactive module comprises agrees module, forwarding module and redirect module, and when the user triggered corresponding module, interactive module was passed through the calling task configuration interface to flow engine kernel pass-along message.
Preferably, described actuator module comprises the action executing submodule that action parameter configuration submodule and the action parameter call flow engine core A PI that configures according to action parameter configuration submodule finish the work and operate.
The present invention mainly is used in flow engine and user's the operating interactive, the invention provides the processing policy framework that is independent of the engine kernel, has solved the most complicatedly in the flow process to return, redirect, endorse, turn the problem that strategy separates with the engine core such as do.The invention provides unified policy framework, be separated in engine core outside fully, the change of strategy can not produce change to the engine kernel code, better accomplish the microflow kernel, the processing of strategy is separated to the engine periphery provides the ways of presentation of unified uniform format will greatly reduce the complexity of engine, and stability is provided.
The invention provides a cover place policy framework, and provide strategy commonly used to realize at framework, adopted this cover framework, the logic of processing policy is directly separated from the core of flow engine, accomplished that the user can arbitrarily expand, the engine kernel is more healthy and stronger stable, and the processing policy framework has also been simplified the accessing operation of foreground UI user interactions layer to flow engine greatly simultaneously.
The present invention needs to use in the flow engine product, can not independently exist.Independently the flow engine product all is to need to integrate and could come for the user with existing operation system, understands in the process of integration the flow engine product to be made some are customized, and this just requires flow engine that good extendability can be provided.
A lot of designers generally are designed to guiding theory with " micro-kernel " in the design cycle engine.But often in the later stage, along with the complexity of using increases, specialization of client's business demand, cause final flow engine, thereby finally departed from the aim of micro-kernel, process framework so the invention provides the strategy that is independent of the engine kernel, reduced the engine complexity and made things convenient for simultaneously the personnel's that open tactful customized and foreground UI to represent.
With respect to scheme of the prior art, advantage of the present invention is:
The invention provides the processing policy framework that separates with the engine kernel fully, customized own processing policy easily changes the processing policy of system default, makes things convenient for foreground UI to represent operation.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples:
Fig. 1 the present invention is based on the Organization Chart that flow engine carries out the unified system that processes of flow process;
Fig. 2 the present invention is based on the functional flow diagram that flow engine carries out the unified system that processes of flow process.
Embodiment
Below in conjunction with specific embodiment such scheme is described further.Should be understood that these embodiment are not limited to limit the scope of the invention for explanation the present invention.The implementation condition that adopts among the embodiment can be done further adjustment according to the condition of concrete producer, and not marked implementation condition is generally the condition in the normal experiment.
Embodiment
As depicted in figs. 1 and 2, this process-based engine carries out the unified system that processes of flow process, described system arranges the rational united process module outside the flow engine kernel, described rational united process module comprises the task interface of obtaining of next step action of the task of obtaining, the task configuration interface that task action is configured, described rational united process module arranged outside provides the interactive module of User Interface, the described task interface of obtaining is carried out communication by calling task action warehouse and flow engine kernel, and described task configuration interface carries out communication by call action executor module and flow engine kernel.
Configuration process strategy in the processing policy framework, framework can be given tacit consent to provides a cover to realize good strategy, and the user can change the strategy of acquiescence can also set up the strategy of oneself.
Each strategy is divided into:
Numbering: rollBack
Title: return
Command type: toDoTasks
Policing parameter: com.founder.fix.fixflow.expand.command.RollBackTaskComma nd
Strategy execution device: com.founder.fix.fixflow.expand.cmd.RollBackTaskCmd
Whether show: true
The process of task processing policy is:
1. in tactful warehouse, define first a processing policy
2. fill in parameter class, the actuator class of strategy, defined tactful execution content in the actuator class.
The task of flow nodes process select definition processing policy for example: return, agreement, redirect.
4. after the generation task, the task of opening gets access to the processing policy of current task from processing policy framework API.
5. each strategy has the parameter class of oneself, and foreground UI layer for example is responsible for collecting the UI parameter: return to whose rollbackId
6. the foreground user clicks processing policy and calls the processing policy framework, makes up processing parameter, the implementation strategy actuator.
7. in the strategy execution device, change the flow process trend and finish the strategy business.
Actuator of a corresponding policing parameter of strategy.The parameter class is responsible for collection parameter, and actuator is responsible for the call flow core A PI operation of finishing the work.
Wherein, the setting of rational united process module to obtain task interface api code sample as follows:
Figure BDA00002206222100041
Figure BDA00002206222100051
Have following combination to use in the time of query task:
Figure BDA00002206222100052
Can flow engine after inquiry combines being spliced into the sql statement according to set query argument inquires about to database.
Wherein, the task configuration interface of rational united process module setting comprises registration, renewal, the deletion of task, and the api code sample is as follows:
Figure BDA00002206222100062
Figure BDA00002206222100071
Figure BDA00002206222100081
Figure BDA00002206222100091
Figure BDA00002206222100101
Figure BDA00002206222100111
The task order configuration is as follows:
Figure BDA00002206222100112
Figure BDA00002206222100121
Figure BDA00002206222100131
Unified task is processed framework UI and charg`e d'affaires's matters partly is provided, shares task, has done task, flow trace.Act on behalf matters the task of monopolizing that shows the user is provided, the link of user by list on the click task jumps to the forms pages of appointment and carries out flow processing.Shared task provides the shared task that shows the user, task be assigned to a plurality of people, role, department etc. everybody share task, after shared task need to be got, enter and act on behalf matters and just can operate.Done every task that task shows that the user had processed, the clicks table singular link can be checked the list that the user processed at that time.Flow trace is used for showing the flow instance that I participated in, so long as the flow process that I participated in can both here be seen.
The reciprocal process code sample of rational united process module and kernel is as follows:
Figure BDA00002206222100142
Figure BDA00002206222100151
Figure BDA00002206222100161
More than be the setting up procedure of returning, when return be performed after, the flow process kernel can finish first current this task, then the flow process token is sent on the node that need to return to, token begins to reenter returns node, the distribution that begins to execute the task.
Agree strategy go out setting up procedure with return consistent just do not need to arrange again return node serial number, engine was finished current task after approve button was clicked, and sent the command driven token to token and leave present node along the lines that arrange and continue downward.
The process of collocation strategy parameter is as follows, the strategy of engine all can user oneself configuration, the user can add oneself a New Policy (as: forwarding) in the configuration file of engine.
Provisioning Policy numbering: transfer;
Policy name: transmit;
Command type: toDoTasks (strategy that can only in acting on behalf matters, show);
Whether enable: true;
Parameter object: inherit the class in AbstractCustomExpandTaskCommand;
Actuator: inherit the class in AbstractExpandTaskCmd.So just configured a new strategy.New strategy can act on the task.
Each strategy can have the actuator of oneself.They inherit in AbstractExpandTaskCmd.All be a kind of operation to task in this actuator, the benefit of using actuator is exactly that the operation to task is broken away from the engine kernel, and the user also can oneself add new strategy.Following is the content of agreeing the strategy execution device: 1, obtain task to be processed; 2, obtain the flow instance at task to be processed place; 3, find current task object in the flow instance; The Method Of Accomplishment of 4, executing the task; 5, sending the order flow process to token circulates downwards; 6, persistence flow instance.
Typical code sample is as follows:
Figure BDA00002206222100171
Figure BDA00002206222100181
Figure BDA00002206222100191
Above-mentioned example only is explanation technical conceive of the present invention and characteristics, and its purpose is to allow the people who is familiar with technique can understand content of the present invention and according to this enforcement, can not limit protection scope of the present invention with this.All equivalent transformations that Spirit Essence is done according to the present invention or modification all should be encompassed within protection scope of the present invention.

Claims (3)

1. a process-based engine carries out the unified system that processes of flow process, it is characterized in that described system arranges the rational united process module outside the flow engine kernel, described rational united process module comprises the task interface of obtaining of next step action of the task of obtaining, the task configuration interface that task action is configured, described rational united process module arranged outside provides the interactive module of User Interface, the described task interface of obtaining is carried out communication by calling task action warehouse and flow engine kernel, and described task configuration interface carries out communication by call action executor module and flow engine kernel.
2. process-based engine according to claim 1 carries out the unified system that processes of flow process, it is characterized in that described interactive module comprises agreement module, forwarding module and redirect module, when the user triggered corresponding module, interactive module was passed through the calling task configuration interface to flow engine kernel pass-along message.
3. process-based engine according to claim 1 carries out the system that the flow process unification is processed, and it is characterized in that described actuator module comprises the action executing submodule that action parameter configuration submodule and the action parameter call flow engine core A PI that configures according to action parameter configuration submodule finish the work and operate.
CN2012103714057A 2012-09-28 2012-09-28 System for unified treatment of processes based on process engine Pending CN102929602A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012103714057A CN102929602A (en) 2012-09-28 2012-09-28 System for unified treatment of processes based on process engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012103714057A CN102929602A (en) 2012-09-28 2012-09-28 System for unified treatment of processes based on process engine

Publications (1)

Publication Number Publication Date
CN102929602A true CN102929602A (en) 2013-02-13

Family

ID=47644415

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012103714057A Pending CN102929602A (en) 2012-09-28 2012-09-28 System for unified treatment of processes based on process engine

Country Status (1)

Country Link
CN (1) CN102929602A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106557359A (en) * 2015-09-30 2017-04-05 腾讯科技(深圳)有限公司 A kind of method for scheduling task and system
CN106844212A (en) * 2017-01-22 2017-06-13 东软集团股份有限公司 The integrated approach and device of defect management platform

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101246421A (en) * 2008-02-22 2008-08-20 山东中创软件工程股份有限公司 Universal frame work based on workflow engine
US7788468B1 (en) * 2005-12-15 2010-08-31 Nvidia Corporation Synchronization of threads in a cooperative thread array

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7788468B1 (en) * 2005-12-15 2010-08-31 Nvidia Corporation Synchronization of threads in a cooperative thread array
CN101246421A (en) * 2008-02-22 2008-08-20 山东中创软件工程股份有限公司 Universal frame work based on workflow engine

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
钟黎明: "基于微内核的工作流引擎技术", 《计算机与现代化》, 31 December 2009 (2009-12-31) *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106557359A (en) * 2015-09-30 2017-04-05 腾讯科技(深圳)有限公司 A kind of method for scheduling task and system
CN106557359B (en) * 2015-09-30 2021-02-05 腾讯科技(深圳)有限公司 Task scheduling method and system
CN106844212A (en) * 2017-01-22 2017-06-13 东软集团股份有限公司 The integrated approach and device of defect management platform

Similar Documents

Publication Publication Date Title
US20220075848A1 (en) Systems and methods for domain-driven design and execution of modular and dynamic services, applications and processes
CN106528129B (en) A kind of Web application interface generation system and method
Maróti et al. Next generation (meta) modeling: web-and cloud-based collaborative tool infrastructure.
CN106230987B (en) A kind of information integrated system and method based on electric power PaaS cloud platform
Cai et al. IoT-based configurable information service platform for product lifecycle management
CN101777004B (en) Method and system for realizing BPEL sub-process multiplexing based on template in service-oriented environment
CN104216912A (en) Method and device for achieving non-intrusive service form workflow
CN105278960A (en) Process automation method and system in remote sensing application
CN104618433A (en) ECA (Event-Condition-Action) rule based service combination method
CN102156642A (en) Implementation method and system for universal business process management interfaces
WO2019062673A1 (en) Information-based management implementation method and system based on input and output semantization
CN102681852A (en) Agile development method based on JavaEE
CN114548915A (en) Method and system for realizing business cross-organization circulation based on process engine
O'Brien et al. SEEK: Accomplishing enterprise information integration across heterogeneous sources.
US10505873B2 (en) Streamlining end-to-end flow of business-to-business integration processes
CN102929602A (en) System for unified treatment of processes based on process engine
CN103064688B (en) The method and system of workflow universal service
Graube et al. Linked data as enabler for mobile applications for complex tasks in industrial settings
CN102594851A (en) Method for dynamically building marine application service chain
CN102073505A (en) Service composition-oriented declarative transaction integration method and system
KR101216916B1 (en) Method and system for converting fbn based plc code into a general program code
CN101458628A (en) Program edition management method
Lahoud et al. OCEAN: A semantic web service to extract knowledge in E-Groupwares
Molesini et al. Environment in agent-oriented software engineering methodologies
Liu et al. Architecture of information system combining SOA and BPM

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: 20130213