CHENG Zhaojin, ZHUANG Liwei, ZHANG Yuanyuan, TAN Kui, WU Xiangqin. Application of RabbitMQ Message Queue Technology in Agrometeorological Observation and Reporting System[J]. AGRICULTURAL ENGINEERING, 2022, 12(3): 52-55. DOI: 10.19998/j.cnki.2095-1795.2022.03.011
Citation: CHENG Zhaojin, ZHUANG Liwei, ZHANG Yuanyuan, TAN Kui, WU Xiangqin. Application of RabbitMQ Message Queue Technology in Agrometeorological Observation and Reporting System[J]. AGRICULTURAL ENGINEERING, 2022, 12(3): 52-55. DOI: 10.19998/j.cnki.2095-1795.2022.03.011

Application of RabbitMQ Message Queue Technology in Agrometeorological Observation and Reporting System

  • According to requirements of construction of meteorological information standard system,the FTP transmission mode of new long Z files of agricultural meteorological manual observation data for a long time is banned and message transmission is used instead.Development and application of Java message service transmission technology in AgMODOS was developed by using C/S architecture technology,object-oriented thinking and modular technology,and two-tier architecture design.It included RabbitMQ message middleware technology based on AMQP protocol,which realized transmission of agrometeorological observation Standard Data XML file through message filtering and encapsulation,data caching and data supplementary transmission. The system has been put into trial operation in National Agricultural Meteorological Observation Station in September 2020,and switched to manual agricultural meteorological observation data transmission service on December 1,2020. Results of operation showed that message transmission was stable without loss,99% of the data was transmitted within 1s from the station to national bureau,which greatly improved transmission timeliness and service capacity of agricultural meteorological observation data.
  • loading

Catalog

    Turn off MathJax
    Article Contents

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return