• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2016, Vol. 38 ›› Issue (01): 33-40.

• 论文 • 上一篇    下一篇

NoSQL数据库间数据交换代价研究

郭昆1,宋杰1,王洁萍2,朱志良1   

  1. (1.东北大学软件学院,辽宁 沈阳 110169;2.中国电子技术标准化研究所,北京 100007)
  • 收稿日期:2015-08-13 修回日期:2015-10-21 出版日期:2016-01-25 发布日期:2016-01-25
  • 基金资助:

    国家自然科学基金(61433008);辽宁省自然科学基金(201403314);中央高校基本科研业务费专项资金(N120817001);中国博士后科学基金(2013M540232)

Data switching cost between NoSQL databases 

GUO Kun1,SONG Jie1,WANG Jieping2,ZHU Zhiliang1   

  1. (1.College of Software,Northeastern University,Shenyang 110169;2.China Electronics Standardization Institute,Beijing 100007,China)(1.College of Software,Northeastern University,Shenyang 110169;2.China Electronics Standardization Institute,Beijing 100007,China)
  • Received:2015-08-13 Revised:2015-10-21 Online:2016-01-25 Published:2016-01-25

摘要:

随着互联网时代的到来,IT行业迅猛发展,NoSQL数据库以其在大数据环境下出色的业务处理处理能力,在IT行业内得到越来越广泛的应用。而各NoSQL数据库由于自身数据模型的不同,在数据组织方式上彼此存在差异。NoSQL数据库间进行数据交换时,数据模型的不同会导致数据库间数据传输的阻抗,以源数据库数据模型封装的业务数据可能无法直接被目标数据库解析,需进行额外的模型适配操作,参照目标数据库数据模型组织业务数据以供筛选存储。为此,拟定义一种数据描述模型,对NoSQL数据库数据模型特征建模,描述NoSQL数据库的数据组织方式,并定义NoSQL数据库数据模型间距离评估算法。根据数据描述模型与距离评估算法可设计实现一种通用数据模型,其在数据交换过程中可与相关NoSQL数据库进行数据模型上的转换,系统相关业务代码只需参照该数据模型设计,而独立于数据交换过程中NoSQL数据库具体的数据模型。

关键词: NoSQL, 数据交换, 数据模型, 距离评估, 编辑图

Abstract:

NoSQL databases get more and more widely used in the IT industry due to their excellent performance in business processes in big data environments. However, data organizations differ from each other because of different data models in each NoSQL database,  which incurs impedance during data transfer when we perform data switching between NoSQL databases. Business data encapsulated in source databasesdata models may not be directly parsed by the target database, an additional model adapting operation therefore is needed. In this paper we attempt to define a data description model, which models the features of NoSQL databasesdata model, and describes the way NoSQL databases organize data, and then defines the corresponding distance evaluation algorithm. According to the data description model and the distance evaluation algorithm a unified data model can be designed and developed, which can transform to all the data models of NoSQL databases during data switching process, thus the related business code design just needs to align with the unified data model rather than each concrete data model.

 

Key words: NoSQL;data switching;data model;distance evaluation;edit graph