计算机科学 ›› 2017, Vol. 44 ›› Issue (4): 157-160.doi: 10.11896/j.issn.1002-137X.2017.04.034

• NASAC 2015 • 上一篇    下一篇

电梯远程监控系统中高并发通信服务器的设计

王溪波,葛宏帅,王瑞全,林海   

  1. 沈阳工业大学信息科学与工程学院 沈阳110870,沈阳工业大学信息科学与工程学院 沈阳110870,空军航空大学飞行训练基地二团 哈尔滨150100,空军航空大学飞行训练基地二团 哈尔滨150100
  • 出版日期:2018-11-13 发布日期:2018-11-13
  • 基金资助:
    本文受辽宁“百千万人才工程”项目(2012921041)资助

Design of High Concurrent Communication Server of Elevator Remote Monitoring System

WANG Xi-bo, GE Hong-shuai, WANG Rui-quan and LIN Hai   

  • Online:2018-11-13 Published:2018-11-13

摘要: 针对远程通信服务器需要并行处理多级别数据报文的特点,结合Java NIO、数据批处理、数据库连接池、锁机制等技术,提出一种高并发UDP通信服务器模型。详细设计了数据报接收、处理、发送以及数据采集、入库等一系列过程,并在其中引入一种优先级动态切换的多队列线程池机制。根据负载情况的不同, 该多队列线程池的性能比传统线程池的性能提高了15.1%~21.58%。在沈阳蓝光集团实际应用中的效果表明,该服务器模型运行稳定,能满足大规模多优先级任务的底层通信,具有很好的通用性。

关键词: 物联网,电梯监控系统,高并发通信,动态优先级,多队列线程池,实时数据处理

Abstract: Since the remote communication server needs to parallelly handle a large number of datagrams with different levels,by using Java NIO,batch data processing,database connection pool and java synchronization,a high concurrency UDP communication server model was proposed.The receiving and sending of datagrams,data acquisition and storage were completed in detail,and a multi-queue thread pool was designed with dynamic priority.The simulation results show that the performance of multi-queue thread pool increases by 15% to 21.58% than the traditional thread pool The practical application effect of the system in Shenyang bluelight group shows that the server model is stable to work for large-scale underlying communication of multi-priority task and has very good generality.

Key words: Internet of things,Elevator remote monitoring,High concurrency communication,Dynamic priority,Multi-queue thread pool,Real-time data processing

[1] ATZORI L,IIERA A,Giacomo M.The internet of things:a survey[J].Computer Networks,2010,4(15):2787-2805.
[2] MEIER R.System,method and device for high bit rate datacommunication twisted pair cables[J].US Patent,2012,3(5):24-28.
[3] YANG Y F,CHEN Y,WU Z H.Design of underlying communication model for application in internet of things[J].Application Research of Computers,2012,9(3):1057-1059,5.(in Chinese) 杨丰玉,陈英,吴振华.一种面向物联网应用的底层网络通信模块设计[J].计算机应用研究,2012,9(3):1057-1059,5.
[4] ZHANG Y B.Thread pool in the concurrent cerver[J].Computerand Digital Engineering,2012,40(7):153-156.(in Chinese) 张垠波.线程池技术在并发服务器中的应用[J].计算机与数字工程,2012,0(7):153-156.
[5] GU Y H,GROSSMAN R L.UDT:UDP-based data tramfer for high speed wide area networks[J].Computer Networks:The International Journal of Computer and Telecommunieations Networking,2007,1(7):1777-1799.
[6] HENDLER D,LEV Y,MOIR M,SHAVIT N.A dynamic-sized nonblocking work stealing deque[J].Distributed Computing,2005,8(3):189-207.
[7] SHIN C,LEE S W,GAUDIOT J L.Adaptive dynamic thread scheduling for simultaneous multithreaded architectures with a detector thread[J].Journal of Parallel and Distributed Computing,2006,66(10):1304-1321.
[8] DENG F.On mass data asynchronous network communicationreference model with multi-user and multi-tasking concurrency[J].Computer Applications and Software,2013,30(6):127-131.(in Chinese) 邓绯.多用户多任务并发的海量数据异步网络通信参考模型研究[J].计算机应用与软件,2013,0(6):127-131.
[9] CUI S Z,CHEN Z B.Real-time and concurrent algorithm for short message based on multi-agent and multi-priority queue[J].Computer Engineering,2011,37(3):278-280,3.(in Chinese) 崔慎智,陈志泊.基于多代理和多优先队列的短信实时并发算法[J].计算机工程,2011,7(3):278-280,3.
[10] ZHANG Q J,WANG F.Study on the key techniques of remote monitoring system for large-scale equipments[J].Key Engineeri-ng Materials,2009,2-394:195-199.
[11] ELEVIEW H S C.Remote intelligent elevator monitoring system[J].International Journal of Computers and Applications,2004,26(2):111-118.

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!