摘要
随着移动互联网的高速发展,实现智能手机对传感器观测信息的实时高效访问是信息社会发展的必然要求。OGC的sensor web规范实现了Web客户端与多源传感器的实时交互,由于智能终端与Web客户端在性能上存在巨大差异,智能终端与传感器观测服务(SOS)直接交互获取传感器观测信息效率低下。为此,设计和开发了一款用作智能终端与SOS交互桥梁的解析服务中间件。该中间件部署于服务器,代替智能终端进行协议解析和数据请求,通过一定的规则分别与智能手机和SOS交互。基于该中间件,在Android智能手机上实现了对传感器观测信息的实时高效访问。实验结果表明,中间件使得交互时间减少了91.3%,大大优化了智能终端与SOS交互的性能。
With the development of mobile Internet,realizing efficient and real-time access to sensor observation information by smart phones is an inevitable requirement for information society.OGC's Sensor Web specification enables real-time interaction between web clients and multi-source sensors.But because of the huge difference in performance between phones and Web clients,smart phones interact directly with SOS to obtain sensor observation information inefficiently.Thus,designed and developed a parsing service middleware that serves as a bridge between smart phones and SOS.The middleware,deployed on the server,replaces the smart phones for protocol analysis and data request,and interacts with the smart phones and the SOS respectively through certain rules.Based on this middleware,real-time and efficient access to sensor observations is achieved on Android smart phones.Experiments show that the middleware reduces the interaction time by 91.3% and optimizes the performance of the interaction between the smart phones and SOS.
作者
张二镇
刘学锋
李神送
Zhang Erzhen;Liu Xuefeng;Li Shensong(School of Communication and Information Engineering,Shanghai University,Shanghai 200444,China)
出处
《电子测量技术》
2018年第17期75-79,共5页
Electronic Measurement Technology
关键词
传感器观测服务
传感器网络
中间件
性能优化
sensor observation service
sensor Web
middleware
performance optimization