首页|期刊导航|自动化与信息工程|面向分布式系统的无侵入式链路追踪方法研究

面向分布式系统的无侵入式链路追踪方法研究OA

Research on Non-intrusive Link Tracing Method for Distributed Systems

中文摘要英文摘要

微服务与云原生架构的普及使分布式系统日趋复杂,可观测性面临严峻挑战,而传统链路追踪方法存在的代码侵入性强、链路还原不完整及异构环境兼容性差等问题,为此本文提出一种基于多源数据融合的无侵入式分布式链路追踪方法.该方法利用扩展伯克利包过滤器内核级探针捕获网络调用事件,结合标准化应用日志进行上下文关联,在无需修改应用代码的前提下实现端到端的链路数据采集.基于 OpenTracing 标准构建统一的数据模型,采用包含关系型数据库、时序数据库、图数据库及全文检索数据库的多模态存储架构,实现异构数据的高效管理.通过实时流式计算与离线批处理的协同工作,自动识别违规调用、循环调用等异常模式.实验结果表明,该方法在保证低资源开销的同时,实现了调用链路的精准还原与可视化展示,显著提升了故障定位效率与系统运维水平.

The proliferation of microservices and cloud-native architectures has led to increasingly complex distributed systems,posing significant challenges to observability.Traditional distributed tracing methods often suffer from strong code invasiveness,incomplete link reconstruction,and poor compatibility in heterogeneous environments.To address these issues,this paper proposes a non-invasive distributed tracing method based on multi-source data fusion.This method utilizes the extended Berkeley Packet Filter kernel-level probe to capture network call events and combines them with standardized application logs for context correlation,achieving end-to-end link data collection without modifying business code.Based on the OpenTracing standard,a unified data model is constructed,and a multi-modal storage architecture incorporating relational,time-series,graph,and full-text search databases is adopted to efficiently manage heterogeneous data.Through the collaboration of real-time stream processing and offline batch processing,abnormal patterns such as prohibited calls and cyclic calls are automatically identified.Experimental results show that this method achieves precise reconstruction and visualization of call links while maintaining low resource overhead,significantly improving fault localization efficiency and system operation and maintenance.

曾佳;王航;杨晨;卢晓燕;张倍嘉;李豪

中国民航信息网络股份有限公司重庆研发中心,重庆 401122中国民航信息网络股份有限公司重庆研发中心,重庆 401122中国民航信息网络股份有限公司重庆研发中心,重庆 401122中国民航信息网络股份有限公司重庆研发中心,重庆 401122中国民航信息网络股份有限公司重庆研发中心,重庆 401122中国民航信息网络股份有限公司重庆研发中心,重庆 401122

信息技术与安全科学

链路追踪eBPF依赖分析异常检测

link tracingeBPFdependency analysisanomaly detection

《自动化与信息工程》 2026 (3)

42-50,9

10.12475/aie.20260306

评论