Unlock instant, AI-driven research and patent intelligence for your innovation.

Log data processing method and device for vehicle-mounted system

A vehicle-mounted system and data processing technology, applied in the field of data processing, can solve problems such as inability to analyze and locate, consume system traffic, and discard logs

Inactive Publication Date: 2020-02-28
GUANGZHOU XIAOPENG MOTORS TECH CO LTD
View PDF10 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method limits the occupancy of log data to the system storage space within a reasonable range, ensuring that the latest log data is stored, but the defect of this method is that it is easy to cause the log corresponding to the accident time point to be deleted due to the storage space limitation. Discarding eventually leads to inability to analyze positioning issues
[0005] The second is to upload the log data to the cloud server. Although this method does not take up more system storage space, it needs to consume system traffic, which is easy to use up the system traffic.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Log data processing method and device for vehicle-mounted system
  • Log data processing method and device for vehicle-mounted system
  • Log data processing method and device for vehicle-mounted system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0055] For the troubleshooting of the on-board system, since the on-board system involves a variety of complex scenarios, the amount of log data is large, and the interval from the occurrence of the problem to the extraction of the log data is long, the existing log data storage scheme will occasionally lead to accidents corresponding to the time point. Log data is discarded due to storage space limitations, which ultimately makes it impossible to analyze and locate the problem.

[0056] One of the core concepts of this embodiment of the present invention is to add a log entry with a key level on the basis of the existing log data log entries. Criticality.

[0057]When the total size of all current log files in the vehicle system...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Embodiments of the invention provide a log data processing method and device for a vehicle-mounted system. The method comprises the steps of obtaining log data with preset log entries, wherein the preset log entry comprises an entry of a key level, and the key level represents the key degree of the log data for troubleshooting a vehicle-mounted system problem; determining a log file correspondingto the log data according to the key level and writing the log file; determining that the total size of all the current log files exceeds a preset storage space threshold; and if the total size of allthe current log files exceeds a preset storage space threshold, deleting the log data according to the sequence of the key levels from low to high. According to the embodiment of the invention, by preferentially deleting the log data with the low key level, the log data with the high key level for troubleshooting the vehicle-mounted system problem can be reserved for a long time as much as possible, and the occurrence probability that the vehicle-mounted system problem cannot be troubleshot due to deletion of the log data is reduced.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a method for processing log data of a vehicle-mounted system and a device for processing log data of the vehicle-mounted system. Background technique [0002] Log data is the key data basis for analyzing, locating and solving problems. For vehicle-mounted systems, due to limited system storage space, it is impossible to save all log data. [0003] Thereby, existing technical scheme comprises two kinds: [0004] The first is to limit the maximum space that can be used to store log data. When the size of the log data reaches the upper limit of the maximum storage space, the earliest part is discarded to make room, and the log is managed in this way of discarding the old and retaining the new. data. This method limits the occupancy of log data to the system storage space within a reasonable range, ensuring that the latest log data is stored, but the defect of this method i...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/18G06F16/16
CPCG06F16/1815G06F16/162
Inventor 郑裕集张翔
Owner GUANGZHOU XIAOPENG MOTORS TECH CO LTD