Dynamic log control method and system

A control method and log technology, applied in the field of dynamic log control methods and systems, can solve problems such as short development cycle, increased difficulty of problem recurrence, and difficult to reproduce, and achieve auxiliary problem analysis, auxiliary problem recurrence and analysis Effect

Inactive Publication Date: 2018-01-23
HUIZHOU DESAY SV AUTOMOTIVE
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the field of automotive electronic software, software function logic is becoming more and more diverse, the development cycle is short, and the real vehicle environment is complex, which has a certain impact on software operation. When quality problems occur, it is often difficult to reproduce them on the bench
Users often do not describe the problem professionally and accurately enough, which also increases the difficulty of reproducing the problem. It is difficult to obtain first-hand information on software quality problems in the vehicle.
[0003] In addition, during the development and testing process, the logs of the test system are of great reference significance for R&D. When the system needs to output different types of logs, the R&D personnel need to restart the system and load new configuration parameters after starting the system. Greatly affects the efficiency of research and development

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
  • Dynamic log control method and system
  • Dynamic log control method and system
  • Dynamic log control method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] A dynamic log control method, which is used to control the log service during the operation of the vehicle electronic system, so that the logs output by it can better meet the needs of testers and maintenance personnel, so that it is easier to determine the type and cause of errors.

[0040] Specific methods such as figure 1 shown, including steps such as:

[0041] First, the processing module first reads the configuration of the log parameters, loads the configuration of the log parameters, and then runs the log service. In this embodiment, the log parameters may include, but are not limited to, storage paths, log levels, etc.

[0042] After the log service is running, the system will perform a dynamic log parameter loading step, and perform at least one of the following steps;

[0043] A. This step is a passive loading step. Specifically, the system monitors the log parameter configuration to see if the monitor parameter configuration changes. If the log parameter co...

Embodiment 2

[0050] As the optimization of embodiment 1, the difference between this embodiment and embodiment 1 is: as figure 2 As shown, this embodiment specifically discloses corresponding steps of the log service, such as an output step.

[0051] Among them, when the system needs to output logs according to its own settings or according to user operations, it specifically includes the following steps:

[0052] First, read the log at the current moment, and obtain the log level of the log. The level of the log can be set according to different standards, and it is mainly used to classify the records of the system status. However, the classification standard of this embodiment is to classify according to the degree of error recorded in the system status, specifically. It can be but not limited to classify the log level according to the following methods. In fact, it can be divided according to several different priorities assigned to each event from high to low:

[0053] Urgent Error...

Embodiment 3

[0068] Such as image 3 As shown, this embodiment provides a dynamic log control system based on the above two embodiments, including: a log configuration buffer area, a log recording component, an event recording component, a log management subcomponent, and a screenshot component.

[0069] The log configuration buffer area is used to store and edit log configuration parameters. When the log configuration parameters in the log configuration buffer area change or the system process status changes, the system will reload the log configuration parameters.

[0070] The log recording component is used to store log data and log files recorded when the system is running.

[0071] The event recording component is used to synchronously record the user's operation actions.

[0072] The log management component is used to manage the log file size and / or storage period,

[0073] The screenshot component is used to take a screenshot of the current screen when the log service records an ...

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

The invention relates to a dynamic log control method. The method comprises the steps of reading log parameter configuration, running a log service, and executing at least one of the following steps:A. monitoring the log parameter configuration, if the log parameter configuration changes, loading new log parameter configuration; and B. monitoring a running process state of a system, if the process state changes, re-reading and loading log parameter configuration. Further, the invention provides a dynamic log control system. The system comprises a log configuration buffer area, a log recordingcomponent, an event recording component, a log management sub-component and a screenshot component. The dynamic log control method and system have the beneficial effects that log options can be configured dynamically in real time, and a user can perform customized setting and acquire information related to process running while the performance is not affected as much as possible; a user event recording function can help find and analyze a problem; and the screenshot function can help analyze the problem.

Description

technical field [0001] The invention relates to the field of vehicle multimedia system detection, in particular to a dynamic log control method and system. Background technique [0002] In the field of automotive electronic software, software function logic is becoming more and more diverse, the development cycle is short, and the real vehicle environment is complex, which has a certain impact on software operation. When quality problems occur, it is often difficult to reproduce them on the bench. Users often do not describe the problem professionally and accurately enough, which also increases the difficulty of reproducing the problem. It is difficult to obtain first-hand information on software quality problems in vehicles. [0003] In addition, during the development and testing process, the logs of the test system are of great reference significance for R&D. When the system needs to output different types of logs, the R&D personnel need to restart the system and load new...

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): G06F11/36
Inventor 方涛
Owner HUIZHOU DESAY SV AUTOMOTIVE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products