Abstract:
ChinaGrid uses XML to represent, exchange, and store grid information which is characteristic of diverse and tremendous. The common parser models, such as DOM and SAX, are inefficient or resource intensive for large XML documents. This paper presents an index-based parser model, which builds index tables to speed up information retrieve and reduce memory consumption. It is more suitable for mass grid information parsing with characters of speediness, robustness and low resource requirement. The model has been applies in information service of ChinaGrid, the results show it is effective.
Key words:
information service,
XML parser model,
ChinaGrid
摘要: 中国教育科研网(ChinaGrid)采用XML表示、交换和存储网格信息,具有种类多、信息量大等特点。常用解析方式(如DOM、SAX等)针对大型文档解析时,速度慢或占用大量系统资源。该文设计并实现了基于索引的解析方式,通过构造索引表加速信息查询和减少内存占用,具有快速、健壮以及占用系统资源少的特点,适应于大规模网格信息的解析。目前已应用在ChinaGrid的信息服务中,测试结果证明了其有效性。
关键词:
信息服务,
XML解析方式,
中国教育科研网格
CLC Number:
ZHANG Hai-hui; ZHOU Xing-she; YANG Zhi-yi; WU Xiao-jun; WANG Tao. Design of XML Parser Model in ChinaGrid[J]. Computer Engineering, 2008, 34(2): 50-53.
张海辉;周兴社;杨志义;吴小钧;王 涛. ChinaGrid中XML解析方式设计[J]. 计算机工程, 2008, 34(2): 50-53.