计算机应用 ›› 2011, Vol. 31 ›› Issue (06): 1487-1490.DOI: 10.3724/SP.J.1087.2011.01487

• 计算机软件技术 • 上一篇    下一篇

针对构件测试本体的语义相似度计算方法

韩仙玉1,2,姜瑛2,3   

  1. 1.
    2. 昆明理工大学 信息工程与自动化学院,昆明 650051
    3. 北京大学 高可信软件技术教育部重点实验室,北京 100871
  • 收稿日期:2010-11-26 修回日期:2011-01-17 发布日期:2011-06-20 出版日期:2011-06-01
  • 通讯作者: 韩仙玉
  • 作者简介:韩仙玉(1985-),女,云南芒市人,硕士研究生,主要研究方向:软件工程、软件测试;姜瑛(1974-),女,浙江余姚人,副教授,博士,主要研究方向:软件工程、软件构件、软件质量保证与测试。
  • 基金资助:
    国家自然科学基金资助项目;国家自然科学基金资助项目;教育部重点实验室开放课题;云南省教育厅科学研究基金重点项目

Method of semantic similarity calculation for component testing ontology

HAN Xian-yu1,2,JIANG Ying3,4   

  1. 1.
    2. Faculty of Information Engineering and Automation, Kunming University of Science and Technology, Kunming Yunnan 650051, China;
    3. Key Laboratory of High Confidence Software Technologies of Ministry of Education, Peking University, Beijing 100871, China
    4. Faculty of Information Engineering and Automation, Kunming University of Science and Technology, Kunming Yunnan 650051, China
  • Received:2010-11-26 Revised:2011-01-17 Online:2011-06-20 Published:2011-06-01
  • Contact: HAN Xian-yu

摘要: 为了提高构件测试信息的检索效率,针对现有本体语义相似度计算方法作用于构件测试本体时容易出现漏检的问题,提出一种结合本体概念和属性的综合语义相似度计算方法。该方法首先结合概念的结构、层次、子代节点个数和祖先节点个数等因素计算概念相似度;然后,结合属性的概念相似度和数据类型相似度计算属性相似度;最后,综合概念相似度和属性相似度计算本体的语义相似度。实验表明该方法可以有效应用于构件测试领域及其他领域的信息检索。

关键词: 本体, 构件测试本体, 语义相似度, 概念相似度, 属性相似度

Abstract: Concerning the problem that some results are easily leaked while the component testing ontology is retrieved using the existed calculation method of ontology semantic similarity, a similarity calculation method based on concept and attribute was proposed to improve the retrieval efficiency of component testing information. Firstly, the structure, hierarchy, the number of offspring nodes and ancestor nodes of concept were used to calculate the concept similarity. Then, the attribute similarity was calculated based on the concept similarity of the attributes and its data type similarity. Finally, the concept similarity and attribute similarity were combined to calculate the comprehensive ontology semantic similarity. The experimental results indicate that the similarity calculation method can be applied in component testing and other domains effectively.

Key words: ontology, component testing ontology, semantic similarity, concept similarity, attribute similarity