摘要
针对新能源监控系统中面临的海量终端接入难题,提出了解决该问题的网络负载均衡技术及通信连接管理方法两项关键技术。在网络负载均衡技术中,通过增加前置机调度模块,配置合适的前置机集群,优化网络负载均衡实现算法,在前置服务器上搭建EPOLL模型对交互数据进行处理,以解决海量终端接入带来的一系列高并发、潮涌式堵塞问题。在通信连接管理方法中,采用一种新的Socket管理方法。通过终端的多线程分类管理,Socket连接采用循环管理方式,及时检测和剔除无效Socket,以解决大量终端接入带来的通信连接管理和前置机模块资源消耗问题。试验结果表明,该方法实用性强,达到了预期效果,可有效解决新能源监控/集控系统中海量终端接入问题,同时对配电网监控等其他类似领域应用具有参考价值。
Aiming at the difficulty of massive terminal access faced in the new energy monitoring system,two key technologies are proposed,i.e.,the network load balancing technology and the communication connection management method.In network load balancing technology,by adding a front-end machine scheduling module,configuring a suitable front-end machine cluster,optimizing network load balancing algorithm,the EPOLL model is built in the front-end server to process interactive data and solve a series of high concurrent and surge blocking problems caused by massive terminal access.In the communication connection management method,a new Socket management method is researched and adopted.Through the terminal multi-thread classification management,the cycle management mode is used in Socket connection to promptly detect and eliminate invalid Sockets,thus the problems of communication connection management and the front-end machine module resource consumption caused by massive terminal access can be solved.The experimental results show that the design is practical,and achieves the expected effect;it effectively solves the problem of massive terminal access in the new energy monitoring/centralized control systems,and has certain reference value for similar applications in electric grid monitoring and other fields.
作者
冯利虎
易永辉
时谊
陈海龙
张玉宝
张倩
王刚
FENG Lih;YI Yonghui;SHI Yi;CHEN Hailong;ZHANG Yubao;ZHANG Qian;WANG Gang(XJ Group Corporation,Xuchang 461000,China)
出处
《自动化仪表》
CAS
2018年第11期52-55,共4页
Process Automation Instrumentation
关键词
新能源监控
风电
光伏
负载均衡
发电站
New energy monitoring
Wind power
Photovoltaic
Load balance
Power station