多手段设备统一接入平台的设计与实现
本文选题:物联网 + OSGi ; 参考:《北京邮电大学》2016年硕士论文
【摘要】:随着科学技术的蓬勃发展,物联网技术为人们的生产生活提供了极大的便捷。然而,由于应用场景的逐渐丰富,物联网平台需要对越来越多的传感器设备实现统一监控和管理。这些传感器用途各异,通信方式和设备协议也都各有不同,因此如何将多手段设备进行统一的接入管理成为了新的挑战。本文基于Java的OSGi架构,提出了一个具有动态化、模块化、可扩展特性的多手段设备统一接入平台。本平台不仅能为异构传感器提供统一的上行下行通道,还将设备从平台之中分离开来,可在系统正常运行的情况下,动态地对设备进行更换。本论文主要在三个方面进行研究。第一,根据物联网中间件的需求,提出了整个系统的架构,平台共分为三个部分:协议系统是平台最为重要的子系统,负责协议的接入、解析和生命周期管理,提供统一的接口规范;发布订阅系统是消息转发的中间件,将上层应用与数据接入逻辑分离,降低两部分之间的耦合性;数据库系统使用实时库和历史库结合,具有实时、可靠的特点,负责各类传感数据的存储入库。第二,系统基于OSGi框架,具有模块化、动态化和扩展性强的特性。每个设备协议都封装为一个独立的插件,加载到系统中,在不同的场景需求下,平台可以接入不同设备,新的协议插件只需按照平台提供的标准接口封装,即可在平台正常运行的情况下动态加载到平台之中,不会对其他模块产生干扰。第三,采用排队论和动态优先级策略对协议的接入和分发进行了优化。通过排队论理论对协议接入模块线程池的大小进行动态规划,避免了线程的频繁创建和销毁。通过动态优先级算法对分发模块进行优化,实现了高优先级协议数据的及时、高效转发。
[Abstract]:With the rapid development of science and technology, Internet of things technology provides great convenience for people's production and life.However, due to the gradual enrichment of application scenarios, the Internet of things platform needs to implement unified monitoring and management of more and more sensor devices.The applications of these sensors are different, and the communication modes and equipment protocols are also different. Therefore, how to unify the access management of multi-means devices has become a new challenge.Based on the OSGi architecture of Java, this paper presents a unified access platform for multi-means devices with dynamic, modular and extensible characteristics.The platform can not only provide a unified uplink and downlink channel for heterogeneous sensors, but also separate the equipment from the platform, and can dynamically replace the equipment under the normal operation of the system.This paper mainly carries on the research in three aspects.Firstly, according to the requirement of Internet of things middleware, the architecture of the whole system is put forward. The platform is divided into three parts: the protocol system is the most important subsystem of the platform, which is responsible for protocol access, analysis and life cycle management.It provides a unified interface specification, publish and subscribe system is the middleware for message forwarding, separates the upper application from the data access logic, reduces the coupling between the two parts, and the database system uses the combination of real-time library and history library.Reliable features, responsible for all kinds of sensor data storage.Secondly, the system is based on OSGi framework and has the characteristics of modularization, dynamic and expansibility.Each device protocol is encapsulated as a separate plug-in, which is loaded into the system. Under different scenarios, the platform can access different devices. The new protocol plug-in only needs to be encapsulated according to the standard interface provided by the platform.The platform can be loaded into the platform under the normal operation, without interfering with other modules.Thirdly, queuing theory and dynamic priority policy are used to optimize the access and distribution of the protocol.In order to avoid the frequent creation and destruction of threads, the size of thread pool of protocol access module is dynamically planned by queuing theory.The dynamic priority algorithm is used to optimize the distribution module to realize the timely and efficient forwarding of high priority protocol data.
【学位授予单位】:北京邮电大学
【学位级别】:硕士
【学位授予年份】:2016
【分类号】:TP391.44;TN929.5
【参考文献】
相关期刊论文 前10条
1 甄珍;;物联网发展现状与前景分析[J];通讯世界;2015年07期
2 王俊姝;;物联网技术构成与关键技术分析[J];科技创新与应用;2015年05期
3 刘化君;;物联网体系结构的构建[J];物联网技术;2015年01期
4 仝学涛;;物联网感知安全探析[J];无线互联科技;2012年09期
5 刘方宁;;浅谈新一代物联网在电子商务中的应用[J];数字技术与应用;2011年10期
6 马辉;黄秋波;苏厚勤;;TCP Socket通信与Web服务结合实现高效可靠的数据分发[J];计算机应用与软件;2011年09期
7 刘国枫;;浅析在物联网技术下移动通信技术的应用与发展[J];科技致富向导;2011年14期
8 陈宁江;林盘;;一种基于排队系统的启发式中间件动态线程池管理机制[J];计算机科学;2010年10期
9 傅啸;彭磊;马诗琦;王东;;基于OSGi的RFID中间件安全框架[J];计算机工程;2010年17期
10 沈苏彬;毛燕琴;范曲立;宗平;黄维;;物联网概念模型与体系结构[J];南京邮电大学学报(自然科学版);2010年04期
相关硕士学位论文 前2条
1 严晓炜;基于Equinox的OSGI构件监控模块的研究与设计[D];北京邮电大学;2012年
2 徐涛;基于发布/订阅机制的传感器数据分发系统的设计与实现[D];电子科技大学;2011年
,本文编号:1772537
本文链接:https://www.wllwen.com/kejilunwen/ruanjiangongchenglunwen/1772537.html