摘要
中国教育科研网(ChinaGrid)采用XML表示、交换和存储网格信息,具有种类多、信息量大等特点。常用解析方式(如DOM、SAX等)针对大型文档解析时,速度慢或占用大量系统资源。该文设计并实现了基于索引的解析方式,通过构造索引表加速信息查询和减少内存占用,具有快速、健壮以及占用系统资源少的特点,适应于大规模网格信息的解析。目前已应用在ChinaGrid的信息服务中,测试结果证明了其有效性。
ChinaGrid uses XML to represent, exchange, and store grid information which is characteristic of diverse and trelnendous. The comlnon 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.
出处
《计算机工程》
CAS
CSCD
北大核心
2008年第2期50-53,共4页
Computer Engineering
基金
国家部委基金项目
国家自然科学基金资助项目(2001CG1101)
教育部中国教育科研网格计划ChinaGrid资助项目