首页> 中文期刊>计算机应用 >完成端口实现高性能服务端通信层的关键问题

完成端口实现高性能服务端通信层的关键问题

     

摘要

为实现高性能稳定的网络通信服务,对完成端口(IOCP)应用中信息识别与提取、资源管理、消息乱序处理3个关键问题进行了分析,提出了IOCP参数扩展、内存池、对象池、环形缓冲等改进的解决方法.使用这些方法对IOCP底层进行了封装,并设计和实现了面向企业应用的可扩展网络程序通信模块.压力和性能测试结果表明,该模块能在合理资源消耗基础上支持海量并发连接,具有较高的数据吞吐量,在实际项目应用中也表现出了良好的性能.%Concerning the breakage warning problem of grid fence, a grid breakage detection algorithm based on improved Harris comer was proposed. As for traditional Harris corner extraction algorithm, the first derivative in vertical and horizontal direction and the corner response function value need to be calculated, and it must be done for each image pixel, which makes this method time-consuming. Therefore, the parameter of gray "similarity" was introduced to demonstrate the gray similarity between pixel and its ambient pixels, through which to filter pseudo corners, reducing the Harris corner extraction time. Then after analyzing the corners' distribution, the breakage areas can be locked. Breakage detection experiments were taken to various fence images taken by robot, and the results indicate that the Harris corner extraction time decreases largely, and the proposed algorithm is effective, meeting the practical application requirements of fence breakage detection.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号