首页    期刊浏览 2024年07月06日 星期六
登录注册

文章基本信息

  • 标题:P4P Network Communication Components Based on Half-Sync/Half-Async and Pipe/Filter Patterns
  • 本地全文:下载
  • 作者:Wang, Cheng ; Liang, Zhicong
  • 期刊名称:Journal of Software
  • 印刷版ISSN:1796-217X
  • 出版年度:2014
  • 卷号:9
  • 期号:11
  • 页码:2830-2836
  • DOI:10.4304/jsw.9.11.2830-2836
  • 语种:English
  • 出版社:Academy Publisher
  • 摘要:This paper describes P4P(Proactive network Provider Participation for peer-to-peer) network server based on the Half-Sync/Half-Async and Pipe/Filter design patterns, which implements the requirements of the P4P system. The P4P network server applies the Half-Async layer to listen to the specified network port and establishes network connections asynchronously; makes use of message queue layer to buffer established network connections; applies the Pipe/Filter pattern into the Half-Sync layer and takes the Half-Sync layer to receive data and send data concurrently. Thanks to these patterns and the design, it gains various levels of concurrency and flexibility
国家哲学社会科学文献中心版权所有