面向物联网系统历史数据服务的设计与实现.pdf
面向物联网系统历史数据服务的设计与实现
张玉杰;张婷婷
【摘要】物联网系统中大量的用户终端及设备终端之间的信息交互会产生海量的
异构数据流,数据中心需要及时分析和处理这些数据,选择对用户有用的数据进行存
储,可以便于对设备的当前与历史状态进行查询,同时为设备的大数据服务提供数据
基础.针对此问题,同时结合物联网系统异构型数据存储的特点和通信实时性、可靠
性需求以及对不同终端的通用性,提出一种结合MongoDB数据库、RESTful
WebService、MQTT通信、JMS消息服务等技术的物联网系统历史数据的管理
及存储系统架构,实现各设备节点历史数据的获取、选择性存储、删除及查询等功
能,并可适用于不同设备终端.该系统架构经过长期测试,可实现物联网系统中各设备
节点数据的获取和集中管理,并可有效提高数据库的存储效率及存储利用率.
【期刊名称】《陕西科技大学学报》
【年(卷),期】2017(035)005
【总页数】6页(P178-183)
【关键词】物联网系统;历史数据;选择性存储;集中管理
【作者】张玉杰;张婷婷
【作者单位】陕西科技大学电气与信息工程学院,陕西西安710021
【正文语种】中文
【中图分类】TP311.11
Abstract:Theinformationexchangebetweenalargenumberofuser
terminalsandequipmentterminalsintheInternetofThingssystemwill
producemassiveheterogeneousdatastreams.Thedatacenterneedsto
analyzeandprocessthesedataintimeandselecttheusefuldataforusers
tostore,inordertofacilitatethecurrentandhistoricalstatusofthe
equipmenttoquery,andprovidedatabaseforequipmentlargedata
services.Inviewofthisproblem,amanagementandstoragesystem
architectureofhistoricaldataofInternetofThingsSystemcombinedof
MongoDBdatabase,RESTfulWebService,MQTTcommunication,JMS
messageservicewasputforwardtomeetthecharacteristicsof
heterogeneousdatastoragesystemandthereal-time
communication,reliabilityrequirementsandtheversatilityofdifferent
terminals.Fortheresult,thesystemcanachievethedevicenodehistorical
dataacquisition,selectivestorage,deleteandqueryfunctions,andcanbe
appliedtodifferentequipmentterminals.Throughlong-termtesting,the
systemarchitecturecanbeachievedintheInternetofThingsinthesystem
nodedataacquisitionandcentralizedmanagement,andcaneffectively
improvethedatabasestorageefficiencyandstorageutilization.
Keywords:IOTsystem;historydata;selectivestorage;centralized
management
近年来,随着物联网技术的发展,互联设备的增多,对海量设备的历史数据进行集
中存储与查询处理尤为重要.通过对海量设备历史数