【正文】
d................................51 Server application development .......................................................................................51 Persistence layer development ................................................................................51 DAO layer design .................................................................................................53 Business logic layer to achieve ...............................................................................53 WEB layer ...........................................................................................................53 Ship Remote Monitoring System ......................................................................................54 Phone Android mobile client design..................................................................................57 The Android work munication model ............................................................57 . 2 The Android work munication interface options ............................................58 Mobile Android Mobile Application Testing ......................................................................58 Summary ......................................................................................................................59 Summary and Outlook ..............................................................................................................61 江蘇科技大學(xué)工學(xué)碩士學(xué)位論文 X Paper summarizes ............................................................................................................... 61 Job Outlook ........................................................................................................................ 61 References ................................................................................................................................ 63 Studying for a master39。 關(guān)鍵詞 物聯(lián)網(wǎng); Android;遠(yuǎn)程監(jiān)控;服務(wù)器; 嵌入式江蘇科技大學(xué)工學(xué)碩士學(xué)位論文 II Abstract In recent years along with the puter, integrated, embedded development platform and work munication technology fast development, the remote monitoring system get more and more attention from people, and the traditional monitoring system content working technology bination of B/S model of embedded remote monitoring system has gradually bee a new research hotspot,the paper research object is the ship remote monitoring system, in view of the conventional monitoring methods are difficult to achieve fast, accurate, dynamic monitoring and control and it cannot satisfy the more and more high remote monitoring requirements, therefore established based on things working technology ship remote monitoring system, for boats research and development has an important significance. This paper first introduces monitoring technology development and research status, and the principle of remote monitoring system, hierarchical structure as well as the realization plan was studied and discussed, according to the different monitoring system models, determine the B/S model of remote monitoring system solutions. From the perspective of system integration based on things working technology for remote monitoring system, and some key techniques mainly include Web database access technology, dynamic data realtime display, the curve of dynamic rendering technology, and gives the solution technical difficulties route and improvement measures to solve the system in real time and the existing problems in such aspects as safety. To Zigbee wireless sensor work for data acquisition terminal. Server through the serial port munication connection CC2530 wireless munication module receiving wireless sensor work the collected data. Combined with the actual needs of users, server system in accordance with the software engineering development process, not only to achieve a normal PC browser access, while developing Android applications for mobile user can access the puter via the Inter or through mobile phone Android access work access server. Check environmental data, authorized users can also according to the realtime data to make judgment, send control mand, regulate the environment.江蘇科技大學(xué)工學(xué)碩士學(xué)位論文 III Finally, the bination of the project39。 另外,結(jié)合用戶的實(shí)際需求,按照軟件工程的開發(fā)流程對(duì)服務(wù)器系統(tǒng)進(jìn)行了設(shè)計(jì),在實(shí)現(xiàn)了正常的 PC 瀏覽器對(duì)服務(wù)器的訪問的同時(shí),開發(fā)出了移動(dòng)終端的 Android 應(yīng)用程序,實(shí)現(xiàn)了移動(dòng)終端對(duì)服務(wù)器的訪問。 本文 將在此基礎(chǔ)上,對(duì)船舶 遠(yuǎn)程監(jiān)控系統(tǒng) 進(jìn)行設(shè)計(jì)和開發(fā) , 鑒于 常規(guī)監(jiān)控方法難以做到快速、準(zhǔn)確、動(dòng)態(tài)的監(jiān)測(cè)和控制,滿足不了越來(lái)越高的遠(yuǎn)程監(jiān)控要求,因此 本文設(shè)計(jì) 了基于物聯(lián)網(wǎng)技術(shù)的船舶 遠(yuǎn)程監(jiān)控系統(tǒng), 這 對(duì)于 船舶監(jiān)控系統(tǒng) 的研究與發(fā)展有重要的意義。在 傳統(tǒng)的監(jiān)控系統(tǒng) 中引入 物聯(lián)網(wǎng)技術(shù) ,并 結(jié)合B/S 模式 開發(fā)的 嵌入式遠(yuǎn)程監(jiān)控系統(tǒng)逐漸成為新的研究熱點(diǎn) 。以 Zigbee 無(wú)線傳感網(wǎng)絡(luò)為數(shù)據(jù)采集端 ,服務(wù)器通過(guò)串口通信連接 CC2530 無(wú)線通信模塊接收無(wú)線傳感網(wǎng)絡(luò)采集到的數(shù)據(jù) 。 最后,結(jié)合自己在項(xiàng)目中所作的工作和在課題研究過(guò)程中遇到的困難,對(duì)論文進(jìn)行了總結(jié)并對(duì)船舶遠(yuǎn)程監(jiān)控的發(fā)展予以展望。 Remote monitoring。國(guó)際經(jīng)濟(jì)貿(mào)易中的貨物運(yùn)輸中極大部分是由海上運(yùn)輸完成的。這兩種方式不僅 工作量大,并且存在著誤修的可能。船舶設(shè)備的運(yùn)行狀態(tài)以及報(bào)警系統(tǒng)的實(shí)時(shí)監(jiān)測(cè),可以實(shí)時(shí)監(jiān)測(cè)船舶的關(guān)鍵設(shè)備的信息參數(shù),對(duì)船舶的未來(lái)發(fā)展和建設(shè)具有極其重要的意義。船舶監(jiān)控系統(tǒng)緊密結(jié)合了船舶現(xiàn)代化發(fā)展的趨勢(shì),實(shí)現(xiàn)了船舶的網(wǎng)絡(luò)化監(jiān)控和全船數(shù)據(jù)資源的共享。本文提出的艦船監(jiān)控系統(tǒng)的特點(diǎn)是,船舶的監(jiān)控不受地理位置、 計(jì)算機(jī)配置等制約;可實(shí)現(xiàn)實(shí)時(shí)監(jiān)控;只要打開瀏覽器輸入服務(wù)器地址即可對(duì)船舶各項(xiàng)實(shí)時(shí)狀態(tài)進(jìn)行訪問;對(duì)船舶設(shè)備的運(yùn)行參數(shù)進(jìn)行監(jiān)測(cè)控制等。 船舶本地局域監(jiān)控曾經(jīng)是船舶監(jiān)控的主要方式,主要是集中式控制結(jié)構(gòu)、分布式控制結(jié)構(gòu)、現(xiàn)場(chǎng)總線式控制系統(tǒng) (FCS)以及全船網(wǎng)絡(luò)型。船舶監(jiān)控系統(tǒng)的發(fā)展如下 : 1964 以前船舶只能實(shí)現(xiàn)單設(shè)備的監(jiān)控,監(jiān)控的可靠性低。 80現(xiàn)在 監(jiān)控系統(tǒng)的智能化大幅提升,船舶監(jiān)控由本地局域監(jiān)控向遠(yuǎn)程監(jiān)控發(fā)展,已初步實(shí)現(xiàn)數(shù)字化和網(wǎng)絡(luò)化。同時(shí)可以利用局域網(wǎng)進(jìn)行資源共享,該第 1 章 緒論 3 方式充分考慮了目前 監(jiān)控方式對(duì)監(jiān)控點(diǎn)的數(shù)目與布控的要求。物聯(lián)網(wǎng)技術(shù)是以數(shù)據(jù)為中心,網(wǎng)絡(luò)通信不需要傳統(tǒng)網(wǎng)絡(luò)的復(fù)雜尋址方式,能夠迅速和有效的處理監(jiān)測(cè)到節(jié)點(diǎn)的信息,并且具有大規(guī)模 、高可靠性的優(yōu)點(diǎn),高密度的節(jié)點(diǎn)部署不僅是監(jiān)測(cè)區(qū)域的覆蓋面積增大,而且使系統(tǒng)容錯(cuò)性得到很大提高。哈佛大學(xué)與北卡大學(xué)合作研究的系統(tǒng),通過(guò)物聯(lián)網(wǎng)技術(shù)收集到的地質(zhì)震動(dòng)信息和次聲波信息,進(jìn)行了火山地質(zhì)變化的監(jiān)測(cè)。在國(guó)內(nèi)物聯(lián)網(wǎng)曾經(jīng)被稱為傳感網(wǎng)絡(luò),物聯(lián)網(wǎng)的核心技術(shù)即為傳感網(wǎng)技術(shù)。使微型傳感器具有了信息采集、數(shù)據(jù)處理、無(wú)限通信和協(xié) 同合作等多方面功能。如圖 為無(wú)線傳感器網(wǎng)絡(luò)體系結(jié)構(gòu)圖: 互 聯(lián) 網(wǎng) 、 衛(wèi) 星 或者 移 動(dòng) 通 信 網(wǎng) 絡(luò)監(jiān) 控 中 心傳 感 節(jié) 點(diǎn)監(jiān) 測(cè) 區(qū) 域匯 聚 節(jié) 點(diǎn) 圖 :無(wú)線傳感器網(wǎng)絡(luò)體系結(jié)構(gòu)圖 system structure of WSN 無(wú)線傳感器網(wǎng)絡(luò)節(jié)點(diǎn)主要包括傳感器單元、處理器單元、無(wú)線通信模塊和能量供應(yīng)模塊,分別負(fù)責(zé)設(shè)備信息數(shù)據(jù)的采集、轉(zhuǎn)換、存儲(chǔ)、處理、傳輸和能量模塊的能源供應(yīng)。使傳感器網(wǎng)絡(luò)與外網(wǎng)相連,同時(shí)將監(jiān)測(cè)到的數(shù)據(jù)傳輸?shù)酵獠烤W(wǎng)絡(luò),并發(fā)布到監(jiān)控中心。 無(wú)線傳感器網(wǎng)絡(luò)是通過(guò)一種自組織的動(dòng)態(tài)性網(wǎng)絡(luò)。為了正常運(yùn)行,網(wǎng)絡(luò)中會(huì)設(shè)置、增加新的傳感器節(jié)點(diǎn)來(lái)取代已失效節(jié)點(diǎn)的相應(yīng)作用,保證網(wǎng)絡(luò)拓?fù)浣Y(jié)構(gòu)不會(huì)隨著節(jié)點(diǎn)的突然失效或者損壞而發(fā)生改變。當(dāng)用戶查詢時(shí),系統(tǒng)僅是將事件發(fā)布到網(wǎng)絡(luò),而不需要確定節(jié)點(diǎn)位置。同時(shí)系統(tǒng)提供了擴(kuò)充功能,可以對(duì)船舶結(jié)構(gòu)進(jìn)行擴(kuò)充,并動(dòng)態(tài)添加需要監(jiān)控的節(jié)點(diǎn)。系統(tǒng)采用了 TI 公司的 ZigBee 芯片是以 CC2530 為核心,采用 51 單片機(jī)進(jìn)行傳感器節(jié)點(diǎn)數(shù)據(jù)的采集,并利用 ZigBee 無(wú)線網(wǎng)絡(luò)進(jìn)行數(shù)