面向SaaS应用的多租户数据管理系统研究与实现
时间:2025-04-21
时间:2025-04-21
硕士学位论文
面向SAAS应用的多租户数据管理系统
研究与实现
RESEARCH AND IMPLEMENTATION OF
MULTI-TENANCY DATA MANAGEMENT
SYSTEM FOR SAAS APPLICATION
罗日新
哈尔滨工业大学
2012年6月
国内图书分类号:TP315
国际图书分类号:004.45
学校代码:10213 密级:公开
硕士学位论文
面向SaaS应用的多租户数据管理系统
研究与实现
硕士研究生 : 罗日新
导 师 : 臧天仪教授
申请学位 : 工学硕士
学科 : 计算机科学与技术
所 在 单 位 : 计算机科学与技术学院
答 辩 日 期 : 2012年6月
授予学位单位 : 哈尔滨工业大学
Classified Index: TP315
U.D.C: 004.45
Dissertation for the Master Degree
RESEARCH AND IMPLEMENTATION OF
MULTI-TENANCY DATA MANAGEMENT
SYSTEM FOR SAAS APPLICATION
Candidate:
Supervisor:
Academic Degree Applied for:
Speciality:
Affiliation:
Date of Defence:
Degree-Conferring-Institution: Luo Rixin Prof. Zang Tianyi Master of Engineering Computer Science and Technology School of Computer Science and Technology June, 2012 Harbin Institute of Technology
摘 要
随着云计算技术的发展,软件即服务(Software as a service,SaaS)作为一种新型的软件交付模式被提出。SaaS模式丰富了应用软件的使用方式。人们无需再自己架设服务器、购买软件授权、部署和维护软件应用的方式来使用软件。SaaS模式下,客户按照自己的需求从软件服务提供商处租赁服务,通过互联网的方式来使用软件。SaaS软件应用通过单一实例来为多个租户提供服务。各个租户之间所存储的数据模式形态各异,租户间的业务需求多种多样,相同需求下的应用存在着参数和流程的不同。
本文主要对SaaS应用中多租户数据的共享存储和面向不同租户的业务流程定制进行了研究,开发了面向SaaS应用的多租户数据管理系统,在脑卒中的电子健康档案管理系统中进行了验证,并通过实验进行了分析。具体工作包括如下几部分:
分析了SaaS应用开发过程中数据管理的模型,提出了面向SaaS应用的多租户数据管理分层模型,通过租户无关的应用数据模型为开发者屏蔽了多租户数据管理的具体实现。针对数据管理分层模型中底层数据的存储,分析了SaaS应用中多租户数据的存储机制和数据扩展模型,提出了多通用表的数据存储方式和基于键值对的数据模式定制方法。
研究了租户对业务个性化需求,提出了基于配置描述符的流程定制方法。通过配置描述符来描述应用程序模板中的可配置部分,并可以通过选择相应的值来进行配置。基于配置描述符,提出了定制流程模型生成方法,用来指导客户的业务定制。
最后,本文设计并实现了面向SaaS应用的多租户数据管理系统,并将该系统应用于脑卒中电子健康档案管理系统的开发。实验结果表明该数据存储模型有着较高的存储密度,能够有效地支持租户的数据模式的定制。数据的整体查询和写入有着较好的性能。
关键词:SaaS;多租户数据管理模型;多租户数据存储;业务定制;
Abstract
With the development of cloud computing technology, software as a service (Software as a service, SaaS), have been proposed as a new software delivery model. SaaS model has enriched application software usage mode. People no longer need to set up their own server, purchase software licenses, deployment and maintenance of software applications to use the software. In SaaS model, customers use software through the Internet according their own needs, which is leased from software services provider. SaaS software applications serve multiple tenants by using a single instance. In SaaS application, various tenants have their own data model; different tenants have different business requirement; some-times tenants have the same requirement for the applications, but there exist the different parameters and processes between tenant’s applications.
In this paper, shared storage for multi-tenant SaaS application data and business process customization for different tenants are researched; multi-tenancy data management system for SaaS application are designed and developed. We develop the electronic health records management system for intracerebral hemorrhage patient by using the multi-tenancy data manager system, and verify the query efficiency through experiments. Specific work includes the following sections:
Analysis of the data management model in SaaS application development process, a hierarchical model of data management for multi-tenant SaaS applications is proposed. The model shields the concrete realization of the multi-tenant data management by tenant independent data access method. For the concrete data storage way of the multi-tenancy data in the hierarchical model of data management, we analyze data storage mechanism and the extended model, a data storage method based on multi-universal data table and tenant data model customized approach based on key-value pair data model is proposed.
In order to satisfy the tenant’s individual requirements, process customization method based on the variability descriptor. We use variability descriptor to describe the configuration section in the application template, and it can be configured by selceting alternative values. Based on the variability descriptor, a generation method of customization processes model which can guide busin …… 此处隐藏:15255字,全部文档内容请下载后查看。喜欢就下载吧 ……