基于LLM与规则协同的配置命令知识图谱构建方法
An LLM-Rule Collaborative Method for Constructing Configuration Command Knowledge Graphs
DOI: 10.12677/csa.2026.168273, PDF,    科研立项经费支持
作者: 陆逸伟, 林文通*:中国电信股份有限公司江苏分公司智能云网调度运营江苏中心,江苏 南京;阮庭文, 方佳璇:南京邮电大学通信与信息工程学院,江苏 南京
关键词: 知识图谱配置命令知识抽取大语言模型Knowledge Graph Configuration Commands Knowledge Extraction Large Language Models
摘要: 随着无线通信网络规模不断扩大和设备功能持续演进,配置命令、参数约束及业务场景之间的关系日益复杂,传统面向人工阅读和关键词检索的配置命令手册难以满足配置知识关联查询与智能化应用需求。为解决这一问题,本文提出一种基于LLM与规则协同的配置命令知识图谱构建方法。该方法构建了语义解析、模式约束与图谱融合相结合的知识建模机制,利用规则与LLM识别配置命令手册中的实体与关系,将非结构化配置知识转换为一致的图谱表示。在基础图谱之上,引入面向业务场景的增量演化机制,通过命令实体对齐、配置序列恢复和有序关系建模,将静态命令知识扩展为能够描述场景执行流程的配置知识网络。最终构建的知识图谱包含5类节点和7类关系,共计15,834个节点和53,964条关系,实现了配置命令的统一表示,为配置命令查询、场景流程检索等提供了结构化知识支撑。
Abstract: The interactions between configuration commands, parameter constraints and service scenarios grow more intricate as networks expand and device functionality advances. However, configuration manuals are written for human reading and keyword lookup, and struggle to support associative queries and intelligent use of configuration information. To solve this, we build a configuration command knowledge graph using LLMs and rule-based checks. Our pipeline combines semantic parsing, schema enforcement, and graph construction. We also design an incremental update mechanism for changes in deployment environments. Through entity alignment, sequence reconstruction, and ordered relationship modeling, static command knowledge is expanded into a network describing execution workflows. The resulting graph comprises 5 node types and 7 relationship types, totaling 15,834 nodes and 53,964 relationships. It provides a standardised view of commands and supports command lookup and workflow tracing.
文章引用:陆逸伟, 阮庭文, 方佳璇, 林文通. 基于LLM与规则协同的配置命令知识图谱构建方法[J]. 计算机科学与应用, 2026, 16(8): 177-188. https://doi.org/10.12677/csa.2026.168273

参考文献

[1] 张坤丽, 王影, 付文慧, 等. 大语言模型驱动下知识图谱的构建及应用综述[J]. 郑州大学学报(理学版), 2026, 58(2): 1-9.
[2] 曹荣荣, 柳林, 于艳东, 等. 融合知识图谱的大语言模型研究综述[J]. 计算机应用研究, 2025, 42(8): 2255-2266.
[3] Choi, S. and Jung, Y. (2025) Knowledge Graph Construction: Extraction, Learning, and Evaluation. Applied Sciences, 15, 3727.
https://doi.org/10.3390/app15073727
[4] 郭漩, 张金雪, 魏伊冰, 等. 大语言模型提示学习增强的轨迹知识图谱构建方法[J]. 地球信息科学学报, 2025, 27(12): 2789-2801.
[5] Bai, X., He, S., Li, Y., Xie, Y., Zhang, X., Du, W., et al. (2025) Construction of a Knowledge Graph for Framework Material Enabled by Large Language Models and Its Application. npj Computational Materials, 11, Article No. 51.
https://doi.org/10.1038/s41524-025-01540-6
[6] Guo, C., Liu, J., Gao, W., Lu, Z., Li, Y., Wang, C., et al. (2025) A Large Language Model Driven Knowledge Graph Construction Scheme for Semantic Communication. Applied Sciences, 15, 4575.
https://doi.org/10.3390/app15084575