Design of Monitoring Software for Redundant Observation and Multi-Channel Communication
摘要
海洋站水文气象自动观测系统常部署于偏远海岛或无人观测点,受设备故障、维护和通信链路不稳定等因素影响,易出现观测数据缺测,降低数据获取率.为提高观测系统运行可靠性,本文提出一种基于冗余观测与多路并发通信的数据中心监测软件设计方法.在观测端部署两套独立观测设备,并采用光纤、北斗及第四代移动通信技术(4th Generation Mobile Com-munication Technology,4G)/第五代移动通信技术(5th Generation Mobile Communication Technol-ogy,5G)等多种方式并发传输数据;在数据中心虚拟主设备机制支持下,可通过智能诊断或人工干预从双备份设备中动态选择有效观测要素.软件采用多线程并发技术实现数据接收、解析与处理,并按照用户层、核心功能层、数据处理层与接口协议层进行分层设计.系统于 2022 年在涠洲海洋站部署运行,结果表明:该方案显著提高了观测数据到报率与有效率,可推广应用于海岛、海上平台及交通不便的无人观测点.
Automatic hydro-meteorological observation systems at ocean stations are often deployed on remote islands or unmanned obser-vation sites.Their data acquisition rate is frequently affected by equipment failures,routine maintenance,and unstable communication links,resulting in missing observation data.To improve the operational reliability of such systems,this paper proposes a data center moni-toring software design method based on redundant observation and multi-channel concurrent communication.At the observation site,two independent sets of observation devices are installed,and multiple transmission approaches,including optical fiber,Beidou satellite com-munication,and 4G/5G networks,are adopted for concurrent data delivery.In the data center,a virtual master device mechanism is devel-oped,which enables the dynamic selection of valid observation elements from the dual backup devices through intelligent diagnosis or manual intervention.The software employs multithreading technology to achieve efficient data reception,parsing,and processing,and is designed in a layered architecture consisting of the user layer,core function layer,data processing layer,and interface protocol layer.The system was deployed at the Weizhou ocean station in 2022.Results demonstrate that the proposed approach significantly improves the data reporting rate and validity of observation data.The system can be extended to island stations,offshore platforms,and unmanned ocean ob-servation sites with limited accessibility.