计算机工程与应用 ›› 2011, Vol. 47 ›› Issue (32): 65-70.

• 研发、设计、测试 • 上一篇    下一篇

一种适应SaaS多租户模式的数据迁移方法

齐少蕾,林慧苹   

  1. 北京大学 软件与微电子学院,北京 102600
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2011-11-11 发布日期:2011-11-11

Suitable data migration approach for SaaS multi-tenant model

QI Shaolei,LIN Huiping   

  1. School of Software and Microelectronics,Peking University,Beijing 102600,China
  • Received:1900-01-01 Revised:1900-01-01 Online:2011-11-11 Published:2011-11-11

摘要: 基于多租户技术的SaaS应用在数据安全性方面提供了三种数据隔离方式,不同数据隔离方式下的数据存储具有差异性和规律性,传统的数据迁移方案不能够有效地应对数据隔离方式变化的要求,为此需要开发针对于SaaS多租户应用的数据迁移工具来帮助服务提供商进行数据的移植。通过对SaaS多租户模式特点的分析,同时在参考传统数据迁移方案的基础上,提出基于XML数据验证前置以及表复制的数据迁移方案,能有效地解决SaaS多租户模式下的数据迁移需求。

关键词: 多租户模式, SaaS应用, 数据迁移, 可扩展标记语言(XML), 数据复制

Abstract: There are three data isolation approaches for SaaS application which is based on multi-tenant technology to ensure security.Because of the diversity and regularity of data table structure under different isolation type,the traditional data migration methods cannot effectively deal with the change requirements of isolation type.In consideration of these facts,it is very important to develop a data migration tool for SaaS multi-tenant model application provider to handle the migration task.Based on the analysis of the characteristics of SaaS multi-tenant model,this paper puts forward a new migration strategy in reference to the traditional migration proposal,and the new scheme includes two special ways for SaaS multi-tenant model data migration data which is pre-check based on XML and table replication.And it is a suitable solution for data migration under SaaS multi-tenant model.

Key words: multi-tenant model, SaaS application, data migration, Extensible Markup Language(XML), data replication