基于Epoll模型的消息推送研究与实现  被引量:9

Research and implementation of message push based on Epoll model

在线阅读下载全文

作  者:邱杰[1] 朱晓姝[1] 孙小雁[1] 

机构地区:[1]玉林师范学院计算机科学与工程学院,广西玉林537000

出  处:《合肥工业大学学报(自然科学版)》2016年第4期476-480,共5页Journal of Hefei University of Technology:Natural Science

基  金:广西壮族自治区自然科学基金资助项目(2013GXNSFAA019337);广西青年自然科学基金资助项目(2014GXNSFBA118010;2014GXNSFBA118268);广西教育厅重点科研资助项目(2013ZD056)

摘  要:当前消息推送已成为网络消息传递的一种主流方式,特别在移动平台上得到广泛应用,淘宝、QQ及微信等大型交流平台都使用消息推送方式。在Linux系统下的Epoll模型是一种优秀的通信模型,它优于Select模型和Poll模型,在连接数量上限制很小,并且对CPU的负担比较小。文章基于Epoll模型和长连接方法设计一种新的消息推送方法,并与国际流行的消息推送方法进行对比仿真实验,实验结果表明,基于Epoll模型的消息推送方法在及时性与连接数量耗时上均优于传统的方法。At present, the message push has become a major way of the network messaging, and has been widely implemented by many large communication platforms, such as Taobao, QQ and WeChat, especially the mobile platform. In the Linux system, Epoll model is an excellent communication model which is superior to Select and Poll models, it has a small limit on the number of connections and its b,urden on the CPU is very small. In this paper, a new message push method is designed by using the Epoll model and long connection method. Then the designed method is compared with internationally popular methods and the results show that the method based on Epoll model is better than traditional methods in the timeliness and the number of connections.

关 键 词:消息推送 Epoll模型 LINUX系统 长连接 数据包 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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