首页 | 官方网站   微博 | 高级检索  
     

多线程程序时序分析的隐Markov模型
引用本文:孔德光,谭小彬,奚宏生,帅建梅,宫涛.多线程程序时序分析的隐Markov模型[J].软件学报,2010,21(3):461-472.
作者姓名:孔德光  谭小彬  奚宏生  帅建梅  宫涛
作者单位:中国科学技术大学自动化系,安徽合肥,230027
基金项目:Supported by the National High-Tech Research and Development Plan of China under Grant No.2006AA01Z449 (国家高技术研究发展计划(863))
摘    要:针对多线程程序数据竞争分析与检测困难的问题,提出一种基于隐Markov 模型的多线程程序时序分析方法.用随机变量不确定性刻画不同线程之间时序上的交互关系,分析数据竞争条件下程序不确定结果的概率分布情况;建立多线程程序时序分析的隐Markov 模型,使用Baum-Welch 和前向算法仿真上下文对程序实际运行状态的影响.实验结果表明,该模型能够快速有效反映多线程执行时序,用于指导多线程程序时序竞争检测过程.

关 键 词:多线程  数据竞争  hidden  Markov  模型  时序
收稿时间:2008/1/26 0:00:00
修稿时间:2008/10/30 0:00:00

Hidden Markov Model for Multi-Thread Programs Time Sequence Analysis
KONG De-Guang,TAN Xiao-Bin,XI Hong-Sheng,SHUAI Jian-Mei and GONG Tao.Hidden Markov Model for Multi-Thread Programs Time Sequence Analysis[J].Journal of Software,2010,21(3):461-472.
Authors:KONG De-Guang  TAN Xiao-Bin  XI Hong-Sheng  SHUAI Jian-Mei and GONG Tao
Affiliation:KONG De-Guang,TAN Xiao-Bin,XI Hong-Sheng,SHUAI Jian-Mei,GONG Tao (Department of Automation,University of Science , Technology of China,Hefei 230027,China)
Abstract:To overcome the difficulty of analyzing and detecting the data race in multithread programs, a method based on Hidden Markov model is presented for the analysis of time sequences in multithread programs. The random variable uncertainty is used to depict the mutual influence in different multithread in time sequences, and the probability distribution for random variable uncertainty is analyzed as the outcome of multithread programs on the condition of data race. Hidden Markov model is constructed to appreciate the state for the thread running according to the observed values of the running threads. The Baum-Welch and forwarding algorithm are used to simulate the real running process of the programs in the influence of context. It is proved by experiments that HMM model can quickly and effectively reflect the time sequence of the multithread programs, which can be used to instruct the detecting process of multithread programs.
Keywords:multi-thread  data race  hidden Markov model  sequence
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号