中国农业气象 ›› 2021, Vol. 42 ›› Issue (03): 243-249.doi: 10.3969/j.issn.1000-6362.2021.03.008

• 农业气象信息技术 栏目 • 上一篇    下一篇

农业气象测报业务系统上传数据文件格式和传输方式的改进

成兆金,庄立伟,张媛媛,吴门新,李轩,赵煜飞   

  1. 1.山东省日照市气象局,日照 276826;2.国家气象中心,北京 100081;3.华云信息技术工程有限公司,北京 100081;4.国家气象信息中心,北京 100081
  • 收稿日期:2020-09-23 出版日期:2021-03-20 发布日期:2021-03-20
  • 通讯作者: 庄立伟,研究员,从事农业气象业务服务技术研究及应用系统研发,E-mail:Zhuanglw@cma.gov.cn E-mail:Zhuanglw@cma.gov.cn
  • 作者简介:成兆金,E-mail:czjau@163.com
  • 基金资助:
    国家重点研发计划(2016YFA0600301);山东省气象局气象科学技术研究项目(2017sdqxm17)

Improvement of the Format and Transmission Mode of the Uploaded Data File in the Agrometeorological Observing Data Operation System

CHENG Zhao-jin,ZHUANG Li-wei,ZHANG Yuan-yuan,WU Men-xin,LI Xuan,ZHAO Yu-fei   

  1. 1.Rizhao Meteorological Bureau, Rizhao 276826, China;2.National Meteorological Center, Beijing 100081;3.Huayun Information Technology Engineering Co.LTD, Beijing 100081;4.National Meteorological Information Center, Beijing 100081
  • Received:2020-09-23 Online:2021-03-20 Published:2021-03-20

摘要: 随着现代气象观测技术的迅速发展,气象资料的数量及类型急剧增加。目前基于传统的TCP/IP协议的FTP文件传输方式以及TXT格式的纯文本报文文件,已无法满足大数量、多种类的观测数据高时效传输和存储要求。为满足气象信息化标准体系建设的需求,着重研究了Java消息服务传输和新XML数据文件格式技术在AgMODOS中的开发应用,包括RabbitMQ消息队列技术中的消息中间件技术、消息传输架构设计、观测数据消息过滤与封装、数据缓存、数据补传等。业务试运行结果表明:XML格式文件内容正确,消息传输稳定,无丢失,99%的观测数据从台站到国家局在1s以内完成传输,并通过交换控制策略将数据及时转发给业务单位,大幅提升了农业气象观测数据传输的时效性和服务能力。

关键词: 农业气象测报业务系统, XML数据格式文件, Java消息传输

Abstract: With the rapid development of modern meteorological observation technology, the quantity and type of meteorological data is increased sharply. At present, the FTP file transfer method based on traditional TCP/IP protocol and pure text message file in TXT format can no longer meet the high-time transmission and storage requirements of large quantity and multi-type observation data. To meet the needs of meteorological informatization standard system construction, this paper studies the Java message service transmission and new technology development and application of XML data file formats in AgMODOS including the message middleware technology, message transmission architecture design, observation data message filtering and encapsulation, data cache and data supplementary transfer etc. in RabbitMQ message queue technology. The results of the trial operation of the service show that the CONTENT of the XML format file is correct, the message transmission is stable, and there is no loss. 99% of the observation data are transmitted from the station to the national bureau within 1s, and the data are transmitted to the business unit timely through the exchange control strategy, and the timeliness and service capacity of the agricultural meteorological observation data transmission are greatly improved.

Key words: Agrometeorological observing data operation system, XML data format file, Java message transfer