辽宁工程技术大学学报(自然科学版)
遼寧工程技術大學學報(自然科學版)
료녕공정기술대학학보(자연과학판)
JOURNAL OF LIAONING TECHNICAL UNIVERSITY NATURAL SCIENCE EDITION
2013年
1期
68-72
,共5页
IETM%XML%查询%数据关系表%层次化%文档树%单元树%二维数组%单元矩阵
IETM%XML%查詢%數據關繫錶%層次化%文檔樹%單元樹%二維數組%單元矩陣
IETM%XML%사순%수거관계표%층차화%문당수%단원수%이유수조%단원구진
IETM%XML%query%data relation table%hierarchy%document-tree%cell-tree%two dimension array%cell-matrix
为解决交互式电子技术手册数据量庞大、结构繁杂不易查询的问题,采用将 XML 文档分解为层次化数据关系表的设计方法.在系统中创建数据结点,提取后构成文档树;根据文中定义将整体数据分解为具有层次化的数据关系表片段,由约束条件忽略与其明显不符片段及其附属,简化数据关系表;在简化数据关系表中搜索查询结点,根据算法进行计算,确定所查结点在文档树中具体位置及路径;依据所得位置及路径在系统中有针对性、目标性的查询.结果表明:该方法能够有效减少 XML 文档查询数据的路径,实现查询的高效性.
為解決交互式電子技術手冊數據量龐大、結構繁雜不易查詢的問題,採用將 XML 文檔分解為層次化數據關繫錶的設計方法.在繫統中創建數據結點,提取後構成文檔樹;根據文中定義將整體數據分解為具有層次化的數據關繫錶片段,由約束條件忽略與其明顯不符片段及其附屬,簡化數據關繫錶;在簡化數據關繫錶中搜索查詢結點,根據算法進行計算,確定所查結點在文檔樹中具體位置及路徑;依據所得位置及路徑在繫統中有針對性、目標性的查詢.結果錶明:該方法能夠有效減少 XML 文檔查詢數據的路徑,實現查詢的高效性.
위해결교호식전자기술수책수거량방대、결구번잡불역사순적문제,채용장 XML 문당분해위층차화수거관계표적설계방법.재계통중창건수거결점,제취후구성문당수;근거문중정의장정체수거분해위구유층차화적수거관계표편단,유약속조건홀략여기명현불부편단급기부속,간화수거관계표;재간화수거관계표중수색사순결점,근거산법진행계산,학정소사결점재문당수중구체위치급로경;의거소득위치급로경재계통중유침대성、목표성적사순.결과표명:해방법능구유효감소 XML 문당사순수거적로경,실현사순적고효성.
@@@@In an interactive technical electronic manual, the quantity of its data is huge, and its data structure is complicated. Thus it is difficult to be queried. This study proposes a new method that decomposes a XML document into a hierarchical data relation table. Firstly, various data nodes are created in the system which will form document tree after extraction. Secondly, according to the definition, the whole data are decomposed into hierarchical data table fragments, ignoring the fragments that differ markedly from the data and their subsidiaries by the constraints, and the data relation table is simplified. Thirdly, the nodes in the simplified data table are searched, and calculated according to the algorithm developed to determine the location and path of the node in the document tree. Finally the query is made based on the location and path with the target. As a result, the method reduces the paths when querying XML-document data, and achieves an effective query.