An Internet of Things-Based Cluster System for Monitoring Lactating Sows’ Feed and Water Intake

Author:

He Xinyuan1,Zeng Zhixiong12,Liu Yanhua1,Lyu Enli13,Xia Jingjing14,Wang Feiren45,Luo Yizhi36ORCID

Affiliation:

1. College of Engineering, South China Agricultural University, Guangzhou 510642, China

2. Maoming Branch, Guangdong Laboratory for Lingnan Modern Agriculture, Guangzhou 510642, China

3. State Key Laboratory of Swine and Poultry Breeding Industry, Guangzhou 510645, China

4. Schools of Automobile, Guangdong Mechanical and Electrical Polytechnic, Guangzhou 510550, China

5. Guangzhou Jiaen Technology Co., Ltd., Guangzhou 510642, China

6. Institute of Facility Agriculture, Guangdong Academy of Agricultural Sciences, Guangzhou 510640, China

Abstract

Acquiring real-time feeding information for monitoring lactating sows and their feeding requirements is a challenging task. Real-time data represent an important input for numerous tasks, such as disease monitoring, nutritional regulation, and feeding modeling. However, concurrently monitoring large numbers of sows and processing the real-time information for modeling is challenging using existing platforms. In this paper, we describe the design and development of a system that monitors and processes sows’ feed and water consumption in real time. The system was custom-developed using open-source networking technologies. The system consists of three components: an electronic sow feeder connected to a central controller via a CAN network, an MQTT service cluster, and a data processing program. The MQTT service cluster uses Netty to develop a single service node, and it uses Zookeeper and Redis to complete node registration, discovery, and scheduling. The data processing program is based on Spark and Flink. We conducted comparative testing of three common codecs (Java Serializer, Marshalling, and Protostuff) to further speed up data transmission. The results of the experiment show that, with three service nodes, the system can concurrently monitor up to 20,000 sows. Moreover, the system achieves optimal performance when monitoring 10,000 sows at the same time, with a TPS of 6399 pcs/s and an RT of 643 ms.

Publisher

MDPI AG

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3