摘要
针对提升XML文档解析处理速度的问题,提出了一种基于VTD(Virtual Token Descriptor)模型的分块解析方法。该方法对XML文档进行分割、分块解析,并利用VTD-XML解析模型的无提取等特点构建了文件块结构缓存,用于对分块提取的记录进行合并校验。同时给出了方法的应用实例,并在FPGA硬件平台上实现了该方法的原型,实验证明该方法能明显提高XML文件的解析处理速度。
To improve the processing speed of XML files parsing,a blocking parsing approach based on VTD(Virtual token descriptor) model is proposed.This approach includes dividing and block parsing of XML files.It establishes the structure cache of file block by taking advantage of the non-extractive attribute of VTD-XML parsing model for merged check of the records extracted from blocking.At the same time,an application instance of the approach is given,and its prototype is realized on the FPGA hardware platform as well.Experiments prove that this approach can significantly raise the efficiency of parsing process of XML files.
出处
《计算机应用与软件》
CSCD
2011年第1期173-175,190,共4页
Computer Applications and Software