CN101216770A - Workflow engine - Google Patents

Workflow engine Download PDF

Info

Publication number
CN101216770A
CN101216770A CN 200810070437 CN200810070437A CN101216770A CN 101216770 A CN101216770 A CN 101216770A CN 200810070437 CN200810070437 CN 200810070437 CN 200810070437 A CN200810070437 A CN 200810070437A CN 101216770 A CN101216770 A CN 101216770A
Authority
CN
China
Prior art keywords
workflow
engine
script
service logic
comprises
Prior art date
Application number
CN 200810070437
Other languages
Chinese (zh)
Inventor
龚少晖
Original Assignee
厦门三五互联科技股份有限公司
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 厦门三五互联科技股份有限公司 filed Critical 厦门三五互联科技股份有限公司
Priority to CN 200810070437 priority Critical patent/CN101216770A/en
Publication of CN101216770A publication Critical patent/CN101216770A/en

Links

Abstract

The invention discloses a workflow engine, which comprises an input interface and a main engine; the main engine comprises a workflow rule engine, a workflow context manager, a Java class library collection and a workflow example state keeping module. The invention can resolve the shortcomings that the current workflow engine has the inadequate functions and poor expansibility and is difficult to manage, can provide an efficient, flexible workflow server fully decoupled with the service, and can reduce the developing difficulties and deploying cost application system workflow modules and integrates the workflow resources between the application systems; the proposal provides a configurable service logic calculation controller with the concrete service logic charged by Script to decouple the workflow engine from the service logic completely; the Script can be directly edited by each holder and even an end-user, thereby, the traditional workflow limited processing capacity and poor expansibility problems are solved.

Description

一种工作流引擎技术领域本发明涉及计算机领域,尤指一种工作流引擎。 Workflow Engine Technical Field The present invention relates to the field of computers, particularly to a workflow engine. 技术背景传统工作流解决方案通常为嵌入应用系统的方案,如果企业有多套应用系统,则必须对各应用系统都嵌入一套工作流引擎,这种方式开发成本高,时间长,难度大,开发完成之后整合困难,数据维护或统计成本高。 BACKGROUND traditional workflow solutions are often embedded solutions for the application of the system, if multiple sets of enterprise applications, you must have a set of embedded systems for each application workflow engine, high development costs in this way, for a long time, difficult, after development is complete integration difficult, statistical data or high maintenance costs. 同时传统工作流一般只提供固有的几种处理模式,难以满足实际应用环境多样复杂的处理需求。 At the same time traditional workflow generally provide only several inherent processing mode, it is difficult to meet the diverse and complex processing requirements of the application environment. 发明内容本发明的目的是提供一种工作流引擎,该引擎提供一个供用户自主定义工作流处理方式的途径,解决了传统工作流处理方式固定化,维护和扩展困难的问题。 Object of the present invention is to provide a workflow engine that provides a way for a user to customize the way defined workflow processing to solve the traditional workflow immobilization treatment, maintenance and expansion difficult. 为达成上述目的, 一种工作流引擎,包括输入4矣口和主引擎,该主引擎由工作流规则引擎、工作流上下文管理器、Java类库集合和工作流实例状态持久化模块组成。 To achieve the above object, a workflow engine, comprising a carry input port 4 and the main engine, of the main engine by the workflow rules engine, workflow context manager, Java class libraries and collections workflow instance state persistence module. 所述的工作流规则引擎由Java基础运行库和业务逻辑运算控制器组成。 The rules engine workflow runtime by a Java based business logic and arithmetic controller. 采用上述方案后,解决了目前工作流引擎功能不足,难于管理,扩展性不佳等缺点,提供一个高效、灵活且与业务完全解耦的工作流服务器,降低各应用系统工作流模块的开发难度、布署成本,整合各应用系统之间的工作流资源。 After the foregoing solution, to solve the current shortage workflow engine function, difficult to manage, scalable poor and other shortcomings, providing an efficient, flexible and completely decoupled and business workflow server, reducing the difficulty of developing application systems Workflow module , deployment costs, consolidate resources between the various workflow applications. 本方案提供了一个可配置的业务逻辑运算控制器,由Script负责具体的业务逻辑,使工作流引擎与业务逻辑完全解耦,Script可由各持有者甚至最终用户直接编辑,从页解决了传统工作流处理能力有限,扩展性不佳的问题。 This embodiment provides a service logic controller operation configurable Script responsible for the specific business logic, so logic and business workflow engine completely decoupled, each holder Script can edit or even the end user directly, from the pages to solve the traditional limited workflow processing capacity, poor scalability issues. 本方案可独立布署,提供完整的后台管理和数据维护及统计功能, 通过配置即可为其它应用系统提供不同处理模式的工作流支持,各应用系统只需进行少量的界面开发即可投入使用。 The program can be deployed independently, providing complete back office management and maintenance of data and statistics, can be configured to provide different processing mode workflow support for other applications, each application system for low-interface development can be put into use . 附图说明图1为本发明工作流引擎结构示意图。 1 shows a schematic structure of the present invention, the workflow engine. 具体实施方式如图l所示,工作流引擎可独立布置为工作流服务器或嵌入应用系统,无论何种方式均为工作流持有者提供服务,-现方式不同,接口层提供Webservice、Https、Http、API、RMI等常用现实,主要采用Webservice、 Https、 HUp等方式解决服务器^^莫式下的访问,以API、 RMI等方式解决模块嵌入模式下的访问,接口层完全接口化,高级用户可自行开发调用接口并加入^^口层,以实现用户自主的调用方式。 DETAILED DESCRIPTION As shown in FIG. L, the workflow engine may be independently arranged as workflow server or embedded applications, regardless of the way the workflow are holders of service, - in different ways now, the interface layer provides Webservice, Https, Http, API, RMI and other common reality, mainly Webservice, Https, HUp access server, etc. to solve the Mohs ^^ to API, RMI, etc. solved in the access module embedded mode, the interface of the interface layer is completely advanced users may be developed and added to the call interface port ^^ layer to achieve the user is called autonomous. 工作流引擎提供工作流上下文管理器,处理工作流上下文,解决工作流属性描述复杂,处理难的问题。 Workflow workflow engine provides a context manager, workflow processing context, to address complex workflow property description, deal with the problem difficult. 具体方案为:工作流持有者在引擎上注册工作流时,以XML方式提供工作流上下文,管理器接收上下文并持久化,同时在系统内生成上下文对象并緩存,当持有者在处理该工作流各环节时,管理器为规则引擎提供该工作流的一个上下文实例,协助处理工作流,在完成工作流的处理后将相应结果反4:责给持有者,同时更新工作流上下文并将处理结果持久化。 Specific programs: a workflow holder registered in the workflow engine, in a manner to provide XML workflow context, context manager receives and persistence, while generating a context object in the system and buffer, when the holder of the processing when each link workflow management provides a context for the rule engine instance of the workflow, the workflow process to assist in the workflow to complete the processing corresponding results after 4 trans: responsibility to the holder, while updating the context and workflow the results will persist. 工作流引擎提供一个支持Script的规则引擎,该引擎提供一个供用户自主定义工作流处理方式的途径,解决了传统工作流处理方式固定化,维护和扩展困难的问题。 Workflow engine provides a support Script rules engine, which provides a way for users to self-defined workflow processing methods to solve the traditional workflow approach immobilized, maintenance and expansion difficult. 规则引擎在按受上下文管理器提供的工作流上下文实例后,爿Mv上下文中获得工作流实例对应的处理Script, Script可由用户自行编写,规则引擎负责解析并执行Script,并根据执行结果智能决定工作流的流向。 Rule engine after pressing by context instances the workflow context manager provides, valves Mv context obtaining processing Script workflow instance corresponding, Script are user-written, the rule engine is responsible for parsing and execution Script, and decided to work in accordance with the execution result smart the flow stream. 规则引擎提供了一个Script环境扩展方案,规则引擎封装了常用的Java基础运行库,为Script环境提供Java基础类支持,Script可调用引擎的各种类型Java基础类;规则引擎使用XML配置Script支持类,从而提供了可由用户自己开发支持类并在引擎中使用的途径;该方案通过强大的Java解决Script功能不完善,效率较低的问题,通过灵活的XML配置解决了扩展性的问题。 Script rules engine provides an environment expansion program, the rules engine encapsulates common base Java runtime, Java Foundation Classes provide support for environmental Script, Java Script can call the base class for various types of engines; use XML rules engine configuration Script support classes , which provides a way to develop their own user-class support and use in engine; the solution to Script function is not perfect, low efficiency issues through powerful Java, through flexible XML configuration solves the problem of scalability.

Claims (2)

1、一种工作流引擎,其特征在于:包括输入接口和主引擎,该主引擎由工作流规则引擎、工作流上下文管理器、Java类库集合和工作流实例状态持久化模块组成。 A workflow engine, characterized by: an input interface and comprising a main engine, of the main engine by the workflow rules engine, workflow context manager, Java class libraries and collections workflow instance state persistence module.
2、 如权利要求1所述的一种工作流引擎,其特征在于:所述的工作流规则引擎由Java基础运行库和业务逻辑运算控制器组成。 2, as claimed in one of the working of the engine flows in claim 1, wherein: the workflow rules engine basis by a Java runtime operation and business logic controller.
CN 200810070437 2008-01-10 2008-01-10 Workflow engine CN101216770A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810070437 CN101216770A (en) 2008-01-10 2008-01-10 Workflow engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810070437 CN101216770A (en) 2008-01-10 2008-01-10 Workflow engine

Publications (1)

Publication Number Publication Date
CN101216770A true CN101216770A (en) 2008-07-09

Family

ID=39623209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810070437 CN101216770A (en) 2008-01-10 2008-01-10 Workflow engine

Country Status (1)

Country Link
CN (1) CN101216770A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808051A (en) * 2010-03-15 2010-08-18 天津威奕达科技有限责任公司 Application integration gateway and control method thereof
CN101819529A (en) * 2010-02-24 2010-09-01 上海引跑信息科技有限公司 System and method for realizing visual development of workflow task interface
CN102164170A (en) * 2010-02-22 2011-08-24 阿瓦雅公司 Contextual correlation engine
CN103064658A (en) * 2011-10-21 2013-04-24 镇江金软计算机科技有限责任公司 Work flow (WF) engine applied in purchase-sale-stock system
CN105183441A (en) * 2015-05-22 2015-12-23 京华信息科技股份有限公司 Workflow management system realized by microkernel architecture
CN105740324A (en) * 2016-01-21 2016-07-06 中科院成都信息技术股份有限公司 Cross-platform and efficient visual workflow engine

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102164170A (en) * 2010-02-22 2011-08-24 阿瓦雅公司 Contextual correlation engine
CN102164170B (en) * 2010-02-22 2015-09-09 阿瓦雅公司 Situational correlation engine
CN101819529A (en) * 2010-02-24 2010-09-01 上海引跑信息科技有限公司 System and method for realizing visual development of workflow task interface
CN101808051A (en) * 2010-03-15 2010-08-18 天津威奕达科技有限责任公司 Application integration gateway and control method thereof
CN101808051B (en) 2010-03-15 2013-06-12 天津威奕达科技有限责任公司 Application integration gateway and control method thereof
CN103064658A (en) * 2011-10-21 2013-04-24 镇江金软计算机科技有限责任公司 Work flow (WF) engine applied in purchase-sale-stock system
CN105183441A (en) * 2015-05-22 2015-12-23 京华信息科技股份有限公司 Workflow management system realized by microkernel architecture
CN105740324A (en) * 2016-01-21 2016-07-06 中科院成都信息技术股份有限公司 Cross-platform and efficient visual workflow engine

Similar Documents

Publication Publication Date Title
JP4889471B2 (en) Method and system for reducing buffer-to-buffer data transfer between separate processing components
US7546606B2 (en) System and method using a connector architecture for application integration
Fiege et al. Engineering event-based systems with scopes
Grimm et al. System support for pervasive applications
Yu et al. A novel architecture for realizing grid workflow using tuple spaces
Talia The open grid services architecture: Where the grid meets the web
Deelman et al. Workflows and e-Science: An overview of workflow system features and capabilities
Blair et al. The design and implementation of Open ORB 2
Lea et al. COOL: System support for distributed programming
US20040225995A1 (en) Reusable software controls
Isard et al. Distributed data-parallel computing using a high-level programming language
Needham et al. The Cambridge distributed computing system
US7975270B2 (en) Facilitating allocation of resources in a heterogeneous computing environment
Eisenhauer et al. Event services for high performance computing
Zhang et al. Service Identification and Packaging in Service Oriented Reengineering.
Zhao et al. Opportunities and challenges in running scientific workflows on the cloud
Oreizy et al. Runtime software adaptation: framework, approaches, and styles
Balter et al. Architecturing and configuring distributed application with Olan
US20100257538A1 (en) Parallel programming and execution systems and techniques
KR20080087801A (en) Dynamically repositioning workflow by end users
EP1754148A2 (en) Architecture, apparatus and method for device team recruitment and content renditioning for universal device interoperability platform
Alpdemir et al. Service-based distributed querying on the grid
Zajac et al. Towards a grid management system for HLA-based interactive simulations
JP2005259138A (en) Integration architecture for non-integrated tools
US20100005472A1 (en) Task decomposition with throttled message processing in a heterogeneous environment

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C02 Deemed withdrawal of patent application after publication (patent law 2001)