首页 | 本学科首页   官方微博 | 高级检索  
     

智能停车系统中消息中间件的设计与实现
引用本文:陈思媛1,易国洪1,2,金 旺1. 智能停车系统中消息中间件的设计与实现[J]. 武汉工程大学学报, 2020, 42(2): 224-230
作者姓名:陈思媛1  易国洪1  2  金 旺1
作者单位:1. 武汉工程大学计算机科学与工程学院,湖北 武汉 430205;2. 智能机器人湖北省重点实验室(武汉工程大学),湖北 武汉 430205
摘    要:为解决智能停车系统中停取车指令的跨平台接收问题以及保证指令接收的准确率,设计并实现了一种智能停车异步消息中间件(SCAMM)。SCAMM通过Java NIO事件驱动模型来实现异步通信,完成了对基于长度的自定义协议封装模块、基于双向通道、异步通信的消息管理模块和消息转发模块的实现,同时使用基于长度的协议解码器来处理消息的粘包、拆包问题。SCAMM具有良好的适配性,提供了基于Java的客户端以及基于C#的中控端。实验证明,对比其他开源消息中间件,SCAMM在智能停车系统的应用中能够明显提高指令接收的准确率,保证智能停车系统稳定高效的运行。

关 键 词:智能停车系统  消息中间件  粘包与拆包  自定义协议  异步通信

Design and Implementation of Message Middleware in Intelligent Parking System
CHEN Siyuan1,YI Guohong1,' target="_blank" rel="external">2,JIN Wang1. Design and Implementation of Message Middleware in Intelligent Parking System[J]. Journal of Wuhan Institute of Chemical Technology, 2020, 42(2): 224-230
Authors:CHEN Siyuan1,YI Guohong1,' target="  _blank"   rel="  external"  >2,JIN Wang1
Affiliation:1. School of Computer Science & Engineering,Wuhan Institute of Technology,Wuhan 430205, China;2. Hubei Key Laboratory of Intelligent Robot ( Wuhan Institute of Technology),Wuhan 430205, China
Abstract:To improve the accuracy of receiving instructions, a smart car parking system asynchronous messaging middleware (SCAMM) was designed.?SCAMM realized the asynchronous communication based on the Java NIO event-driven model. Moreover, it provides three additional modules: the length-based customized protocol encapsulated module, the message-management module based on two-way channel and asynchronous communication mechanism, and the message-forwarding module. Meanwhile, a length-based protocol decoder was applied to deal with problems of sticky and unpacking bags. SCAMM possesses good adaptability, which provides Java-based client as well as the C#-based central control terminal. Experiments show that compared with other open source message middleware, SCAMM can significantly improve the accuracy of receiving instructions and ensure the stable and efficient operation of the intelligent parking system.
Keywords:smart car parking system  message-oriented middleware  sticky bag and unpacking bag  customized protocol  asynchronous communication
本文献已被 CNKI 等数据库收录!
点击此处可从《武汉工程大学学报》浏览原始摘要信息
点击此处可从《武汉工程大学学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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