智能停车系统中消息中间件的设计与实现  被引量:6

Design and Implementation of Message Middleware in Intelligent Parking System

在线阅读下载全文

作  者:陈思媛 易国洪[1,2] 金旺 CHEN Siyuan;YI Guohong;JIN Wang(School of Computer Science&Engineering,Wuhan Institute of Technology,Wuhan 430205,China;Hubei Key Laboratory of Intelligent Robot(Wuhan Institute of Technology),Wuhan 430205,China)

机构地区:[1]武汉工程大学计算机科学与工程学院,湖北武汉430205 [2]智能机器人湖北省重点实验室(武汉工程大学),湖北武汉430205

出  处:《武汉工程大学学报》2020年第2期224-230,共7页Journal of Wuhan Institute of Technology

基  金:武汉工程大学研究生教育创新基金项目(CX2018199)。

摘  要:为解决智能停车系统中停取车指令的跨平台接收问题以及保证指令接收的准确率,设计并实现了一种智能停车异步消息中间件(SCAMM)。SCAMM通过Java NIO事件驱动模型来实现异步通信,完成了对基于长度的自定义协议封装模块、基于双向通道、异步通信的消息管理模块和消息转发模块的实现,同时使用基于长度的协议解码器来处理消息的粘包、拆包问题。SCAMM具有良好的适配性,提供了基于Java的客户端以及基于C#的中控端。实验证明,对比其他开源消息中间件,SCAMM在智能停车系统的应用中能够明显提高指令接收的准确率,保证智能停车系统稳定高效的运行。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.

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

分 类 号:TP391.4[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象