多手段設(shè)備統(tǒng)一接入平臺的設(shè)計(jì)與實(shí)現(xiàn)
本文選題:物聯(lián)網(wǎng) + OSGi。 參考:《北京郵電大學(xué)》2016年碩士論文
【摘要】:隨著科學(xué)技術(shù)的蓬勃發(fā)展,物聯(lián)網(wǎng)技術(shù)為人們的生產(chǎn)生活提供了極大的便捷。然而,由于應(yīng)用場景的逐漸豐富,物聯(lián)網(wǎng)平臺需要對越來越多的傳感器設(shè)備實(shí)現(xiàn)統(tǒng)一監(jiān)控和管理。這些傳感器用途各異,通信方式和設(shè)備協(xié)議也都各有不同,因此如何將多手段設(shè)備進(jìn)行統(tǒng)一的接入管理成為了新的挑戰(zhàn)。本文基于Java的OSGi架構(gòu),提出了一個具有動態(tài)化、模塊化、可擴(kuò)展特性的多手段設(shè)備統(tǒng)一接入平臺。本平臺不僅能為異構(gòu)傳感器提供統(tǒng)一的上行下行通道,還將設(shè)備從平臺之中分離開來,可在系統(tǒng)正常運(yùn)行的情況下,動態(tài)地對設(shè)備進(jìn)行更換。本論文主要在三個方面進(jìn)行研究。第一,根據(jù)物聯(lián)網(wǎng)中間件的需求,提出了整個系統(tǒng)的架構(gòu),平臺共分為三個部分:協(xié)議系統(tǒng)是平臺最為重要的子系統(tǒng),負(fù)責(zé)協(xié)議的接入、解析和生命周期管理,提供統(tǒng)一的接口規(guī)范;發(fā)布訂閱系統(tǒng)是消息轉(zhuǎn)發(fā)的中間件,將上層應(yīng)用與數(shù)據(jù)接入邏輯分離,降低兩部分之間的耦合性;數(shù)據(jù)庫系統(tǒng)使用實(shí)時庫和歷史庫結(jié)合,具有實(shí)時、可靠的特點(diǎn),負(fù)責(zé)各類傳感數(shù)據(jù)的存儲入庫。第二,系統(tǒng)基于OSGi框架,具有模塊化、動態(tài)化和擴(kuò)展性強(qiáng)的特性。每個設(shè)備協(xié)議都封裝為一個獨(dú)立的插件,加載到系統(tǒng)中,在不同的場景需求下,平臺可以接入不同設(shè)備,新的協(xié)議插件只需按照平臺提供的標(biāo)準(zhǔn)接口封裝,即可在平臺正常運(yùn)行的情況下動態(tài)加載到平臺之中,不會對其他模塊產(chǎn)生干擾。第三,采用排隊(duì)論和動態(tài)優(yōu)先級策略對協(xié)議的接入和分發(fā)進(jìn)行了優(yōu)化。通過排隊(duì)論理論對協(xié)議接入模塊線程池的大小進(jìn)行動態(tài)規(guī)劃,避免了線程的頻繁創(chuàng)建和銷毀。通過動態(tài)優(yōu)先級算法對分發(fā)模塊進(jìn)行優(yōu)化,實(shí)現(xiàn)了高優(yōu)先級協(xié)議數(shù)據(jù)的及時、高效轉(zhuǎn)發(fā)。
[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.
【學(xué)位授予單位】:北京郵電大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2016
【分類號】:TP391.44;TN929.5
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 甄珍;;物聯(lián)網(wǎng)發(fā)展現(xiàn)狀與前景分析[J];通訊世界;2015年07期
2 王俊姝;;物聯(lián)網(wǎng)技術(shù)構(gòu)成與關(guān)鍵技術(shù)分析[J];科技創(chuàng)新與應(yīng)用;2015年05期
3 劉化君;;物聯(lián)網(wǎng)體系結(jié)構(gòu)的構(gòu)建[J];物聯(lián)網(wǎng)技術(shù);2015年01期
4 仝學(xué)濤;;物聯(lián)網(wǎng)感知安全探析[J];無線互聯(lián)科技;2012年09期
5 劉方寧;;淺談新一代物聯(lián)網(wǎng)在電子商務(wù)中的應(yīng)用[J];數(shù)字技術(shù)與應(yīng)用;2011年10期
6 馬輝;黃秋波;蘇厚勤;;TCP Socket通信與Web服務(wù)結(jié)合實(shí)現(xiàn)高效可靠的數(shù)據(jù)分發(fā)[J];計(jì)算機(jī)應(yīng)用與軟件;2011年09期
7 劉國楓;;淺析在物聯(lián)網(wǎng)技術(shù)下移動通信技術(shù)的應(yīng)用與發(fā)展[J];科技致富向?qū)?2011年14期
8 陳寧江;林盤;;一種基于排隊(duì)系統(tǒng)的啟發(fā)式中間件動態(tài)線程池管理機(jī)制[J];計(jì)算機(jī)科學(xué);2010年10期
9 傅嘯;彭磊;馬詩琦;王東;;基于OSGi的RFID中間件安全框架[J];計(jì)算機(jī)工程;2010年17期
10 沈蘇彬;毛燕琴;范曲立;宗平;黃維;;物聯(lián)網(wǎng)概念模型與體系結(jié)構(gòu)[J];南京郵電大學(xué)學(xué)報(bào)(自然科學(xué)版);2010年04期
相關(guān)碩士學(xué)位論文 前2條
1 嚴(yán)曉煒;基于Equinox的OSGI構(gòu)件監(jiān)控模塊的研究與設(shè)計(jì)[D];北京郵電大學(xué);2012年
2 徐濤;基于發(fā)布/訂閱機(jī)制的傳感器數(shù)據(jù)分發(fā)系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)[D];電子科技大學(xué);2011年
,本文編號:1772537
本文鏈接:http://sikaile.net/kejilunwen/ruanjiangongchenglunwen/1772537.html