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

计算机工程 ›› 2011, Vol. 37 ›› Issue (3): 278-280,283. doi: 10.3969/j.issn.1000-3428.2011.03.097

• 开发研究与设计技术 • 上一篇    下一篇

基于多代理和多优先队列的短信实时并发算法

崔慎智,陈志泊   

  1. (北京林业大学信息学院,北京 100083)
  • 出版日期:2011-02-05 发布日期:2011-01-28
  • 作者简介:崔慎智(1983-),男,硕士研究生,主研方向:数据库技术,短信实时并发算法;陈志泊,教授
  • 基金资助:
    国家“863”计划基金资助项目(2006AA10Z232)

Real-time and Concurrent Algorithm for Short Message Based on Multi-Agent and Multi-Priority Queue

CUI Shen-zhi, CHEN Zhi-bo   

  1. (School of Information Science and Technology, Beijing Forestry University, Beijing 100083, China)
  • Online:2011-02-05 Published:2011-01-28

摘要: 针对Modem发送短信在实时性、并发性及完整性等性能上存在的缺陷,提出基于多代理、多优先级队列的短信实时并发算法。该算法采用多代理、多优先级队列、线程池等技术手段保证短信控制的实时性、并发性及数据完整性,在算法中使用优先级,使某些信息能够优先发送。通过改造排队论模型和实验对算法进行验证,并将该算法应用于SMAS系统,系统运行结果表明,该算法大幅提高了其发送和接收短信的速度与效率,实现了短信实时性和并发性的目标,优化了SMAS系统的整体性能。

关键词: 多代理, 多优先队列, 优先级队列, 实时, 并发

Abstract: Confronting the deficiencies in real-time, concurrency and integrity and so on for sending short message with Modem, the real-time and concurrent algorithm for short message based on multi-Agent and Multi-Priority Queue(Multi-PQ) is introduced. Technological measures such as multi-Agent, Multi-PQ and thread pool are adopted to control the message for real-time, concurrency and integrity. And the PQ is used in algorithm to send some message. The algorithm is verified by improving queuing theory and experiments. It is used in SMAS system, result shows that the speed and efficiency is quickly increased after using the algorithm. The aim for real-time and concurrency is achieved, and the performance of the SMAS system is improved.

Key words: multi-Agent, Multi-Priority Queue(Multi-PQ), priority queue, real-time, concurrent

中图分类号: