欢迎访问《图学学报》

图学学报 ›› 2026, Vol. 47 ›› Issue (4): 820-833.DOI: 10.11996/JG.j.2095-302X.2026040820

• 数字化设计与制造 • 上一篇    下一篇

大规模线束拓扑并行归约与上下文敏感增量更新方法

李凯, 刘绍华(), 何梓豪, 刘康凡, 周思龙   

  1. 北京邮电大学电子工程学院北京 100876
  • 收稿日期:2026-01-20 接受日期:2026-05-11 出版日期:2026-08-31 发布日期:2026-08-31
  • 通讯作者:刘绍华,E-mail:liushaohua@bupt.edu.cn
  • 基金资助:
    国家自然科学基金(91938301)

Parallel reduction and context-sensitive incremental update method for large-scale wiring harness topology

LI Kai, LIU Shaohua(), HE Zihao, LIU Kangfan, ZHOU Silong   

  1. School of Electronic Engineering, Beijing University of Posts and Telecommunications, Beijing 100876, China
  • Received:2026-01-20 Accepted:2026-05-11 Published:2026-08-31 Online:2026-08-31
  • Contact: LIU Shaohua,E-mail:liushaohua@bupt.edu.cn
  • Supported by:
    National Natural Science Foundation of China(91938301)

摘要:

针对汽车电子电气架构演进带来的线束系统设计复杂度提升及验证效率瓶颈,以及传统图遍历算法在处理大规模线束寻径和频繁局部变更时面临计算开销大、难以实时反馈的挑战,提出了一种基于保留图文法(RGG)的高效计算框架。本框架利用RGG的双层节点结构建立线束拓扑模型,并提出“全局拓扑塌缩”策略,通过定义的并行归约规则将物理图高效转换为逻辑连接图,将算法复杂度从O(N2)降低至O(N)。实验结果表明,在静态寻径场景下,该算法在32线程环境下实现了30.89倍的加速比,并行效率达96.5%。与CH静态加速算法相比,RGG内存占用降低约50%且具有增量更新能力。针对动态设计变更,引入上下文敏感的增量更新机制,在属性更新与拓扑修改场景下,增量更新的性能优势随线束规模增大而愈发显著:当节点数从100增至5 000时,属性更新加速比从543倍提升至4.1×104倍,拓扑更新加速比从3.8倍提升至2.2×102倍。与Ramalingam动态最短路径算法相比,RGG更新时间更稳定且支持拓扑修改。此外,正确性验证显示该算法与传统Dijkstra算法结果完全一致(MAE=0,R2=1.0),确保了物理属性的完整保留。本研究为超大规模线束分析提供了兼具高保真度与实时响应能力的底层引擎。

关键词: 保留图文法, 拓扑塌缩, 并行归约, 上下文敏感, 增量更新

Abstract:

The evolution of automotive electrical/electronic architectures increases the design complexity of wiring harness systems and creates bottlenecks in validation efficiency. Traditional graph traversal algorithms also face the challenges of high computational overhead and the lack of real-time feedback in large-scale harness routing and frequent local modifications. To address these challenges, an efficient computing framework based on Reserved Graph Grammar (RGG) was proposed. This framework utilized the two-layer node structure of RGG to establish a wiring harness topology model and proposed a “global topology collapse” strategy. By defining parallel reduction rules, the physical graph was efficiently transformed into a logical connection graph, reducing the algorithmic complexity from O(N2) to O(N). Experimental results showed that in the static routing scenario, this algorithm achieved a speedup ratio of 30.89 times in a 32-thread environment, with a parallel efficiency of 96.5%. Compared with the Contraction Hierarchies (CH) static acceleration algorithm, RGG reduced memory usage by approximately 50% and supported incremental updating. For dynamic design changes, a context-sensitive incremental update mechanism was introduced. In the scenarios of attribute update and topology modification, the performance advantage of incremental update became more significant as the wiring harness scale increased: when the number of nodes increased from 100 to 5 000, the speedup ratio of attribute update increased from 543 times to 4.1×104 times, and the speedup ratio of topology update increased from 3.8 times to 2.2×102 times. Compared with the Ramalingam dynamic shortest path algorithm, RGG provided more stable update time and supported topology modification. Additionally, correctness verification showed that the results of this algorithm were completely consistent with those of the traditional Dijkstra algorithm (MAE=0, R2=1.0), ensuring the complete retention of physical attributes. A low-level engine with both high fidelity and real-time responsiveness was thereby provided for the analysis of ultra-large-scale wiring harnesses.

Key words: reserved graph grammar, topological collapse, parallel reduction, context-sensitive, incremental updating

中图分类号: