随着家庭物联网的不断发展,如何高效存储海量的多源异构家庭物联网数据越来越重要。由于传统的关系型数据库不能满足家庭物联网海量的多源异构数据的存储需求,家庭物联网多源异构数据存储方案宜采用新兴的面向文档的非关系型数据库MongoDB。结合MongoDB的应用特点,提出一种适合于MongoDB的从E-R模型向逻辑模型转换的转换原则,阐述MongoDB数据库逻辑模型的建模过程,并在此基础上构建家庭物联网应用的多源异构数据在MongoDB数据库中的逻辑模型。
With the development of household Internet of things, how to efficiently store huge amounts of multi-source heterogeneous data becomes more and more important. Since the traditional relational database can not meet the storage needs of muhi-source heterogeneous data of household Internet of things, and the document oriented non relational database MongoDB is suitable. By combining with the characteris- tics of MongoDB, puts forward a processing method of transformation from E-R model to logical model ,which is suitable for MongoDB, establishes a logical model of MongoDB database, and builds a logic model of multi-source heterogeneous data storage application of household Internet of things.