基于Netty和Marshalling的青饲机工况远程监测系统研究
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

国家重点研发计划项目(2017YFD0700305)


Study of Remote Monitoring System for Silage Harvester Working Condition Based on Netty and Marshalling
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    针对青饲机工况信息数据的采样频率、并发量不断增大时,会造成I/O速度降低和数据丢包率上升等问题,研究了车载终端与云服务的数据通信协议和长字符串编解码方法,分析了Netty框架和传统NIO框架对并发量的影响,比较分析了Java序列化、Protobuf和Marshalling等3种编解码方法,提出数据采集、数据传输、Web应用三者分开的技术方案,设计了基于CAN总线技术、Netty自定义通信协议的青饲机工况信息远程监测系统。模拟试验结果表明,在500ms发送周期下,本系统比传统的数据采集系统在并发总量上提高了0.8倍;在200、100、50ms发送周期下,采用Marshalling的系统性能比采用Java序列化的系统,在I/O速度上分别提高0.4、3.9、1.5倍。田间试验结果表明,系统运行平稳,具有很好的稳定性和可靠性。对青饲机主要部件的工况数据统计分析表明,数据对工况诊断具有参考性,系统基本满足对青饲机主要部件工况的监测需求。该系统能够在高频次、高并发量下提高I/O速度,保证稳定的数据接入量。

    Abstract:

    The problems of decrease in I/O speed and increase in data packet loss rate were caused by the increase of sampling frequency and concurrency of information data under the working condition of the silage harvester. Therefore, the data communication protocol and long string Codec methods of the vehicle terminals and cloud services were studied, the impact of Netty framework and traditional NIO framework on concurrency was analyzed, and three Codec methods such as Java serialization, Protobuf and Marshalling were compared and analyzed. The technical schemes of data collection, data transmission and Web application were put forward separately, and a remote monitoring system for working condition information of silage harvester was designed by use of CAN technology and Netty custom communication protocol. The simulation test showed that the system had a 08 times increase in concurrency, compared with the traditional data acquisition system, under the sending cycle of 500ms. At 200ms, 100ms, and 50ms transmission frequencies, the I/O speed of using Marshalling code was increased by 0.4 times, 3.9 times and 1.5 times compared with Java serialization, respectively. The 15 days of continuous field trials showed that the system run smoothly with good stability and reliability. The statistical analysis of the working condition data from the main components of the silage harvester showed that the data can be reference to the diagnosis of the working condition, and the system basically met the monitoring requirements of main components of silage harvester. The developed system can increase the I/O speed and ensure stable data access volume at high frequency and high concurrency. It had a great significance to promote the informatization and intelligent development of silage harvester mechanical equipment.

    参考文献
    相似文献
    引证文献
引用本文

毛文华,韩少云,赵博,王丽丽,汪凤珠,汪洋.基于Netty和Marshalling的青饲机工况远程监测系统研究[J].农业机械学报,2020,51(8):145-151. MAO Wenhua, HAN Shaoyun, ZHAO Bo, WANG Lili, WANG Fengzhu, WANG Yang. Study of Remote Monitoring System for Silage Harvester Working Condition Based on Netty and Marshalling[J]. Transactions of the Chinese Society for Agricultural Machinery,2020,51(8):145-151.

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2019-11-25
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2020-08-10
  • 出版日期: 2020-08-10