作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2008, Vol. 34 ›› Issue (21): 59-61,6. doi: 10.3969/j.issn.1000-3428.2008.21.022

• 软件技术与数据库 • 上一篇    下一篇

基于前摄器模式的实时传输并发策略

袁 方,陈 平   

  1. (西安电子科技大学软件工程研究所,西安 710071)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-11-05 发布日期:2008-11-05

Concurrency Strategy for Real-time Transport Based on Proactor Pattern

YUAN Fang, CHEN Ping   

  1. (Institute of Software Engineering, Xidian University, Xi’an 710071)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-11-05 Published:2008-11-05

摘要: 在开发实时传输软件过程中,应用程序需要处理大量的I/O操作,选用何种并发策略成了软件开发过程中需要解决的重要问题。该文提出并实现一种基于前摄器模式的设计方案,提供一种高效地并发处理I/O操作的方法。在实际应用中,该方案用于某信息系统实时传输软件的设计,满足了近等时传输和多用户等主要性能指标。

关键词: 并发, 异步I/O, 前摄器, 完成处理器

Abstract: Applications in real-time transport software must perform large numbers of I/O operations. Concurrency strategies play a vital part in building this kind of software. This paper introduces and implements a solution based on proactor pattern and provides an effective way to concurrently handle I/O operations. In practice, the solution serves in a military real-time transport software and satisfies main parameters of capability.

Key words: concurrency, asynchronous I/O, proactor, completion handler

中图分类号: