首页 | 官方网站   微博 | 高级检索  
     

面向物联网应用平台的Socket设计与优化
引用本文:王堃,于悦,张玉华,郭篁,王琳琳.面向物联网应用平台的Socket设计与优化[J].吉林大学学报(工学版),2012(Z1):290-294.
作者姓名:王堃  于悦  张玉华  郭篁  王琳琳
作者单位:南京邮电大学 宽带无线通信与传感网技术教育部重点实验室
基金项目:“973”国家重大基础研究发展规划项目(2011CB302903);国家自然科学基金项目(61100199,61100213);高等学校博士学科点专项科研基金项目(20113223120007);南京邮电大学宽带无线通信与传感网技术教育部重点实验室开放研究基金项目(NYKL201107)
摘    要:在物联网平台的通信层,利用缓冲池、线程池建立多线程并发连接,提出一种高效Socket服务器设计方案,在应对大量的用户和数据请求的同时,最大限度地减少系统开销和缓存的使用。仿真结果表明,引入线程池和缓冲池的Socket服务器可减少线程的创建和销毁时间以及客户端阻塞时间,减少线程的动态生成和销毁过程,从而增强服务器的处理能力。

关 键 词:计算机应用  物联网平台  线程池  Socket优化  仿真

IOT platform-oriented Socket design and optimization
WANG Kun,YU Yue,ZHANG Yu-hua,GUO Huang,WANG Lin-lin.IOT platform-oriented Socket design and optimization[J].Journal of Jilin University:Eng and Technol Ed,2012(Z1):290-294.
Authors:WANG Kun  YU Yue  ZHANG Yu-hua  GUO Huang  WANG Lin-lin
Affiliation:(Key Lab of Broadband Wireless Communication and Sensor Network Technology,Ministry of Education,Nanjing University of Posts and Telecommunications,Nanjing 210003,China)
Abstract:An efficient design for a Socket server with buffer pool and a thread pool for concurrent request on the IOT platform is presented.This reduces the system overhead and buffer usage to the largest extent while faced with a large number of connections and digital requests.The simulation results show that a Socket server with a thread pool and buffer pool could lower the overhead on the context switch of threads as well as the I/O blocking.
Keywords:computer application  IOT platform  thread pool  Socket optimization  simulation
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号