摘要
基于Visual Basic 6.0与SQLServer2005,根据MSComm控件的OnComm事件中的CommEvent值来实现Zigbee网关节点的数据收发送和解析等操作,利用ADO2.0对象模型与SQLServer2005连接来实现采集数据的存储。研究表明,采用在内存中构建动态多叉树数组存储所有节点最新数据的方法能够加快遍历所有节点当前数据信息的速度,同时通过多叉树和节点的数据库操作方法可以快速获取节点的历史记录信息。
Based on Visual Basic 6. 0 and SQLServer 2005 SDK kit,the CommE vent value of OnC omm event in MSComm control are used to receive and parse data frame from Zigbee gateway,then the ADO2. 0 object model is applied to connect SQLServer 2005 for storing the acquisition data. For convenience of real-time display the monitoring information,dynamic multi-tree array constructed in memory speeds up the lookup and stores the current data items for all nodes,and benefits for quickly obtaining the node's history records via database query operation.
出处
《长江大学学报(自科版)(上旬)》
CAS
2014年第9期36-40,4,共5页
JOURNAL OF YANGTZE UNIVERSITY (NATURAL SCIENCE EDITION) SCI & ENG
基金
中国石油天然气集团公司科技创新基金项目(2011D-5006-0605)
湖北省教育厅重点项目(D20091204)
湖北省国家级大学生创新训练计划项目(201310489005)
关键词
通信接口
数据解析
动态多叉树
communication interface
data-parsing
dynamic multi-way tree