TCP Socket通信与Web服务结合实现高效可靠的数据分发  被引量:10

EFFICIENT AND RELIABLE DATA DISTRIBUTION REALISED BY INCORPORATING TCP Socket WITH Web SERVICES

在线阅读下载全文

作  者:马辉[1] 黄秋波[1] 苏厚勤[1] 

机构地区:[1]东华大学计算机科学与技术学院,上海201620

出  处:《计算机应用与软件》2011年第9期144-147,共4页Computer Applications and Software

摘  要:针对常见的一对多数据分发场景,分析了网络的现实情况,包括NAT和防火墙等,提出使用Web服务实现数据分发。考虑到Web服务的效率问题,把由服务器使用TCP Socket推送数据技术与客户端通过Web服务获取数据技术相结合,成功实现了各种网络条件下的数据分发,并利用异步Socket方式提高了系统效率。系统实现时,考虑到各种网络故障,使用了多种方法保证了数据分发的可靠性。同时,提出了可达性测试算法,使得服务器可靠地辨别哪些客户端无法被服务器访问,从而需要客户端主动拉数据。最后给出了可靠性与效率分析,并以实例证明了系统的高效性。For the common data distribution scenario of one-to-many,we analyse the real situation of network including NAT and firewall,etc.,and put forward to employ Web services to realise data distribution.Taking into account the efficiency of Web services,in this article we combined the TCP Socket pushing data technology used by server with the client pulling data technology by Web services,successfully achieved data distribution under various network conditions and used asynchronous socket ways to have enhanced system efficiency.When system implements,considering different network faults,a variety of methods were used in this system to ensure the reliability of data distribution.At the same time,we proposed the reachability test algorithm that enables the server to reliably identify which clients are denied to be accessed,and thus these clients need to initiatively pull data for data distribution.At the end of this article,we presented the reliability and efficiency analyses and also proved the efficiency of the system with example.

关 键 词:数据分发 SOCKET WEB服务 可达性测试 防火墙 NAT 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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