A method and system for automatically extracting bug data based on car machine logs

By using an automatic bug data extraction method based on vehicle logs, the problems of low compatibility and efficiency of vehicle log analysis tools and platforms have been solved. This has enabled cross-platform log parsing and accurate matching of responsible parties, improving the automation of log analysis and the efficiency of problem investigation.

CN122450784APending Publication Date: 2026-07-24CHINA FAW CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA FAW CO LTD
Filing Date
2026-04-20
Publication Date
2026-07-24

AI Technical Summary

Technical Problem

Existing vehicle log analysis tools and platforms have poor compatibility, cannot be used in Windows environments, have large and scattered log volumes, low parsing efficiency, single statistical dimensions, difficulty in locating redundant logs and program errors, lack of accurate matching mechanisms, and analysis results cannot be directly connected to defect management platforms, resulting in low troubleshooting efficiency.

Method used

This paper presents a method for automatically generating and extracting BUG data based on vehicle logs, including log file preprocessing, line-by-line parsing, multi-dimensional statistics, merging of similar issues, matching of responsible persons, and standardized output. It is implemented in Python for cross-platform compatibility and supports Windows and Linux operating systems.

Benefits of technology

It improves the efficiency of log preprocessing and parsing, enables multi-dimensional log statistics, accurately identifies responsible parties, reduces the number of bugs, ensures the authenticity and validity of statistical data, and realizes a fully automated closed loop from log analysis to defect reporting, significantly improving the efficiency of problem investigation and repair.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122450784A_ABST
    Figure CN122450784A_ABST
Patent Text Reader

Abstract

The application discloses an extraction method and system for automatically generating BUG data based on a vehicle machine log, relates to the field of vehicle development management, and comprises the following steps: S1, log file preprocessing: traversing a stored vehicle machine log, and screening log files meeting preset naming specifications; S2, log line-by-line analysis: reading the log files, and extracting time, process numbers, thread numbers, log levels, labels and problem detail fields from single logs; S3, multi-dimensional log statistics: based on the extracted fields, performing statistical counting, merging multi-file statistical results and sequentially outputting the first N records; S4, same problem merging: removing variable interference information in the logs, retaining core characteristic information, and merging same problems into single records; S5, person in charge matching: based on a process number-module name mapping table and a module name-person in charge mapping table, matching a development person in charge corresponding to the problems; and S6, standardized output: generating an abstract file comprising problem details and log file paths.
Need to check novelty before this filing date? Find Prior Art