Log management method and device, storage medium and electronic equipment

By collecting only the original address and feature value of the command in the log management, the problems of low client-side collection efficiency and low server-side aggregation and deduplication efficiency are solved, thus achieving efficient log management and resource optimization.

CN117687981BActive Publication Date: 2026-06-26TENCENT TECH (BEIJING) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TENCENT TECH (BEIJING) CO LTD
Filing Date
2022-09-02
Publication Date
2026-06-26

AI Technical Summary

Technical Problem

In existing log management technologies, client-side log collection is inefficient and generates large amounts of data, while server-side aggregation and deduplication are inefficient, resulting in resource waste and high transmission costs.

Method used

During log management, instead of symbolic reconstruction of instructions, only the original address of the first instruction and the feature values ​​of other instructions are collected to generate logs, and the logs are aggregated and deduplicated on the server side based on the feature values.

Benefits of technology

It significantly reduced the amount of log data, improved log collection speed and transmission efficiency, reduced resource consumption and time costs, and improved server-side management efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117687981B_ABST
    Figure CN117687981B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a log management method and device, a storage medium and an electronic device. The method comprises: extracting a first instruction address in a call stack, the first instruction address being an address corresponding to a first instruction of a preset operation in the call stack; analyzing the first instruction address to obtain a target original address, the target original address pointing to an original instruction address of the first instruction in a symbol image; extracting second instruction addresses in turn; for each second instruction address, determining a first feature value and a second feature value, the first feature value being a distance difference value of an original instruction address of a corresponding instruction in the symbol image relative to the target original address, and the second feature value being an instruction quantity difference value of the corresponding instruction relative to the first instruction; and generating a log according to the target original address, the first feature value and the second feature value corresponding to each second instruction address. The present application can reduce the amount of log data.
Need to check novelty before this filing date? Find Prior Art