System diagnostic tool uniform management method and system for heterogeneous plug-in adaptation

By configuring the Seccomp filter and BPF Map mechanism, it is possible to uniformly call heterogeneous plugins to obtain diagnostic data in data center operation and maintenance scenarios without modifying the diagnostic tool code. This solves the performance overhead problem of hot path data reading and improves data reading efficiency and plugin backend processing speed.

CN122309222BActive Publication Date: 2026-07-24CHINA UNICOM DIGITAL TECNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA UNICOM DIGITAL TECNOLOGY CO LTD
Filing Date
2026-06-01
Publication Date
2026-07-24

AI Technical Summary

Technical Problem

In data center operations and maintenance scenarios, how can we uniformly call different heterogeneous plugins to obtain diagnostic data without modifying the diagnostic tool code or intruding on its running process, while reducing the performance overhead of reading hot path data?

Method used

By configuring the Seccomp filter to suspend the system call of the target diagnostic process, a Seccomp user notification is generated. The agent daemon receives the notification and queries the BPF Map cache for diagnostic data. If the data exists in the cache, it is written directly to the data length. Otherwise, the data is obtained through the plugin backend adaptation logic and written to the user buffer. The eBPF program completes the data movement at the system call exit.

Benefits of technology

It enables unified management of diagnostic data acquisition from various heterogeneous plugins without changing the diagnostic tool code, reduces the user-mode proxy memory copying step, and improves the matching between data reading efficiency and plugin backend processing speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122309222B_ABST
    Figure CN122309222B_ABST
Patent Text Reader

Abstract

The application provides a system diagnosis tool uniform management method and system for heterogeneous plug-in adaptation, the method comprising: configuring a Seccomp filter for a target diagnosis process of a system diagnosis tool; obtaining the plug-in identifier and operation parameter in the system call, and querying whether corresponding cache diagnosis data exist in a BPF Map according to the plug-in identifier and operation parameter; at the exit of the system call, detecting by an eBPF program whether the data direct writing mark exists in the BPF Map, if yes, reading corresponding diagnosis data from the data cache of the BPF Map and writing the diagnosis data into the user buffer, and modifying the return value register to the data length in the data direct writing mark, so that the data channel efficiency matched with the plug-in backend processing speed is obtained while maintaining the non-invasive uniform management of multiple heterogeneous plug-ins.
Need to check novelty before this filing date? Find Prior Art