计算机科学
計算機科學
계산궤과학
COMPUTER SCIENCE
2007年
3期
279-282
,共4页
软件复用%XML%构件检索%构件匹配
軟件複用%XML%構件檢索%構件匹配
연건복용%XML%구건검색%구건필배
构件检索和匹配是CBSD和软件复用的关键技术.目前构件库所采用的关键字、刻面、规约、行为等匹配技术都存在两个问题:1)构件表示方法各异,理解和共享构件困难;2)每个查询匹配算法侧重点不同,关键字和刻面匹配侧重构件的语义,而规约匹配侧重构件的结构,造成单独使用一种匹配算法或多或少产生一些冗余或无关构件.本文提出一个XML统一构件描述模型,该模型利用XML模式对构件进行层次化的组织,采用一种最大权匹配算法,从语 法和语义两方面计算两个构件间的匹配度,有效地解决了上述问题.通过实验证明,该技术在保证构件查全率的基础上有效地提高了查准率.
構件檢索和匹配是CBSD和軟件複用的關鍵技術.目前構件庫所採用的關鍵字、刻麵、規約、行為等匹配技術都存在兩箇問題:1)構件錶示方法各異,理解和共享構件睏難;2)每箇查詢匹配算法側重點不同,關鍵字和刻麵匹配側重構件的語義,而規約匹配側重構件的結構,造成單獨使用一種匹配算法或多或少產生一些冗餘或無關構件.本文提齣一箇XML統一構件描述模型,該模型利用XML模式對構件進行層次化的組織,採用一種最大權匹配算法,從語 法和語義兩方麵計算兩箇構件間的匹配度,有效地解決瞭上述問題.通過實驗證明,該技術在保證構件查全率的基礎上有效地提高瞭查準率.
구건검색화필배시CBSD화연건복용적관건기술.목전구건고소채용적관건자、각면、규약、행위등필배기술도존재량개문제:1)구건표시방법각이,리해화공향구건곤난;2)매개사순필배산법측중점불동,관건자화각면필배측중구건적어의,이규약필배측중구건적결구,조성단독사용일충필배산법혹다혹소산생일사용여혹무관구건.본문제출일개XML통일구건묘술모형,해모형이용XML모식대구건진행층차화적조직,채용일충최대권필배산법,종어 법화어의량방면계산량개구건간적필배도,유효지해결료상술문제.통과실험증명,해기술재보증구건사전솔적기출상유효지제고료사준솔.