Log processing method and device, electronic equipment, storage medium and vehicle

By employing a log processing method based on a dual-processor architecture, the system jitter and data loss issues caused by log information recording in embedded operating systems are resolved, achieving efficient and secure log information processing.

CN115509453BActive Publication Date: 2026-05-01GUOKE FOUNDATION STONE (CHONGQING) SOFTWARE CO LTD
3 Cites 0 Cited by

Patent Information

Application Number
CN202211195103.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-27
Publication Date
2026-05-01
Estimated Expiration
2042-09-27

AI Technical Summary

Technical Problem

In embedded operating systems, the existing methods of recording log information can lead to race conditions in the critical sections of the cache, causing system thrashing. Furthermore, due to the limited size of the cache, log information is easily lost.

Method used

The system employs a dual-processor architecture. The first processor writes log information to the log buffer and triggers a log write message. The second processor responds to the message, reads from the buffer, and writes it to the storage device. Synchronous processing of log information is achieved through a shared memory area and an event notification mechanism.

Benefits of technology

It effectively avoids system jitter, improves log information processing efficiency, prevents log information loss, and ensures the security and real-time nature of log information.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The present disclosure relates to a log processing method, device, electronic equipment, storage medium and vehicle. The log processing method comprises: a first processor receiving log information of an application program in response to a write log operation of any application program; the first processor writing the log information into a log cache area; the first processor triggering a log write message to notify a second processor to write the log information in the log cache area into a storage device; and the second processor reading the log information from the log cache area and writing the log information into the storage device in response to receiving the log write message.
Need to check novelty before this filing date? Find Prior Art