首页 | 官方网站   微博 | 高级检索  
     

基于Netty和Kafka的物联网数据接入系统
引用本文:甄凯成,黄河,宋良图.基于Netty和Kafka的物联网数据接入系统[J].计算机工程与应用,2020,56(5):135-140.
作者姓名:甄凯成  黄河  宋良图
作者单位:1.中国科学院 合肥智能机械研究所,合肥 230031 2.中国科学技术大学,合肥 230026
基金项目:国家重点研发计划;国家自然科学基金
摘    要:当前在物联网应用中,大量采集终端被用于感知环境、定位服务、状态监测等应用,并源源不断地上传数据,在提产助效的同时,给远程服务端数据收集及实时处理带来巨大挑战。利用Netty网络通信库构造高性能的收集端网络通信处理服务并设计出可供采集终端与收集端使用的通信协议,剥离出网络通信业务中耗时操作并将数据推送至流式消息处理系统Kafka中,再由Kafka消费者负责后续数据持久化、实时分析工作。由此实现一个支持高并发、低延迟的数据接入系统。实验结果表明,在万级别连接情况下,该系统能正常工作且保持较快的响应速度。

关 键 词:物联网数据  网络通信  Netty  Kafka  

Internet of Things Data Injection System Based on Netty and Kafka
ZHEN Kaicheng,HUANG He,SONG Liangtu.Internet of Things Data Injection System Based on Netty and Kafka[J].Computer Engineering and Applications,2020,56(5):135-140.
Authors:ZHEN Kaicheng  HUANG He  SONG Liangtu
Affiliation:1.Institute of Intelligent Machine, Chinese Academy of Sciences, Hefei 230031, China 2.University of Science and Technology of China, Hefei 230026, China
Abstract:At present,in the application of the Internet of Things,a large number of acquisition terminals are used for sensing environment,positioning services,condition monitoring and so on.This terminals continuously upload data,which brings great challenges to remote server data collection and real-time processing while improving the efficiency of production.It utilizes the Netty network communication library to construct a high-performance network communication processing service and designs a communication protocol for the terminal and the server.Then,time-consuming operation in network communication service is stripped out and data are pushed into streaming message processing system Kafka.Kafka consumers are responsible for subsequent data persistence and real-time analysis.A data injection system supporting high concurrency and low latency is implemented.The experimental results show that the system can work normally and maintain a fast response speed under the condition of 10,000-level connections.
Keywords:Internet of Things data  network communications  Netty  Kafka
本文献已被 维普 万方数据 等数据库收录!
点击此处可从《计算机工程与应用》浏览原始摘要信息
点击此处可从《计算机工程与应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号