本文已被:浏览 268次 下载 910次
Received:October 07, 2023 Revised:November 09, 2023
Received:October 07, 2023 Revised:November 09, 2023
中文摘要: 在大数据时代, 用于数据处理的算法数量呈爆发式增长, 当前对大量算法的管理方法通常是对算法分类、打标签或以任务为单位存储由算法构成的流程, 对任务集合中的算法间拓扑关系未能给予足够的重视. 随着领域知识与任务流程的积累, 算法间的依赖关系愈发重要. 本文基于巨量算法管理的需求, 提出了拆分有分支依赖关系为无分支依赖关系的管理方法, 通过免索引邻接图数据库的指针搜寻拓扑关系, 避免Join操作, 在管理算法依赖关系时具有先天优势. 另外为突出算法模块复用能力, 提出“连接点”的概念, 在图模型中用节点表示依赖关系边, 区分算法模块在不同任务流程的位置, 使被多个任务复用的算法模块在图中只需用一个算法模块节点表示. 最后, 基于具体项目验证了本文提出的算法关系管理方法, 证明本文算法关系管理方法在算法数量成规模且算法模块高复用的场景下具有明显优势.
Abstract:In the era of big data, the number of algorithms used for data processing is exploding. The current management method for a large number of algorithms is usually to classify and label the algorithms, or store task flows composed of algorithms on a task-by-task basis, while insufficient attention has been paid to the topological relationships between algorithms in the task set. With the accumulation of domain knowledge and task flows, the dependency between algorithms becomes increasingly important. Based on the requirement of massive algorithm management, this study proposes a management method for splitting branched dependencies into unbranched dependencies. By searching for topological relationships through pointers in an index-free adjacency graph database, it avoids Join operations and has innate advantages in managing algorithm dependencies. In addition, this study proposes connection points to highlight the reusability of algorithm modules, which are utilized to represent dependency edges in the graph model. The position of algorithm modules in different task flows can be distinguished, so that algorithm modules reused by multiple tasks only need to be represented by one algorithm module node in the graph. Finally, based on specific projects, the algorithm relationship management method proposed in this study is validated. It is proved that the algorithm relationship management method has significant advantages in scenarios where the number of algorithms is large and the algorithm modules are highly reusable.
文章编号: 中图分类号: 文献标志码:
基金项目:国家重点研发计划 (2021YFC3000302)
引用文本:
谢昌佐,李子扬,董裕民,李雪松,舒展,杨光.利用图模型存储算法依赖关系的方法.计算机系统应用,2024,33(4):162-170
XIE Chang-Zuo,LI Zi-Yang,DONG Yu-Min,LI Xue-Song,SHU Zhan,YANG Guang.Method of Using Graph Model to Store Algorithm Dependencies.COMPUTER SYSTEMS APPLICATIONS,2024,33(4):162-170
谢昌佐,李子扬,董裕民,李雪松,舒展,杨光.利用图模型存储算法依赖关系的方法.计算机系统应用,2024,33(4):162-170
XIE Chang-Zuo,LI Zi-Yang,DONG Yu-Min,LI Xue-Song,SHU Zhan,YANG Guang.Method of Using Graph Model to Store Algorithm Dependencies.COMPUTER SYSTEMS APPLICATIONS,2024,33(4):162-170