摘要
随着企业之间竞争的日益加剧,工作流技术作为支持现代企业经营管理信息化、过程自动化的一项关键性技术,已成为当前的重要研究方向之一。作为工作流核心—工作流引擎的研究也十分火热,从2004年9月开源Shark工作流引擎推出1.0版本以来,吸引了众多的项目开发和研究人员。目前基于Shark的工作流管理系统已经得到了广泛的应用。
本文以工作流管理系统参考模型为核心,深入地分析和研究了开源工作流引擎Shark的体系结构、主要的类和包。结合OA(Office Automation,办公自动化)中常见的收回/回退动态工作流模式,提出了基于Shark的收回/回退模式的处理策略和实现方法,使改造后的工作流引擎能提供对动态工作流收回/回退运行时的支持,确保工作流执行时,任务可以正确分发及工作流的状态和数据保持一致等。通过对Shark进行二次开发,实现了收回/回退功能,并应用到银行OA系统项目中。
实践证明:在OA系统中,使用动态工作流的新方法,可以实现公文流程流转的动态收回/回退,加强工作流管理系统的灵活性和动态处理能力,更好地适应现代企业流程的不确定性和多变性,从而达到提高企业经营效率和降低经营成本的目的。银行OA系统开发完成后即投入运行,达到了预期的目标,目前系统运行稳定。
Along with the competition between enterprises getting more and more intense,, Workflow technology has currently become one of the important research directions. Meanwhile, research on the Workflow engine which is the core of the workflow has been focused on. Since the open-source Shark workflow engine (Version 1.0) has been developed in September 2004, multitudinous project developers and researchers have been attracted. Now management system which is based on the Shark workflow has been widely applied.
According to the reference model of the workflow management system, this paper has incisively analyzed and studied the system structure, main classes and packages of the workflow engine. Considering common OA retrieval / rollback dynamic workflow pattern, methods and processing strategies based on the Shark retrieval / rollback pattern have been presented to support the operation of the dynamic retrieval / rollback, which ensures the correct distribution of the task and the consistency of the state and data when workflow is operated. As the re-development to the Shark has been carried on, retrieval / rollback function has been realized and applied to the bank OA system project.
Practice has proved that as the new method of the dynamic workflow has been applied in the OA system, dynamic retrieval / rollback of the documents has been realized; furthermore, the flexibility and dynamic handling capacity of the Workflow Management System has been enhanced. Thus the OA system can be more ready to cope with the uncertainty and variability of modern business process, thereby to improve the efficiency and lower the operating cost of enterprises. After the project has been developed and put into operation, the desired goals have been achieved. Now the system performs stably.
引文
[1] 范玉顺,罗海滨,林惠苹,等.工作流管理技术基础.北京:清华大学出版社,施普林格出版社,2001.28~78
[2] Hamri Salah, Boufaida Mahmoud, Boudjlida Nacer. An architecture for the interoperability of workflow models. Source Interoperability Of Heterogeneous Information Systems archive, 2005, SESSION: Session 3 table of contents, 31~38
[3] KleinM, Dellarocas C, Bernstein A. Introduction to the special issues on adaptive workflow system[J]. Computer Supported Cooperative Work. 2000, 9 (3): 265~267
[4] A go stini A, Michelis G D.A light workflow management system using simple process models[J].Computer Supported CooperativeWork. 2000, 9 (3): 335~363
[5] 柯飞帆.面向分布应用的工作流管理系统研究与实现:[博士学位论文].南京:南京航空航天大学,2006
[6] 马华.分布式应用集成中的面向服务工作流研究.[硕士学位论文].长沙:中南大学,2006.5
[7] 王海军,樊留群,杨力锋,等.基于Shark的工作流流程的实现方式研究.机械工程与自动化,2005,(2):28~31
[8] 万定生,余长海.基于Shark的分布式工作流系统的设计与实现.微电子学与计算机,2005,22(2):96~99
[9] 余长海.基于Shark的分布式工作流系统的研究与实现:[硕士学位论文].南京:河海大学,2005
[10] Krys Kochut, Jonathan Arnold, Amit Sheth, et al. IntelliGEN: A Distributed Workflow System for Discovering Protein-Protein Interactions. Source Distributed and Parallel Databases archive, 2003, 13 (1), 43~72
[11] N. C. Narendra. Adaptive workflow management-an integrated approach and system architectture. Source Symposium on Applied Computing archive, Proceedings of the 2000 ACM symposium on Applied computing-Volume 2 table of contents, 858~865
[12] Ma Hua, Li Jian-hua. E-Government Coordination System Based on Serviceoriented Workflow Technology. In: Shude Zhang, Jun Fang, eds. Proceedings of the 2005 International Symposium on Computer Science and Technology. USA: the American Scholars Press, 2005, 514~521
[13] 左怀玉.Web OA中的工作流技术研究与实现:[硕士学位论文].长沙:国防科学技术大学,2003
[14] 陶冶,范玉顺,罗海滨.分布式工作流系统的可靠性研究.计算机科学,2001,28(5):6~10
[15] 马华,张红宇,李建华.支持服务协作的工作流模型和建模语言[J].计算机应用.2007,27(2):409~412.
[16] 张敬波.工作流事务模型研究:[硕士学位论文].大庆:大庆石油学院,2004
[17] 吕成戍.工作流系统事务处理的研究与应用:[硕士学位论文].大连:大连理工大学,2005
[18] 李建华,马华.面向服务工作流的分布式事务管理研究.计算机工程,2007,33(4):58~60.
[19] Arisa K. Ude, Easwar Nyshadham. An empirical investigation of workflow management systems queues: a case study of telephone call center systems queue performance. Doctoral Thesis: Nova Southeastern University, 2006, 1
[20] 齐昕.基于工作流技术的办公系统的研究与实现:[硕士学位论文].大连:大连理工大学,2005
[21] 段绮丽.基于工作流技术的办公自动化系统的研究:[硕士学位论文].四川:四川大学,2004
[22] 徐瑞玉.工作流管理系统的研究与设计:[硕士学位论文].四川:西南交通大学,2006
[23] 王晓辉.支持动态变化的工作流模型的研究:[硕士学位论文].北京:华北电力大学,2004
[24] 罗海滨,范玉顺,吴澄.工作流技术综述.软件学报,2000,11(7):899~907
[25] 王世新.工作流技术在办公自动化系统中的应用研究:[硕士学位论文].郑州:中国人民解放军信息工程大学,2005
[26] 周延潮.工作流系统研究与应用分析:[硕士学位论文].西安:西安电子科技大学,2005
[27] 王博.基于工作流引擎开放源码Shark信息孤岛的Web Services整合:[硕士学位论文].西安:西安电子科技大学,2005
[28] 李明姣.基于开源工作流Shark的代码分析:[硕士学位论文].西安:西安电子科技大学,2005
[29] 林治宇.基于工作流的教务管理系统的研究与实现:[硕士学位论文].北京:北京邮电大学,2006
[30] 张煜刚.基于开源软件JaWE的工作流建模技术:[硕士学位论文].西安:西安电子科技大学,2005
[31] ObjectWeb. EnhydraJaWE.http: //www.enhydra.org/workflow/jawe/index.html
[32] ObjectWeb. EnhydraShark.http: //www.enhydra.org/workflow/shark/index.html
[33] 曾强聪.软件工程.北京:高等教育出版社,2002.101~123
[34] Shazia W. Sadiq, Maria E. Orlowska, Wasim Sadiq. Specification and validation of process constraints for flexible workflows. Information Systems, 2005, 30 (5).
[35] Stefanie Rinderle, Manfred Reichert, Peter Dadam.Correctness criteria for dynamic changes in workflow systems: a survey. Data & Knowledge Engineering, 2004, 50 (1).
[36] Shaomin ZHANG, Baoyi WANG.The Research on Decision Approach of Data Dependence in Dynamic Workflow System. Proceedings of the Sixth International Conference on Parallel and Distributed Computing Applications and Technologies, 2005, 12
[37] Meng J, Su S, Lam H et al. Achieving dynamic inter-organizational workflow management by integrating business processes, events, and rules[C].In: Annual Hawaii International Conference on System Sciences (HICSS'02), Big Island, Hawaii, USA, 2002.http: //citeseer.nj.nec.com/meng02achieving.html
[38] 孙瑞志,周建涛,史美林等.一个支持动态变化的工作流管理系统小型微型计算机系统,2005,26(6):1068~1072
[39] 孙瑞志,史美林.工作流活动多实例的调度控制.软件学报,2005,16(3):400~406
[40] 陈大锋,吴泉源,刘江宁等.一种多实例工作流模式的解决方案.计算机工程与科学,2005,27(1):89~92
[41] 容晓峰,周水生,郭晓雷,等.电子政务中的动态工作流管理.计算机工程,2005,31(18):219~221
[42] 张斌,蔡力钢,高亮.基于动态工作流技术的智能办公自动化系统的研究.计算机应用研究,2003,(5):18~20
[43] Paul A. Buhler, Jose M. Vidal. Towards Adaptive Workflow Enactment Using Multi, agent Systems. Information Technology and Management archive, 2005, 6 (1), 61~87
[44] Jutta A. Mulle, Klemens Bohm, Nicolas Roper, Tobias Sunder. Building conference proceedings requires adaptable workflow and content management, Proceedings of the 32nd international conference on Very large data bases, 2006, 9
[45] Edmond D, Arthur H M. ter Hofstede. A reflective infrastructure for workflow adaptability[J]. Data &Knowledge Engineering, 2000, 34 (3): 271~304
[46] Jianxun Liu. Dynamic batch processing in workflows: Model and implementation.in: Future Generation Computer Systems archive, 2007, 23 (3): 338~347
[47] N. C. Narendra. Flexible Support and Management of Adaptive Workflow Processes. Information Systems Frontiers archive, 2004, 6 (3), 247~262
[48] 邱红艳.支持动态修改的工作流管理系统的设计与实现.[硕士学位论文].陕西:西北大学,2002
[49] Zhang Liang, Yao Shu-Zhen. Research on workflow patterns based on Petrinets. Computer Integrated Manufacturing Systems (CIMS), 2006, 12(1), 54~58
[50] http: //is.tm.tue.nl/research/patterns/patterns.htm
[51] Shin-Jer Yang. Design issues and performance improvements in routing strategy on the internet workflow. International Journal of Network Management archive, 2003, 13 (5), 359~374
[52] W.M.P.Van Der Aalst, A.H.M. Ter Hofstede, B.Kiepuszewski, et al.Workflow Patterns[R].Distributed and Parallel Databases, 2003, (14): 5~51
[53] 余乐,吕强.一个OA系统中的工作流模型.计算机工程与应用,2003,(13):138~150
[54] 赵洁,孟丽荣.办公自动化系统中工作流系统的设计.计算机工程与设计,2005,26(4):1118~1121
[55] 赵昊苏,王芸.基于工作流技术的公文流转系统的分析与设计.铁路计算机应用,2006,15(9):24~26
[56] 郭思媚.一个基于工作流技术的办公自动化系统的设计与实现.辽宁大学学报自然科学版,2006,33(1)
[57] 谭汉松,王颖,张海军.一个基于工作流的OA系统的研究与实现.制造业信息化机电工程技术,2006,35(3)
[58] 吕俊成,周廷美,莫易敏.基于工作流的机务系统办公自动化的研究与实现.铁道机车车辆,2006,26(1)
[59] 陈翠娥,刘曼玲,马华.基于工作流的银行OA系统的设计与实现.科技信息,2006,(8):12~13
[60] Heejung Lee, Hyo-Won Suh. Workflow structuring and reengineering method for design process. Computers and Industrial Engineering archive, 2006, 51(4), 698~714