大气与环境光学学报 ›› 2012, Vol. ›› Issue (3): 208-213.

• 光电技术 • 上一篇    下一篇

大气探测设备网络控制系统的设计与实现

陈金金, 刘小勤   

  1. (中国科学院安徽光学精密机械研究所中国科学院大气成分与光学重点实验室, 安徽 合肥, 230031)
  • 收稿日期:2011-04-22 修回日期:2012-02-27 出版日期:2012-05-28 发布日期:2012-05-24
  • 通讯作者: 陈金金 (1988-),女,河南济源人,研究生,研究方向为计算机应用技术。 E-mail:chjjin@mail.ustc.edu.cn
  • 作者简介:陈金金 (1988-),女,河南济源人,研究生,研究方向为计算机应用技术。

Design and Implementation of Network Control System for Atmospheric Detection Equipments

CHEN Jin-jin, LIU Xiao-qin   

  1. (Key Laboratory of Atmospheric Composition and Optical Radiation, Anhui Institute of Optics and Fine Mechanics, Chinese Academy of Sciences, Hefei 230031, China)
  • Received:2011-04-22 Revised:2012-02-27 Published:2012-05-28 Online:2012-05-24

摘要:

建立了包含总控计算机、大气探测设备测控机及网络交换机在内的大气探测设备网络通信控制系统。该系统采用Windows Socket实现了通信功能,为了避免通信中阻塞的发生,选择了异步通信机制。根据系统的具体要求设计了通信协议,运用XML统一了各测控机测量的大气参数的格式。最终实现了对各种大气探测设备的集中控制,以及对采集到的各种大气参数的集中获取。

关键词: 大气监测, Socket通信, 数据包, XML

Abstract:

The network control system for atmospheric detection equipments consisted of the master control computer, the control machines to the atmospheric detection equipments and the network switch. This system applied Windows Socket to achieve the communication and selected the asynchronous communication mechanism to avoid the occurrence of the block. The message package format was designed in detail aimed at the specific requirements of this system and XML was employed to unify the various formats of the data measured in each control machine. Finally this system achieved the centralized control of the atmospheric detection equipments and the centralized access to a variety of atmospheric parameters.

Key words: atmospheric monitoring, Socket communication, data package, XML

中图分类号: