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

计算机工程 ›› 2011, Vol. 37 ›› Issue (2): 34-36. doi: 10.3969/j.issn.1000-3428.2011.02.012

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

遴选算法全局条件解耦与物理优化实现

隋新征a,程仁洪b   

  1. (南开大学a. 信息技术科学学院;b. 软件学院,天津 300071)
  • 出版日期:2011-01-20 发布日期:2011-01-25
  • 作者简介:隋新征(1982-),男,博士研究生,主研方向:数据库技术及应用,软件性能工程;程仁洪,教授、博士生导师

Global Constraints Decoupling and Physical Optimal Implementation of Expert-chosen Algorithm

SUI Xin-zheng a, CHENG Ren-hong b   

  1. (a. College of Information Science; b. College of Software, Nankai University, Tianjin 300071, China)
  • Online:2011-01-20 Published:2011-01-25

摘要: 针对遴选算法处理信息量大、条件复杂、运行时间长等特性,研究算法准并行化的方法,运用全局约束量主动推送和全局记录加锁策略对全局条件进行解耦,在此基础上建立一种基于客户端/服务器模式的多线程算法结构,并对2种解决并行同步问题的加锁策略进行比较分析。实验结果表明,优化实现后算法的运行速度有明显提升。

关键词: 遴选算法, 全局条件, 解耦, 多线程

Abstract: Expert-chosen algorithm need process a large amount of data under complex constraints, it is a time consuming work. This paper examines the quasi-parallel approach of the algorithm. The strategies of global constraints status automatic delivering and global record locking are used to decouple the global constraints. Based on this, this paper proposes a client/server multi-threading architecture and conducts a comparative analysis for two locking methods which handles the synchronization. Experimental results show that the running speed of the optimizing algorithm is significantly improved.

Key words: expert-chosen algorithm, global constraints, decouple, multi-thread

中图分类号: