计算机科学 ›› 2017, Vol. 44 ›› Issue (11): 56-63.doi: 10.11896/j.issn.1002-137X.2017.11.009

• 2016 年全国软件与应用学术会议 • 上一篇    下一篇

一种面向SaaS多租户的多层模型

李响,李彤,谢仲文,何云,成蕾,韩煦   

  1. 云南大学软件学院 昆明650091,云南大学软件学院 昆明650091;云南大学云南省软件工程重点实验室 昆明650091,云南大学软件学院 昆明650091;云南大学云南省软件工程重点实验室 昆明650091,云南大学软件学院 昆明650091,云南大学软件学院 昆明650091,云南大学软件学院 昆明650091
  • 出版日期:2018-12-01 发布日期:2018-12-01
  • 基金资助:
    本文受国家自然科学基金(61379032,61262024,61462092),云南省教育厅科学研究基金(2014Y012)资助

Multi-layer Model for SaaS Multi-tenancy

LI Xiang, LI Tong, XIE Zhong-wen, HE Yun, CHENG Lei and HAN Xu   

  • Online:2018-12-01 Published:2018-12-01

摘要: SaaS(Software as a Service)伴随云计算而出现,它与传统软件的区别较大。根据SaaS软件的特点,提出支持SaaS软件成熟度的SaaS软件分层元模型,使用形式化方法对每一层进行建模描述。受面向对象Petri网(Object-Oriented Petri Nets,OOPN)和有色Petri网(Colored Petri Nets,CPN)思想的启发,提出面向服务网结构SOP(Service-Oriented Petri Nets)和CSOP(Colored Service-Oriented Petri Nets)。一方面,使用封装的库所元素代表服务,体现了服务对外不可见,且内部结构影响系统运行。另一方面,不同的颜色集代表不同租户请求,突出了SaaS多租户的特点。这不仅为复杂的SaaS软件建模提供了方法,还能够折叠系统变迁,压缩状态空间。最后,以一个 客户关系管理 (Customer Relationship Management,CRM)SaaS软件系统为例,验证了文中工作的可行性。

关键词: 形式化方法,Petri网,SaaS,软件建模

Abstract: SaaS(Software as a Service) appears with cloud computing.It is much different from traditional software.Based on the characters of SaaS,a hierarchical meta-model of SaaS was proposed,which supports the SaaS maturity model and describes every layer by formalization method.Inspired by object-oriented Petri nets (OOPN) and colored Petri nets(CPN),SOP(Service-Oriented Petri Nets) and CSOP(Colored Service-Oriented Petri Nets) were proposed.On the one hand,encapsulated place is used to represent service,which reflects that services are invisible to outside and inside influences running situation of system.On the other hand,different color sets represent the requests of different tenements,which emphasizes multi-tenancy character of SaaS.The work of this paper not only provides a function for modeling complex SaaS software,but also folds the transition of petri net and encapsulates state space of system.A CRM(Customer Relationship Management) system of SaaS was illustrated to verify the feasibility in the end.

Key words: Formalization method,Petri net,Software as a Service,Software modeling

[1] ALKALBANI A M,GHAMRY A M,HUSSAIN F K,et al.Sentiment Analysis and Classification for Software as a Service Reviews[C]∥Proceedings of the IEEE International Confe-rence on Advanced Information Networking and Applications.2016:53-58.
[2] CHEN X B,WU Z X.Architecture of software services based on SaaS model supporting multi-terminals and service customization[J].Journal of Computer Applications,2010,30(10):2754-2757.(in Chinese) 陈小兵,武泽旭.支持多类终端与服务定制的SaaS软件服务架构 [J].计算机应用,2010,30(10):2754-2757.
[3] CHEN Q,DENG Q N.Cloud computing and its key techniques [J].Journal of Computer Applications,2009,29(9):2562-2567.(in Chinese) 陈全,邓倩妮.云计算及其关键技术 [J].计算机应用,2009,29(9):2562-2567.
[4] CAO Y,LUNG C H,AJILA S A.Constraint-Based Multi-Te-nant SaaS Deployment Using Feature Modeling and XML Filtering Techniques[C]∥Proceedings of the International Workshop on Software Cybernetics.2015:454-459.
[5] HOU K J,BAI X Y,ZHOU L Z.A multi-tenant system based on constraint combination configuration testing technology [J].Journal of Computers,2016,39(2):237-252.(in Chinese) 侯可佳,白晓颖,周立柱.一种基于多约束组合的多租户系统配置测试技术[J].计算机学报,2016,39(2):237-252.
[6] CHONG F,CARRARO G.Architecture strategies for catching the long tail .http://msdn.microsoft.com/en-us/library/aa479069.aspx.
[7] RIBAS M,LIMA A S,SOUZA N,et al.Assessing cloud computing SaaS adoption for enterprise applications using a Petri net MCDM framework[C]∥2014 IEEE/IFIP Network Operations and Management Symposium.IEEE,2014.
[8] GONG Z,YING S,LI L,et al.Performance prediction for saas deployment optimization based on colored petri nets[C]∥Proceedings of the International Conference on Mechatronic Scien-ces,Electric Engineering and Computer.2014:2689-2693.
[9] GEY F,LANDUYT D V,JOOSEN W,et al.Continuous Evolution of Multi-tenant SaaS Applications:A Customizable Dynamic Adaptation Approach[C]∥ 2015 IEEE/ACM 7th International Workshop on Principles of Engineering Service-Oriented and Clould Systems.2015:10-16.
[10] SU W,LIN C,MENG K,et al.Modeling and Analysis of Availability for SaaS Multi-tenant Architecture[C]∥Proceedings of the IEEE International Symposium on Service Oriented System Engineering.2014:365-369.
[11] XIE Z W,LI T,DAI F,et al.Modelling dynamic evolution-oriented software architecture based on Petri net[J].Computer Applications and Software,2012,9(10):36-39.(in Chinese) 谢仲文,李彤,代飞,等.基于Petri网的面向动态演化的软件体系结构建模 [J].计算机应用与软件,2012,9(10):36-39.
[12] FAN Y S,ZHANG J.Object-oriented Petri net method and its application in the software engineering [J].Journal of Computer Applications,1998,8(5):15-18.(in Chinese) 范玉顺,张军.面向对象的Petri网方法及其在软件工程中的应用 [J].计算机应用,1998,8(5):15-18.
[13] XIE Z W,LI X Y,LI T,et al.A demand model into the method of software architecture model [J].Computer Science,2014,41(5):196-203.(in Chinese) 谢仲文,李晓燕,李彤,等.一种将需求模型转换为软件体系结构模型的方法[J].计算机科学,2014,41(5):196-203.
[14] PATERSON D,FOX,et al.SaaS software engineering:cloudcomputing era of agile development [M].Tsinghua University Press,2015.
[15] MIETZNER R,METZGER A,LEYMANN F,et al.Variability modeling to support customization and deployment of multi-te-nant-aware Software as a Service applications[C]∥Proceedings of the The Workshop on Principles of Engineering Service Orien-ted Systems.2009:18-25.
[16] PINCI V O,SHAPIRO R M.An integrated software develop-ment methodology based on hierarchical colored Petri nets[J].Proceedings of the Advances in Petri Nets 1991,Papers From the nternational Conference on Applications and Theory of Petri Nets,1990,524(10):227-252.

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!