• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2015, Vol. 37 ›› Issue (09): 1656-1660.

• 论文 • 上一篇    下一篇

海底观测网中上位机与服务器通信协议的设计

谢军1,2,马辉2,李秀2   

  1. (1.海南大学机电工程学院,海南 海口 570228;2.清华大学深圳研究生院,广东 深圳 518055)
  • 收稿日期:2014-10-20 修回日期:2015-01-28 出版日期:2015-09-25 发布日期:2015-09-25
  • 基金资助:

    国家863计划资助项目(2012AA09A408)

Design of communication protocol between upper computer
and data server in seafloor observatory networks 

XIE Jun1,2,MA Hui2,LI Xiu2   

  1. (1.College of the Mechanical and Electrical Engineering,Hainan University,Haikou 570228;
    2.Graduate School at Shenzhen,Tsinghua University,Shenzhen 518055,China)
  • Received:2014-10-20 Revised:2015-01-28 Online:2015-09-25 Published:2015-09-25

摘要:

在海底观测网络中,各仪器采集的数据都分别发送到各自平台上位机,各上位机进行数据汇总后分别发送数据到数据管理系统服务器。在对海底观测网中各个设备数据采集格式、数据通信速率、数据通信容量进行综合分析后,设计了上位机与数据服务器之间的通信协议。通信数据包包括包头、包体和校验位,各个上位机通信的包头格式一致,包体结合不同设备的各自特点分别进行设计。根据通信协议开发了相应的客户端和服务器端软件。测试结果表明,通信协议能够完整、正确、高效地完成数据传输。

关键词: 海底观测网, 物联网, 通信协议, TCP/IP

Abstract:

In seafloor observatory networks, sampling data of each instrument are sent to their own upper computer respectively, which then summarizes all the data and sents them to the data management system server. On the basis of a comprehensive evaluation of data sampling format, data transforming velocity and data transforming capacity, we design a communication protocol between the upper computer and the data server. Package head, package body and cyclic redundancy check (CRC) are included in the communication package. For different upper computers, the format of package head is the same while the format of package body is designed respectively according to the specific characters of the instruments. Besides, we also develop a corresponding client and server software according to the communication protocol. Test results show that the proposed communications protocol can secure full, correct and efficient data transmission from the upper computer to the data sever.

Key words: seafloor observatory network;Internet of things;communication protocol;TCP/IP