天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

當(dāng)前位置:主頁 > 科技論文 > 海洋學(xué)論文 >

海底示蹤氣體原位自動(dòng)檢測系統(tǒng)遠(yuǎn)程控制軟件的設(shè)計(jì)與實(shí)現(xiàn)

發(fā)布時(shí)間:2018-01-08 07:27

  本文關(guān)鍵詞:海底示蹤氣體原位自動(dòng)檢測系統(tǒng)遠(yuǎn)程控制軟件的設(shè)計(jì)與實(shí)現(xiàn) 出處:《湖南師范大學(xué)》2014年碩士論文 論文類型:學(xué)位論文


  更多相關(guān)文章: 海底示蹤氣體 海底觀測網(wǎng) 遠(yuǎn)程控制軟件 通信協(xié)議 多線程


【摘要】:作為地球觀測系統(tǒng)的第三個(gè)平臺(tái),海底觀測網(wǎng)絡(luò)由岸基站部分、海底接駁盒、海底光電纜以及科學(xué)儀器組成。為了接收海底觀測網(wǎng)科學(xué)儀器采集的數(shù)據(jù),控制科學(xué)儀器的運(yùn)行,需要為每類科學(xué)儀器研制遠(yuǎn)程控制軟件。本文研究的遠(yuǎn)程控制軟件作為同濟(jì)大學(xué)海洋與地球科學(xué)學(xué)院主持研究的“海底示蹤氣體原位自動(dòng)檢測系統(tǒng)”的上位機(jī),位于岸基/船基端,主要功能是遠(yuǎn)程操作海底示蹤氣體原位自動(dòng)檢測系統(tǒng)水下裝置和接收各種監(jiān)測數(shù)據(jù)。 本文完成的主要工作有: (1)通過海底示蹤氣體原位自動(dòng)檢測系統(tǒng)的遠(yuǎn)程控制軟件、水下中央控制單元、水下氣體分析裝置等三個(gè)組成部分之間數(shù)據(jù)通信的研究,設(shè)計(jì)了這三個(gè)部分之間的通信協(xié)議。提出了一種將所有數(shù)據(jù)包抽象成一個(gè)抽象類,讓繼承類去重寫該類發(fā)送函數(shù)和處理函數(shù)的方法,極大的提高了通信協(xié)議的可擴(kuò)展性以及穩(wěn)定性。 (2)實(shí)現(xiàn)了與水下中央控制單元的數(shù)據(jù)交互。通過Winsock網(wǎng)絡(luò)通信技術(shù),采用WSAAsySelect(異步選擇)模型將遠(yuǎn)程控制軟件以客戶端的方式與水下中央控制單元連接,接收狀態(tài)監(jiān)測數(shù)據(jù)、電源檢測數(shù)據(jù)、GC采樣信息,同時(shí)發(fā)送儀器控制指令。 (3)由于遠(yuǎn)程控制軟件完成的功能負(fù)載包括接收網(wǎng)絡(luò)數(shù)據(jù)、存儲(chǔ)數(shù)據(jù)、心跳圖動(dòng)態(tài)監(jiān)測數(shù)據(jù)等操作,為了讓主線程更從容地接收數(shù)據(jù),采用多線程設(shè)計(jì)。主線程一旦接收到數(shù)據(jù),立即將數(shù)據(jù)存入接收鏈表中,然后將數(shù)據(jù)處理等耗時(shí)操作交給后臺(tái)線程處理。 (4)實(shí)現(xiàn)了海底上傳信息的存儲(chǔ),這些采集的信息包括狀態(tài)監(jiān)測數(shù)據(jù)、電源檢測數(shù)據(jù)、GC采樣信息。為了保持?jǐn)?shù)據(jù)格式的通用性,使資料更方便地用于科學(xué)研究,直接將數(shù)據(jù)存入Excel文件中。操作Excel文件的方法有多種,程序中使用ADO操作Excel,提高數(shù)據(jù)存儲(chǔ)與讀取的速度。 (5)內(nèi)存池設(shè)計(jì)。在將接受的數(shù)據(jù)存入鏈表中時(shí),程序每1~2秒就需要向操作系統(tǒng)申請(qǐng)一塊20~70kb的內(nèi)存,這樣的內(nèi)存申請(qǐng)頻率過快,會(huì)導(dǎo)致內(nèi)存塊產(chǎn)生過多的碎片,逐漸蠶食內(nèi)存。為避免這一問題,設(shè)計(jì)了一個(gè)內(nèi)存池用于管理內(nèi)存的分配。內(nèi)存池首先向操作系統(tǒng)申請(qǐng)一塊較大的內(nèi)存,然后用SMemoryChunks類型的鏈表管理這些申請(qǐng)的內(nèi)存。當(dāng)程序需要內(nèi)存時(shí),只需從較大的內(nèi)存中分配一塊可用的即可。這樣減少了內(nèi)存碎片的產(chǎn)生,同時(shí)提高了內(nèi)存分配釋放的效率。
[Abstract]:As the third platform of the Earth observation system, the submarine observation network consists of a base station section, a submarine connection box, a submarine optical cable and scientific instruments to receive the data collected by the scientific instruments of the submarine observation network. Control the operation of scientific instruments. It is necessary to develop remote control software for each kind of scientific instruments. The remote control software studied in this paper is used as the host computer of "submarine tracer gas in-situ automatic detection system", which is developed by the School of Marine and Geoscience of Tongji University. Located at the shore / ship base, the main function is to remotely operate the underwater automatic detection system of submarine tracer gas and receive various monitoring data. The main work accomplished in this paper is as follows: 1) the research of data communication between the three components of submarine tracer gas in-situ automatic detection system, such as remote control software, underwater central control unit and underwater gas analysis device. The communication protocol between the three parts is designed, and a method of abstracting all packets into an abstract class is proposed, which allows the inheritance class to override the sending function and the processing function of the class. It greatly improves the scalability and stability of the communication protocol. (2) the data interaction with the underwater central control unit is realized, and the communication technology is realized through the Winsock network. WSAAsySelectModel is used to connect the remote control software with the underwater central control unit in the way of client, to receive the state monitoring data, and to detect the data of power supply. GC sampling information and sending instrument control instructions. Because the function load of remote control software includes receiving network data, storing data and monitoring data dynamically, so that the main thread can receive the data more calmly. As soon as the main thread receives the data, it stores the data in the receiving list, and then hands over the time-consuming operation such as data processing to the background thread for processing. In order to keep the generality of the data format, the storage of the submarine upload information is realized, which includes the status monitoring data, the power detection data and the GC sampling information. Make the data more convenient for scientific research, directly save the data in the Excel file. There are a variety of methods to manipulate Excel files, and ADO is used to operate Excel in the program. Improve the speed of data storage and reading. Memory pool design. When the accepted data is stored in the list, the program needs to apply to the operating system for a memory of 20 ~ 70kb every 1 ~ 2 seconds, so the memory request frequency is too fast. In order to avoid this problem, a memory pool is designed to manage the allocation of memory. The memory pool first applies a large block of memory to the operating system. The requested memory is then managed with a list of SMemoryChunks types. When the program needs memory. It only needs to allocate a piece of available memory from the larger memory. This reduces the generation of memory fragmentation and improves the efficiency of memory allocation release.
【學(xué)位授予單位】:湖南師范大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類號(hào)】:P715;TP311.52

【參考文獻(xiàn)】

相關(guān)期刊論文 前10條

1 馬偉鋒;崔維成;劉濤;胡震;;海底電纜觀測系統(tǒng)的研究現(xiàn)狀與發(fā)展趨勢[J];海岸工程;2009年03期

2 熊英;程玉;李軍;;遠(yuǎn)程控制程序設(shè)計(jì)[J];湖北工業(yè)大學(xué)學(xué)報(bào);2006年04期

3 李萍萍,姚娟,劉勇強(qiáng);在VC中使用ADO開發(fā)數(shù)據(jù)庫應(yīng)用程序[J];河南機(jī)電高等�?茖W(xué)校學(xué)報(bào);2004年04期

4 羅續(xù)業(yè);李彥;;海王星海底長期觀測系統(tǒng)的技術(shù)分析[J];海洋技術(shù);2006年03期

5 王項(xiàng)南;馬麗珊;熊焰;高艷波;張靜;;深海觀測平臺(tái)技術(shù)[J];海洋技術(shù);2007年03期

6 趙吉浩;高艷波;朱光文;葛運(yùn)國;;海洋觀測技術(shù)進(jìn)展[J];海洋技術(shù);2008年04期

7 劉駿,顏鋼鋒;基于Socket的網(wǎng)絡(luò)編程技術(shù)及其實(shí)現(xiàn)[J];江南大學(xué)學(xué)報(bào);2004年03期

8 程遠(yuǎn)忠,杜平安;Winsock中的I/O模型探討[J];計(jì)算機(jī)工程;2001年01期

9 郭虹,薄云飛,林冬;VC++與MATLAB混合編程技術(shù)研究[J];計(jì)算機(jī)工程;2002年09期

10 郭丙軒;張京莉;張志超;;基于內(nèi)存池的空間數(shù)據(jù)調(diào)度算法[J];計(jì)算機(jī)工程;2008年06期

相關(guān)博士學(xué)位論文 前1條

1 黃霞;海底原位地球化學(xué)傳感器的研制與應(yīng)用[D];浙江大學(xué);2008年

,

本文編號(hào):1396174

資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/kejilunwen/haiyang/1396174.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶cad59***提供,本站僅收錄摘要或目錄,作者需要?jiǎng)h除請(qǐng)E-mail郵箱bigeng88@qq.com
国产日韩欧美国产欧美日韩| 大香蕉大香蕉手机在线视频| 亚洲欧美日韩在线看片| 久久老熟女一区二区三区福利| 这里只有九九热精品视频| 日韩人妻有码一区二区| 加勒比系列一区二区在线观看| 亚洲一区在线观看蜜桃| 三级高清有码在线观看| 一二区中文字幕在线观看| 91人人妻人人爽人人狠狠| 丁香六月啪啪激情综合区| 九九热九九热九九热九九热 | 亚洲综合一区二区三区在线| 精品伊人久久大香线蕉综合 | 嫩草国产福利视频一区二区| 国产二级一级内射视频播放| 久久精品国产第一区二区三区| 欧美一级不卡视频在线观看| 精品欧美日韩一二三区| 午夜精品一区二区av| 我要看日本黄色小视频| 又色又爽又黄的三级视频| 久久99热成人网不卡| 好吊日在线观看免费视频| 青青操成人免费在线视频| 久久精品偷拍视频观看| 国产亚洲欧美自拍中文自拍| 不卡一区二区在线视频| 午夜精品久久久免费视频 | 日韩成人高清免费在线| 伊人网免费在线观看高清版| 色婷婷中文字幕在线视频| 色婷婷国产熟妇人妻露脸| 天堂网中文字幕在线视频| 亚洲一区二区三区四区性色av| 91午夜少妇极品福利| 亚洲免费视频中文字幕在线观看| 国产欧美亚洲精品自拍| 黑色丝袜脚足国产一区二区| 日韩亚洲激情在线观看|