Computer Engineering and Applications ›› 2024, Vol. 60 ›› Issue (16): 76-84.DOI: 10.3778/j.issn.1002-8331.2311-0025

• Theory, Research and Development • Previous Articles     Next Articles

ARXML Query Processing Algorithm Based on Dynamic Fusion Index Tree

DAI Shenlong, TIAN Zhenhu, LI Chaochao, XU Fengjie, FANG Ling   

  1. 1.Institutes of Physical Science and Information Technology, Anhui University, Hefei 230601, China
    2.Hefei Institutes of Physical Science, Chinese Academy of Sciences, Hefei 230031, China
  • Online:2024-08-15 Published:2024-08-15

基于动态融合索引树的ARXML查询处理算法

戴深龙,田镇虎,李超超,徐封杰,方菱   

  1. 1.安徽大学 物质科学与信息技术研究院,合肥 230601
    2.中国科学院 合肥物质科学研究院,合肥 230031

Abstract: With the continuous evolution of the automotive industry and the accelerated progress of its smartification, AUTOSAR has emerged as a widely adopted automotive software architecture standard. ARXML (AUTOSAR XML) serves as a crucial resource within this architectural standard, providing descriptions of electronic control units (ECUs) in vehicles. Addressing the efficiency challenges in querying ARXML documents characterized by high data density and complex content, a structured document query processing algorithm is proposed based on a dynamic fusion index tree. The algorithm commences its analysis from the rules governing node relationships, exploring the relationship rules among internal nodes within a single document and nodes across different documents. While preserving the original relationships among nodes, it constructs a node relationship structure enriched with external relationships. Subsequently, the algorithm enhances this structure based on structured document query expressions. Finally, it extends the structure into a dynamic fusion index tree, aiming to reduce the time consumption in document parsing and enhance query performance. Complexity analysis and experimental results demonstrate that the document query efficiency achieved with the dynamic fusion index tree structure surpasses existing query methods, indicating practical utility.

Key words: dynamic fusion index, index tree, AUTOSAR, ARXML, query processing

摘要: 随着汽车行业的不断发展和智能化进程的加速,AUTOSAR已成为一种广泛采用的汽车软件架构标准,ARXML(AUTOSAR结构化文档)是该架构标准中描述车辆电子控制单元(electronic control unit,ECU)的重要资源。针对大量数据密度高且内容复杂的ARXML文档查询处理效率的问题,提出了一种基于动态融合索引树的结构化文档查询处理算法。算法从节点关系规则出发,对单个文档中的内部节点和不同文档中节点之间的关系规则进行分析,在保留节点原始关系的同时构建了带有外部关系的节点关系结构,并基于结构化文档查询表达式对该结构进行改进,最后将其扩展成动态融合索引树结构,降低文档解析处理时间消耗,提高查询性能。复杂性分析和实验结果表明,使用动态融合索引树结构的文档查询效率高于现有的查询方法,具备一定的实用性。

关键词: 动态融合索引, 索引树, AUTOSAR, ARXML, 查询处理