摘要
随着互联网的飞速发展和SOA的逐步成熟,SaaS已成为一种新兴的软件交付模式。软件服务化成为了未来软件发展的重要方向,传统的流程引擎和规则引擎开始逐渐无法满足当前企业业务的要求,随着企业各类业务应用的逐渐服务化,流程引擎和规则引擎的服务化也成为一种必然趋势。
服务化的流程引擎将可以更好的提供对服务化应用的流程管理功能,更便于利用服务化应用来搭建各类业务应用,利用服务化的规则引擎将业务规则从业务流程中分离,将有效的提高业务应用的可配置性及灵活性。
本文首先探讨了当前流程引擎和规则引擎的研究现状,并对SaaS模式的相关实现技术及其基础架构——云计算的相关关键技术进行了研究,并探讨了它们与传统技术的区别和优势,随后探讨了电信运营商在云计算上的一些优势和举措。
在以上研究的基础上,利用面向服务的分析和设计方法构建了SaaS流程引擎和规则引擎的服务模型,对服务模型中的服务功能进行了描述和说明,对SaaS流程引擎和规则引擎的构建具有一定的参考价值,并提出了对已有软件服务化的方法,一方面有利于对已有引擎的服务化,从而构建出服务化的引擎兼容模型,另一方面,也有利于企业其他已有软件的服务化,从而帮助企业从传统交付模式到SaaS交付模式的转变。随后分析了SaaS模式下流程引擎和规则引擎的运行和存储特点,以及其多租户设计的实现。最后设计了SaaS流程引擎,对提出的SaaS流程引擎服务模型进行了可行性验证。
With the rapid development of Internet and the gradual maturity of SOA, SaaS has become a popular software service mode. Software as a Service is an important trend for future software development, the traditional process engine and rules engine began to not meet the requirements of the current enterprise business, as company increasing types of service-oriented business, Workflow engine and rule engine as a service to be an inevitable trend.
Service-oriented Workflow engine will provide a better function of Workflow management for service-oriented applications and more convenient to build types of applications by using service-oriented applications. Using service-oriented rules engine to separate business rules from business processes will effectively improve configurable and flexible of business applications.
This paper discusses the current research status of Workflow engine and rules engine, and the related implementation techniques of SaaS, and its basic infrastructure-cloud computing. Then study these advantages and difficults with traditional techniques and discuss the telecom operator's advantages and initiatives on Cloud computing.
On the basis of the above, I build the service model of Workflow engine and rule engine on the SaaS by using service-oriented analysis and design methods, and describe the service functions in the model, which have some reference values for building SaaS Workflow engine and process engine, and then I put forward the method of making existing software as a service. It is beneficial for the existing engine and other existing software as a service, so it will help enterprises from the traditional delivery model to SaaS delivery model. Then analysis the operation and storage characteristics of the Workflow engine and rules engine on the SaaS mode and the implementation of Multi-Tenant, at the last, I design and imply the SaaS Workflow engine based on the SaaS process service model, which verify its feasibility.
引文
[1]杨洋,李志蜀.工作流管理系统发展状况与趋势研究[J].四川经济管理学院学报,2008(1).
[2]杨洪波.工作流:三分天下[J].软件世界,2007.5.
[3]缴明洋,谭庆平. Java规则引擎技术研究[J].计算机与信息技术,2006.3.
[4] Wikipedia. http://zh.wikipedia.org/zh-cn/SaaS[EB/OL]
[5]叶伟等.互联网时代的软件革命:SaaS架构设计[M].北京:电子工业出版社,2009.1.
[6] http://www.springboardresearch.com/ResearchDetails.aspx?CID=955[EB/OL]
[7] Wil van der Alast, Kees van Hee. WorkFlow Management-Models,Methods,and Systems[M]. The MIT Press,2004.
[8]杨正洪,郑齐心,吴寒.企业云计算架构与实施指南[M].北京:清华大学出版社,2010.04.
[9]余浩,朱成,丁鹏. SOA实践:构建基于Java Web服务和BPEL的企业级应用[M].北京:电子工业出版社,2009.1.
[10]彭磊.规则引擎原理分析[J].福建电脑,2006(6).
[11] Thomas Erl. Service-Oriented Architecture:Concepts,Technology,and Design[M]. Pearson Education,2006.10.
[12]范玉顺.工作流管理技术基础[M].北京:清华大学出版社,2001.
[13] WFMC, Workflow Management Coalition Termino-logy & Glossary (WfMC-TC-1011), Brussels: WFMC [C], 1996
[14]刘伟. Java规则引擎—Drools的介绍及应用[J].微计算机应用,2005.11.
[15] Michael Miller. Cloud Computing:Web-Based Applications That Change the Way You Work and Collaborate Online [M]. Pearson Education,2009.4.
[16]中国云计算网.http://chinacloud.com[EB/OL]
[17] (美)Thomas Erl著,郭耀译. SOA服务设计原则[M].北京:人民邮电出版社,2009.6.
[18]刘鹏.云计算[M].北京:电子工业出版社,2010.3.
[19]智慧的地球—IBM动态基础架构白皮书. http://www.ibm.com / cn / express /migratetoibm / dynamicinfrastructure / download/dynamicinfrastructure _whitepaper_ 09 03.pdf [EB/OL]
[20] Chunye Gong , jie Liu. The Characteristics of Cloud Computing[J]. International Conference on Parallel Processing Workshops,2010(39).
[21] Wil van der Aalst, Kees Max van Hee, Workflow management: models, methods, and systems [M]. The MIT Press, 2004.
[22]戴元顺.云计算技术简述[J]. Research&Development,2010.2
[23]吴吉义,平玲娣,潘雪增,李卓.云计算:从概念到平台[J].电信科学,2009(12).
[24]陈全,邓倩妮.云计算及其关键技术[J].计算机应用,2009.9.
[25] Jeffrey Dean,Sanjay Ghemawat.MapReduce:Simplified Data Processing on Large Clusters. [EB] Google.
[26] Sanjay Ghemawat,Howard Gobioff,Shun-Tak Leung. The Google File System. Google.
[27] Fay Chang,Jeffrey Dean. Bigtable:A Distributed Storage System for Structured Data. [EB]Google,OSDI(2006).
[28]潘文宇,段勇.云计算在电信行业的应用研究[J].电信科学,2010(6).
[29]孙少陵.云计算变革下电信运营商的机遇及中国移动云计算探索[J].移动通信,2010(11).
[30]百度百科. http://baike.baidu.com/view/4153036.htm[EB/OL]
[31]卢捍华,王亚石,闵丽娟.工作流主从实例处理方法及其Petri网建模[J].通信学报, 2010.31(1).
[32]姜世超.基于SaaS的Multi_Tenant应用的可配置性研究[D].大连海事大学,2010.6.
[33]孙健,贾晓倩. Google云计算平台的技术架构及其成本的影响研究[J].电信科学,2010(1).
[34]杨玥,张秋余,黄鹏.分布式工作流引擎的设计方法[J].计算机工程与设计,2007.6.
[35]刘怡,张子刚,张戟.工作流模型研究述评[J].计算机工程与设计,2007, 28(2).
[36] Ellis, C. Information control nets: a mathematical model of office information flow [J]. In: Proc. of the 1979 ACM Conf. on simulation, measurement and modeling of computer systems, 1979.
[37] (荷)Michael P. Papazoglou著,龚玲,张云涛译.Web服务:原理与技术[M],北京:机械工业出版社,2010.01
[38] Wil van der Aalst, Kees Max van Hee, G. J. Houben. Modelling and analysing workflowusing a Petri-net based approach [J].1994.
[39]王李军,陶明亮,张署.面向业务规则引擎设计[J].计算机工程,2007.
[40]王建民,闻立杰.工作流管理——模型、方法和系统[M].北京:清华大学出版社, 2004.
[41]杨剑峰,常晓波,李敏.分布式系统——原理与范型[M].北京:清华大学出版社, 2004.
[42]范延平,曾建鹰.基于J2EE架构的工作流引擎的分析与设计[J].武汉大学学报, 2005.30(12).
[43]陈奇.XSLT、XPath和DOM的应用研究[J].计算机工程,2003.3.
[44]赵瑞东,陆晶,时燕.工作流与工作流管理技术综述[J].科技信息,2007(5).
[45] Claude Girault, Rudiger Valk. Petri Nets for Systems Engineering A Guide to Modeling, Verification, and Applications [M].北京:电子工业出版社, 2005.
[46]顾宁,刘家茂,柴晓路等. Web Services原理与研发实践[M].北京:机械工业出版社, 2006.
[47]张洪山,殷人昆,张素琴.基于Web的工作流引擎设计[J].计算机工程,2004.2.
[48] Eric Newcomer, Greg Lomow著,徐涵译. Understanding SOA with Web services [M].北京:电子工业出版社, 2006.
[49] Wil van der Aalst. The Application of Petri Nets to Workflow Management [J]. The Journal of Circuits, Systems and Computers, 1998.8(1).
[50] Nick Russell, A.H.M Ter Hofstede, D. Edmond, Wil van der Aalst. Workflow Data Patterns [J]. 2004.
[51] Javier,Concha, David,Molina,Arturo. Application Development over Software-as-a- Service platforms[J].IEEE The Third International Conference on Software Engineering Advances,2008.