检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:李德平[1] 钟文章[1] 杨群慧[2] 陈玉冬[1] 高海丽[1] 白明彪 张伟兵[1]
机构地区:[1]湖南师范大学资源与环境科学学院,湖南长沙410081 [2]同济大学海洋与地球科学学院,上海200092
出 处:《计算机技术与发展》2015年第1期216-220,共5页Computer Technology and Development
基 金:国家"863"高技术发展计划项目(2009AA09Z2487830);湖南师范大学地图学与地理信息系统校级重点学科建设项目
摘 要:为了原位自动探测海底氢气、氧气、氮气、甲烷等示踪气体含量,同济大学海洋与地球科学学院研制了一套海底示踪气体原位自动检测系统。文中以这套系统的远程控制软件为例,探讨了海底示踪气体原位自动监测系统远程控制软件的设计与实现方法,在VC++2005平台中采用WSAAsync Select模式进行套接字编程,将接收的数据存入链表中,使用后台线程处理数据存储、心跳图显示等耗时操作,让主线程更从容地处理网络事件,确保数据的实时收发。同时提出了一个数据重传机制,从应用程序层次保证了数据传输的完整性和正确性。For the purpose of in-situ auto-detecting the content of hydrogen,oxygen,nitrogen and methane in the seafloor,the faculty of ocean and earth science in Tongji University has developed an undersea tracer gas in-situ auto-detecting system. Taking the remote con-trol software of this system as a case,an in-depth analysis is conducted on its design and implementation in this paper. By using the WSAAsynSelect model for socket programming on Microsoft Visual C++ 2005,all received data are stored in a link-list,and the time-consuming operations such as data storage and fluctuation graph display are handled by the background threads. Thus the main thread can be more focus and effective on disposing the network events. Real-time communication is achieved. At the same time present a data re-transmission mechanism,which ensures the integrity and correctness of data transfer at the application level.
关 键 词:WSAAsyncSelect模式 海底示踪气体 远程控制 数据重传
分 类 号:TP31[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15