Based on idea of virtual Web page for the HTML page[6], this paper proposes firstly a concept of VXMLF(Virtual XML File), which separates the structure of XML file from the content of that. By means of modifying datam...Based on idea of virtual Web page for the HTML page[6], this paper proposes firstly a concept of VXMLF(Virtual XML File), which separates the structure of XML file from the content of that. By means of modifying datamodel and query language of Xquery proposed by W3C, the paper gives an architecture of XQuery system based onvirtual XML. Comparing with the original system, this query system has many new characteristics and advantagessuch as simplifying memory process, easy to maintain consistency of data, optimization of query computation and sim-plifying user operation.展开更多
Tree Match算法是一种有效的Twig查询匹配算法,但其存在反复分析Twig模式的缺点。针对该问题,引入编译中的部分求值技术,提出一种Twig查询优化方案。通过部分求值提前完成对Twig模式的分析,生成查询专用的指令序列代替原查询程序,并给...Tree Match算法是一种有效的Twig查询匹配算法,但其存在反复分析Twig模式的缺点。针对该问题,引入编译中的部分求值技术,提出一种Twig查询优化方案。通过部分求值提前完成对Twig模式的分析,生成查询专用的指令序列代替原查询程序,并给出查询机执行引擎,从而消除重复计算,优化XML树模式查询过程。实验结果表明,在不同Twig模式下,该优化方案能够有效提高XML查询的执行效率。展开更多
文摘Based on idea of virtual Web page for the HTML page[6], this paper proposes firstly a concept of VXMLF(Virtual XML File), which separates the structure of XML file from the content of that. By means of modifying datamodel and query language of Xquery proposed by W3C, the paper gives an architecture of XQuery system based onvirtual XML. Comparing with the original system, this query system has many new characteristics and advantagessuch as simplifying memory process, easy to maintain consistency of data, optimization of query computation and sim-plifying user operation.