摘要
以湿地保护、呼伦湖流域生态环境综合信息采集及共享云计算平台建设项目为研究背景,针对环境监测数据大流量、大并发量的问题,采用基于物联网协议建立网络传输架构,提出采用Linux+Nginx+Mongo DB+PHP环境集成方法构建数据共享平台。详细阐述了数据中心服务器环境部署;重点分析和研究了Go语言创建beego框架的RESTful API,为第三方应用程序提供接口服务,实现了数据库的安全访问。数据共享平台应用消息队列遥测转传输(MQTT)协议,实现了环境数据的订阅和推送。
With the wetland protection and the construction project of Hulun lake basin ecological environment integrated information collection and sharing cloud computation platform as the research background,in accordance with the features of large flow and high concurrency for environment monitoring data,the network transmission architecture is established based on Internet of thing protocol,and the data sharing platform is constructed by using Linux + Nginx + Mongo DB + PHP environment integrated approach. The environment deployment of data center server is described in detail,the RESTful API with beego framework structured by Go language is analyzed emphatically; this API provides service for the third party applications,to implement secure database access. The message queuing telemetry transport( MQTT) protocol is applied for data sharing platform,to realize subscription and promotion of environment data.
出处
《自动化仪表》
CAS
2016年第2期61-64,共4页
Process Automation Instrumentation
基金
包头市科技计划基金资助项目(编号:2014N1010-2)
关键词
环境监测
物联网
通信协议
云计算
监测数据
采集储存
共享
安全
网络拓扑
服务器
Environmental monitoring
Internet of things
Communication protocol
Cloud computing
Monitoring data
Collection and storage
Share
Security
Network topology
Server