燕山大学学报
燕山大學學報
연산대학학보
JOURNAL OF YANSHAN UNIVERSITY
2013年
4期
339-346
,共8页
陈子阳%蓝国翔%汤显%周军峰%王璿
陳子暘%藍國翔%湯顯%週軍峰%王璿
진자양%람국상%탕현%주군봉%왕선
XML%查询%列存储%哈希
XML%查詢%列存儲%哈希
XML%사순%렬존저%합희
XML%keyword search%column storage%hash
针对现有方法计算SLCA语义时存在冗余计算问题,提出了一种基于列存储的倒排索引,并结合哈希查找,以自顶向下的方式查询处理的算法TDCOL-HS,来避免现有算法“公共祖先重复处理”的问题。算法以最短倒排表作为处理对象,将检测给定结点是否包含其他关键字的操作转化为哈希查找操作,其时间复杂度为
針對現有方法計算SLCA語義時存在冗餘計算問題,提齣瞭一種基于列存儲的倒排索引,併結閤哈希查找,以自頂嚮下的方式查詢處理的算法TDCOL-HS,來避免現有算法“公共祖先重複處理”的問題。算法以最短倒排錶作為處理對象,將檢測給定結點是否包含其他關鍵字的操作轉化為哈希查找操作,其時間複雜度為
침대현유방법계산SLCA어의시존재용여계산문제,제출료일충기우렬존저적도배색인,병결합합희사조,이자정향하적방식사순처리적산법TDCOL-HS,래피면현유산법“공공조선중복처리”적문제。산법이최단도배표작위처리대상,장검측급정결점시부포함기타관건자적조작전화위합희사조조작,기시간복잡도위
Considering that existing methods suffer from redundant computation when processing XML keyword queries for SLCA semantics, we propose an efficient algorithm, namely TDCOL-HS, which processes the given query based on column storage and hash probe operation to avoid the problem of repeatedly computing common ancestor nodes. It takes the shortest list as the working list, and transforms the operation of testing whether a given node contains other keywords into hash probe operations, therefore, achieves the time complexity of × 1 . The experimental results demonstrate that the performance benefits of our methods in adding key word search on XML data.